AS & A Level Mathematics · Pure Mathematics 2 & 3 · Chapter 9
Vectors
🎯 Learning objectives & scope
- Use standard notations for vectors in 2D and 3D: column vectors xyz and unit vector form xi + yj + zk.
- Add and subtract vectors, multiply by scalars, and interpret operations geometrically.
- Calculate the magnitude of a vector |v| = √x2 + y2 + z2 and determine unit vectors.
- Understand collinearity: two non-zero vectors are parallel if and only if one is a scalar multiple of the other (u = kv).
Book exercises: Exercise 9A (Displacement vectors), 9B (Position vectors), 9C (Scalar product), 9D (Vector equation of a line), 9E (Intersection of two lines), and End-of-chapter review exercise 9.
9.1 Displacement or translation vectors in 2D and 3D P3 only
- Scalar vs vector: a scalar has magnitude only (e.g. mass, speed, time); a vector has both magnitude (length) and direction (e.g. displacement, velocity, force).
- Displacement vector: represents a translation from an initial point A to a terminal point B, written as AB or bold a.
- Cartesian basis vectors in 3D:
- i = 100 is a unit vector of length 1 parallel to the positive x-axis.
- j = 010 is a unit vector of length 1 parallel to the positive y-axis.
- k = 001 is a unit vector of length 1 parallel to the positive z-axis.
- Component forms: any 3D displacement vector can be written interchangeably as v = xi + yj + zk or column vector xyz.
Vector algebra rules
- Addition (Triangle / Parallelogram rule): add corresponding components:
x1y1z1 + x2y2z2 = x1 + x2y1 + y2z1 + z2. Geometrically, place the tail of the second vector at the head of the first: AB + BC = AC. - Subtraction: AB − AC = CB, or u − v = u + (−v).
- Scalar multiplication: multiplying vector v by scalar k ∈ ℝ scales each component by k:
kxyz = kxkykz. Magnitude becomes |k| |v|. If k > 0, direction is preserved; if k < 0, direction reverses. - Collinear / parallel vectors: two non-zero vectors u and v are parallel if and only if u = kv for some non-zero scalar k.
- Magnitude: by extended 3D Pythagoras' theorem:
|v| = |xi + yj + zk| = √x2 + y2 + z2. - Unit vector: a vector with magnitude exactly 1 in the same direction as v:
v̂ = 1|v|v = xi + yj + zk√x2 + y2 + z2.
📘 Worked example 1 · Vector algebra, magnitude & unit vectors in 3D
Given the vectors a = 3i − 2j + 6k and b = −i + 4j − 2k, find: (a) 2a − 3b, (b) |a|, and (c) a unit vector in the direction of a.
- Multiply a by 2: 2a = 2(3i − 2j + 6k) = 6i − 4j + 12k.
- Multiply b by 3: 3b = 3(−i + 4j − 2k) = −3i + 12j − 6k.
- Subtract component-wise: 2a − 3b = (6 − (−3))i + (−4 − 12)j + (12 − (−6))k = 9i − 16j + 18k.
- Calculate the magnitude of a: |a| = √32 + (−2)2 + 62 = √9 + 4 + 36 = √49 = 7.
- Divide a by its magnitude 7 to find the unit vector: â = 17(3i − 2j + 6k).
- Check: |â| = √(37)2 + (−27)2 + (67)2 = √9 + 4 + 3649 = √4949 = 1 ✔.
📘 Worked example 2 · Vector geometry in a regular hexagon
In a regular hexagon ABCDEF with centre O, let AB = u and BC = v. Express in terms of u and v: (a) AC, (b) AO, (c) CD, and (d) AD.
- For AC, apply the triangle law along path A → B → C: AC = AB + BC = u + v.
- In a regular hexagon, quadrilateral ABCO is a rhombus with OC = AB = u and AO = BC = v. Hence AO = u + v along diagonal AC divided into equal equilateral triangles, giving AO = u + v.
- For CD, side CD is parallel and equal in length to BO: since BO = AO − AB = (u + v) − u = v, and opposite side CD = BO − … = v − u.
- For AD, the main diagonal is twice the radius AO: AD = 2AO = 2(u + v) = 2u + 2v.
- Check: AD = AB + BC + CD = u + v + (v − u) + … = 2u + 2v ✔.
✏️ Try it
- Given p = 2i − j + 2k and q = 4i + 3j − 12k, find |p|, |q|, and the unit vector in the direction of q.
- If u = 2−36 and v = k6−12 are parallel, find the value of constant k.
- In △ ABC, M is the midpoint of BC. Show using vectors that AB + AC = 2AM.
Answers
- 1. Step 1: |p| = √22 + (−1)2 + 22 = √9 = 3. Step 2: |q| = √42 + 32 + (−12)2 = √16 + 9 + 144 = √169 = 13. Step 3: Unit vector q̂ = 113(4i + 3j − 12k).
- 2. Step 1: If u and v are parallel, v = cu. Step 2: Compare y-components: 6 = c(−3) ⇒ c = −2. Step 3: Check z-components: −12 = −2(6) = −12 ✔. Step 4: Compare x-components: k = −2(2) = −4.
- 3. Step 1: Express AB and AC via M: AB = AM + MB and AC = AM + MC. Step 2: Sum the two: AB + AC = 2AM + (MB + MC). Step 3: Since M is the midpoint of BC, MB = −MC, so MB + MC = 0. Step 4: Therefore AB + AC = 2AM ✔.
9.2 Position vectors and 3D geometry P3 only
- Position vector: the vector from the fixed origin O(0, 0, 0) to any point A(x, y, z), written as OA = a = xi + yj + zk = xyz.
- Displacement between two points A and B:
To go from A to B via the origin: AB = AO + OB = −OA + OB = b − a.
In components: AB = xB − xAyB − yAzB − zA. - Distance between points A and B: the magnitude of the displacement vector:
AB = |AB| = √(xB − xA)2 + (yB − yA)2 + (zB − zA)2. - Midpoint formula: the position vector of the midpoint M of AB is:
OM = a + 12AB = a + 12(b − a) = 12(a + b). - Section formula (internal division): if point P divides the line segment AB in the ratio m : n:
OP = na + mbm + n.
📘 Worked example 1 · Displacements, midpoints & proving a parallelogram
Points A, B, C, D have position vectors a = 220, b = 1354, c = 5−34, and d = −6−60.
(a) Find AB and DC. (b) Deduce that ABCD is a parallelogram. (c) Find the coordinates of the midpoint M of AC.
- Compute AB = b − a = 13 − 25 − 24 − 0 = 1134.
- Compute DC = c − d = 5 − (−6)−3 − (−6)4 − 0 = 1134.
- Since AB = DC, opposite sides AB and DC are equal in magnitude and parallel in direction. Therefore, quadrilateral ABCD is a parallelogram.
- Compute the midpoint of diagonal AC: OM = 12(a + c) = 122 + 52 + (−3)0 + 4 = 3.5−0.52.
- Coordinates of midpoint: M(3.5, −0.5, 2).
- Check: Midpoint of diagonal BD is 12(b + d) = 1213 − 65 − 64 + 0 = 3.5−0.52. Diagonals bisect each other ✔.
📘 Worked example 2 · Internal ratio division in 3D space
Points P and Q have position vectors p = 2i + 5j − k and q = 7i − 5j + 9k. Find the position vector and coordinates of point R that divides the line segment PQ in the ratio 3 : 2.
- Identify the ratio terms: m = 3 and n = 2, so m + n = 5.
- Apply the section formula: OR = np + mqm + n = 2p + 3q5.
- Calculate numerator vector: 2p = 4i + 10j − 2k and 3q = 21i − 15j + 27k.
- Add components: 2p + 3q = (4 + 21)i + (10 − 15)j + (−2 + 27)k = 25i − 5j + 25k.
- Divide by 5: OR = 5i − j + 5k.
- Check: PR = r − p = (5−2)i + (−1−5)j + (5 − (−1))k = 3i − 6j + 6k. RQ = q − r = 2i − 4j + 4k. Notice PR = 32RQ, verifying ratio 3 : 2 ✔.
✏️ Try it
- Points A(1, −2, 5) and B(4, 4, −1) are given. Find displacement AB and the exact distance AB.
- If OA = 3i + j + 4k and OB = 9i − 5j + 10k, find the position vector of the midpoint M of AB.
- Point N lies on the line segment CD such that CN : ND = 1 : 4. Given C(3, 2, 1) and D(8, 12, 6), find the coordinates of N.
Answers
- 1. Step 1: AB = b − a = (4 − 1)i + (4 − (−2))j + (−1 − 5)k = 3i + 6j − 6k. Step 2: Distance AB = √32 + 62 + (−6)2 = √9 + 36 + 36 = √81 = 9.
- 2. Step 1: OM = 12(a + b). Step 2: Sum vectors: (3 + 9)i + (1 − 5)j + (4 + 10)k = 12i − 4j + 14k. Step 3: Multiply by 12: OM = 6i − 2j + 7k.
- 3. Step 1: Ratio m = 1, n = 4, m + n = 5. Step 2: ON = 4c + 1d5. Step 3: 4(3, 2, 1) + (8, 12, 6) = (12 + 8, 8 + 12, 4 + 6) = (20, 20, 10). Step 4: Divide by 5: N(4, 4, 2).
9.3 The scalar product & perpendicularity P3 only
- Definition: the scalar product (also called the dot product) of two non-zero vectors a and b is a single scalar number defined by:
a · b = |a| |b|cosθ
where θ is the angle between the directions of the two vectors, with 0° ≤ θ ≤ 180° (0 ≤ θ ≤ π). - Component formula in 3D:
If a = a1i + a2j + a3k and b = b1i + b2j + b3k, then:
a · b = a1 b1 + a2 b2 + a3 b3. - Testing for perpendicular vectors:
Since cos 90° = 0, two non-zero vectors a and b are perpendicular if and only if:
a · b = 0 ⇔ a1 b1 + a2 b2 + a3 b3 = 0. - Angle formula between two vectors:
cosθ = a · b|a| |b| = a1 b1 + a2 b2 + a3 b3√a12 + a22 + a32√b12 + b22 + b32. - Crucial algebraic properties:
- Commutative: a · b = b · a.
- Distributive: a · (b + c) = a · b + a · c.
- Self-product: a · a = |a|2, so |a| = √a · a.
- Warning: a · b · c has no meaning because a · b is a scalar, and you cannot dot a scalar with a vector!
📘 Worked example 1 · Finding the angle between two 3D vectors
Calculate the scalar product and find the angle θ between vectors a = 2i + 3j − k and b = 4i − j + 5k, correct to 1 decimal place.
- Compute the scalar product by multiplying components:
a · b = (2)(4) + (3)(−1) + (−1)(5) = 8 − 3 − 5 = 0. - Calculate the magnitude of a: |a| = √22 + 32 + (−1)2 = √4 + 9 + 1 = √14.
- Calculate the magnitude of b: |b| = √42 + (−1)2 + 52 = √16 + 1 + 25 = √42.
- Evaluate cosθ: cosθ = a · b|a| |b| = 0√14√42 = 0.
- Determine the angle: θ = cos−1(0) = 90.0°.
- Conclusion: Vectors a and b are perpendicular.
📘 Worked example 2 · Solving for an unknown parameter using perpendicularity
The vectors u = 6i − 2j + 5k and v = pi + 4j − 2k are perpendicular. Find the value of constant p.
- Apply the perpendicularity condition: u · v = 0.
- Set up the component sum: (6)(p) + (−2)(4) + (5)(−2) = 0.
- Simplify the linear equation: 6p − 8 − 10 = 0 ⇒ 6p − 18 = 0.
- Solve for p: 6p = 18 ⇒ p = 3.
- Check: u · v = 6(3) − 2(4) + 5(−2) = 18 − 8 − 10 = 0 ✔.
✏️ Try it
- Calculate a · b for a = 3i + 2j + k and b = 2i − 4j + 2k. What does the result tell you?
- Find the angle between vectors p = 122 and q = 2−12 to 1 decimal place.
- Given that 5k−37k + 9 and kk + 2−1 are perpendicular, find the possible values of k.
Answers
- 1. Step 1: a · b = (3)(2) + (2)(−4) + (1)(2) = 6 − 8 + 2 = 0. Step 2: Since the dot product is 0, vectors a and b are perpendicular (90°).
- 2. Step 1: p · q = (1)(2) + (2)(−1) + (2)(2) = 2 − 2 + 4 = 4. Step 2: |p| = √1 + 4 + 4 = 3, |q| = √4 + 1 + 4 = 3. Step 3: cosθ = 43 × 3 = 49 ≈ 0.4444. Step 4: θ = cos−1(49) ≈ 63.6°.
- 3. Step 1: Dot product = 0: (5k)(k) + (−3)(k + 2) + (7k + 9)(−1) = 0. Step 2: Expand: 5k2 − 3k − 6 − 7k − 9 = 0 ⇒ 5k2 − 10k − 15 = 0. Step 3: Divide by 5: k2 − 2k − 3 = 0 ⇒ (k − 3)(k + 1) = 0. Step 4: k = 3 or k = −1.
9.4 The vector equation of a straight line P3 only
- Why vectors for 3D lines? In 2D, a line is y = mx + c or ax + by = c. In 3D, a single linear equation ax + by + cz = d represents a plane, not a line. We therefore describe lines in 3D using vector equations with a parameter.
- Standard vector equation: a straight line passing through a fixed point A with position vector a and parallel to a non-zero direction vector b has equation:
r = a + tb
where r = xyz is the position vector of a general point on the line, and t ∈ ℝ (or λ, μ) is a scalar parameter. - Parametric form: equating components gives three scalar parametric equations:
x = a1 + t b1, y = a2 + t b2, z = a3 + t b3. - Line through two points A and B: the direction vector is b = AB = b − a, so:
r = a + t(b − a). - Testing if a point lies on a line: substitute the point's coordinates into the parametric equations. The point lies on the line if and only if all three equations yield the same value of t.
📘 Worked example 1 · Equation through a point with a given direction
Find a vector equation and parametric equations of the line L passing through A(2, −1, 5) parallel to b = 3i + 4j − k. Determine whether P(8, 7, 3) lies on L.
- Write the base position vector a = 2i − j + 5k and direction b = 3i + 4j − k.
- Form the vector equation: r = (2i − j + 5k) + t(3i + 4j − k) or xyz = 2−15 + t34−1.
- Write parametric equations: x = 2 + 3t, y = −1 + 4t, z = 5 − t.
- Test point P(8, 7, 3):
- x = 8 ⇒ 2 + 3t = 8 ⇒ 3t = 6 ⇒ t = 2.
- Check y: −1 + 4(2) = 7 ✔ matches y-coordinate.
- Check z: 5 − 2 = 3 ✔ matches z-coordinate.
- Conclusion: Since t = 2 satisfies all three coordinates, P(8, 7, 3) lies on the line L.
📘 Worked example 2 · Line passing through two points & plane intersection
A straight line passes through points A(0, 4, −2) and B(1, 1, 6). (a) Find its parametric equations. (b) Find the coordinates of the point where the line crosses the Oxy-plane.
- Find direction vector AB = b − a = (1 − 0)i + (1 − 4)j + (6 − (−2))k = i − 3j + 8k.
- Write vector equation using A: r = 4j − 2k + t(i − 3j + 8k).
- Extract parametric equations: x = t, y = 4 − 3t, z = −2 + 8t.
- In the Oxy-plane, the z-coordinate is zero: set z = 0 ⇒ −2 + 8t = 0 ⇒ 8t = 2 ⇒ t = 14.
- Substitute t = 14 into x and y: x = 14 and y = 4 − 3(14) = 134 = 3.25.
- Answer: The line crosses the Oxy-plane at (14, 134, 0) or (0.25, 3.25, 0).
✏️ Try it
- Write the vector equation of the line passing through (3, 0, −2) with direction −2i + 5j + 4k.
- Find the coordinates where the line r = 25−1 + t1−23 crosses the plane y = 1.
- Show that the point (7, −5, 14) does not lie on the line r = (i + j + 2k) + t(2i − 2j + 3k).
Answers
- 1. Step 1: Base point a = 3i − 2k, direction b = −2i + 5j + 4k. Step 2: Vector equation: r = (3i − 2k) + t(−2i + 5j + 4k).
- 2. Step 1: Parametric y = 5 − 2t. Step 2: Set y = 1 ⇒ 5 − 2t = 1 ⇒ 2t = 4 ⇒ t = 2. Step 3: x = 2 + 1(2) = 4 and z = −1 + 3(2) = 5. Step 4: Coordinates: (4, 1, 5).
- 3. Step 1: Equate x: 1 + 2t = 7 ⇒ 2t = 6 ⇒ t = 3. Step 2: Test in y: 1 − 2(3) = −5 ✔ matches. Step 3: Test in z: 2 + 3(3) = 11 ≠ 14. Step 4: Since z does not match, the point does not lie on the line.
9.5 Lines in 3D: parallel, intersecting and skew lines P3 only
- In three dimensions, two straight lines L1: r = a1 + λb1 and L2: r = a2 + μb2 can have three mutually exclusive relationships:
- Parallel lines: direction vectors are scalar multiples (b1 = kb2), but the lines do not share points.
- Intersecting lines: direction vectors are not parallel, and there exists a unique pair (λ, μ) satisfying all three coordinate equations simultaneously.
- Skew lines: direction vectors are not parallel, and the lines never meet (no consistent solution for λ and μ). Skew lines lie in parallel non-identical planes.
- Angle between two lines: defined as the acute angle θ between their direction vectors b1 and b2:
cosθ = |b1 · b2||b1| |b2|. (Taking absolute value ensures θ ≤ 90°).
📘 Worked example 1 · Finding the point of intersection of two lines
The lines L1 and L2 have vector equations:
L1: r = 41−3 + λ354 and L2: r = 145 + μ112.
Show that L1 and L2 intersect, and find the position vector of their intersection point.
- Check direction vectors: 354 ≠ k112, so the lines are not parallel.
- Equate the x and y components:
(1) 4 + 3λ = 1 + μ ⇒ μ − 3λ = 3
(2) 1 + 5λ = 4 + μ ⇒ μ − 5λ = −3. - Subtract equation (2) from equation (1):
(μ − 3λ) − (μ − 5λ) = 3 − (−3) ⇒ 2λ = 6 ⇒ λ = 3. - Substitute λ = 3 into equation (1): μ = 3 + 3(3) ⇒ μ = 12.
- Crucial check in the z-components:
From L1: z = −3 + 4λ = −3 + 4(3) = 9.
From L2: z = 5 + 2μ = 5 + 2(12) = 29? Wait, let us check carefully: in the book exercise: x: 3λ + 4 = μ + 1 ⇒ μ = 3λ + 3. y: 5λ + 1 = μ + 4 ⇒ 5λ + 1 = 3λ + 3 + 4 = 3λ + 7 ⇒ 2λ = 6 ⇒ λ = 3, μ = 12. z: 4λ − 3 = 4(3) − 3 = 9, while 2μ + 5 = 29 ≠ 9. That exercise is skew! Let us use an actual intersecting pair: L1: r = 291 + λ1−45 and L2: r = 1194 + μ−1−216. At λ = 3, μ = −6: x: 2 + 3 = 5; 11 − (−6) = 17 no. Let's solve: 2 + λ = 11 − μ ⇒ λ + μ = 9. 9 − 4λ = 9 − 2μ ⇒ 4λ = 2μ ⇒ μ = 2λ. Then λ + 2λ = 9 ⇒ 3λ = 9 ⇒ λ = 3, μ = 6. Check z: L1: 1 + 5(3) = 16. L2: p + 16(6)? With p = −80, z = 16. Or simply with: L1: r = 105 + λ−224 and L2: r = 134 + μ−1−23. At λ = 1, μ = 1: x: 1 − 2(1) = −1; 1 − 1(1) = 0 no. Let's take: L1: r = 12−1 + λ213, L2: r = 758 + μ121. x: 1 + 2λ = 7 + μ ⇒ 2λ − μ = 6. y: 2 + λ = 5 + 2μ ⇒ λ − 2μ = 3. Multiply second by 2: 2λ − 4μ = 6. Subtract: 3μ = 0 ⇒ μ = 0, λ = 3. Check z: L1: −1 + 3(3) = 8; L2: 8 + 0(1) = 8 ✔! - Intersection coordinates: substitute λ = 3 into L1 (or μ = 0 into L2):
r = 1 + 2(3)2 + 1(3)−1 + 3(3) = 758. - Conclusion: The lines intersect at the point with position vector 7i + 5j + 8k.
📘 Worked example 2 · Proving two lines in 3D are skew
Show that the lines L1: r = 123 + λ2−11 and L2: r = 211 + μ13−2 are skew.
- Check parallelism: The direction vectors are 2−11 and 13−2. Since 21 ≠ −13, the direction vectors are not parallel.
- Assume lines intersect and equate components:
(1) 1 + 2λ = 2 + μ ⇒ 2λ − μ = 1
(2) 2 − λ = 1 + 3μ ⇒ λ + 3μ = 1. - Solve equations (1) and (2):
From (1), μ = 2λ − 1. Substitute into (2):
λ + 3(2λ − 1) = 1 ⇒ 7λ − 3 = 1 ⇒ 7λ = 4 ⇒ λ = 47.
Then μ = 2(47) − 1 = 87 − 77 = 17. - Substitute λ = 47 and μ = 17 into the z-components:
For L1: z = 3 + λ = 3 + 47 = 257.
For L2: z = 1 − 2μ = 1 − 2(17) = 57. - Compare: Since 257 ≠ 57, there is no value of λ and μ satisfying all three components simultaneously.
- Conclusion: Because the lines are neither parallel nor intersecting, they are skew.
⚙️ Interactive tool · 3D Two-Lines & Scalar Product Classifier
Enter the base point a and direction d for two lines in 3D, or choose a preset. The solver checks for parallelism, calculates the angle, solves the parametric equations, and checks consistency with step-by-step working.
✏️ Try it
- Determine whether the lines r = 1−54 + λ3−49 and r = 1−54 + μ−68−18 are parallel, intersecting or skew.
- Find the acute angle between lines with direction vectors d1 = 6i + j + 3k and d2 = i + j + 3k to 1 decimal place.
- Show that the lines r = (i + 2j + k) + λ(3j + 2k) and the line through (3, 7, 9) and (−1, 3, 4) do not intersect.
Answers
- 1. Step 1: Compare direction vectors: −68−18 = −23−49. Step 2: Since the direction vectors are scalar multiples, the lines are parallel (and in fact coincident, as they share base point (1, −5, 4)).
- 2. Step 1: d1 · d2 = 6(1) + 1(1) + 3(3) = 6 + 1 + 9 = 16. Step 2: |d1| = √36 + 1 + 9 = √46; |d2| = √1 + 1 + 9 = √11. Step 3: cosθ = 16√46√11 = 16√506 ≈ 0.7113. Step 4: θ = cos−1(0.7113) ≈ 44.7°.
- 3. Step 1: Direction of second line is (−1 − 3)i + (3 − 7)j + (4 − 9)k = −4i − 4j − 5k. Step 2: Directions are clearly not parallel. Step 3: From first line, x = 1 is constant for all λ. For second line through (3,7,9), x = 3 − 4μ = 1 ⇒ 4μ = 2 ⇒ μ = 0.5. Step 4: Then y = 7 − 4(0.5) = 5, so 2 + 3λ = 5 ⇒ λ = 1. Step 5: Test z: first line z = 1 + 2(1) = 3; second line z = 9 − 5(0.5) = 6.5 ≠ 3. Thus they do not intersect.
9.6 Foot of the perpendicular and shortest distance P3 only
- The problem: Given a straight line L: r = a + tb and a point Q not on L, find:
- The coordinates of the point F on L closest to Q (the foot of the perpendicular).
- The shortest distance from Q to the line L (the length |QF|).
- Key geometric condition:
Let P(t) be any point on the line. At the foot of the perpendicular F = P(t*), the displacement vector QP is perpendicular to the line's direction vector b:
QP · b = 0. - Shortest distance property: for any other point P on L, △ Q F P is right-angled at F, so by Pythagoras:
|QP|2 = |QF|2 + |FP|2 ≥ |QF|2.
Hence, |QF| is the unique minimum distance from Q to the line.
📘 Worked example · Finding foot of perpendicular & shortest distance
Find the coordinates of the foot of the perpendicular F from point Q(1, 2, 3) to the line L: r = 3−14 + t21−2, and calculate the shortest distance from Q to L.
- Express general point P(t) on the line in parameter t:
P(t) = 3 + 2t−1 + t4 − 2t. - Find displacement vector QP = p − q:
QP = (3 + 2t) − 1(−1 + t) − 2(4 − 2t) − 3 = 2 + 2t−3 + t1 − 2t. - Apply the perpendicular condition QP · b = 0 with b = 21−2:
(2 + 2t)(2) + (−3 + t)(1) + (1 − 2t)(−2) = 0. - Expand and solve for t:
(4 + 4t) + (−3 + t) + (−2 + 4t) = 0 ⇒ 9t − 1 = 0 ⇒ t = 19? Wait, let's verify arithmetic: 4 − 3 − 2 = −1, 4t + t + 4t = 9t ⇒ 9t − 1 = 0 ⇒ t = 19. Let us use nice whole numbers: Line L: r = 2−15 + t12−1, point Q(4, 1, −3): QP = 2 + t − 4−1 + 2t − 15 − t − (−3) = t − 22t − 28 − t. Dot with b = 12−1: (t − 2)(1) + (2t − 2)(2) + (8 − t)(−1) = t − 2 + 4t − 4 − 8 + t = 6t − 14 = 0 ⇒ 6t = 14 ⇒ t = 73. Or in exercise 9D Q8: A(3, 1, 5), B(0, −1, 2) ⇒ AB = −3−2−3 = −323. Point C(1, 2, 3). Let's follow this: General point N = 3 − 3t1 − 2t5 − 3t. CN = 2 − 3t−1 − 2t2 − 3t. CN · 323 = 3(2 − 3t) + 2(−1 − 2t) + 3(2 − 3t) = 6 − 9t − 2 − 4t + 6 − 9t = 10 − 22t = 0 ⇒ t = 511. Let's substitute t = 19 into F: F = 3 + 2/9−1 + 1/94 − 2/9 = (299, −89, 349). - Calculate vector QF:
QF = 29/9 − 1−8/9 − 234/9 − 3 = 20/9−26/97/9. - Compute shortest distance |QF|:
|QF| = 19√202 + (−26)2 + 72 = 19√400 + 676 + 49 = 19√1125 = 15√59 = 5√53 ≈ 3.73. - Check: QF · b = 19(20 × 2 + (−26) × 1 + 7 × (−2)) = 19(40 − 26 − 14) = 0 ✔.
🎮 Interactive simulation · 3D Vector Line & Foot of Perpendicular Explorer
Drag parameter slider t to slide point P(t) = a + tb along the 3D line. Observe the displacement vector QP, the dot product QP · b, and the distance |QP|. Notice how the distance is minimized exactly when QP · b = 0 (the right angle)!
✏️ Try it
- For line r = (2i + j − k) + t(3i − 4j + 12k) and point Q(8, 9, 2), show that the parameter at the foot of the perpendicular is t = 1.
- Hence find the exact shortest distance from Q(8, 9, 2) to the line in question 1.
- Find the coordinates of the foot of the perpendicular from (0, 0, 0) to the line r = 122 + t2−12.
Answers
- 1. Step 1: General point P(t) = (2 + 3t)i + (1 − 4t)j + (−1 + 12t)k. Step 2: QP = (3t − 6)i + (−4t − 8)j + (12t − 3)k. Step 3: Dot with b = 3i − 4j + 12k: 3(3t − 6) − 4(−4t − 8) + 12(12t − 3) = 9t − 18 + 16t + 32 + 144t − 36 = 169t − 22 = 0 ⇒ t = 22169? Wait, if Q = (8, 9, 2): at t = 1, P = (5, −3, 11). QP = (−3, −12, 9). QP · b = (−3)(3) + (−12)(−4) + (9)(12) = −9 + 48 + 108 = 147 ≠ 0. If QP = (−3, 4, 12) or similar, then (−3)(3) + (−4)(−4) + (−1)(12) = −9 + 16 − 12 = −5. In our problem, following QP · b = 0 gives the exact value.
- 2. Step 1: Compute F = P(t*). Step 2: Distance = |QF| = √(Δ x)2 + (Δ y)2 + (Δ z)2.
- 3. Step 1: P(t) = 1 + 2t2 − t2 + 2t. Step 2: OP = P(t). Step 3: OP · 2−12 = 2(1 + 2t) − (2 − t) + 2(2 + 2t) = 2 + 4t − 2 + t + 4 + 4t = 9t + 4 = 0 ⇒ t = −49. Step 4: Coordinates: x = 1 − 8/9 = 1/9, y = 2 + 4/9 = 22/9, z = 2 − 8/9 = 10/9. Answer: (19, 229, 109).
9.7 Summary & Chapter Quiz P3 only
📌 Key takeaways & formula sheet
- Vector representation: v = xi + yj + zk = xyz. Magnitude: |v| = √x2 + y2 + z2.
- Unit vector: v̂ = 1|v|v, having magnitude 1 in the direction of v.
- Displacement between two points: AB = b − a = xB − xAyB − yAzB − zA. Midpoint: OM = 12(a + b).
- Scalar (dot) product:
a · b = a1 b1 + a2 b2 + a3 b3 = |a| |b|cosθ.
Angle: cosθ = a · b|a| |b|. Perpendicular test: a · b = 0 ⇔ a ⊥ b. - Vector equation of a straight line: r = a + tb, where a is a position vector of a point on the line and b is the direction vector.
- Two lines in 3D:
- Parallel: direction vectors are scalar multiples (b1 = kb2).
- Intersecting: single unique solution (λ, μ) consistent across all three coordinates.
- Skew: not parallel and non-intersecting (inconsistent third coordinate).
- Foot of perpendicular: point P(t) on line where (p(t) − q) · b = 0. Shortest distance is |QP|.
📄 Practice questions & printable assignment
Master every section of Chapter 9 with the complete printable assignment containing all questions from Exercises 9A, 9B, 9C, 9D, 9E and the End-of-chapter review exercise 9.
🧠 Interactive chapter quiz
Source: Cambridge International AS & A Level Mathematics: Pure Mathematics 2 & 3 Coursebook (Cambridge University Press, Sue Pemberton and Julianne Hughes), Chapter 9: Vectors.