Cambridge International AS & A Level · Topic 3.7
A-Level Maths 9709 / Topic 3.7 / AS & A Level

One point, one direction, every point.

Paper 3 only. In three dimensions a line has no gradient and no \(y = mx + c\). Instead you describe it as a journey: start at a known point, then travel any multiple of a fixed direction.

The key idea

The line through the point with position vector \(\mathbf{a}\), in the direction of \(\mathbf{b}\), is \(\mathbf{r} = \mathbf{a} + t\mathbf{b}\). Each value of the parameter \(t\) gives one point on the line, and every point on the line comes from exactly one \(t\).

O a r = a + 2b b t = −1t = 0t = 1t = 2t = 3 A R
Fig. 1: start at A (position vector a) and step along the direction b; the parameter t counts the steps, so t = 2 reaches the point R with r = a + 2b, and negative t goes backwards past A
Section 01

What every symbol means.

Read \(\mathbf{r} = \mathbf{a} + t\mathbf{b}\) as a set of directions: from the origin go to \(A\), then walk \(t\) lots of \(\mathbf{b}\). As \(t\) runs through all real numbers, the end point \(R\) traces out the whole line (Fig. 1).

Worked example Points from parameters
The line \(l\) passes through \(A(1, -2, 3)\) and is parallel to \(2\mathbf{i} + \mathbf{j} - \mathbf{k}\). Write down a vector equation of \(l\), and find the point on \(l\) where \(z = 0\).
  1. Point plus multiple of direction: \(\mathbf{r} = \begin{pmatrix}1\\-2\\3\end{pmatrix} + t\begin{pmatrix}2\\1\\-1\end{pmatrix}\).
  2. A general point is \((1 + 2t,\ -2 + t,\ 3 - t)\).
  3. \(z = 0\): \(3 - t = 0\), so \(t = 3\).
  4. Substitute \(t = 3\): \((1 + 6,\ -2 + 3,\ 0)\).
Answer: \(\mathbf{r} = \mathbf{i} - 2\mathbf{j} + 3\mathbf{k} + t(2\mathbf{i} + \mathbf{j} - \mathbf{k})\); the point is \((7, 1, 0)\).
Worked example Is the point on the line?
Determine whether the points \(P(5, 0, 1)\) and \(Q(-3, -4, 6)\) lie on the line \(l\) above.
  1. For \(P\): the \(x\)-coordinate gives \(1 + 2t = 5\), so \(t = 2\).
  2. Check the other two with \(t = 2\): \(y = -2 + 2 = 0\) ✓ and \(z = 3 - 2 = 1\) ✓. One \(t\) fits all three, so \(P\) is on \(l\).
  3. For \(Q\): \(1 + 2t = -3\) gives \(t = -2\).
  4. Check: \(y = -2 - 2 = -4\) ✓, but \(z = 3 - (-2) = 5 \ne 6\) ✗.
Answer: \(P\) lies on \(l\) (with \(t = 2\)); \(Q\) does not.
Examiner trap

Finding \(t\) from ONE component proves nothing. A point lies on the line only if the SAME \(t\) works in all three components; always check the remaining two.

Section 02

A line through two points.

Two points fix a line. Use either point as \(\mathbf{a}\) and the displacement between them as \(\mathbf{b}\). Different choices give equations that look different but describe the same line.

Worked example Two points
Find a vector equation of the line through \(A(2, 0, -1)\) and \(B(5, 4, 1)\).
  1. Direction: \(\overrightarrow{AB} = \mathbf{b} - \mathbf{a} = (3, 4, 2)\).
  2. Use \(A\) as the known point: \(\mathbf{r} = (2, 0, -1) + t(3, 4, 2)\).
  3. Check: \(t = 1\) gives \((5, 4, 1)\), which is \(B\).
Answer: \(\mathbf{r} = 2\mathbf{i} - \mathbf{k} + t(3\mathbf{i} + 4\mathbf{j} + 2\mathbf{k})\) (or \(\mathbf{r} = 5\mathbf{i} + 4\mathbf{j} + \mathbf{k} + s(3\mathbf{i} + 4\mathbf{j} + 2\mathbf{k})\), equally correct).
Worked example Same line, different equations
Show that \(\mathbf{r} = (1, 2, 0) + s(2, -2, 4)\) and \(\mathbf{r} = (5, -2, 8) + t(-1, 1, -2)\) describe the same line.
  1. Directions: \((2, -2, 4) = -2(-1, 1, -2)\), so the lines are parallel.
  2. Test whether \((5, -2, 8)\) lies on the first line: \(1 + 2s = 5\) gives \(s = 2\).
  3. \(y = 2 - 4 = -2\) ✓ and \(z = 0 + 8 = 8\) ✓.
  4. Two parallel lines that share a point are the same line.
Answer: Parallel directions and a common point, so the equations describe one line.
Worked example Parallel to another line
Find the equation of the line through \(C(0, 3, -2)\) parallel to the line through \(P(1, 1, 1)\) and \(Q(3, 0, 5)\).
  1. Parallel lines share a direction: \(\overrightarrow{PQ} = (2, -1, 4)\).
  2. Start at \(C\): \(\mathbf{r} = (0, 3, -2) + t(2, -1, 4)\).
Answer: \(\mathbf{r} = 3\mathbf{j} - 2\mathbf{k} + t(2\mathbf{i} - \mathbf{j} + 4\mathbf{k})\).
Your turn
Find a vector equation of the line through \(A(1, 4, -2)\) and \(B(3, 1, 2)\), and show that \(C(7, -5, 10)\) lies on it.
Examiner trap

The direction is \(\mathbf{b} - \mathbf{a}\), never the position vector of the second point. Writing \(\mathbf{r} = \mathbf{a} + t\mathbf{b}\) with \(\mathbf{b} = \overrightarrow{OB}\) gives a line through \(A\) parallel to \(OB\), which usually misses \(B\) completely.

Stage 1 · Learn

Check your understanding

Four quick checks. Each correct answer earns XP and records this skill on your profile.

Quick check+10 XP

In \(\mathbf{r} = (3, -1, 2) + t(1, 4, -2)\), which is a direction vector of the line?

Quick check+10 XP

Find the point with parameter \(t = -2\) on \(\mathbf{r} = (3, -1, 2) + t(1, 4, -2)\).

Quick check+10 XP

Which is a vector equation of the line through \(A(1, 0, 4)\) and \(B(3, 2, 1)\)?

Quick check+10 XP

Which point lies on \(\mathbf{r} = (2, 1, 0) + t(1, -1, 3)\)?

Section 03

Distances along a line.

Moving from \(t = 0\) to \(t = k\) covers a distance of \(|k|\,|\mathbf{b}|\). This turns distance questions into equations in \(t\).

Worked example Points a given distance away
For the line \(\mathbf{r} = (1, -2, 3) + t(2, 1, -1)\), find the two points on the line at a distance \(2\sqrt{6}\) from \(A(1, -2, 3)\).
  1. \(|\mathbf{b}| = \sqrt{4 + 1 + 1} = \sqrt{6}\), so a parameter change of \(t\) moves \(|t|\sqrt{6}\).
  2. \(|t|\sqrt{6} = 2\sqrt{6}\) gives \(t = 2\) or \(t = -2\).
  3. \(t = 2\): \((5, 0, 1)\). \(t = -2\): \((-3, -4, 5)\).
Answer: \((5, 0, 1)\) and \((-3, -4, 5)\).
Worked example A laser beam
A laser at \(S(0, 0, 10)\) shines through a small window at \(W(4, 2, 8)\) and hits the ground, the plane \(z = 0\), at \(G\). Find \(G\) and the length of the beam \(SG\), giving your answer to 3 significant figures.
  1. Beam: \(\mathbf{r} = (0, 0, 10) + t(4, 2, -2)\), using \(\overrightarrow{SW} = (4, 2, -2)\).
  2. Ground: \(10 - 2t = 0\), so \(t = 5\) and \(G = (20, 10, 0)\).
  3. \(SG = 5 \times |(4, 2, -2)| = 5\sqrt{24} = 10\sqrt{6}\).
Answer: \(G = (20, 10, 0)\); \(SG = 10\sqrt{6} = 24.5\) units (3 s.f.).
Examiner trap

The parameter is not a distance unless \(\mathbf{b}\) is a unit vector. With \(\mathbf{b} = (4, 2, -2)\), \(t = 5\) means \(5\sqrt{24}\) units, not 5 units.

Stage 2 · Exam

Exam-style questions

Unlocks once the four checks above are done. Worth more XP, written to AS & A Level Paper 1 to 6 standard.

Finish the four checks above to unlock the exam questions
Exam style+20 XP

The line \(l\) passes through \(A(2, -1, 5)\) and \(B(4, 3, -1)\). Find the point on \(l\) with \(x\)-coordinate 8.

Exam style+20 XP

The point \((a, 7, -1)\) lies on the line \(\mathbf{r} = (1, 1, 3) + t(2, 3, -2)\). Find \(a\).

Exam style+20 XP

\(A\) is \((1, 2, 3)\) and \(B\) is \((3, 6, 1)\). Which of these is NOT an equation of the line \(AB\)?

Exam style+20 XP

The line \(m\) passes through \((4, -1, 2)\) and is parallel to the line through \(P(1, 3, -2)\) and \(Q(-1, 4, 2)\). Find the point on \(m\) where \(y = 2\).

Skill unlocked

Lines in space, sorted.

This skill is now recorded on your profile. Keep the chain going.

-Rank -Level -Score -Topics
Go deeper · practice
Six original Cambridge-style questions
Writing the equation of a line, testing points, showing two equations agree, points a set distance along a line, and a laser beam hitting the ground.