Lecture Notes - Week 1
Lecture Notes - Week 1
5
Unit Vectors
For a vector A, a unit vector aA along A is defined as:
A
aA
|A|
a A vector, its magnitude is unity |a A |=1
and its direction is along A.
| A | magnitude of A (scalar)
A= | A | aA
6
A vector in Cartesian (or Rectangular) coordinates
A=(Ax , Ay , Az) or A=Ax ax + Ay ay + Az az
where: Ax , Ay , Az → Componets of A in the x,y and z directions.
ax , ay , az → Unit Vectors in the x,y and z directions.
7
A vector in Cartesian (or Rectangular) coordinates
8
Vector Addition and Subtraction
A+B=B+A, kA=Ak
A+(B+C)=(A+B)+C, k(lA)=(kl)A
k(A+B)=kA+kB
11
Position and Distance Vectors
For Point p in Cartesian Coordinates (x,y,z)
Position Vector : rp (or radius vector) of point p is defined as
the directed distance from origin 0 to p.
rP=0P=xax+yay+zaz
Example:
point P(3,4,5) has position
vector rP=3ax+4ay+5az
12
Position and Distance Vectors
The Distance Vector is the displacement from one point to another.
Points → P(xp , yp , zp), Q(xQ , yQ , zQ)
13
Example 1.1
If A=10ax - 4ay +6az , B=2ax + ay , Find
(a) The component of A along ay
(b) The magnitude of 3A-B
(c) A unit Vector along A+2B
(a ) Ay =-4
(b) 3A-B=3(10, -4,6) - (2,1,0)=(30, -12,18) - (2,1,0)
(28, -13,18)
3A-B (28) 2 ( -13) 2 (18)2 1277 35.74
(C) Let C=A+2B=(10, -4,6) 2(2,1,0) (14, -2,6)
C (14, -2,6)
a unit vector along C is a c =
C (14)2 ( -2) 2 (6) 2
a c =0.9113a x - 0.1302a y 0.3906a z Note: a c 1 14
Example 1.2
Points P and Q are located at (0,2,4) and (-3,1,5). Calculate:
(a) The position vector rP
(b) The distance vector from P to Q.
(c) The distance between P and Q.
(d) A vector Parallel to PQ with magnitude of 10.
(a ) rP 0a x 2a y 4a z 2a y 4a z
(b) rPQ rQ - rP ( -3,1,5) - (0, 2, 4) ( -3, -1,1)
or rPQ -3a x - a y a z
x - xP yQ - y P zQ - zP 3.317
2 2 2
Alternatively: d= Q
15
Example 1.2 - continued
(d ) Find a vector parallel to PQ with magnitude of 10
Let A be the required vector
A= A a A , but A 10
Since A is parallel to PQ, it has the same unit vector
rPQ ( -3, -1,1)
aA
rPQ 3.317
10( -3, -1,1)
A= ( -9.045a x - 3.015a y 3.015a z )
3.317
16
Vector Multiplication
When two vectors A and B are multiplied, the result is either a
scalar or a vector.
17
Dot Product A∙B
The product of the magnitudes of A and B and the
cosine of the angle between them.
A B A B cos AB
AB the smaller angle between A and B.
18
Dot Product A∙B
A and B are orthognal (or perpendicular) if
AB 0
Notes:
A B B A
A (B+C) A B A C
A A A , (cos 0 = 1)
2
also a x a y =a y a z =a z a x =0
a x a x =a y a y =a z a z =1
19
Cross Product AxB
A vector quantity whose magnitude is the area of
parallelogram formed by A and B, and its direction
is perpendicular to the plane containing A and B.
20
Cross Product AxB
A×B A B sin AB a n
Where
an→unit vector normal to plane
containing A and B, and its direction
is found by (right-hand rule), that is
the direction of the right thumb when
the fingers of the right hand rotate
from A to B.
21
Cross Product AxB
For A=(Ax ,Ay ,Az ), B=(Bx ,By ,Bz ), then
ax ay az
A×B Ax Ay Az
Bx By Bz
= Ay Bz - Az B y a x
Az Bx - Ax Bz a y
Ax B y - Ay Bx a z
22
Cross Product AxB
Notes : A B B A, A B -B A
A (B C) (A B) C
A (B C) A B A C
AA 0
also ax a y az
a y az ax
az ax a y
24
Scalar Triple Product
For vectors A, B and C:
Ax Ay Az
then A B×C Bx By Bz Scalar
Cx Cy Cz
25
Vector Triple Product
For vectors A, B and C:
A B×C B A C - C A B
"bac - cab" rule
Notes :
A B C A B C
but
A B C C A B
26
Components of a vector
Given a vector A, a scalar component AB of A along B is :
(projection)
AB A aB A aB cos AB
AB
A B A B cos AB cos AB
A B
A B 3, 4,1 0, 2, -5 0 8 - 5 3
A 32 42 12 26
B 02 22 (-5) 2 29
AB 3
cos AB 0.1092
A B (26)(29)
AB cos -1 (0.1092) 83.73o
28
Example 1.4 - Continued
Alternatively
AB
A B A B sin AB a n sin AB
A B
ax ay az
A B= 3 4 1 -20 - 2 ax 0 15 a y 6 - 0 az
0 2 -5
A B -22,15, 6
A B (-22) 2 (15) 2 (6) 2 745
AB 745
sin AB 0.994
A B (26)(29)
AB sin -1 0.994 83.73o
29
Example 1.5
Three field quantities are given by
(b) Q . R x P
(c) P . (Q x R)
(d) sin θQR
(e) P x (Q x R)
(f) A unit vector perpendicular to both Q and R.
(g) The component of P along Q.
30
Example 1.5 - Continued
P=2ax - az , Q=2ax - ay +2 az , R=2ax - 3ay + az
(a) (P + Q) (P - Q)
=P (P - Q) Q (P - Q)
=P P - P Q Q P - Q Q
= 0 - PQ QP - 0
ax ay az
=2 Q P 2 2 -1 2 2ax 12a y 4az
2 0 -1
(b) Q R P what makes sense is Q (R P)
ax ay az
Q (R P) (2, -1, 2) 2 -3 1 (2, -1, 2) (3, 4, 6) 6 - 4 12 14
2 0 -1 31
Example 1.5 - Continued
P=2ax - az , Q=2ax - ay +2 az , R=2ax - 3ay + az
(b) Alternatively Q (R P) (scalar triple product)
2 -1 2
Q (R P) 2 -3 1 2(3) (1)(-2 - 2) 2(6) 14
2 0 -1
(c) P (Q R)
=Q (R P)=14
ax ay az
Alternatively, P (Q R) (2, 0, -1) 2 -1 2
2 -3 1
(2, 0, -1) (5, 2, -4) 10 0 4 14
32
Example 1.5 - Continued
P=2ax - az , Q=2ax - ay +2 az , R=2ax - 3ay + az
QR 5, 2, -4 45
(d ) sin QR = = = =0.5976
Q R 2, -1, 2 2, -3,1 (3)( 14)
(e) P Q R = 2, 0, -1 5, 2, -4 (2,3, 4)
Alternatively bac-cab rule: A (B C) B(A C) - C(A B)
P Q R =Q(P.R) - R(P.Q)
(2, -1, 2)(4 0 - 1) - (2, -3,1)(4 0 - 2)
(6, -3, 6) - (4, -6, 2) (2,3, 4)
34
Example 1.7
Show that points P1(5,2,-4), P2(1,1,2), P3(-3,0,8) all lie on a
straight line.
35