Ox - Lec 03 - Differentiating Vector Functions
Ox - Lec 03 - Differentiating Vector Functions
It should be no great surprise that we often wish differentiate vector functions. For
example, suppose you were driving along a wiggly road with position r(t) at time t.
Differentiating r(t) wrt time should yield your velocity v(t), and differentiating v(t)
should yield your acceleration. Let’s see how to do this.
However, other types of integral are possible, especially when the vector is a function
of more than one variable. This requires the introduction of the concepts of scalar and
vector fields. See lecture 4!
δr
r (p)
r (p + δ p)
Figure 3.1: δr is a secant to the curve but, in the limit as δp → 0, becomes a tangent.
a quantity which must be a tangent to the space curve. Note however that using a
general parameter p there is nothing special about the magnitude of the tangent.
Fig. 3.2 shows just three of the infinity of ways of parametrizing the curve.
0.4 2
0.6 2
1.0 3
3 10
0.8 5
0.2 4 1 4
5
Figure 3.2: Different parametrizations describe the same curve. Arc-length s is special as it measures
actual distance along the curve.
There is however one special parametrization, and that is when p measures arc-length.
Usually denoted by s, the difference in arc-length s between two points on the curve is
the actual distance travelled along the curve. But for infinitesimally small movements,
ds = |dr|, so that dr/ds must be of unit length.
We conclude that
If a curve r(s) is parametrized by the arc length s
dr/ds is everywhere a UNIT tangent to the curve.
More generally, however, p will not be arc-length. But the chain rule tells us that:
dr dr ds
= (3.17)
dp ds dp
So, the direction of the derivative is that of a tangent to the curve, and its magnitude
is |ds/dp|, the rate of change of arc length w.r.t the parameter.
An interesting case is when p is time t
dr dr ds
= (3.18)
dt ds dt
So the vector velocity along the curve is the unit tangent times the scalar speed ds/dt.
3.3. SPACE CURVES AND DERIVATIVES 3/5
δr δr
r (s) r (t)
r (s + δ s) r (t + δ t)
dr
ds
1 dr ds
SPEED
dt dt
Figure 3.3:
♣ Example
Q: Draw the curve
s s hs
r = a cos( √ )ı̂ + a sin( √ )̂ + √ k̂ (3.19)
a2 + h 2 a2 + h 2 a2 + h 2
where s is arc length and h, a are constants. Show that the tangent dr/ds to the
curve has a constant elevation angle w.r.t the xy -plane, and determine its magnitude.
A:
dr a a h
= −√ 2 sin ()ı̂ + √ cos ()̂ + √ k̂ (3.20)
ds a + h2 a2 + h 2 a2 + h 2
√
The
√ projection on the xy plane has magnitude a/ a2 + h2 and in the z direction
h/ a2 + h2 , so the elevation angle is a constant, tan−1 (h/a).
z Length
2 2
dr h/ a + h
ds
x y
2 2
Length a/ a + h
Figure 3.4:
The example used components, and it is worth stressing that the position vector r in
Cartesian coordinates is
r = xı̂ + ŷ + z k̂ or using the parameter r(p) = x(p)ı̂ + y (p)̂ + z(p)k̂ . (3.22)
It follows that
dr = dxı̂ + dŷ + dz k̂ . (3.23)
But we have already noted that ds = |dr|, hence it follows that
ds 2 = dx 2 + dy 2 + dz 2 . (3.24)
This is akin to applying Pythagoras’ theorem to a infinitesimal section of curve.
z y δx δz
δy δs
x
Figure 3.5:
t dt
ds
O r (s) s increasing
Figure 3.6:
1. Tangent t̂
There is an obvious choice for the first direction at the point r(s), namely the unit
tangent t̂. We already know that
dr(s)
t̂ = (3.28)
ds
2. Principal Normal n̂
Recall that earlier we proved that if a was a vector of constant magnitude that
varies in direction over time then da/dt was perpendicular to it. Because t̂ has
constant magnitude but varies over s, d t̂/ds must be perpendicular to t̂.
Hence the principal normal n̂ is
d t̂
= κn̂ : where κ ≥ 0 . (3.29)
ds
κ is the curvature, and κ = 0 for a straight line. The plane containing t̂ and n̂ is
called the osculating plane.
3/8 LECTURE 3. DIFFERENTIATING VECTOR FUNCTIONS OF A SINGLE VARIABLE
3. The Binormal b̂
The local coordinate frame is completed by defining the binormal
b̂(s) = t̂(s) × n̂(s) . (3.30)
Since b̂ · t̂ = 0,
d b̂ d t̂ d b̂
· t̂ + b̂ · = · t̂ + b̂ · κn̂ = 0 (3.31)
ds ds ds
from which
d b̂
· t̂ = 0. (3.32)
ds
But this means that d b̂/ds is along the direction of n̂, or
d b̂
= −τ (s)n̂(s) (3.33)
ds
where τ is the torsion, and the negative sign is a matter of convention.
Differentiating n̂ · t̂ = 0 and n̂ · b̂ = 0, we find
d n̂
= −κ(s)t̂(s) + τ (s)b̂(s). (3.34)
ds
We now have all three of
The Frénet-Serret relationships:
d t̂/ds = κn̂ (3.35)
d n̂/ds = −κ(s)t̂(s) + τ (s)b̂(s) (3.36)
d b̂/ds = −τ (s)n̂(s) (3.37)
♣ Example
Q Derive κ(s) and τ (s) for the helix
s s s p
r(s) = a cos ı̂ + a sin ̂ + h k̂; β = a2 + h2 (3.38)
β β β
and comment on their values.
A We found the unit tangent earlier as
dr a s a s h
t̂ = = − sin , cos , . (3.39)
ds β β β β β
3.5. DERIVATIVE (EG VELOCITY) COMPONENTS IN PLANE POLARS 3/9
Differentiation gives
d t̂ a s a s
κn̂ = = − 2 cos , − 2 sin , 0 (3.40)
ds β β β β
Curvature is always positive, so
a s s
κ= 2 n̂ = − cos , − sin , 0 . (3.41)
β β β
So the curvature is constant, and the normal is parallel to the xy -plane.
Now use
ı̂ ̂ k̂
h s h s a
b̂ = t̂ × n̂ = (−a/β)S (a/β)C (h/β) = sin , − cos ,
β β β β β
−C −S 0
(3.42)
and differentiate b̂ to find an expression for the torsion
d b̂ h s h s −h
= cos , sin , 0 = n̂ (3.43)
ds β2 β β2 β β2
so the torsion is
h
τ= 2 (3.44)
β
again a constant.
so that r̂ · r̂ = θ̂ · θ̂ = 1 and r̂ · θ̂ = 0.
3/10 LECTURE 3. DIFFERENTIATING VECTOR FUNCTIONS OF A SINGLE VARIABLE
d dr dr̂
ṙ = (rr̂) = r̂ + r (3.49)
dt dt dt
dr dθ
= r̂ + r (− sin θı̂ + cos θ̂)
dt dt
dr dθ
= r̂ + r θ̂
dt dt
= radial + tangential
The radial and tangential components of velocity of P are therefore dr /dt and r dθ/dt,
respectively.
Differentiating a second time gives the acceleration of P
d 2r dr dθ dr dθ d 2θ dθ dθ
r̈ = 2
r̂ + θ̂ + θ̂ + r 2 θ̂ − r r̂ (3.50)
dt
" dt dt dt dt dt dt dt
2 #
d 2r d 2θ
dθ dr dθ
= −r r̂ + 2 + r 2 θ̂
dt 2 dt dt dt dt
d l̂ d m̂ d n̂
= ω × l̂ = ω × m̂ = ω × n̂ (3.54)
dt dt dt
Note (1) that the angular velocity vector ω points in the same direction as the axis of
rotation, and is fixed both with respect to the rotating frame and the fixed frame.
Note (2) that since each of d l̂/dt, d m̂/dt, d n̂/dt is perpendicular to ω they must be
coplanar.
Let ρ = ρ1 l̂ + ρ2 m̂ + ρ3 n̂ be a constant vector in the rotating frame, so that ρ1,2,3 are
constant. Its rate of change in fixed frame is
ω
n
dρ
= ω×ρ (3.55)
dt
= ρ1 (ω × l̂) + ρ2 (ω × m̂) + ρ3 (ω × n̂) m l
d l̂ d m̂ d n̂
= ρ1 + ρ2 + ρ3
dt dt dt
3/12 LECTURE 3. DIFFERENTIATING VECTOR FUNCTIONS OF A SINGLE VARIABLE
So, as expected, its time dependence derives from the time dependence of l̂(t),m̂(t),
n̂(t), and not from its coefficients with respect to this basis set, which were constants.
Now suppose ρ is the position vector of a point P which moves in the rotating frame.
It will have two contributions to motion with respect to the fixed frame, one due to it
motion within the rotating frame, and one due to the rotation itself.
Let ρ be defined in a rotating coordinate frame which is, instantaneously, aligned with
the fixed coord system. So at time t, and only at time t, r = ρ.
Over a period δt, at time t, the compo-
nent of the motion in the fixed frame due
to rotation is
P at t+ δ t
(ω × ρ)δt = (ω × r)δt . (3.56)
δρ δr
If the component of “independent” motion ω
P at t
in the rotating frame is δρ, then the overall
movement in time δt is (ω r) δt
δr = δρ + (ω × r)δt . (3.57) r= ρ at t
k,n
So the instantaneous velocity in the fixed j,m
frame is i,l
dr Dρ
= + ω×r (3.58)
dt Dt
NB! The capital D’s are used to indicate differentiation in the rotating frame.
Our previous result is a general one relating the time derivatives of any vector in
rotating and non-rotating frames. Because the frames are instantaneously aligned at
t, any vector in the fixed frame has the same value in the rotating frame — just as
r = ρ.
So, using operator notation,
D D Dρ
r̈ = + ω× ṙ = + ω× +ω×r (3.59)
Dt Dt Dt
3.6. ROTATING SYSTEMS 3/13
• The first term is the acceleration of the point P in the rotating frame measured
in the rotating frame.
• The last term is the centripetal acceleration to due to the rotation. (Yes! Its
magnitude is ω 2 r and its direction is that of −r. Check it out.)
• The middle term is an extra term which arises because of the velocity of P in the
rotating frame. It is known as the Coriolis acceleration, named after the French
engineer who first identified it.
Because of the rotation of the earth, the Coriolis acceleration is of great importance
in meteorology and accounts for the occurrence of high pressure anti-cyclones and
low pressure cyclones in the northern hemisphere, in which the Coriolis acceleration
is produced by a pressure gradient. It is also a very important component of the
acceleration (hence the force exerted) by a rapidly moving robot arm, whose links whirl
rapidly about rotary joints.
♣ Example
Q: Find the instantaneous acceleration of a projectile fired along a line of longitude
(with angular velocity of γ constant relative to the sphere) if the sphere is rotating
with angular velocity ω.
r̈ = γ × (γ × r) + 2ω × (γ × r) + ω × (ω × r) . (3.62)
The first term is the centripetal acceleration due to the projectile moving around the
sphere — which it does because of the gravitational force. The last term is the cen-
tripetal acceleration resulting from the rotation of the sphere. The middle term is the
Coriolis acceleration.
3/14 LECTURE 3. DIFFERENTIATING VECTOR FUNCTIONS OF A SINGLE VARIABLE
Then
γ × (γ × r) = (γ · r)γ − γ 2 r = −γ 2 r , (3.64)
as γ = γ l̂. Check the direction — the negative sign means it points towards the centre
of the sphere, which is as expected. Likewise the last term can be obtained as
ω × (ω × r) = −ω 2 R sin(γt)n̂ (3.65)
Note that it is perpendicular to the axis of rotation m̂, and because of the minus sign,
directed towards the axis)
The Coriolis term is derived as:
0 γ 0
Dρ
2ω × = 2 ω × 0 × R cos γt (3.66)
Dt
0 0 R sin γt
= 2ωγR cos γt l̂ (3.67)
Now consider a rocket on rails which stretch north from the equator. As the rocket
travels north it experiences the Coriolis force (exerted by the rails):
3.6. ROTATING SYSTEMS 3/15
2 γ ω R cos γt l̂
+ve -ve +ve +ve
Hence the coriolis force is in the direction opposed to l̂ (i.e. in the opposite direction to
the earth’s rotation). In the absence of the rails (or atmosphere) the rocket’s tangetial
speed (relative to the surface of the earth) is greater than the speed of the surface of
the earth underneath it (since the radius of successive lines of latitude decreases) so it
would (to an observer on the earth) appear to deflect to the east. The rails provide a
coriolis force keeping it on the same meridian.
Rocket’s velocity in direction of meridian
Tangential velocity of earth’s surface