Lesson 9: Vectors
🎧 Audio narration for this lesson is coming soon.
Vectors are the mathematics of direction — displacement, velocity, force — and the gateway to 3D geometry, computer graphics, and physics. A-level vectors go beyond GCSE arrows into column-vector algebra, the scalar (dot) product, and lines in three dimensions. This lesson builds the full toolkit: vector arithmetic, magnitude and unit vectors, position vectors, the dot product with its geometric meaning, and vector equations of lines with intersection problems. Every result is proved from components, keeping the algebra honest.
Vector arithmetic and magnitude
A vector has magnitude and direction; a scalar has only magnitude. Displacement (5 km east) is a vector; distance (5 km) is a scalar. In components, a = (a₁, a₂, a₃) in 3D. Addition is component-wise: (1, 2, 3) + (4, −1, 0) = (5, 1, 3) — the triangle law in algebra. Scalar multiplication stretches: 3(1, −2, 0) = (3, −6, 0); negative scalars reverse direction. Subtraction a − b is a + (−b).
The magnitude |a| = √(a₁² + a₂² + a₃²) is Pythagoras extended to 3D (proved by applying Pythagoras twice: first in the xy-plane, then with the z-component). Example: |(3, −2, 6)| = √(9 + 4 + 36) = 7. A unit vector has magnitude 1: the unit vector in direction a is â = a/|a|. Example: unit vector in direction (2, −1, 2): magnitude 3, so (2/3, −1/3, 2/3). Unit vectors i, j, k point along the axes: (3, −2, 6) = 3i − 2j + 6k — the two notations are interchangeable.
Position vectors locate points: the position vector of P is OP. Then the displacement from A to B is AB = b − a (position of B minus position of A) — 'end minus start'. Example: A(1, 2, 3), B(4, 0, −1): AB = (3, −4, −4), |AB| = √(9 + 16 + 16) = √41 ≈ 6.40. Distance between points is the magnitude of the displacement — one formula doing the work of the distance formula in any dimension.
Parallel vectors and collinearity
Vectors a and b are parallel iff a = λb for some scalar λ ≠ 0 (proved: same or opposite direction means proportional components). Example: are (2, −4, 6) and (−3, 6, −9) parallel? (−3, 6, −9) = −1.5 × (2, −4, 6) ✓ — parallel. Points A, B, C are collinear iff AB is parallel to BC (or AC). Example: A(1, 1, 2), B(3, 5, 6), C(5, 9, 10): AB = (2, 4, 4), BC = (2, 4, 4) — equal, hence parallel, and sharing B, so collinear. Equal vectors are automatically parallel.
Section formula: the point dividing AB in ratio m:n (m parts from A, n parts from B) has position vector (n·a + m·b)/(m + n) — the weights attach to the opposite endpoints. The midpoint is the m = n = 1 case: (a + b)/2. Proof: start at a, travel m/(m + n) of the way along (b − a): a + [m/(m + n)](b − a) = (n a + m b)/(m + n). Worked: A(2, 0, 1), B(8, 6, 7), point dividing 1:2: ((2(2, 0, 1) + 1(8, 6, 7))/3) = ((4 + 8)/3, (0 + 6)/3, (2 + 7)/3) = (4, 2, 3). Check: it is one-third of the way from A to B ✓.
In context: a ship sails from (0, 0) with velocity (3, 4) km/h (a vector!); after t hours its position is t(3, 4) — scalar multiplication modelling motion. Two ships: positions r₁ = a + tv₁, r₂ = b + tv₂ — vector equations describing journeys, leading to closest-approach problems (minimise |r₁ − r₂|² by calculus or by completing the square).
The scalar (dot) product
The dot product a·b = a₁b₁ + a₂b₂ + a₃b₃ is a scalar with deep geometry: a·b = |a||b| cos θ, where θ is the angle between the vectors. Proof sketch: apply the cosine rule to the triangle with sides a, b, a − b: |a − b|² = |a|² + |b|² − 2|a||b| cos θ; expand |a − b|² = |a|² − 2a·b + |b|² in components; compare to get a·b = |a||b| cos θ. This identity is the bridge between algebra and geometry.
Angle-finding: cos θ = (a·b)/(|a||b|). Example: angle between (1, 2, 3) and (4, −1, 2): dot = 4 − 2 + 6 = 8; magnitudes √14 and √21; cos θ = 8/√294 ≈ 0.4666 → θ ≈ 62.2°. Perpendicular ⟺ dot product zero: (1, 2, −1)·(3, −1, 1) = 3 − 2 − 1 = 0 — perpendicular without any angle computation. This zero-test is the fastest perpendicularity check in mathematics.
Worked example (an obtuse angle). Find the angle between a = (1, −2, 2) and b = (2, 1, −2). Dot product: 2 − 2 − 4 = −4. Magnitudes: |a| = 3, |b| = 3. cos θ = −4/9 → θ ≈ 116.4°. The negative dot product announces the obtuse angle before any calculation — sign first, size second: positive dot ⟺ acute, zero ⟺ right angle, negative ⟺ obtuse.
Applications: the scalar projection of a onto b is a·b̂ — the signed length of a's shadow on b; the vector projection is (a·b̂)b̂. Work done by a force F through displacement d is W = F·d — physics' most important dot product. Direction cosines: the angles a vector makes with the axes satisfy cos²α + cos²β + cos²γ = 1 — proved by writing a = |a|(cos α, cos β, cos γ) and taking magnitudes.
Vector equations of lines
A line through point A (position vector a) in direction d has vector equation r = a + λd — every λ gives a point; λ is a parameter, not a coordinate. In components: (x, y, z) = (a₁ + λd₁, a₂ + λd₂, a₃ + λd₃). Example: through (1, 2, 3) direction (4, −1, 2): r = (1, 2, 3) + λ(4, −1, 2). Is (9, 0, 7) on it? Need 1 + 4λ = 9 (λ = 2), 2 − λ = 0 (λ = 2), 3 + 2λ = 7 (λ = 2) — consistent λ = 2 ✓, so yes. Inconsistent λ ⟹ not on the line.
Two lines r = a + λd and r = b + μe: parallel if d ∥ e; otherwise, solve a + λd = b + μe (three equations, two unknowns — overdetermined). If consistent: intersecting (solve for the point); if inconsistent: skew (a 3D phenomenon — lines that neither meet nor are parallel, like a flight path over a road). Example: r = (1, 0, 2) + λ(1, 1, 0) and r = (0, 1, 3) + μ(2, 0, 1): equate components: 1 + λ = 2μ; λ = 1; 2 = 3 + μ → μ = −1. Check the first equation: with λ = 1, LHS = 2, but RHS = 2μ = −2. Inconsistent → skew. Systematic checking never fails.
Angle between lines: the angle between direction vectors via the dot product. Distance from a point to a line: minimise |a + λd − p|² over λ (calculus or completing the square) — the minimum occurs where the connecting vector is perpendicular to d, confirming the geometry. Shortest distance between skew lines needs the cross product (Further Maths) — at A-level, projectile and force problems stay with intersecting lines.
Proofs, applications, and exam technique
Vectors prove geometry theorems elegantly. Prove the diagonals of a parallelogram bisect each other: vertices at 0, a, b, a + b; diagonal midpoints: (0 + (a + b))/2 = (a + b)/2 and (a + b)/2 — same point ✓. Prove the midpoint theorem (segment joining midpoints of two sides is parallel to the third side and half its length): with vertices at 0, a, b, midpoints a/2, b/2: the segment is b/2 − a/2 = (b − a)/2 — parallel to b − a, half its magnitude ✓. Choose the origin cleverly (at a vertex) to minimise algebra.
Mechanics applications: a particle's position r(t) = (3t, 4 − t²) (metres, t seconds); velocity v = dr/dt = (3, −2t) — differentiating vectors component-wise; speed = |v| = √(9 + 4t²); acceleration a = dv/dt = (0, −2) — constant gravity-like acceleration. Resultant forces add as vectors: F₁ = (3, 4), F₂ = (−1, 2) → R = (2, 6), |R| = √40 ≈ 6.32 N. Vectors unify geometry and mechanics.
Exam technique: (1) write vectors in consistent notation (column or i, j, k — do not mix mid-question); (2) for 'show parallel', exhibit λ explicitly; (3) for line intersections, solve two equations then verify in the third — verification is the mark; (4) angle answers: acute or obtuse as the dot product dictates (examiners accept either with justification, but state which); (5) in 'find the point', give coordinates or position vector as asked — read the question.
Common mistakes
- AB = a − b. Displacement is end minus start: AB = b − a. Reversing it reverses every subsequent direction and angle.
- Magnitude with a negative component un-squared. |(−2, 1, −2)| = √(4 + 1 + 4) = 3 — squares remove signs; if your magnitude comes out imaginary or negative, a sign survived.
- Section formula weights the wrong way. The point dividing AB in ratio 1:2 from A is closer to A, so a gets weight 2: (2a + b)/3. 'Weights attach to the opposite end' — or check with the midpoint case.
- Solving two line equations and declaring intersection. In 3D you must verify in the third equation. Two consistent equations out of three means skew, not intersecting — the verification line is where the method mark lives.
- Forgetting the angle convention. The angle between vectors is measured with both tails together (0 ≤ θ ≤ 180°); a negative dot product gives an obtuse angle, which is usually what is wanted — do not 'fix' it to acute.
Exam Experience
Questions in the style of the A-level pure paper. Attempt them before reading the mark scheme.
1. Let p = (3, 1, 2) and q = (1, −1, −1). Show that p and q are perpendicular. [2]
2. The lines l₁ and l₂ have equations r = (1, 2, 3) + λ(2, −1, 1) and r = (4, 0, 1) + μ(1, 3, −1). Determine whether l₁ and l₂ intersect or are skew, justifying your answer. [4]
Mark scheme.
- 1. p·q = 3(1) + 1(−1) + 2(−1) (M1) for the component product. = 3 − 1 − 2 = 0, so p ⊥ q (A1) — the zero dot product is the whole proof; no angle calculation is needed or wanted.
- 2. Equate components: 1 + 2λ = 4 + μ; 2 − λ = 3μ; 3 + λ = 1 − μ (M1) for setting up the system. From the second: λ = 2 − 3μ; from the third: λ = −2 − μ. Hence 2 − 3μ = −2 − μ → μ = 2, λ = −4 (M1). Check in the first equation: LHS = 1 + 2(−4) = −7; RHS = 4 + 2 = 6 (M1) for the verification step. −7 ≠ 6, so the system is inconsistent and the lines are skew (A1) — they do not intersect and (directions not proportional) are not parallel.
📈 Interactive Graph: Vectors — cosine
y = cos(x)
🎛️ Interactive Explorer: Quadratic Explorer — Vectors
Drag the sliders to change the coefficients of y = ax² + bx + c and watch the parabola transform live.
Notice how a controls the width and direction, b shifts the axis of symmetry, and c moves the graph up and down.
Key Terms
- Vector
- A quantity with magnitude and direction, e.g. displacement, velocity, force.
- Scalar
- A quantity with magnitude only, e.g. speed, distance, mass.
- Position vector
- The vector OP locating point P relative to the origin.
- Unit vector
- A vector of magnitude 1; â = a/|a| points along a.
- Dot product
- a·b = a₁b₁ + a₂b₂ + a₃b₃ = |a||b|cosθ — a scalar measuring alignment.
- Collinear
- Points lying on one straight line; AB parallel to BC with B shared.
- Skew lines
- Non-parallel, non-intersecting lines in 3D.
- Vector equation of a line
- r = a + λd: point a plus scalar multiples of direction d.
- Scalar projection
- The signed length of a's shadow on b: a·b̂.
- Parametric form
- Coordinates expressed via parameters λ (line) — (x, y, z) = (a₁+λd₁, ...).
Discussion Questions
- Prove that the medians of any triangle are concurrent (meet at one point), using position vectors with the origin at a vertex. Where is the centroid relative to each median?
- a = (2, -1, 3), b = (1, 4, -2). Compute a·b, the angle between them, the scalar projection of a onto b, and a unit vector perpendicular... rather: verify that (a·b)b - (b·b)a is perpendicular to b.
- Two roads are modelled as r = (0, 0, 0) + λ(3, 4, 0) and r = (10, 0, 5) + μ(-4, 3, 0) (km). Determine whether they intersect; if skew, find the shortest distance between them by minimising |r₁ - r₂|².
- A boat crosses a river with velocity (relative to water) (0, 5) m/s while the current is (2, 0) m/s. Find the resultant velocity, its magnitude and bearing. If the river is 200 m wide, how far downstream does the boat land?
- A force F = (6, -2, 3) N moves a crate along displacement d = (4, 1, -2) m. Compute the work done via the dot product. A second force G is perpendicular to d and does no work — explain why using the dot product formula.