s5 Mathematics (Vectors)
s5 Mathematics (Vectors)
VECTORS
Straight line in space Solution
A straight line is uniquely determined in space if either; 𝒓 = 𝑎 + 𝜆𝑑
we know one point on the straight line and its direction or 𝑑 = 𝐴𝐵 = 𝑂𝐵 − 𝑂𝐴
two points on the straight line. 1 3 −2
Vector equation of a line (−1) − ( 4 ) = (−5)
The vector equation of a line is given by 6 −7 13
3 −2
r = a + λAB 𝒓 = ( 4 ) + 𝜆 (−5)(vector equation of line)
B −7 13
𝑥 3 −2
r = a + λAB (𝑦) = ( 4 ) + 𝜆 (−5)
𝑧 −7 13
A x = 3 – 2λ
r = a + λAB y = 4 - 5λ
r = a + λd z = -7+13λ
Where; a = any point on the line x3
d = directional vector of the line. 2
y4
The Cartesian equation is given by; 5
𝑥 − 𝑥𝑜 𝑦 − 𝑦𝑜 𝑧 − 𝑧𝑜
= = =𝜆 z7
𝑎 𝑏 𝑐
Where a, b and c are direction vectors 13
Cartesian equation
Example 1 𝑥−3 𝑦−4 𝑧+7
= = =𝜆
Find the vector and Cartesian equation of a line passing −2 −5 13
through 3𝒊 − 𝒋 + 2𝒌 and is parallel to 3𝒊 − 𝒋 + 2𝒌
Example III
Solution;
Find the vector and Cartesian equation of a line passing
𝑟 = 𝑎 + 𝜆𝑑
3 3 through (2, -1, 1) and is parallel to the line whose equation
𝑟 = (−1) + 𝜆 (−1) 𝑥−3 𝑦+1 𝑧−2
= = =𝜆
2 2 2 7 −3
Cartesian equation Solution
𝑥 3 3 Since the lines are parallel, it implies that they have the
(𝑦) = (−1) + 𝜆 (−1) same parallel vectors.
𝑧 2 2 𝒓 = 𝑎 + 𝜆𝑑
𝑥 = 3 + 3𝜆 2 2
𝑦 = −1 − 𝜆 𝒓 = (−1) + 𝜆 ( 7 )
𝑧 = 2 + 2𝜆 1 −3
𝑥−3 𝑦+1 𝑧−2 Cartesian equation:
= 𝜆, =𝜆, =𝜆 𝑥 2 2
3 −1 2
𝑥−3 𝑦+1 𝑧−2 (𝑦) = (−1) + 𝜆 ( 7 )
= = =𝜆 𝑧 1 −3
3 −1 2
x2
x – 2 = 2λ
Example II 2
Find the vector and the Cartesian equation of a line y 1
y + 1 = 7λ
passing through A(3, 4, -7) and B(1, -1, 6) 7
z 1 1
z – 1 = -3λ 𝑥 =2+
3 6
13
x 2 y 1 z 1 𝑥=
6
2 7 3 7
𝑦 =3−
6
Example III 11
Find the vector and Cartesian equations of the a line 𝑦=
6
passing through the following points 13 11
The coordinates are ( , , 0)
(a) 5, -4, 6) and (3, 7, 2) 6 6
Example II Example II
Find the equation of a plane which contains A with Find the angle between the planes 3x – 3y – z = 0 and 𝑥 +
position vector 𝟑𝒊 + 4𝒋 + 2𝒌 and is perpendicular to 𝒊 + 4𝑦 − 2𝑧 = 4
2𝒋 − 2𝒌. Solution
Solution 3 1
𝑛1 = (−3) , 𝑛2 = ( 4 )
𝑛. 𝒓 = 𝑛. 𝒂
−1 −2
1 𝑥 1 3 𝑛1 𝑛2
( 2 ) . (𝑦) = ( 2 ) . (4) cos 𝜃 =
|𝑛1 ||𝑛2 |
−2 𝑧 −2 2 3 1
𝑥 + 2𝑦 − 2𝑧 = 3 + 8 − 4 (−3) ( 4 )
𝑥 + 2𝑦 − 2𝑦 = 7 −1 −2
cos 𝜃 =
√3 + (−3) + (−1)2 . √12 + 42 + (−2)2
2 2
Example III 3 − 12 + 2 −7
Find the equation of a plane passing through a point A cos 𝜃 = =
√19. √21 √21. √19
with a position vector −2𝒊 + 4𝒌 and is perpendicular to −7
the vector 𝒊 + 3𝒋 − 2𝒌. θ = cos−1 ( )
√21. √19
Solution
θ = 69.5°
𝐧 𝐫 = 𝐧 𝒂
1 𝑥 1 −2 Angle between a line and a plane
( 3 ) . (𝑦) = ( 3 ) . ( 0 )
−2 𝑧 −2 4 n
𝑥 + 3𝑦 − 2𝑧 = −2 + 0 − 8 r=a+λd
𝑥 + 3𝑦 − 2𝑧 = −10 α
𝑥 + 3𝑦 − 2𝑧 + 10 = 0
15𝜆 + 8𝜆 − 8 + 8𝜆 + 2 = 25
31𝜆 = 25 + 6 Line of intersection of two planes
31𝜆 = 31 Two planes intersect in a line
𝜆=1
Examples I
𝑥 = 5, 𝑦 = 2 − 2 = 0, 𝑧=5
Find the line of intersection of the planes 2x + 3y + 4z = 1
∴ The point of intersection = (5, 0, 5)
and x + y + 3z=0
Example Solution
𝑥+2 𝑦−2 2𝑥 + 3𝑦 + 4𝑧 = 1
Find the point of intersection of the line; = =𝑧−
−1 2 𝑥 + 𝑦 + 3𝑧 = 0
4 and the plane 2𝑥 − 𝑦 + 3𝑧 = 10 Let 𝑧 = 𝜆
Solution 2𝑥 + 3𝑦 = 1 − 4𝜆…………………….. (1)
𝑥+2 𝑦−2
= =𝑧−4=𝜆 𝑥 + 𝑦 = −3𝜆 … … … … … … … … … … … . . (2)
−1 2 Eqn (2) ×2
𝑥 = −𝜆 − 2…………….. (1)
2𝑥 + 2𝑦 = −6𝜆 ………………………. (3)
𝑦 = 2𝜆 + 2……………... (2)
Eqn (1) – Eqn (3);
𝑧 = 𝜆 + 4………………. (3)
𝑦 = 1 + 2𝜆
2𝑥 − 𝑦 + 3𝑧 = 10 𝑦−1
2(−𝜆 − 2) − (2𝜆 + 2) + 3(𝜆 + 4) = 10 =𝜆
2
−2𝜆 − 4 − 2𝜆 − 2 + 3𝜆 + 12 = 10 From Eqn (2);
−4𝜆 + 3𝜆 + 6 = 10 But y = 1 + 2 𝜆
−𝜆 = 4 x + y = -3λ
𝜆 = −4 x + 1 + 2λ = -3λ
𝑥 = −4 − 2 = −6, 𝑦 = −8 + 2 = −6, 𝑥 + 1 = −3𝜆 − 2𝜆
𝑧 = −4 + 4 = 0 𝑥 + 1 = −5𝜆
The point of intersection (-6, -6, 0) 𝑥+1
=𝜆
−5
Perpendicular distance of a point from a 𝑥+1 𝑦−1
= =𝑧=𝜆
plane −5 2
𝐴𝐵 = 𝐷𝐶 𝐴𝐵 + 𝐵𝐶 + 𝐶𝐴 = 0
4 −2 −4 134
𝑟 = ( 0 )+𝜆( 6 ) ( 49 )
−1 −3 Equation of the perpendicular
x2 y 3 z4
𝑥 4 −2
72 69 186
49 49 49
(𝑦 ) = ( 0 ) + 𝜆 ( 6 )
𝑧 −1 −3 Length of the perpendicular AB
𝑥 4 − 2𝜆 24 2 75 2 134 2
𝐴𝐵 = √( ) +( ) +( )
(𝑦) = ( 6𝜆 ) 49 49 49
𝑧 −1 − 3𝜆 AB = 3.1719 units
−2 Find the length and equation of the perpendicular drawn
𝐴𝐵. ( 6 ) = 0 from a point (5, 4, -1) to the line; 𝒓 = 𝒊 + 𝜆(2𝒊 + 9𝒋 +
−3 5𝒌)
Solution
𝐴𝐵 = 𝑂𝐵 − 𝑂𝐴
A(5, 4, -1)
4 − 2𝜆 − 2 2 − 2𝜆
= ( 6𝜆 − 3 ) = (6𝜆 − 3)
1 − 3𝜆 − 4 5 − 3𝜆
2 − 2𝜆 −2 B(1+2λ, 9λ, 5λ)
(6𝜆 − 3) ( 6 )=0
5 − 3𝜆 −3
1 2
(−2(2 − 2𝜆) + 6(6𝜆 − 3) − 3(5 − 3𝜆) = 0 𝑟 = (0) + 𝜆 (9)
0 5
−4 + 4𝜆 + 36𝜆 − 18 − 15 + 9𝜆 = 0 𝑥 1 2𝜆
(𝑦) = (0) + (9𝜆)
36𝜆 + 9𝜆 + 4𝜆 − 18 − 15 − 4 = 0 𝑧 0 5𝜆
𝑥 1 + 2𝜆
49𝜆 = 37 (𝑦) = ( 9𝜆 )
𝑧 5𝜆
37
𝜆= 1 + 2𝜆 − 5 2𝜆 − 4
49
𝐴𝐵 = ( 9𝜆 − 4 ) = (9𝜆 − 4)
37 5𝜆 + 1 5𝜆 + 1
2 − 2( )
49
37 𝐴𝐵. 𝑑 = 0
𝐴𝐵 = 6 ( ) − 3 2
49
37 𝑑 = (9)
(5 − 3 (49)) 5
2𝜆 − 4 2
(9𝜆 − 4) (9) = 0
5𝜆 + 1 5
(2(2𝜆 − 4) + 9(9𝜆 − 4) + 5(5𝜆 + 1) = 0
4𝜆 − 8 + 81𝜆 − 36 + 25𝜆 + 5 = 0 2𝒊 + 5𝒋 − 14𝒌
𝑟. ( )=2
81𝜆 + 25𝜆 + 4𝜆 − 8 + 5 − 36 = 0 15
110𝜆 = 39
39 Plane 2
𝜆=
110 𝑟. 2𝒊 + 5𝒋 − 14𝒌 = −15
39
2( )−4
110 2𝒊 + 5𝒋 − 14𝒌
39 𝑟. ( ) = −1
𝐴𝐵 = 9 ( )−4 15
110
39
( 110) + 1)
5 (
−362
110
−89
=
110 2 units
−305
( 110 )
O 1 unit
−362 2 −89 2 −305 2
√
|𝐴𝐵| = ( ) ( ) ( )
110 110 110
2𝒊 + 5𝒋 − 14𝒌 30
𝑟. ( )=
15 15
2𝒊 + 5𝒋 − 14𝒌
𝑟. ( )=2
15
x 1 y 3 z 1
1 1 2
AB 2 1 1 3 3 1
2 2 2
units
O AB 17
unit
AB OB OA
−1 2 −3
( 3 ) − (1) = ( 2 )
1 3 −2
3 4 7
units A (2, 1, 3)
6 6 6 θ
d
Shortest distance between two parallel lines
θ
A B (-1, 3, 1)
θ
AB.d
cos
d AB .d
−3 1
θ
( 2 ) . (−1)
O B
cos 𝜃 = −2 2
√17√6
A
−9
𝜃 = cos−1 ( )
√100
d 𝜃 = 26.8°
𝑑
sin 26.8° =
√17
O B 𝑑 = 1.859 𝑢𝑛𝑖𝑡s
AB OB OA
1 2 3
A
AB OB OA 1 3 1 3 2
1 2 2
1 2 2
C D
3 0
3 2 1 0
1 2 2 2
O E
B
3 2 2 4 4 0
7 5 4 0 DE nCD
7 5 4 0
DE n CA AD
7 5 4..........................(1)
1
3 1 DE n a AD
3
3 2 3 0
1 2 2 2 1 1
DE n a AB
12 3 2
3 9 3 6 2 4 4 7
1 1 1
14 7 11 0 AB 6 DE na nb na
7 3 2 2
14 7 11......................(2) 3 1 1
9 7 DE na nb...................(1)
, 1 6 2
7 DE DB BE
12 6 3
2 2 2
1
AB DE AB kb
7 7 7 2
1
144 36 9 DE (b a) kb
AB 2
49 49 49
1 1
3 21 DE b a kb
AB units 2 2
7
1 1
Vector Geometry DE k b a
2 2
Example I
1 1
Triangle OAB has OA=a, OB=b. C is a point on OA such a na
that OC= 2 a. D is a mid point of AB when CD is 2 6
3
1 1
produced, it meets OB at E such that DE = nCD and n
2 6
BE=kb. Express BE, DE in terms of;
a) n, a and b 6 2n
n3
b) k, b and a. Hence find the values of n and k.
1 1
k b nb
2 2
1 1 2
k 3
2 2 5
3 1 8
k 1
5
2 2
8
Example II OQ = a
5
Given that OA is a and OB=b point R is on OB such that
OR:RB=4:1. Point P is on AB such that BP:PA=2:3. Example III
When RP and OA are both produced, they meet at Q. Find O, A and B are non collinear points OA = a, OB = b, C is
OR and OP in terms of a and b 1
ii) OQ in terms of a midpoint of AB, D is a point on OB such that OD = OB .
4
Solution T is a point of intersection of OC and AD. Find the vector
B OT in terms of a and b.
Solution
R B
P
b 3
C
D
O a A Q T
1
4 4
OR OB OR b O a A
5 5
OT = λOC
OP OB BP
OC = OB + BC
2
OP b BA =b+
1
BA
5 2
2
OP b (a b) 1
= b + (a – b)
5 2
1 1
OP (3b 2a) OC = (a + b)
5 2
1 1
OT a b
OQ OA a 2 2
1 1
OQ OR RQ OT a b..........................(i)
2 2
4
OQ b RP OT = OA + AT
5 = a + AD
4 4 1
OQ b b 2a 3b
AD = AO + OD
5 5 5 =a+
1
b
4
4 1 2
OQ b a 1
5 5 5 OT = a + (a + b)
4
4 1
0 1
OT = a − a + b
5 5 4
4
1 4. (a) The line through A(1, -2, 2) and perpendicular to
OT = (1 − )a + b ……..….. (ii)
4 the plane 4x – y + 2z + 12 = 0 meets the plane in
Equating components of vectors a and b in Eqns (i) and point B. Find the coordinates of B.
(ii); (b) Given that the vectors ai – 2j + k and 2ai + aj – 4i
1 are perpendicular, find the values of a.
1 .......................(iii)
2 5. Find the equation of the plane through the point (1, 2,
1 1 3) and perpendicular to the vector r = 4i + 5j + k.
.........................(iv)
2 4 6. (a) The vertices of a triangle are P(2, -1, 5), Q(7, 1, -
From Eqn (iv); 3) and R(13, -2, 0). Show that PQR = 90°. Find the
2
coordinates of S if PQRS is a rectangle.
1 2 (b) Find the equation of the line through A(2, 2, 5)
2
and B(1, 2, 3)
5
1 (c) If the line in (b) above meets the line
2
x 1 y 2 z 1
2 at P, find the:
1 0 3
5
4 (i) coordinates of P,
(ii) angle between the two lines
5
7. The position vector of points P and Q are 2i – 3j and 3i
21 1
OT a b – 7j + 12k respectively. Determine the length of PQ. PQ
52 2
meets the plane 4x + 5y – 2z = 5 at point S. Find:
1
OT a b (a) the coordinates of S,
5
(b) the angle between PQ and the plane.
8. (a) Find the angle between the line r = 3k + λ(7i – j +
4k) and the plane r (2i – 5j – 2k) = 8
Revision Exercise
(b) Show that the lines with vector equations
1. In a triangle ABC, the altitudes from B and C meet
r1 = (1 + 4λ)i + (1 – λ)j + (2λ)k , and
the opposite sides at E and F respectively. BE and CF r2 = (5 + 3μ)i + (2μ)j + (2 – 5μ)k.
intersect at O. Taking O as the origin, use the dot intersect at right angles and give the position vector
product to prove that AO is perpendicular to BC of the point of intersection.
(b) Find the point of intersection of the line 9. Find the equation of the line with directrix vector d
x y 2 z 1 with the plane
which passes through the point with position vector a
5 2 4
given that
3x + 4y + 2z – 25 = 0 (a) a = i + 2j – k, d = 3i – k
(c) Find the angle between the line x4 y2 z 1
8
2
4
(b) a = 4i – 3k, d = i – 3j + 3k
and the plane 4x + 3y + 1 = 0 10. Find the vector equation of the line which passes
2. (a) Show that the equation of the plane through points through the points with (a) position vectors 3i – 3j + k
A with position vector 2i + 2k perpendicular to the and -2j + j + k.
vector i + 3j – 2k is x + 3y – 2z + 10 = 0 (a) position vector i + 4j and 3i – j + 2k,
(b) (i) Show that the vector 2i – 5j + 3.5k is (b) coordinates (0, 6, -6) and (5, -7, 2)
perpendicular to the line r = 2i – j + λ(4i + 3j + 2k) (c) coordinates (0, 0, 0) and (5, -2, 3)
(ii) Calculate the angle between the vector 3i – 2j + k 11. Write down in parametric form the vector equations
and the line in (b)(i) above. of the planes through the given points parallel to the
3. A point P has coordinates (1, -2, 3) and a certain given pairs of vectors.
plane has the equation x + 2y + 2z = 8. The line (a) (1, -2, 0); i + 3j and –j + 2k
x y 1 z 1 (b) the origin; 2i – j and –i + 2j – 7k
through P parallel to the line (c) (3, 1, -1); j and i + j + k.
3 1 2
meets the plane at a point Q.
12. Find a vector equation for the plane passing through 20. Points A, B and C have position vectors –i + 3j + 9k,
the points with position vectors 2k, i – 3j + k and 5i + 5i + 6j – 4k and 4i + 7j + 5k respectively. P is the
2j. point on AB such that AP AB . Find:
13. Find the vector equation of the plane through the
(a) AB
points A(1, 0, -2) and B(3, -1, 1) which is parallel to
(b) CP
the line with vector equation r = 3i + (2λ – 1)j + (5 –
(c) Find the perpendicular distance from the point C
λ)k. Hence find the coordinates of the point of
to the line AB.
intersection of the plane and the line r = μi + (5 – μ)j
21. Two lines L1 and L2 have vector equations
+ 2μ – 7)k.
r1 = (2 – 3λ)i + (1 + λ)j + 4λk
14. Find a vector equation for the line joining the points
r2 = (-1 + 3λ)i + 3j + (4 – λ)k respectively. Find:
(a) (2, 6) and (5, 2)
(a) the position vector of their common point of
(b) (-1, 2, -3) and (6, 3, 0).
intersection.
15. (a) Points A and B have coordinates (4, 1) and (2, -5)
(b) the angle between the lines.
respectively. Find a vector equation for the line
22. Find the equation of the plane containing points P(1,
which passes through A and perpendicular to the line
1, 1), Q(1, 2, 0) and (-1, 2, 1).
AB.
23. Find the equation of the plane containing point (4, -2,
(b) Points P and Q have coordinates (3, 5) and (-3, -7)
3) and parallel to the plane 3x – 7z = 12
respectively. Find a vector equation for the line
24. Show that the point with position vector 7i – 5j – 4k
which passes through the point P and which is
lies in the plane r = 4i + 3j + 2k + λ(i – j – k) + μ(2i +
perpendicular to the line PQ
3j + k). Find the point at which the line x = y – 1 = 2z
16. Find a vector equation for the perpendicular bisector
intersects the plane 4x – y + 3z = 8.
of the points:
25. Find the parametric equations for the line through the
(a) (6, 3) and (2, -5)
point (0, 1, 2) that is parallel to the plane x + y + z = 2
(b) (7, -1) and (3, -3)
and perpendicular to the line x = 1 + t, y = 1 – t, z =
17. Points P, Q and R have position vectors 4i – 4j, 2i +
2t.
2j, and 8i + 6j respectively.
26. Find the distance between the parallel planes
(a) Find a vector equation for the line L1 which is the
z = x + 2y + 1 and 3x + 6y – 3z = 4
perpendicular bisector to the points P and Q
27. Two planes are given by the parametric equations
(b) Find a vector equation for the line L2 which is the
x=r+3 and x = 1 + r + s
perpendicular bisector to the points A and R.
y = 3s and y = 2 + r
(c) Hence find the position vector of the point where
z = 2r and z = -3 + 5
L1 and L2 meet.
Find the Cartesian equation of the intersection point.
18. Two lines L1 and L2 have equations
2
x 0 1 x 2 1 28. The equation of a plane P is given by r 6 33 ,
L1 : y 1 3 and L2 : y 1 1 .
9
z 3 6 z 1 2
where r is the position vector of P. find the
(a) Show that L1 and L2 are concurrent (meet at a perpendicular distance from the plane to the origin.
common point) and find the position vector of 29. The line through point P(1, -2, 3) and parallel to the
their point of intersection. x y 1
(b) Find the angle between L1 and L2. line z 1 meets the plane x + 2y + 27 8
3 1
19. Points P, Q, and R have coordinates (-1, 1), (4, 6) and at Q. find the coordinates of Q.
(7, 3) respectively. 30. (a) Find the angle between the plane x + 4y – z = 72
(a) Show that the perpendicular distance from the and the line r = 9i + 6j + 8k.
point R to the point PQ is 3 2 .
(b) Deduce that the area of the triangle PQR is 15
sq.units.
(b) obtain the equation of the plane that passes 38. The position vector of points P and Q are 3i - j + 2k
through (1, -2, 2) and perpendicular to the line and 2i + 2j + 3k, respectively. Find the acute angle
x9 y6 z 8 y3 4z
between PQ and the line 1 – x = .
4 1 1 2 4
(c) Find the parametric equations of the line of (b) Find the point of intersection of the line x – 2 = 2y
intersection of the plane x + y + z = 4 and + 1 = 3 – z and the plane x + 2y + z = 3.
x – y + 2z + 2 = 0 (c) Find the equation of the plane through the origin
31. Find the point of intersection of the three planes 2x – parallel to the lines r = 3i + 3j – k + s(i – j – 2k) and r
y + 3z = 4, 3x – 2y + 6z = 3 and 7x – 4y + 5z = 11. = 4i – 5j – 8k + t(3i + 7j – 6k)
32. Find the Cartesian equation of the plane with 39. (a) The points A and B have position vectors a = 2i –
3 2 1 j + 6k and b = 7i – 6j + k respectively. Find the
parametric vector equation r 0 1 1 coordinates of a point P which divides the vector AB
1
0
1 in the ratio:
33. Find the Cartesian equation of the plane containing (i) 4:1
1 (ii) 1:4
the point with position vector 3 and parallel to the 40. (b) Find the Cartesian equation of the plane through
1 z 1
the origin parallel to the lines x 3 3 y
2
1 2
vectors 1 and 1 .
x4 y5 x8
and
3 7 6
3 3 y3 4z
(c) Find the angle between the line 1 x
34. Find the Cartesian equation of the plane containing 2 4