Chapter5 Vectors
Chapter5 Vectors
1 Introduction to Vector
A) Concept of vectors
Vectors Representation
A
This vector from O to A is written OA or OA or a or a or a .
a
Equal Vectors
a Two vectors are equal if they have the same magnitude and
b the same direction .
Negative Vectors
a
If a is any nonzero vector, then – a , the negative of a is
defined to be the vector having the same magnitude as a
-a but oppositely directed.
1
Position vectors
A vector that starts at the origin is called a position vector.
So, the position vector of B is the vector that starts from the
y
origin and ends at B; b = OB . Similarly, position vector of
B
P P is p = OP
b
p
x
O
Zero vector
The zero vector , denoted by 0, has magnitude zero. Contrary to all the other vectors, it has no
specific direction.
Parallel vectors
If the vectors u1 and u2 are parallel, then they are scalar multiple of each other.
Thus, u1 = u2 ( λ ∈ 𝑅 )
For example ;
1
a = i + j is parallel to b = 3i + 3j because a = b
3
2
Perpendicular vector
If vector a and b are perpendicular , hence the angle between a and b is 90 .
Unit Vectors
Addition Of Vectors
If a and b are any two vectors, then the sum a + b is the vector determined as follows :
Position the vector b so that its initial point coincides with the terminal point of a. The vector
a + b is represented by the arrow from the initial point of a to the terminal point of b.
b b
a+b a
a a+b a b+a
From the right figure, it is evident that a + b = b + a, and the sum coincides with the diagonal of
the parallelogram when the two vectors are positioned so they have the same initial point.
3
Subtraction Of Vectors
If a and b are any two vectors, then the difference of b from a is defined by
a – b = a + ( – b ).
To obtain the difference a – b without constructing – b , position a and b so their initial point
coincide. The vector from the terminal point of b to the terminal point of a is then the vector
a – b.
a
a–b a a–b
–b b b
Example 1
1- The points A,B and C have position vectors a,b and c. Point P is the mid point of AB and
point Q is the midpoint of BC. Find
a. the position vectors of P and Q
b. PQ
2- The point O is the centre of the regular hexagon ABCDEF. Given that OA = a and AB
= b, find
a) OB
b) BD
c) CF
4
5.2 Vectors In Two and Three Dimensions
The two are the unit vector i in the positive direction of the
x-axis and the unit vector j in the positive direction of the
y-axis.
j
x
O i
5
Addition and Scalar Multiplication of Vectors in Two Dimensions
Vector Arithmetic
6
Vectors In 3-Dimensions
The Cartesian coordinate for space are often called rectangular coordinate .
z
P(1 , 2 , 3) Any point P in space can be specified by an ordered
triple of numbers (a , b , c) where a , b and c are the
steps in the direction of x, y and z axes
3 respectively, to P.
1 y
In figure 2.2, we have constructed the point P(1 , 2 , 3).
2
x
Figure 2.2
Figure 2.3
7
Addition and Scalar Multiplication of Vectors in Three Dimensions
Vector Arithmetic
Vectors in space apply the same rules of addition , subtraction, scalar multiplication and also the
magnitude just as they are in the plane.
i) v 1 = a1 b1 c1
2 2 2
iii) kv 1 = ka 1i + kb 1j + kc 1k
Example 2
2- Find a unit vector u in the direction of the vector from A(1 , 0 , 1) to B(3 , 2 , 0). Hence,
find a vector 6 units long in that direction.
8
5.3 The Scalar Product
Definition
b b
b
θ θ θ
a a a
Example 3
3- Simplify a) (a – b) . (a + b)
b) (a + b) . c – (a + c) . b
9
B) Algebraic properties of the scalar product
1.
a . a = a 2
2.
a.b= b.a
3. a . (b + c) = a . b + a . c
4. (ma) . b = m (a . b) = a .( m b)
5. 0.a = 0
6. a . b = a b if and only if a parallel to b
a . b = – a b if and only if a and b in opposite direction.
7. a . b = 0 if and only if a is perpendicular to b with a 0, b 0
8. For unit vectors i, j and k we have :-
i . i = j . j = k . k = 1 and
i.j = j.k = k.j = 0
If a = a1i +a2j + a3k and b = b1i + b2j + b3k are two vectors and is the angle between them.
From the definition of a . b ,
a . b = a b cos
a .b
cos =
a b
a .b
The angle = cos –1 a b
Example 4
4- Find the interior angles of the triangle ABC whose vertices are A(1,3,5), B(-2,0,3) and
(3,1,-2).
10
D) Direction Cosine Of A Vector
Consider the vector OP where P is the point (a , b , c).
z Then OP = ai + bj + ck and OP = a 2 b2 c 2
P(a , b, c)
If OP makes angles of , and with the x , y and z-axis
c respectively, then cos , cos and cos are known as its
direction cosines and
O y
a b c
cos = , cos = , cos =
OP OP OP
OP a b c
Notice that the unit vector OP = = i+ j+ k
OP OP OP OP
Example 5
1- Find the direction cosine of the vector OP where P is the point (3 , -6 , 2)
2- Find the direction cosines and direction angles of
a) a = 2i + 3j - k
b) b = 4i – 2j + 3k
3- A vector v is inclined at 60 to the y-axis and at 60 to the z-axis. Find its inclination to
the x- axis. If the magnitude of v is 8 unit, find the vector v .
11
5.4 The Vector Product
To determine the direction of a b , use the right hand, where the fingers turn from a to b and
the thumb points in the direction of a b .
ab
Note
k
i j = k , j i = –k
j k = i , k j = –i
k i = j , i k = –j
j i
12
Example 6
2- Given a = i + 2j + 3k and b = –i + 3j – k.
a) Find a b
b) Prove that a b is a vector which is perpendicular to the vector a.
1. a b = – b a
2. (ma) x b = m(a b) = a (m b)
3. a (b + c) = (a b) + (a c)
4. ( a + b) x c = a x c + b x c
5. a.(b x c ) = ( a x b ) . c
6. a x ( b x c ) = ( a.c)b – (a.b)c
7. a b = 0 if a is parallel to b
Example 7
1- Find all vectors of length 11 unit which are perpendicular to both a = i + 2j – k and
b = i – 3k
13
C) Area of Parallelogram
Area of parallelogram = a b
1
Area of triangle = ab
2
Example 8
1- A plane contains points A(1,1,1), B(3,2,-1) and C(1,-4,2) and D. If A, B,C and D
forms a parallelogram, find
a) the coordinates of D
b) the area of the parallelogram ABCD
14
5.5 Application Of Vectors In Geometry
A) Lines In Space
A line in space is a straight line which continues indefinitely in both directions and contains a
continuous infinite set of points.
z
R
v
A
r
a
y
0
x
Suppose that R(x , y , z) is a point which is free to move on a line containing a fixed point
A(x1, y1, z1) . If v = ai + bj + ck is a direction vector of the line, it is clear that a line consists
precisely of those points for which the vector AR is parallel to v, that is
AR = tv for some scalar t
OR – OA = tv
OR = OA + tv
or r = a + tv (1)
15
Summary :
x - x1 y - y1 z - z1
Its Cartesian equations are .
a b c
Example 9
1- Find a vector equation of the line that contains points A(1,2,3) and B(-2,1,3)
2- Find the vector equation , the parametric equations and the cartesian equations of the line
through (1, –2, 3) in the direction 4i + 5j – 6k
x 1 y2 z 3
3- A line has Cartesian equations = = . Find a vector equation for a
3 4 5
parallel line passing through the point with position vector 5i – 2j – 4k and find the
coordinates of the point on this line where y = 0.
4- Find
a. parametric equations for the line l passing through the points P1 (2 , 4 , –1) and
P2 (5 , 0 , 7).
16
B) The Angle Between Two Straight Lines
Suppose two straight lines vector equation are
r1 = a1 + tv1
r2 = a2 + sv2
With t, s are any scalar and is angle between two straight lines.
r1 = a1 + tv1
v2
v1
r2 = a2 + sv2
If is angle between two straight lines, its also between v1 and v2 . because of the lines are
parallel.
v1 . v2 = v1 v 2 cos θ
v1 .v 2
cos θ
v1 v 2
Hence, the angle between two straight lines given by
v v
θ = cos 1 1 2
v1 v 2
Two straight lines are perpendicular if v1 . v2 = 0 and the straight lines are parallel if
v1 = kv2 for k scalar.
17
Example 10
b) Show that line 2 and line 3 intersect and find the angle between them.
3- Find the coordinates of the point of intersection of the two lines r = (2i + j - k) +
(i +3 j -4 k) and r = (-i – 2k) + t (-2i + 2j - 5 k)
18
C) Plane
Planes equation in 3 dimension can be measure with this criteria :
1. A plane in space has normal vector n = ai + bj + ck and that it passes through the fixed
point A (x1 , y1 ,z1) or
2. A plane passes through 3 fixed point or
3. A plane has two vectors.
Suppose a plane in space has normal vector n = ai + bj + ck and that it passes through the fixed
point A (x1 , y1 ,z1).
Now AR is perpendicular to n.
n = ai + bj + ck
R(x, y, z)
A (x1, y1,z1)
AR . n = 0
( OR – OA ) . n = 0
(r – a) . n = 0
r.n–a.n=0
r.n = a.n
r . n = p where p = a . n
Example 11
1- Find the equation of the plane with normal vector i + 2j + 3k and containing the point
(-1 , 2 , 4).
2- Find the equation of the plane through A(-1 , 2 , 0) , B(3 , 1 , 1) and C(1 , 0 ,3).
3- Find the vector equation of the plane that contains (2,-1,3) and is
a) parallel to the xy plane b) parallel to the plane with equation 3x – y + z = 2
19
4- Show that the line L whose vector equation is r = 2i - 2j + 3k + t ( i – j + 4k ) is parallel
to the plane P whose vector equation r . ( i + 5j + k ) = 5
20
D) The angle between two planes
It is important to choose the correct angle here. It is defined as the angle between 2 lines, one in
each plane, so that they are at right angles to the line of intersection of the 2 planes (like the
angle between the tops of the pages of an open book).
The picture below shows part of 2 planes and the angle between them.
To find this angle, will we first have to find the equation of the line of intersection of the 2
planes, and then find 2 vectors which are in the planes and perpendicular to this?
Fortunately no! We just need to know a normal vector to each of the planes. Then we can find
the angle we want very neatly as shown in the drawing below.
The angle between the planes is the same as the angle between their 2 normal vectors (sliding
their tails together if necessary).
Now we just use n.m = |n||m| cos A
and find the angle in the same way as we did for the 2 lines.
21
Example 12
3x - 2y + 5z = 1 and 4x + 2y - z = 4
3- From the equations to the two given planes, 3x+4y = 5 and, x+2y+3z = 6, the normal to
Plane 1 is parallel to the vector , 3i + 4j and the normal to Plane 2 is parallel to the vector ,
i + 2j + 3k. The angle between the two normals is therefore, the angle between the two
vectors3i + 4j and i + 2j + 3k
22
E) The angle between a line and a plane
The sharp angle between a line and a plane is determined by the angle between the direction
vector of the line and the normal vector of the plane..
We slide the normal vector n until its tail is at the point of intersection with the line L with the
plane P. Then n and L together define a plane which is perpendicular to plane P. The angle
which line L makes with plane P is defined to be the red angle A in this plane.
Since A and B together make a right angle, we can find A by using the dot product of n and the
direction vector b of line L to first find cos B.
Or we can find A even more directly by using the trigonometry identity
Example 13
1- From the equation to the given plane, r.( 3i + 4k) = 5, the normal to the plane is parallel
to the vector , 3i + 4k. The line is parallel to the vector , 2i – j . Find the angle between
the line and the plane.
6 4
2- Find the angle between the straight line r = 5 t 0 and the plane x y 3z 2
3 1
3- Find the vector equation of line passing through the point ( 3 , 1 , 2 ) and perpendicular to
the plane r . ( 2i – j + k ) = 4 .Find also the point of intersection of this line and the
plane.
4- Find the point where the straight line r = ( -4i + j + 9k ) + ( -2i + 4k ) intersects the
plane r.( 2i + 2j – k) = 5
23