Vector Calculus
Introduction
Curves
Differentiating the Curve
The vector function is differentiable at t if, as \(\delta t \rightarrow 0\), we can write:
If the derivative \(\dot{\mathbf{x}}(t)\) exists everywhere then the curve is said to be smooth.
Notations:
- \(\dot{\mathbf{x}}(t)\): Newton original notation, usually denote differentiation wrt. time
- \(f'(x)\): Usually used for Differentiation wrt. space
To differentiate vectors with basis vectors \(\mathbf{e}_i\), we can do it component by component:
Here Leibnitz identities hold for the products of scalar and vector functions:
Moreover, if \(\mathbf{g}(t)\) and \(\mathbf{h}(t)\) are vectors in \(\mathbb{R}^3\), we also have cross product identity:
Tangent Vectors
The direction of the tangent vector \(\dot{\mathbf{x}}(t)\) depends only on the curve \(C\) itself, and not the choice of parameterisation.
The magnitude of the tangent vector \(|\dot{\mathbf{x}}(t)|\) depends on parameterisation.
Example: Consider the curve \(C\) in \(\mathbb{R}^2\):
Here curve C is straight line \(x=y\), you can use any parameterisation here. Current parameterisation gives \(\dot{\mathbf{x}}(t) = 3t^2(1, 1)\). We can find out that the magnitude \(3\sqrt{2}t^2\) vanishes at \(t=0\) and only depends on parameterisation.
A parameterisation is called regular if \(\dot{\mathbf{x}}(t) \neq 0\) for any \(t\).
Piecewise smooth curve: \(C=C_1+C_2+\dots\). A tangent vector exists everywhere except at the cusps where two curves meet.
Arc Length
From the above figure, we can see the distance between two nearby points is:
We then have
where plus sign is for direction of increasing \(t\) while minus sign is the other way around.
If we pick starting point \(t_0\), then the distance along the curve to any point \(t>t_0\) is given:
This distance is called arc length and it does not depend on the choice of parameterisation.
Proof: Assume we choose another parameterisation of curve: \(\tau(t)\). The chain rule tells us:
The arc length is then become:
Thus, the arc length is independent of the choice of parameterisation of the curve. The arc length can be natural choice of parameterisation, i.e., \(\mathbf{x}(s)\) with correponding tangent vector \(d\mathbf{x}/ds\). Here \(|d\mathbf{x}/ds|=1\) (See above for why)
Curvature and Torison
Curvature represents magnitude of the acceleration of the curve with respect to arc length:
Note: We have already known that tangent vector \(\mathbf{t}=d\mathbf{x}/ds\) has unit length \(|\mathbf{t}|=1\)
Consider an example of a circule of radius \(R\):
The arc length would be
Then, we get \(\mathbf{x}(s) = (R\cos (s/R), R\sin (s/R))\), the curvature would be:
As \(R\rightarrow \infty\), the circule would become a straight line.
There is a unit vector associated to curvature (magnitude), i.e. Principal normal:
The factor of \(1/\kappa\) ensures that \(|\mathbf{n}|=1\). The principal normal \(\mathbf{n}\) is perpendicular to the tangent vector \(\mathbf{t}\). Proof:
This means \(\mathbf{t}\) and \(\mathbf{n}\) defines a plane, known as osculating plane. Drawing a circle at point \(s\), whose curvature matches \(\kappa(s)\). This is called osculating circle.
We can also define a binormal here in \(\mathbb{R}^3\):
Since we know \(\mathbf{t}\cdot \mathbf{b}=0\), we can differentiate it:
Now we know \(\mathbf{t} \cdot \frac{d\mathbf{b}}{ds}=0\) and \(\mathbf{b} \cdot \frac{d\mathbf{b}}{ds}=0\). Thus, \(\frac{d\mathbf{b}}{ds}\) is orthogonal to both \(\mathbf{b}\) and \(\mathbf{t}\), which means it must be parallel to \(\mathbf{n}\).
The torsion \(\tau(s)\) is defined as a measure of how the binormal changes:
NOTE:
- Curvature: how much the curve fails to be a straight line
- Torsion: how much the curve fails to be planar
Frenet-Serret Equations
Line Integrals
Scalar Fields
A scalar field is a map:
Given a parameterised curve \(C\) in \(\mathbb{R}^n\), we can put them together \(\phi (\mathbf{x}(t))\), which is a composite map \(\mathbb{R} \rightarrow \mathbb{R}\). To make the integration be independent to parameterisation of the curve, we can use arc length \(s\). We can integrate from point \(\mathbf{a}\) to point \(\mathbf{b}\), with \(\mathbf{x}(s_a)=\mathbf{a}\) and \(\mathbf{x}(s_b)=\mathbf{b}\) and \(s_a < s_b\) by defining the line integral:
Note: Line integral \(\int_C ds\) is always positive as there is no directional information in the integral.
Given a parameterised curve \(\mathbf{x}(t)\) with \(\mathbf{x}(t_a)=\mathbf{a}\) and \(\mathbf{x}(t_b)=\mathbf{b}\) (\(t_b > t_a\) i.e. \(ds/dt = + |\dot{\mathbf{x}}(t)|\)), we can obtain:
Here line integral comes with length of tangent vector \(\dot{\mathbf{x}}\) and thus independent of the choice of parameterisation.
Vector Fields
A vector field is a map:
The line integral of a vector field \(\mathbf{F}\) along \(C\) is defined to be
Here no matter \(t_a > t_b\) or \(t_a < t_b\), we always have the same equatiion as only the orientation \(\dot{\mathbf{x}}(t)\) determines the limits.
Example
Consider the vector field in \(\mathbb{R}^3\):
We consider two curve which we perfom integration. For curve \(C_1:\mathbf{x}(t) = (t, t^2, t^3)\), we have
Thus, the line integral is:
For curve \(C_2: \mathbf{x}(t) = (t, t, t)\), we have;
More Curves, more integrals
For line integral around a close curve (loop), i.e., the start/end points are the same, we have
This quantity is called the circulation of \(\mathbf{F}\) around \(C\).
For line integral on curve \(C\) that can decompose into a number of piecewise smooth curves \(C = C_1 + C_2 + \dots\), the line integral is
For curve \(-C\), we can think of it as the same curve \(C\) but with opposite orientation:
Conservative Fields
Gradient
Reference:
https://www.damtp.cam.ac.uk/user/tong/vc.html