Chapter1 Vectors
Chapter1 Vectors
Vectors
1.1 Definitions and properties
1
S
V
P
D
p
A
D
E
C
D
M
C
N
a a
a
a+b b+a
b
S
c
F
I
t
T
A A
(a + b) + c D a + (b + c) D
We can also describe the situation shown in figure 3 using the over-
arrow position vector notation. If
a AB b BC c CD
then
a b AB BC AC
b c BC CD BD
so
(a b) c AC CD AD
a (b c) AB BD AD .
a b c AB BC CD AD
a a.
a (a + b) = a+ b
a+b
A
N
A
A
Cartesian coordinates
4
M
E
H
W
B
Figure: 6: Right-handed coordinate system. Using your right hand: thumb for x,
index finger for y and middle finger for z.
x
OP r y .
z
1.1.5 Kinematics
6
K
P
800 kph
50 kph
A
1 50
sin 3.58
800
=> a compass bearing of 315 – 3.58 = 311.42 .
Speed made good towards B u 8002 502 798.44 kph
1000 1000
To travel the 1000 km takes a time t 1.252 hr
u 798.44
Note that because the wind speed is much smaller than the speed
of the aeroplane, the distance travelled is only slightly greater: only
around 7 seconds!
Take the coordinate system aligned with the lattice and the origin
be at the location of one of the A atoms.
There are type A atoms at (0,0,0), (a,0,0), (0,a,0), (0,0,a), (a,a,a),
etc., and type B atoms at (a/2,a/2,a/2), etc.
rA a,0,0 and rB 2 a, 2 a, 2 a be the positions of the next A
1 1 1
atom to the right and the closest B atom to the origin, respectively.
0 1
2 a 1
2 a
2 2 2 3
1
2 a 1
2 a 1
2 a 3
4 a2 a
2
rB
B
B
B
O
3
2 a 1
2 a a
rBB rB rB 1
2 a 1
2 a 0 a.
1
2 a 1
2 a 0
Note that we could have expressed rB as rB rA so that
rB rB rB rA rB rA .
The second nearest A are
1
2 a a 3
2 a
rBA rBA rAA 1
2 a 0 1
2 a
1
2 a 0 1
2 a
2 2 2
3
2 a 1
2 a 1
2 a 11
4 a 1
2 11 a
and second nearest B
a 0 a
rBB rB rB rB rB rB rB 0 a a
0 0 0
2a
b
A
r
r a b a . (5)
Component form
Equation (5) can be recast in a form that does not involve at all
by using components. Write a (ax a y az ) , etc., then see that the
component form of (5) becomes
and equating the components on the left and right gives us three
equations, which can be rearranged to give
x ax y ay z az
bx ax by ay bz az
x ax y ay z az
, (7)
bx ax by ay bz az
C +O
A
The middle of the side BC is given by a 1
2 b c and so the
median through point A is given by
r a 1
2 b c a
for some parameter . Similarly, the median through the point B
(and the side CA) for parameter is
s b 1
2 a c b
These lines intersect when r s
a 1
2 b c a b 1
2 a c b
a1 1
2 b1 1
2 c 12 0
1 3
2 0 2
3
and r a 2
3
1
2 b c a r s 1
3 a b c
Similarly, for the median passing through point C.
P
C
We can now work out the scalar product of two vectors that are
given in (Cartesian) component form. We have
a b (ax ˆi a y ˆj az kˆ ) (bx ˆi by ˆj bz kˆ )
a b axbx ˆi ˆi a y by ˆj ˆj az bz kˆ kˆ
axby a y bx ˆi ˆj a y bz az by ˆj kˆ az bx axbz kˆ ˆi
Orthonormality ( ˆi ˆi 1, ˆi ˆj 0, ) yields
a b axbx a y by az bz (12)
Orientation + direction
The orientation of a plane is given by the direction of the normal
vector to the plane n . If we know one point on the plane, say A
given by a , the plane is then uniquely specified.
10
U
d
b
T
n̂
n̂
r a P
A
a r
p
O
Figure 8: A plane may be defined by a unit normal n̂ and the position vector a of
one point on the plane. The closest point to the origin is on the normal vector
passing through the origin.
Orientation + distance
One important property of the plane is its perpendicular distance to
the origin, p . In figure 8 we can see that
p a cos
but since is the angle between a and n̂ , we can see from (8) that
a cos a nˆ (recalling that nˆ 1 ), leading to another form of
the equation of a plane,
E E n O T n
p
r nˆ p. (14)
Note that in (14) the right hand side is only the perpendicular
distance from the plane to the origin because n̂ is a unit vector.
Note also that while in (13) reversing the direction of n̂ did not
change the plane, in (14) it would push the plane to the opposite
side of the origin.
We can also write the equation of the plane in component form.
nˆ r lx my nz p.
Since
then l , m, n are the direction cosines: angle between the normal and
each of the axes, while
nˆ r nˆ r cos r cos p
Three points
We can also find the equation of the plane if we know three points
in the plane. Suppose that a , b and c are the position vectors of
three points A , B and C , respectively, in the plane.
C r a P
c a
A
b a
B
a c r
b
O
Figure 9: A plane containing the points a b c and the general point r .
The vectors c a and b a therefore both lie entirely within the
plane (see figure 9). The plane itself is two-dimensional, and that
means that any other vector which lies in the plane can be expressed
as linear combination of c a and b a . In particular, the vector
r a lies within the plane, so r a must be the sum of a scalar
multiple of b a plus a scalar multiple of c a , i.e.
r a (b a) (c a) , , (15)
This expression is yet another form for the equation of a plane, and
the idea is that the scalar parameters range over all real values
so as to describe all possible points on the plane. [Recall that the
equivalent form for the equation of a line, (5), contained only one
scalar parameter, corresponding to the fact that a line is a one-
dimensional object.]
What happens if the points A, B and C all lie on a line?
What does this mean about the vectors c a and b a ?
Can they define a two-dimensional object (i.e. a plane)?
w
T
T
a
I
T
t
R
1.5.2 Cylinder
at OI top
13
n̂
direction
of OF A
L G Tin
P
scalar RQ
magnitude
r
an
Op It CT.mil O r
OQ r cos r nˆ ,
projection of I
© Stuart Dalziel (Michaelmas, 2021) 40
. Vectors Equations of other objects
where the last step has been completed using (8). Since OQ is
parallel to the cylinder axis, we therefore have
OQ fifth
r nˆ nˆ . direction
We can also see that QP OP OQ , and that QP R (the cylinder
radius), and putting all this information together leads us to the
vector equation of the cylinder
r r nˆ nˆ R. (17)
r a (r a) nˆ nˆ R.
1.5.3 Cone
14
n̂
of
r
r q O
q
Q
Suppose that the cone has semi-angle , its axis is parallel to the
unit vector n̂ and its vertex is at the point Q with position vector q .
Again, the point P is a general point on the cone surface with
OP r (see figure 11).
The defining property of the cone is that the line from the vertex to
any point on the surface always makes an angle with axis. This
fact can be expressed mathematically using the scalar product (8) as
on
any point r q nˆ r q cos , (18)
surface
which is the vector equation ofvertex
the cone.
a b b a b
a
a
b
a b
b
b, a, b a right-handed system
a, b, b a left-handed system
a, b, b a right-handed system
16
a
Z
a b (ax ˆi a y ˆj az kˆ ) (bx ˆi by ˆj bz kˆ )
The brackets are expanded using the distributive property (21), and
we then remove all terms involving cross products of vectors with
themselves thanks to (23). This leaves
a b axby ˆi ˆj axbz ˆi kˆ a y bx ˆj ˆi
a y bz ˆj kˆ az bxkˆ ˆi a b kˆ
z y
ˆj
a b a y bz az by ˆi az bx ax bz ˆj a x by a y bx kˆ . (25)
det(M) M
We will present two ways, but you only need to know one – or, for
this part of the course, just be able to remember the form of (25),
although it is better to be able to use one of the two methods here.
N
l
Vector product
We extend the idea of a matrix to allow it to have vector elements
and introduce the notation for a b as
ˆi ˆj kˆ
a b ax ay az , (26)
bx by bz
ˆi ˆj kˆ
ay az ax ay
a b ax ay az ˆi ˆj ax az
kˆ
by bz bx bz bx by
bx by bz
ˆi a b az by ˆj a b axbz kˆ axby a y bx
y z z x
Rule of Sarrus:
ˆi ˆj kˆ ˆi ˆj kˆ
ax ay az ax ay az ˆia b ˆja b kˆ ax by bx a y kˆ bx az ˆi bz a y ˆj
y z z x
bx by bz bx by bz
ˆi a b az by ˆj a b ax bz kˆ axby a y bx
y z z x
or more succinctly
ˆi ˆj kˆ ˆi ˆj kˆ
ax ay az ax ay az ˆi a b a z by ˆj a b ax bz kˆ ax by a y bx
y z z x
bx by bz bx by bz
1 a b 1 6 1 6
cos cos cos 31.95
a b 5 10 5 2
n̂
u
P
p r
Q
q
O
r a b a 0, (27)
which is yet another form for the equation of a line through the
points given by position vectors a and b .
C r a P
c a
A
b a
B
a c r
b
r a b a c a 0. (28)
Eat 5 0
© Stuart Dalziel (Michaelmas, 2021) 52
E a no
. Vectors Application to calculating distances
q–a R
b–a
b
A q
r a b a ,
and consider the point Q with position vector q (see figure 13). The
shortest distance, d , between Q and the line corresponds to the
distance along the perpendicular to the line, i.e. QR in the figure.
Considering the right-angled triangle AQR we see that
d q a sin ,
not the projection
with the angle between AQ q a and AB b a . Using the
definition of the vector product (19), we can therefore write
q a b a
d . (29)
b a
normalizing
© Stuart Dalziel (Michaelmas, 2021) 53
. Vectors Application to calculating distances
If instead of the general form for the line (5) we use the parametric
form (6) with unit vector tˆ b a b a then (29) simplifies to
d q a tˆ .
a
p
O
Figure 14: The shortest distance between the point P and the plane defined by the
point A and normal n̂ .
r a nˆ 0 .
QP d p a cos .
Recalling the definition of the scalar product (8), we find that the
shortest distance is given by
d p a nˆ . (55)
Q L1
u
B
t d
u
t u L2
P
q
A b
p
t a
O
The first question is: What direction is PQ in? The lines are parallel
to t and u , respectively, and PQ is perpendicular to both of these.
The vector which is perpendicular to both t and u is simply t u ,
and so PQ is parallel to t u .
b a t u
d , (30)
t u
b a t u 0. (31)
a b c a b c [a, b, c] . (32)
a b c a x by c z bz c y a y bz cx bx cz az bx c y by c x (33)
ax ay az
a b c bx by bz , detca I (35)E
cx cy cz
ax ay az
by bz b bz bx by
a b c bx by bz ax ay x az
cy cz cx cz cx cy
cx cy cz
ax by cz bz c y a y bx cz bz cx az bx c y by cx
ax ay az ax ay
a b c bx by bz bx by
cx cy cz cx cy
ax by cz bz c y a y bz cx bx cz az bx c y by cx
a
h
c
The volume of the parallelepiped is the area of its base times its
height, and putting together (36) and (37) we find that the volume is
V a b c, (38)
i.e. the scalar triple product.
la
a anc c (
la
d
O (
(
t
c
(
v
z
O D
O
C
A
y A B y
x
x
Figure 17: Cubic lattice, side length a . The small atoms are located
at the centred of each face and the large atoms at the corners.
We start by finding the vectors defining the rhomboid (the ‘cubic’
version of a parallelepiped). Noting that the atoms A, B, C and D
are located at
rA a,0,0 ,
rB 1
2 a, 12 a,0 ,
rC a, 12 a, 12 a ,
rD 1
2 a,0, 12 a ,
then the volume of the rhomboid is defined by the vectors
rAB rB rA 1
2 a, 12 a,0 ,
rAC rC rA 0, 12 a, 12 a
rAD rD rA 1
2 a,0, 12 a .
1
2 a 1
2 a 1
2 a 1
2 a 1
2 a 1
2 a 0
1 3
a
4
Of course, the volume is not really negative. The minus sign is the
result of us choosing a left-handed system for our atoms A, B, C
and D. The volume is really
1 3
V a .
4
26
note
axe bx c I can b XC
a
b c
r a (b c)
Hes the
Figure 18: Geometrical representationinof the vectorsame plane as I AT
triple product. The blue vector
b c is perpendicular to both b and c (which define the orientation of the green
plane, and so the blue vector is normal to that plane). The dark green vector
r a (b c) is the perpendicular to both the purple vector a and the blue
vector b c , and thus to the purple plane that is defined by those two vectors..
and then using the distributive property (21) to expand the brackets
and the results (23) and (24) for the coordinate vectors to evaluate
the cross products, giving
a (b c) ( a y kˆ az ˆj)(by cz bz c y )
(ax kˆ az ˆi )(bz cx bx cz )
( ax ˆj a y ˆi )(bx c y by cx )
save T
Encina plane as
Ice s
a
w
I at Eta
R
i u
o
Carbon
unc brat
c a b cu b a
v r C V c r Incl a
L xbl.r I c Carb CI r
r b c a r c a b r a b c
r
a b c
We can write this as
r a b c
where
r b c d c a d a b
, , .
a b c a b c a b c
Ik
Definition and properties
30
far Cartesian 29
so orthogonal
S
SD N D
what about 3D UD W
contribution
e each vector provides a
unique
combination not mean
any for S
R Nz 123 T
if I 0.0 1
i
then we can't represent it using j a
Reciprocal basis
In Example 17, we saw in three-dimensions that we could use
vector triple products to express any vector in terms of three other
linearly independent vectors a, b, c . (Linear independence requires
that the scalar triple product a b c [a, b, c] is non-zero.
constant terms
If a, b, c form a basis such that a general vector r is given by
resultant
vector
00J I
r a b c, recall that
v bid
water
then the reciprocal basis is given by a
b c c a a b
a bae
A , B , C . d
a, b, c a, b , c a, b, c scalar
d r A
f
This gives, for example, Toone
quantity
B a A 1, a B 0, a C 0 ,
Bar
C so that a only has a component in the direction of A , similarly for
X r
b and c .
note dot product
Noting that
is different to A r A a A b A c
multiplication you B r , C r
CAN T cared
tens on
then the reciprocal basis provides a tool for determining the
both sides coefficients when using the basis.
1
Specifically, r a b c requires
r b c r c a r a b
the , , ,
adjusting a b c a b c a b c
coefficient which we can interpret as the ratio of projections of r and one of
the basis vectors onto the normal of the other two basis vectors.
an indical
common
. Vectors Basis vectors
b c
A a
a b c
if orthonormal
D A I air
ˆi ˆj ˆj kˆ kˆ ˆi
1 2 3
ˆi ˆj kˆ 0
1 3 1 2 2 3
Again, we can test for normality and unit length using the vector
products
e1 e1 e2 e2 e3 e3 e4 e4 2
and
e1 e 2 e1 e3 e1 e 4 e 2 e3 e3 e 4 1
e2 e4 0
Hence, only e2 and e4 are orthogonal, and none of the basis
vectors have unit length.
As we can see from Example 18(i), it is not necessary for the basis
vectors to be normal (perpendicular) to each other. However, if the
basis vectors are mutually perpendicular to each other, then the
basis is said to be orthogonal. If the basis vectors also have unit
length then the basis is orthonormal (we have already mentioned
these terms for three dimensions in section 1.3).
30
orthonormal for N linearly independent O
vectors in N D and d
if i
j
ei
ej o
if i
j
if orthonormal in ND then if I
q ar ar e t r
t an en
en't a
h s bi g t be t t bn en
t
at É aj by
V O Z
T
T
radius fazimuthal
weight
angle
Figure 20: Cylindrical polar coordinates of the point P relative to the origin O .
The point Q is the projection of P onto the plane z 0 , with view from above on
the right.
in 3D
point P given by E 32
For some
P
Cr O
y 71
Coordinates ctr or Z
C
Restrict r 20 Of Oz 22 or TO EN
R
I
Actually still have many ways of describing Io as u
o would do
any T
Tn roose
p
yr since C
To Z z
the position vector of point
a
in here refers to
I Creo so rsino Z
Cartesian bass vertus
ear er
d ez cont of the page
agitation a
vector
of o of R
eat'siightaTidinger
I
as
they are
eo since it an
op orthogonal
handed
ez I right
U
I enter ez
ler l Stuart Dalzielteal
©teal (Michaelmas, 2021) 77
er ea ea ez ez er o
. Vectors Other orthogonal coordinates
P
Pythagoras
R
I 21 Jr't z2
Position vector I
R
VE t
Zee t
does not explicitly include 0
position
aj b ar eˆ r a eˆ az eˆ z br e r be bz e z
ar br eˆ r e r a b eˆ e az bz eˆ z e z
ar b eˆ r e ar bz eˆ r e z a br eˆ e r
a bz eˆ e z az br eˆ z e r az b eˆ z e
Etter
1 eˆ r e 1, 1 eˆ er 1 rather than being equal to 1, 1, 0, 0,
respectively.
Eat
if dit
For NST1A, you are best to always compute scalar and vector
products using Cartesian coordinates!
have orientation
direction
1.11.2 Plane polar coordinates
If we just work in the xy plane, i.e. in two dimensions, then we can
use plane polar coordinates r . These are shown on the right of
figure 20, and are simply cylindrical polar coordinates but with the
z direction suppressed. So for instance in two dimensions
Z x
n
T r stull
signs
0 , (52)
yer sincesing 0 (or )
so that sinojl
r r sin cos ˆi r sin sin ˆj r cos kˆ . (53)
eˆ eˆ r eˆ , eˆ r eˆ eˆ , eˆ eˆ eˆ r (55)
i my r x2 y2 12 12 2
1 y
and tan tan 1 1 45 rad
x 4
r, , z 2, , 2 .
4
d
can noteonly
length 1 x 1 1
(Alternatively, that x r cos cos cos .)
r 2
(b) x, y, z 1,1, 2 in spherical polar coordinates:
r x2 y2 z2 12 12 22 6
Since z r cos , then
1 z 1 2
cos cos 0.615 rad ,
r 6
1 y
and tan tan 1 1 rad
x 4
1 2
r, , 6, cos , .
6 4
n I
In B
Is folds as n'cen da
Z n
shadow
C
y TE
light shine through
II
n t Act Il É
A Cnn is it A c
j j
t Ain
Since projection of
Sy A cnn.is in a
if Idifiojat
the light C
I i i
made
i direction how
direction to the S
I
mould pan though
the adjusting factor
I Aee
C
in ti da donations
g A
where
I I Ty Nz C
I d i t E j p ten I I
C
C
Ease sit sit sit i
EE
si L
Ii
toe entire vector area for And closed
cancels out A
body is o everything eventually
T
y
D
z A B
O C x
no need calculate
to vector oven individed
of
ten 21: Vector areathem
faces a Example
adding up
of a hemispherical shell
Calculate the vector area of the outside of a hemispherical shell of
radius a .
use the
a property of cloned body
definition
to advantage
objects gas
36
closed Q T
F
shell s dosed base
O ta c k
A
act I A
O
B C
(
B
t
o
A
s
a
T
T
P
i
a b
C 1 1
3 3, , 2
3 .
a b c
If we write d (2 1 1) in terms of a ( 1 1 0) , b (0 2 1) and
c (1 0 1) as
d ada bdb cdc
then
2 da dc (A)
1 da 2d b (B)
1 db dc (C)
Taking (A)+(B) 3 2db dc and adding (C)
2
2 3db db
3
1
da 1 2d b
3
5
dc db 1
3
1 2 5
d a b c
3 3 3
db B d , ,
1 1 1
3 3 3 2,1, 1 1
3 2 1 1 2
3
da C d , ,
1 1
3 3
2
3 2,1, 1 1
3 2 1 2 5
3
1 2 5
d a b c
3 3 3