Vectors

P4 Topic 7, spec point by spec point (Vectors). Each spec point has the method, worked examples written the way the mark scheme wants them, how the marks go and the mistakes that cost the most marks.

Spec7.1Vectors in two and three dimensions

Use vectors in 2D and 3D, written with \(\mathbf{i}\), \(\mathbf{j}\), \(\mathbf{k}\) or as column vectors.

The idea

A vector has size and direction; it says "move this much in each direction". \(\mathbf{i}\), \(\mathbf{j}\) and \(\mathbf{k}\) are unit steps along the \(x\), \(y\) and \(z\) axes:

\[3\mathbf{i} - 2\mathbf{j} + 5\mathbf{k} = \begin{pmatrix} 3 \\ -2 \\ 5 \end{pmatrix}\]

Either notation is fine, but don't mix them in one vector, and don't write a vector as coordinates \((3, -2, 5)\) when a vector is asked for.

In 3D, picture the \(x\) and \(y\) axes on the floor and \(z\) going up. All the 2D rules carry over with one extra component.

notation

Write the vector from the origin to \((4, 0, -1)\) in both notations.

\(4\mathbf{i} - \mathbf{k}\) or \(\begin{pmatrix} 4 \\ 0 \\ -1 \end{pmatrix}\).

  • Final answers in "coordinates inside \(\mathbf{i}, \mathbf{j}, \mathbf{k}\) form" (e.g. \(5\mathbf{i}, 6\mathbf{j}, -2\mathbf{k}\) as a list) lose the A mark (WMA14 May 2024 Q2a).

Often asked as: notation is tested inside every other vector question rather than on its own.

Missing a zero component in a column vector.

Spec7.2Magnitude of a vector

Find the magnitude \(|\mathbf{a}|\) of a vector and a unit vector in its direction.

The idea

The magnitude is the length, by Pythagoras in 3D:

\[|a_1\mathbf{i} + a_2\mathbf{j} + a_3\mathbf{k}| = \sqrt{a_1^2 + a_2^2 + a_3^2}\]

A unit vector has length 1. To get one in the direction of \(\mathbf{a}\), divide by its magnitude: \(\hat{\mathbf{a}} = \dfrac{\mathbf{a}}{|\mathbf{a}|}\).

magnitude and unit vector

\(\mathbf{a} = 2\mathbf{i} - \mathbf{j} + 2\mathbf{k}\). \(|\mathbf{a}| = \sqrt{4 + 1 + 4} = 3\). Unit vector \(\frac13(2\mathbf{i} - \mathbf{j} + 2\mathbf{k})\).

area of a right-angled triangle

In triangle \(PQR\), \(\overrightarrow{PQ} = 2\mathbf{i} - \mathbf{j} + 2\mathbf{k}\) and \(\overrightarrow{PR} = \mathbf{i} + 4\mathbf{j} + \mathbf{k}\). Show the angle at \(P\) is \(90°\) and find the area.

\(\overrightarrow{PQ}\cdot\overrightarrow{PR} = 2 - 4 + 2 = 0\), so the sides are perpendicular (7.7).

\(|\overrightarrow{PQ}| = 3\), \(|\overrightarrow{PR}| = \sqrt{18} = 3\sqrt2\). Area \(= \frac12 \times 3 \times 3\sqrt2 = \frac{9\sqrt2}{2}\).

  • M1 for Pythagoras on the components, A1 for the magnitude; areas: dM1 for \(\frac12|\mathbf{a}||\mathbf{b}|\) (right angle) or a complete alternative, A1 for the value (WMA14 Jun 2022 Q6, WMA14A Jun 2025 Q8c).

Often asked as: lengths and areas in triangles and parallelograms built from vectors; the area \(\frac12 PQ^2\sin\theta\) with \(\sin\theta\) from the earlier \(\cos\theta\) (WMA14 Oct 2023 Q6c).

Forgetting to square negative components (they become positive).

Calling a vector's magnitude a vector.

Spec7.3Adding vectors and multiplying by scalars

Add vectors and multiply them by scalars, and interpret the results geometrically.

The idea

Ratios

If \(P\) divides \(AB\) in the ratio \(2 : 1\), then \(\overrightarrow{AP} = \frac23\overrightarrow{AB}\). The midpoint of \(AB\) has position vector \(\frac12(\mathbf{a} + \mathbf{b})\).

collinear points

\(A(1, 2, 3)\), \(B(3, 3, 1)\), \(C(7, 5, -3)\). Show they are collinear.

\(\overrightarrow{AB} = 2\mathbf{i} + \mathbf{j} - 2\mathbf{k}\), \(\overrightarrow{BC} = 4\mathbf{i} + 2\mathbf{j} - 4\mathbf{k} = 2\overrightarrow{AB}\).

Parallel, and they share point \(B\), so \(A\), \(B\), \(C\) are collinear (with \(AB : BC = 1 : 2\)).

  • M1 for subtracting position vectors (either way round), A1 for the vector in vector notation (WMA14A Oct 2025 Q9b, WMA14 Jan 2025 Q8).
  • Areas from ratios: e.g. a trapezium is \(1.5\) times a parallelogram when one side is extended by half (WMA14A Jan 2026 Q9d).

Often asked as: find \(\overrightarrow{AB}\); show points are collinear; use a ratio to find a point.

Showing two vectors are parallel but not stating the shared point when proving collinearity.

Spec7.4Position vectors

Use position vectors, including \(\overrightarrow{AB} = \overrightarrow{OB} - \overrightarrow{OA} = \mathbf{b} - \mathbf{a}\).

The idea

The position vector of a point \(A\) is \(\overrightarrow{OA} = \mathbf{a}\), from the origin to \(A\). To go from \(A\) to \(B\), go back to the origin and out to \(B\):

\[\overrightarrow{AB} = \mathbf{b} - \mathbf{a}\]

"End minus start."

Finding a fourth vertex

In parallelogram \(ABCD\), \(\overrightarrow{AD} = \overrightarrow{BC}\), so \(\mathbf{d} = \mathbf{a} + (\mathbf{c} - \mathbf{b})\).

Reflections

The image \(B\) of \(A\) in a line: find the foot of the perpendicular \(X\) (7.7), then \(\overrightarrow{OB} = \overrightarrow{OA} + 2\overrightarrow{AX}\) (X is the midpoint of \(AB\)).

parallelogram

\(ABCD\) is a parallelogram with \(\mathbf{a} = \mathbf{i} + \mathbf{j} - 2\mathbf{k}\), \(\mathbf{b} = 3\mathbf{i} - \mathbf{j} + 6\mathbf{k}\), \(\mathbf{c} = -\mathbf{i} + 3\mathbf{j} + 6\mathbf{k}\). Find \(\mathbf{d}\).

\(\mathbf{d} = \mathbf{a} - \mathbf{b} + \mathbf{c} = (1 - 3 - 1)\mathbf{i} + (1 + 1 + 3)\mathbf{j} + (-2 - 6 + 6)\mathbf{k} = -3\mathbf{i} + 5\mathbf{j} - 2\mathbf{k}\).

  • M1 for \(\overrightarrow{BA}\) or \(\overrightarrow{BC}\), dM1 for a correct combination, A1 for \(\mathbf{d}\) (WMA14A Jan 2026 Q9a).
  • Reflections: M1 for using \(\overrightarrow{AX} = \overrightarrow{XB}\), A1 for the position vector (WMA14 Oct 2021 Q7b).

Often asked as: coordinates of a point from a position vector and a displacement; the fourth vertex of a parallelogram; an image point under reflection.

\(\overrightarrow{AB} = \mathbf{a} - \mathbf{b}\) (start minus end).

Getting the vertex order of the parallelogram wrong: go round \(A \to B \to C \to D\).

Spec7.5Distance between two points

Find the distance between two points in 3D: \(d^2 = (x_1 - x_2)^2 + (y_1 - y_2)^2 + (z_1 - z_2)^2\).

The idea

It is the magnitude of \(\overrightarrow{AB}\). Find \(\mathbf{b} - \mathbf{a}\), then its length.

an exact distance

Find the distance between \(P(2, -1, 5)\) and \(Q(-2, 3, 3)\).

\(\overrightarrow{PQ} = -4\mathbf{i} + 4\mathbf{j} - 2\mathbf{k}\). \(|PQ| = \sqrt{16 + 16 + 4} = 6\).

  • M1 for a complete method for the length (not stopping at the squared distance), A1 for the simplified surd (WMA14 Jun 2023 Q4).

Often asked as: inside line problems, e.g. the distance from a point to its reflection is twice the perpendicular distance.

Giving \(d^2\) as the answer.

Spec7.6Vector equations of lines

Use vector equations of lines, \(\mathbf{r} = \mathbf{a} + t\mathbf{b}\) and \(\mathbf{r} = \mathbf{c} + t(\mathbf{d} - \mathbf{c})\), and decide whether two lines are parallel, intersect or are skew.

The idea

\(\mathbf{r} = \mathbf{a} + \lambda\mathbf{b}\): start at the point \(\mathbf{a}\) and move any multiple \(\lambda\) of the direction vector \(\mathbf{b}\). Each value of \(\lambda\) gives one point on the line.

Through two points \(C\) and \(D\): \(\mathbf{r} = \mathbf{c} + \lambda(\mathbf{d} - \mathbf{c})\).

Two lines in 3D

  1. Parallel: direction vectors are multiples of each other.
  2. Otherwise, set the general points equal: three equations (one per component) in two unknowns \(\lambda\) and \(\mu\).
  3. Solve two of them. Check in the third:
    • it works: the lines intersect (substitute to find the point);
    • it fails: the lines are skew (not parallel and never meet, which only happens in 3D).

intersecting lines and the angle between them

\(l_1\): \(\mathbf{r} = (\mathbf{i} + 2\mathbf{j} + 3\mathbf{k}) + \lambda(\mathbf{i} - \mathbf{j} + 2\mathbf{k})\), \(l_2\): \(\mathbf{r} = (-3\mathbf{j} + 4\mathbf{k}) + \mu(\mathbf{i} + \mathbf{j} + \mathbf{k})\). Show they meet and find the point.

\(\mathbf{i}\): \(1 + \lambda = \mu\). \(\mathbf{j}\): \(2 - \lambda = -3 + \mu\).

Substitute: \(2 - \lambda = -2 + \lambda \Rightarrow \lambda = 2\), \(\mu = 3\).

\(\mathbf{k}\): \(3 + 2(2) = 7\) and \(4 + 3 = 7\). ✓ They intersect at \((3, 0, 7)\).

If \(l_2\) started at \(-3\mathbf{j} + 5\mathbf{k}\) instead, the \(\mathbf{k}\) check would give \(7 \neq 8\): skew.

  • M1 for a direction vector by subtraction, A1 for an equation starting "\(\mathbf{r} =\)" (writing "\(l =\)" or mixing column and \(\mathbf{i}\mathbf{j}\mathbf{k}\) forms loses it) (WMA14 Jun 2023 Q4a).
  • Intersections: B1 for the point or parameter, M1 for using components, then dM1 and further marks for unknowns from perpendicularity (WMA14A Jan 2026 Q5).

Often asked as: equation of a line through two points; show lines intersect or are skew; find unknowns in a direction vector; points on a line making a triangle area twice another (two answers, one each side) (WMA14 Jan 2025 Q8d).

Using the same letter for both parameters.

Solving all three equations and not noticing the third is inconsistent.

Writing the direction vector as the position vector of a point.

Spec7.7The scalar product

Use the scalar product \(\mathbf{a}\cdot\mathbf{b} = a_1b_1 + a_2b_2 + a_3b_3 = |\mathbf{a}||\mathbf{b}|\cos\theta\) to find angles, and use \(\mathbf{a}\cdot\mathbf{b} = 0\) for perpendicular vectors.

The idea

The scalar product multiplies matching components and adds. It equals \(|\mathbf{a}||\mathbf{b}|\cos\theta\), where \(\theta\) is the angle between the vectors. So:

\[\cos\theta = \frac{\mathbf{a}\cdot\mathbf{b}}{|\mathbf{a}||\mathbf{b}|}\]

Foot of the perpendicular (shortest distance from a point to a line)

Let \(P\) be the general point on the line (in terms of \(\lambda\)). Then \(\overrightarrow{CP}\) is perpendicular to the direction: \(\overrightarrow{CP}\cdot\mathbf{b} = 0\). Solve for \(\lambda\), find \(P\), and the shortest distance is \(|\overrightarrow{CP}|\).

angle in a parallelogram

With \(A\), \(B\), \(C\) from 7.4, find angle \(ABC\).

\(\overrightarrow{BA} = -2\mathbf{i} + 2\mathbf{j} - 8\mathbf{k}\), \(\overrightarrow{BC} = -4\mathbf{i} + 4\mathbf{j}\).

\(\overrightarrow{BA}\cdot\overrightarrow{BC} = 8 + 8 + 0 = 16\). \(|\overrightarrow{BA}| = \sqrt{72}\), \(|\overrightarrow{BC}| = \sqrt{32}\).

\(\cos B = \dfrac{16}{\sqrt{72}\sqrt{32}} = \dfrac{16}{48} = \dfrac13\), so \(B = 70.5°\).

foot of the perpendicular

Find the point \(P\) on \(\mathbf{r} = (\mathbf{i} + 2\mathbf{k}) + \lambda(\mathbf{i} + 2\mathbf{j} + 2\mathbf{k})\) closest to \(C(4, 6, -1)\), and the shortest distance.

\(P = (1 + \lambda, 2\lambda, 2 + 2\lambda)\), so \(\overrightarrow{CP} = (\lambda - 3)\mathbf{i} + (2\lambda - 6)\mathbf{j} + (2\lambda + 3)\mathbf{k}\).

\(\overrightarrow{CP}\cdot(\mathbf{i} + 2\mathbf{j} + 2\mathbf{k}) = \lambda - 3 + 4\lambda - 12 + 4\lambda + 6 = 9\lambda - 9 = 0 \Rightarrow \lambda = 1\).

\(P(2, 2, 4)\), \(\overrightarrow{CP} = -2\mathbf{i} - 4\mathbf{j} + 5\mathbf{k}\), distance \(\sqrt{45} = 3\sqrt5\).

  • M1 for the right two vectors, dM1 for the scalar product formula, A1 for \(\cos\theta\), A1 for the angle. Using vectors in the wrong direction gives the obtuse angle; moving from 109.5° to 70.5° needs a reason (WMA14A Jan 2026 Q9b).
  • Foot of perpendicular: M1 for \(\overrightarrow{CP}\) in terms of \(\lambda\), dM1 for the scalar product \(= 0\), A1 for \(\lambda\), then the point (WMA14 Jan 2023 Q6b).
  • Unknowns from a given angle: set up \(\mathbf{a}\cdot\mathbf{b} = |\mathbf{a}||\mathbf{b}|\cos 45°\), square and solve the quadratic (WMA14 Jun 2025 Q6b).

Often asked as: angle between lines or sides; show lines are perpendicular; foot of perpendicular and shortest distance; area of a triangle via \(\frac12|\mathbf{a}||\mathbf{b}|\sin\theta\).

Using position vectors instead of direction vectors for the angle between lines.

Arithmetic slips with negative components in the dot product.