Sunteți pe pagina 1din 43

Vector Algebra and Calculus

1. Revision of vector algebra, scalar product, vector product


2. Triple products, multiple products, applications to geometry
3. Differentiation of vector functions, applications to mechanics
4. Scalar and vector fields. Line, surface and volume integrals, curvilinear co-ordinates
5. Vector operators — grad, div and curl
6. Vector Identities, curvilinear co-ordinate systems
7. Gauss’ and Stokes’ Theorems and extensions
8. Engineering Applications
3. Differentiating Vector Functions of a Single Variable

• Your experience of differentiation and integration has extended as far as scalar functions of single and multiple
variables
d ∂
f (x) and f (x, y , t)
dx ∂x
• No surprise that we often wish to differentiate vector functions.

• For example, suppose you were driving along a wiggly road with
position r(t) at time t.
• Differentiating r(t) should give velocity v(t).
• Differentiating v(t) should yield acceleration a(t).
r
• Differentiating a(t) should yield the jerk j(t).

o
Differentiation of a vector 3.2
Differentiation of a vector 3.3

• By analogy with the definition for a scalar function, the derivative of a vector function a(p) of a single parameter
p is
da a(p + δp) − a(p)
(p) = lim .
dp δp→0 δp
• If we write a in terms of components relative to a FIXED coordinate system (ı̂,̂, k̂ constant)
a(p) = a1(p)ı̂ + a2(p)̂ + a3(p)k̂

then
da da1 da2 da3
(p) = ı̂ + ̂ + k̂ .
dp dp dp dp

To differentiate a vector function defined wrt a fixed coordinate system,


differentiate each component separately
All the familiar stuff works ... 3.4

• This means that


– All the familiar rules of differentiation apply
– they don’t get munged by operations like scalar product and vector products.
• For example:
d da db
(a × b) = ×b+a×
dp dp dp

d da db
(a · b) = ·b+a· .
dp dp dp
• NB! (obvious really): da/dp has
– a different direction from a
– a different magnitude from a.
Position, velocity and acceleration 3.5

• Suppose r(t) is the position vector of an object moving w.r.t. the orgin.
r(t) = x(t)ı̂ + y (t)̂ + z (t)k̂

• Then the instantaneous velocity is


dr dx dy dz
v(t) = = ı̂ + ̂ + k̂
dt dt dt dt
• and the acceleration is
dv d 2r
a(t) = = 2 .
dt dt
Chain rule: more good news 3.6

• Likewise, the chain rule still applies.


• If u = u(p):
da(p) da du
=
dp du dp
• This follows directly from the fact that the vector derivative is just the vector of derivatives of the components.
♣ Example of chain rule 3.7

• The position of vehicle is given by r(u) where u is amount of fuel used by time t, so that u = u(t).
• Its velocity must be
dr dr du
=
dt du dt
• Its acceleration is  2
d 2r d 2r du dr d 2u
= +
dt 2 du 2 dt du dt 2
♣ Example: direction of the derivative 3.8

Question
3D vector a has constant magnitude, but is varying over time.
What can you say about the direction of da/dt?
Answer
Using intuition: if only the direction is changing, then the vector must be tracing out points on the surface of a sphere.
So da/dt is orthogonal to a???
To prove this write
d da da da
(a · a) = a · + · a = 2a · .
dt dt dt dt
But (a · a) = a2 = const.
So
d da
(a · a) = 0 ⇒ 2a · = 0 (QED)
dt dt
Integration of a vector function 3.9

• As with scalars, integration of a vector function of a single scalar variable is the reverse of differentiation.
• In other words p2  
da(p)
Z
dp = a(p2 ) − a(p1 )
p1 dp

Eg, from dynamics-ville Z t2


a dt = v(t2 ) − v(t1 )
t1

• 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!
Geometrical interpretation of derivatives 3.10

δr
• Position vector r(p) traces a space curve.
• Vector δr is a secant to the curve
δr/δp lies in the same direction as δr(p) r (p)
• Take limit as δp → 0
r (p + δ p)
dr/dp is a tangent to the space curve

• Nothing special about the parameter p – may be various ways of parametrizing a particular curve.
• Consider helix aligned with z -axis. Could parametrize by for example:
z , the “height” up the helix, or
s, the “length” along the curve
Geometrical interpretation of derivatives /ctd 3.11

• If the parameter s is arc-length or metric distance, then we have:


|dr| = ds
so
dr
=1
ds

and
dr/ds is a unit tangent to r at s
• For s arc-length and p some other parametrization, we have
dr dr ds
=
dp ds dp
and

dr
= dr ds = ds

dp ds dp dp
Geometrical interpretation of derivatives /ctd 3.12

• To repeat, the derivative dr/dp is a vector


• Its direction is always a tangent to curve r(p)
• Its magnitude is ds/dp, where s is arc length
• If the parameter is arc length s, then dr/ds is a unit tangential vector.
• If the parameter is time t, then magnitude |dr/dt| is the speed.

δr δr

r (s) r (t)
r (s + δ s) r (t + δ t)

dr
ds
1 dr ds
SPEED
dt dt
♣ Example 3.13

Question: Draw the curve


s s hs
r = a cos( √ 2 )ı̂ + a sin( √ )̂ + √ k̂
a + h2 a2 + h2 a2 + h2
where s is arc length and h, a are constants.
Answer
♣ Example ctd 3.14

s s hs
r = a cos( √ 2 )ı̂ + a sin( √ )̂ + √ k̂
a + h2 a2 + h2 a2 + h2
Show that the tangent dr/ds to the curve has a constant elevation angle w.r.t the xy -plane, and determine its
magnitude.
Answer
dr a a h
= −√ 2 sin ()ı̂ + √ cos ()̂ + √ k̂
ds a + h2 a2 + h2 a2 + h2

z Length
2 2
√ dr h/ a + h
Projection on the xy plane has √ magnitude a/ a2 + h2
Projection in the z direction h/ a2 + h2 ds
So the elevation angle is tan−1 (h/a), a constant.
We are expecting |dr/ds| = 1, and indeed it is!
x y
2 2
Length a/ a + h
Why can’t we say any old parameter is arc length? 3.15

• Arc length s parameter is special because ds = |dr|,


• Or, in integral form, whatever the parameter p,
p1

dr
Z
Accumulated arc length = dp .
dp
p0

• Using Pythagoras’ theorem on a short piece of curve. In the limit


z
as ds tends to zero y δx δz
ds 2 = dx 2 + dy 2 + dz 2 .
So if a curve is parameterized in terms of p
s 
δy δs
2  2  2
ds dx dy dz
= + + .
dp dp dp dp x
Arc length is special /ctd 3.16

• Suppose we had parameterized our helix as


r = a cos pı̂ + a sin p̂ + hp k̂

• p is not arc length because


s 2  2  2
dr dx dy dz
q
=
dp + + = a2 sin2 p + a2 cos2 p + h2
dp dp dp
p
= a2 + h2
6= 1

• So if we want to parameterize in terms of arclength, replace p with s/ a2 + h2.
Curves in 3D 3.17

• Let’s look more closely at parametrizing a 3D space curve in terms of arclength s.


• Introduce
– orthogonal coord frames for each value s
– each with its origin at r(s).

• To specify a coordinate frame we need


– three mutually perpendicular directions
– should be intrinsic to the curve
– NOT fixed in an external reference frame.

O r (s)
Curves in 3D 3.18

• Rollercoaster will help you see


what’s going on ...
• But it has a specially shaped
rail or two rails that define the
twists and turns.

• We are thinking about a 3D curve – just a 3D wire.


Does the curve itself define its own twist and turns?
The Frénet-Serret Local Coordinates 3.19

Yes: method due to French mathematicians F-J. Frénet and J. A. Serret

1. Unit tangent t̂ Obvious choice is n


t̂ = dr(s)/ds
2. Principal Normal n̂
Proved earlier that if |a(t)| = const then a · da/dt = 0. So
t̂ = t̂(s), |t̂| = const ⇒ t̂ · d t̂/ds = 0
Hence the principal normal n̂ is defined from t dt
κn̂ = d t̂/ds ds
where κ ≥ 0 is the curve’s curvature.
s increasing

3. The Binormal b̂
The third member of a local r-h set is the binormal, b̂ = t̂ × n̂ .
Deriving the Frénet-Serret relationships 3.20

Tangent t̂, Normal n̂ : d t̂/ds = κn̂, Binormal b̂ = t̂ × n̂


• Since b̂ · t̂ = 0, if we differentiate wrt s ...

d b̂ d t̂ d b̂
· t̂ + b̂ · = · t̂ + b̂ · κn̂ = 0
ds ds ds
from which
d b̂
· t̂ = 0.
ds
• This means that d b̂/ds is along the direction of n̂:
d b̂
= −τ (s)n̂(s)
ds
where τ is the space curve’s torsion.
Deriving the Frénet-Serret relationships 3.21

Tangent t̂, Normal n̂, Binormal b̂ = t̂ × n̂


d t̂/ds = κn̂, d b̂/ds = −τ (s)n̂(s)

• Differentiating n̂ · t̂ = 0:
(d n̂/ds) · t̂ + n̂ · (d t̂/ds) = 0
(d n̂/ds) · t̂ + n̂ · κn̂ = 0
(d n̂/ds) · t̂ = −κ

• Now do the same to n̂ · b̂ = 0:


(d n̂/ds) · b̂ + n̂ · (d b̂/ds) = 0
(d n̂/ds) · b̂ + n̂ · (−τ )n̂ = 0
(d n̂/ds) · b̂ = +τ

• HENCE
d n̂
= −κ(s)t̂(s) + τ (s)b̂(s).
ds
Summary of the Frénet-Serret relationships 3.22

These three expressions are called the Frénet-Serret relationships:


• d t̂/ds = κn̂
• d n̂/ds = −κ(s)t̂(s) + τ (s)b̂(s)
• d b̂/ds = −τ (s)n̂(s)

• They describe by how much the intrinsic coordinate system changes orientation as we move along a space curve.
♣ Example 3.23

Question Derive κ(s) and τ (s) for the curve


√ r(s) = a cos (s/β)ı̂ + a sin (s/β)̂ + h (s/β) k̂
where β = a2 + h2
Answer:

• Denote sin, cos(s/β) as S and C.


We found the unit tangent earlier as
t̂ = (dr/ds) = [− (a/β) S, (a/β) C, (h/β)] .

• Hence
2 2
   
κn̂ = d t̂/ds = − a/β C, − a/β S, 0
• The curvature must be positive, so
2

κ = a/β n̂ = [−C, − S, 0] .

• So the curvature is constant, and n̂ parallel to the xy -plane.


♣ Example /continued 3.24

• Recall
t̂ = [− (a/β) S, (a/β) C, (h/β)] n̂ = [−C, − S, 0] .
• So the binormal is

ı̂ ̂ k̂      
h h a
b̂ = t̂ × n̂ = (−a/β)S (a/β)C (h/β) = S, − C,
β β β
−C −S 0

• Hence
d b̂/ds = h/β 2 C, h/β 2 S, 0 = −h/β 2 n̂
     

• So the torsion
τ = h/β 2


again a constant.
Derivative (eg velocity) components in plane polars 3.25

In plane polar coordinates, the radius vector of any point P is given by


êθ
r = r (cos θı̂ + sin θ̂) = r êr êr
where we have introduced the unit radial vector
êr = cos θı̂ + sin θ̂ . P
̂ r
The other “natural” unit vector in plane polars is orthogonal to êr and θ
is
êθ = − sin θı̂ + cos θ̂
so that êr · êr = êθ · êθ = 1 and êr · êθ = 0. ı̂
Aside: notation 3.26

• Some texts will use the notation


r̂, θ̂θ
to denote unit vectors in the radial and tangential directions
• I prefer the more general notation
êr , êθ
(as used in, eg, Riley).
• You should be familiar and comfortable with either
Derivative (eg velocity) components in plane polars 3.27

• Now suppose P is moving so that r is a function of time t. êθ


• Its velocity is êr
d dr dêr
ṙ = (r êr ) = êr + r
dt dt dt P
dr dθ ̂ r
= êr + r (− sin θı̂ + cos θ̂)
dt dt θ
dr dθ
= êr + r êθ
dt dt
= radial + tangential ı̂

• Note that
dêr dθ dêθ d dθ
= êθ = (− sin θı̂ + cos θ̂) = − êr
dt dt dt dt dt
Acceleration components in plane polars 3.28

• Recap ...
dr dθ dêr dθ dêθ dθ
ṙ = êr + r êθ ; = êθ ; = − êr
dt dt dt dt dt dt
• Differentiating ṙ gives the accel. of P
d 2r dr dθ dr dθ d 2θ dθ dθ
r̈ = êr + êθ + êθ + r êθ − r êr
dt 2 dt dt dt dt dt 2 dt dt
"  2 #
2
d 2θ
 
d r dθ dr dθ
= −r êr + 2 + r 2 êθ
dt 2 dt dt dt dt
Acceleration components in plane polars 3.29

• We just saw "


2
2 #
d 2θ
  
d r dθ dr dθ
r̈ = −r êr + 2 + r 2 êθ
dt 2 dt dt dt dt
• Three obvious cases:
d 2r
θ const : r̈ = êr
dt 2 
2
dθ d 2θ
r const : r̈ = −r êr + r 2 êθ
dt dt
 2

r and dθ/dt const : r̈ = −r êr
dt
Fixed, varying, and instrinsic coordinates 3.30
Rotating systems 3.31

ω
• Body rotates with constant ω about axis passing
through the body origin.
Assume the body origin is fixed. ρ
We observe from a fixed coord system Oxy z .

• If ρ is a vector of constant mag and constant direction in the rotating system, then in the fixed system it must be
a function of t.
dr
r(t) = R(t)ρ ⇒ = Ṙρ = ṘR⊤r
dt
* dr/dt will have fixed magnitude;
* dr/dt will always be perpendicular to the axis of rotation;
* dr/dt will vary in direction within those constraints;
* r(t) will move in a plane in the fixed system.
Rotating systems 3.32

Consider the term ṘR⊤

• Note that RR⊤ = I, hence



ṘR⊤ + RṘ = 0

ṘR⊤ = −RṘ

• Thus ṘR⊤ is anti-symmetric:  


0 −z y
ṘR⊤ =  z 0 −x 
−y x 0
• Application of a matrix of this form to an arbitrary vector has precisely the same effect as the cross product
operator, ω×, where ω = [xy z ]⊤.
• Thus
ṙ = ω × r
Rotating co-ordinate systems 2 3.33

• Now ρ is the position vector of a point P in the rotating body, but which is moving too, with respect to the rotating
system
r(t) = R(t)ρ(t)

P at t+ δ t
• Differentiating with respect to time: δρ δr
dr ω
= Ṙρ + Rρ̇ = ṘR⊤ r + Rρ̇ P at t
dt
• The instantaneous velocity of P in the fixed frame (ω r) δ t
is
dr
= Rρ̇ + ω × r r= ρ at t
dt

• Second term is contribution from the rotating frame


• First term is linear velocity in the rotating frame, referred to the fixed frame
Rotating co-ordinate systems 3.34

• Now consider second differential:


r̈ = ω̇ × r + ω × ṙ + Ṙρ̇ + Rρ̈
• If angular velocity constant, first term is zero
• Now substituting for ṙ we have
r̈ = ω × (ω × r + Rρ̇) + Ṙρ̇ + Rρ̈
= ω × (ω × r) + ω × Rρ̇ + ṘR⊤Rρ̇ + Rρ̈
= ω × (ω × r) + ω × Rρ̇ + ω × Rρ̇ + Rρ̈
= ω × (ω × r) + 2ω × (Rρ̇) + Rρ̈

• The instantaneous acceleration is therefore


r̈ = Rρ̈ + 2ω × (Rρ̇) + ω × (ω × r)
Rotating co-ordinate systems 3.35

• The instantaneous acceleration is


r̈ = Rρ̈ + 2ω × (Rρ̇) + ω × (ω × r)

* Term 1 is P’s acceleration in the rotating frame.


* Term 3 is the centripetal accel: magnitude ω 2r and direction −r.
* Term 2 is a SURPRISE!
It is a coupling of rotation and velocity of P in the rotating frame.
It is the Coriolis acceleration.
♣ Examples 3.36

Q Find the instantaneous acceleration as observed in a fixed frame 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 ω.
A In the rotating frame γt ω = ω m̂

ρ̇ = γ × ρ r
ρ̈ = γ × ρ̇ m̂
= γ × (γ × ρ)
In fixed frame, instantaneous acceleration: ℓ̂

r̈ = γ × (γ × r) + 2ω × (γ × r) + ω × (ω × r) n̂ γ = γ ℓ̂
In rotating frm + Coriolis + Centripetal
♣ Example /ctd 3.37

Repeated: r̈ = γ × (γ × r) + 2ω × (γ × r) + ω × (ω × r)
γt ω = ω m̂

1) As γ = γ ℓ̂, ρ = R cos(γt)m̂ + R sin(γt)n̂ ⇒acceleration in rotating frame r



is
γ × (γ × ρ) = −γ 2 r
2) Centripetal accel due to rotation of sphere is ℓ̂
ω × (ω × r) = −ω 2R sin(γt)n̂
n̂ γ = γ ℓ̂

3) The Coriolis acceleration is


     
0 γ 0
2ω × ρ̇ = 2 ω ×  0  × R cos(γt) = 2ωγR cos(γt)ℓ̂
0 0 R sin(γt)
♣ Example /ctd 3.38

Recap:
γt ω = ω m̂
• Accel in rotating frame −γ 2r
• Centripetal due to sphere rotating −ω 2R sin(γt)n̂
• Coriolis acceleration: 2ωγR cos(γt)l̂
r

2
−ω R sin(γt)n̂

ℓ̂

2ωγR cos(γt)l̂ n̂ γ = γ ℓ̂

−γ 2 r

r
♣ Example /ctd 3.39

• Consider a rocket on rails which stretch north from the equator.


• As rocket travels north it experiences the Coriolis force exerted by the rails:
2 γ ω R cos(γt) ℓ̂
+ve -ve +ve +ve
• Coriolis force is in the direction opposed to ℓ̂ (i.e. opposing earth’s rotation).
Rocket’s velocity in direction of meridian
Tangential velocity of earth’s surface

Tangential component of velocity


(NB instantaneously common to earth’s surface and rocket)
♣ Coriolis acceleration 3.40

• Because of the rotation of the earth, the Coriolis acceleration is of great importance in meteorology
♣ Coriolis acceleration 3.41
Summary 3.42

• We started by differentiating vectors wrt to a fixed coordinate system.


• Then looked at the properties of the derivative of a position vector r with respect to a general parameter p and the
special parameters of arc-length s, and time t
• considered derivatives with respect to other coordinate systems, in particular those of the position vector in polar
coordinates with respect to time.
• derived Frénet-Serret relationships — a method of describing a 3D space curve by describing the change in a intrinsic
coordinate system as it moves along the curve.
• discussed rotating coordinate systems; we saw that there is coupled term in the acceleration, called the Coriolis
acceleration.

S-ar putea să vă placă și