-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotation.cmd
172 lines (153 loc) · 3.86 KB
/
notation.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
< /resources/syntax.cmdr
OrdinaryDictionaryReplacement: #.boilerplate-properties-override
- queue_position: BEFORE #boilerplate-properties
* %title --> Remarks on notation
* %date-modified --> 2020-08-14
* %head-elements-after-viewport --> \resources:maths
RegexDictionaryReplacement: #.coloured-text
- queue_position: BEFORE #.syntax.coloured-spans
* \[ unscaled / (.*?) / \] --> [g/ \1 /]
* \[ scaled / (.*?) / \] --> [v/ \1 /]
* \[ scale / (.*?) / \] --> [b/ \1 /]
%%%
# %title
\noscript
----
\home
----
##{#derivatives} Derivatives
<##
Styles
* unscaled (dimensional): colour-g
* scaled (dimensionless): colour-v
##>
$
\gdef \unscaled #1 {\colg{#1}}
\gdef \scaled #1 {\colv{#1'}}
\gdef \scale #1 {\colb{#1}}
$
----
You may have noticed two ways to write derivatives:
__subscripts__ and __fractions__.
Nev prefers subscripts while I prefer fractions.
----
----
E.g.~for $T (x, t)$:
----
''''
|^
//
; Subscripts
; Fractions
|:
//
, $T_x$
, $\dfrac{\pd T}{\pd x}$
//
, $T_x (0, t)$
, $\eval{\dfrac{\pd T}{\pd x}}_{x = 0}$
//
, $T_x (x, 0)$
, $\eval{\dfrac{\pd T}{\pd x}}_{t = 0}$
//
, $T_{xx}$
, $\dfrac{\pd^2 T}{{\pd x}^2}$
''''
----
**Both are fine; just pick one and be consistent**.
----
----
The reason I prefer fractions is because they explicitly show
the dimensions of a derivative.
It is very easy to do scaling with derivatives in fractional form.
----
----
For example, consider moving the term
----
$$
\frac{\pd^2 \unscaled{T}}{{\pd \unscaled{x}}^2}
$$
----
from [unscaled/ unscaled variables /] to [scaled/ scaled variables /]
according to
----
$$
\begin{aligned}
\unscaled{T} &= T_0 + \scale{\Theta} \scaled{T}, \\
\unscaled{x} &= \scale{L} \scaled{x}.
\end{aligned}
$$
----
Just by *looking* at the term,
we see that it is temperature divided by length squared.
**Immediately we can write down**
----
$$
\frac{\pd^2 \unscaled{T}}{{\pd \unscaled{x}}^2} =
\frac{\scale{\Theta} \pd^2 \scaled{T}}{\scale{L}^2 \,{\pd \scaled{x}}^2}
$$
----
because the temperature scale is $\scale{\Theta}$
and the length scale is $\scale{L}$.
**That's it.**
(We can ignore $T_0$ because it is an *offset*,
which doesn't affect the derivative
--- the derivative of an added constant is zero.)
----
##{#functions} Functions
----
You may also have noticed that I regularly omit the variables
which a function depends on,
and that I prefer to use vertical-bar notation
to denote evaluation of a function at a particular point.
----
----
I will also write things like $T = T (x, t)$,
which to a pure mathematician is an abuse of notation.
----
----
The reason is that **in physics \& applied maths,
functions are viewed as *expressions* rather than as *maps***.
----
----
This is best demonstrated by [Corinne's Shibboleth][sh]
(slightly paraphrased here):
----
""""
Suppose the temperature on a rectangular slab of metal
is given by $T (x, y) = k (x^2 + y^2)$ where $k$ is a constant.
What is $T (r, \theta)$?
====
* Pure mathematician: $T (r, \theta) = k (r^2 + \theta^2)$
* Applied mathematician: $T (r, \theta) = k r^2$
====
""""
----
In MATH3022 (and in physics \& applied maths more generally),
we choose the applied mathematician's answer.
When we write $T = T (x, y)$,
we are simply asserting that the temperature $T$
is to be expressed in terms of the coordinates $x$ and $y$.
In particular:
----
====
* $T$ is the *physical* temperature, NOT a map.
* $x$ and $y$ are *physical* coordinates, NOT replaceable dummy variables.
====
----
When we write $T (r, \theta)$,
the $T$ is the *same physical temperature profile*
as when we write $T (x, y)$.
The only difference is the coordinate system used to express it.
----
----
For a rough analogy,
1000~metres and 1~kilometre are the *same physical length*
--- they are *equal*
--- even though they have been expressed in terms of different units.
----
[sh]: https://sites.science.oregonstate.edu/math/bridge/ideas/functions/
\END
----
\home
----