The math optional, made finite. Daily Practice

Straight lines in 3D

At a Glance

Why This Chapter Matters

Straight lines in 3D appear in every Section A (5-mark and 10-mark slots) as well as 15-mark compulsories, with at least one question in five of the last eleven years. The three archetypes — coplanarity/intersection, projection on a plane, and locus of a moving line — are each solved by a clean, repeatable algorithm. Once you own the scalar-triple-product coplanarity test and the projecting-plane construction, the first four questions become nearly mechanical; the 2023 locus proof requires parametric reasoning but follows a fixed strategy.

Minimum Theory

Three representations of a line. A line through the point P0=(x0,y0,z0)P_0 = (x_0, y_0, z_0) with direction vector d=(l,m,n)\mathbf{d} = (l, m, n) can be written in three equivalent forms:

To read direction ratios directly from the symmetric form, the denominator under each variable is one component of d\mathbf{d}.

Coplanarity test. Two lines — L1L_1 through P1P_1 with direction d1\mathbf{d}_1, and L2L_2 through P2P_2 with direction d2\mathbf{d}_2 — are coplanar if and only if

[P2P1,  d1,  d2]=0,[\mathbf{P_2 - P_1},\; \mathbf{d}_1,\; \mathbf{d}_2] = 0,

where [,,][\,\cdot\,,\,\cdot\,,\,\cdot\,] denotes the scalar triple product (determinant of the 3×33\times 3 matrix formed by the three vectors as rows). Geometrically this says the displacement P1P2\overrightarrow{P_1 P_2} lies in the plane spanned by d1\mathbf{d}_1 and d2\mathbf{d}_2.

Plane containing two coplanar lines. If L1L_1 and L2L_2 are coplanar, their common plane has normal

n=d1×d2\mathbf{n} = \mathbf{d}_1 \times \mathbf{d}_2

and passes through P1P_1. The plane equation is n(rP1)=0\mathbf{n} \cdot (\mathbf{r} - P_1) = 0.

Projection of a line on a plane. The projection of line LL (direction dL\mathbf{d}_L) onto plane π\pi (normal nπ\mathbf{n}_\pi) is found via the projecting plane π\pi': the unique plane containing LL and perpendicular to π\pi. Its normal is dL×nπ\mathbf{d}_L \times \mathbf{n}_\pi. The projection is the line of intersection ππ\pi \cap \pi'.

Straight lines in 3D — decision map

Question Archetypes

ArchetypeRecognition
coplanar-lines-and-planeTwo lines given; “show they intersect / are coplanar; find the plane / point”
line-projection-on-plane”Find the projection of the line … on the plane …“
locus-of-moving-line”A line meets [curve 1], [curve 2], [curve 3]; prove the locus is …“

coplanar-lines-and-plane (3 question(s); 2015, 2019, 2021)

Test two lines for coplanarity/intersection and find the containing plane and intersection point

Recognition Cues

Solution Template

  1. Read off P1P_1, d1\mathbf{d}_1 from L1L_1 and P2P_2, d2\mathbf{d}_2 from L2L_2.
  2. Form v=P2P1\mathbf{v} = P_2 - P_1.
  3. Evaluate the scalar triple product [v,d1,d2][\mathbf{v}, \mathbf{d}_1, \mathbf{d}_2] as a 3×33\times 3 determinant. If it equals zero, the lines are coplanar (or one line contains the other if also d1×d2=0\mathbf{d}_1 \times \mathbf{d}_2 = \mathbf{0}).
  4. Plane: Compute n=d1×d2\mathbf{n} = \mathbf{d}_1 \times \mathbf{d}_2; simplify to lowest integer ratios. Write n(rP1)=0\mathbf{n} \cdot (\mathbf{r} - P_1) = 0.
  5. Intersection: Write P1+td1=P2+sd2P_1 + t\,\mathbf{d}_1 = P_2 + s\,\mathbf{d}_2. Solve any two coordinate equations for tt and ss, then verify the third equation is satisfied. Substitute back to find the point.

Worked Example 1

2015 Paper 1, 2015-P1-Q3c-ii (7 marks)

L1L_1 passes through (ad,a,a+d)(a-d,\, a,\, a+d) with direction ratios (αδ,α,α+δ)(\alpha-\delta,\, \alpha,\, \alpha+\delta); L2L_2 passes through (bc,b,b+c)(b-c,\, b,\, b+c) with direction ratios (βγ,β,β+γ)(\beta-\gamma,\, \beta,\, \beta+\gamma). Show L1L_1 and L2L_2 are coplanar and find their common plane.

Step 1 — Form the determinant.

[P2P1,d1,d2]=(bc)(ad)ba(b+c)(a+d)αδαα+δβγββ+γ.[\mathbf{P_2-P_1}, \mathbf{d}_1, \mathbf{d}_2] = \begin{vmatrix} (b-c)-(a-d) & b-a & (b+c)-(a+d)\\ \alpha-\delta & \alpha & \alpha+\delta\\ \beta-\gamma & \beta & \beta+\gamma \end{vmatrix}.

Step 2 — Apply C1+C32C2=0C_1 + C_3 - 2C_2 = 0.

For any row (uv,u,u+v)(u-v,\, u,\, u+v), the combination C1+C32C2=(uv)+(u+v)2u=0C_1 + C_3 - 2C_2 = (u-v)+(u+v)-2u = 0. All three rows have this AP structure, so C1+C32C2C_1 + C_3 - 2C_2 is the zero column. Hence:

[P2P1,d1,d2]=0.[\mathbf{P_2-P_1}, \mathbf{d}_1, \mathbf{d}_2] = 0. \qquad \checkmark

Step 3 — Find the normal.

n=d1×d2=ijkαδαα+δβγββ+γ.\mathbf{n} = \mathbf{d}_1 \times \mathbf{d}_2 = \begin{vmatrix}\mathbf{i}&\mathbf{j}&\mathbf{k}\\ \alpha-\delta&\alpha&\alpha+\delta\\ \beta-\gamma&\beta&\beta+\gamma\end{vmatrix}.

Computing: nx=α(β+γ)(α+δ)β=αγβδ,n_x = \alpha(\beta+\gamma) - (\alpha+\delta)\beta = \alpha\gamma - \beta\delta,

ny=[(αδ)(β+γ)(α+δ)(βγ)]=2(αγβδ),n_y = -\bigl[(\alpha-\delta)(\beta+\gamma) - (\alpha+\delta)(\beta-\gamma)\bigr] = -2(\alpha\gamma-\beta\delta),

nz=(αδ)βα(βγ)=αγβδ.n_z = (\alpha-\delta)\beta - \alpha(\beta-\gamma) = \alpha\gamma-\beta\delta.

So n=(αγβδ)(1,2,1)\mathbf{n} = (\alpha\gamma-\beta\delta)(1,-2,1).

Step 4 — Plane through P1=(ad,a,a+d)P_1 = (a-d,a,a+d):

1(x(ad))2(ya)+1(z(a+d))=0,1\cdot(x-(a-d)) - 2(y-a) + 1\cdot(z-(a+d)) = 0,

x2y+z(ad)+2a(a+d)=0,x - 2y + z - (a-d) + 2a - (a+d) = 0,

x2y+z=0.\boxed{x - 2y + z = 0.}

The plane equation is independent of all six parameters — a consequence of the pure AP structure.


Worked Example 2

2019 Paper 1, 2019-P1-Q1e (10 marks)

Show that the lines L1:r=(1,3,2)+t(3,2,1)L_1: \mathbf{r} = (-1,3,-2) + t(-3,2,1) and L2:r=(0,7,7)+s(1,3,2)L_2: \mathbf{r} = (0,7,-7) + s(1,-3,2) intersect. Find the point of intersection and the plane containing them.

Step 1 — Coplanarity check.

P1=(1,3,2)P_1 = (-1,3,-2), d1=(3,2,1)\mathbf{d}_1 = (-3,2,1); P2=(0,7,7)P_2 = (0,7,-7), d2=(1,3,2)\mathbf{d}_2 = (1,-3,2).

P2P1=(1,4,5).\mathbf{P_2-P_1} = (1,4,-5).

145321132=1(4+3)4(61)+(5)(92)=7+2835=0.\begin{vmatrix}1&4&-5\\-3&2&1\\1&-3&2\end{vmatrix} = 1(4+3) - 4(-6-1) + (-5)(9-2) = 7 + 28 - 35 = 0. \qquad \checkmark

Step 2 — Find tt and ss.

xx: 13t=ss=13t-1-3t = s \Rightarrow s = -1-3t. yy: 3+2t=73s3+2t=73(13t)=10+9t7t=7t=13+2t = 7-3s \Rightarrow 3+2t = 7-3(-1-3t) = 10+9t \Rightarrow 7t = -7 \Rightarrow t = -1. Then s=13(1)=2s = -1-3(-1) = 2.

zz-check: 2+1(1)=3-2+1(-1) = -3 and 7+2(2)=3-7+2(2) = -3. \checkmark

Step 3 — Intersection point.

r=(1,3,2)+(1)(3,2,1)=(2,1,3).\mathbf{r} = (-1,3,-2) + (-1)(-3,2,1) = (2,1,-3).

Step 4 — Containing plane.

n=d1×d2=ijk321132=(4+3)i(61)j+(92)k=(7,7,7)(1,1,1).\mathbf{n} = \mathbf{d}_1 \times \mathbf{d}_2 = \begin{vmatrix}\mathbf{i}&\mathbf{j}&\mathbf{k}\\-3&2&1\\1&-3&2\end{vmatrix} = (4+3)\,\mathbf{i} - (-6-1)\,\mathbf{j} + (9-2)\,\mathbf{k} = (7,7,7) \propto (1,1,1).

Plane through (2,1,3)(2,1,-3): (x2)+(y1)+(z+3)=0(x-2)+(y-1)+(z+3)=0, i.e.\ x+y+z=0\boxed{x+y+z = 0}.


Worked Example 3

2021 Paper 1, 2021-P1-Q4c (15 marks)

Find the plane containing the lines L1:(1,3,5)+t(3,5,7)L_1: (-1,-3,-5)+t(3,5,7) and L2:(2,4,6)+s(1,3,5)L_2: (2,4,6)+s(1,3,5). Also find their point of intersection.

Step 1 — Coplanarity.

P1=(1,3,5)P_1=(-1,-3,-5), d1=(3,5,7)\mathbf{d}_1=(3,5,7); P2=(2,4,6)P_2=(2,4,6), d2=(1,3,5)\mathbf{d}_2=(1,3,5).

P2P1=(3,7,11).\mathbf{P_2-P_1} = (3,7,11).

3711357135=3(2521)7(157)+11(95)=1256+44=0.\begin{vmatrix}3&7&11\\3&5&7\\1&3&5\end{vmatrix} = 3(25-21)-7(15-7)+11(9-5) = 12 - 56 + 44 = 0. \qquad \checkmark

Step 2 — Normal and plane.

n=d1×d2=ijk357135=(2521)i(157)j+(95)k=(4,8,4)(1,2,1).\mathbf{n} = \mathbf{d}_1\times\mathbf{d}_2 = \begin{vmatrix}\mathbf{i}&\mathbf{j}&\mathbf{k}\\3&5&7\\1&3&5\end{vmatrix} = (25-21)\,\mathbf{i}-(15-7)\,\mathbf{j}+(9-5)\,\mathbf{k} = (4,-8,4) \propto (1,-2,1).

Plane through P1=(1,3,5)P_1=(-1,-3,-5): (x+1)2(y+3)+(z+5)=0    x2y+z=0.(x+1)-2(y+3)+(z+5)=0 \implies \boxed{x-2y+z = 0.}

Step 3 — Intersection point.

Equate components: 1+3t=2+s-1+3t = 2+s, 3+5t=4+3s-3+5t = 4+3s, 5+7t=6+5s-5+7t = 6+5s.

From the first: s=3+3ts = -3+3t. Substitute into the second: 3+5t=4+3(3+3t)=5+9t2=4tt=12-3+5t = 4+3(-3+3t) = -5+9t \Rightarrow 2 = 4t \Rightarrow t = \tfrac{1}{2}. Then s=3+32=32s = -3+\tfrac{3}{2} = -\tfrac{3}{2}.

zz-check: 5+72=32-5+\tfrac{7}{2} = -\tfrac{3}{2} and 6+5(32)=326+5(-\tfrac{3}{2}) = -\tfrac{3}{2}. \checkmark

Intersection: P1+12d1=(1+32,3+52,5+72)=(12,12,32)P_1 + \tfrac{1}{2}\mathbf{d}_1 = (-1+\tfrac{3}{2},\,-3+\tfrac{5}{2},\,-5+\tfrac{7}{2}) = \left(\tfrac{1}{2},-\tfrac{1}{2},-\tfrac{3}{2}\right).

Intersection=(12,12,32).\boxed{\text{Intersection} = \left(\tfrac{1}{2},\,-\tfrac{1}{2},\,-\tfrac{3}{2}\right).}

Common Traps


line-projection-on-plane (1 question(s); 2018)

Project a line onto a plane via the projecting plane (contains line, perpendicular to plane)

Recognition Cues

Solution Template

  1. Read off the line point PP and direction dL\mathbf{d}_L from the symmetric form; read off the plane normal nπ\mathbf{n}_\pi.
  2. Compute the projecting plane normal: n=dL×nπ\mathbf{n}' = \mathbf{d}_L \times \mathbf{n}_\pi.
  3. Write the projecting plane π\pi': normal n\mathbf{n}', passes through PP.
  4. The projection is ππ\pi \cap \pi': give both plane equations as the answer.
  5. Optionally find the direction of the projected line: nπ×n\mathbf{n}_\pi \times \mathbf{n}'.

Worked Example

2018 Paper 1, 2018-P1-Q1e (10 marks)

Find the projection of the line x12=y13=z+11\dfrac{x-1}{2} = \dfrac{y-1}{3} = \dfrac{z+1}{-1} on the plane x+y+2z=6x+y+2z = 6.

Step 1 — Read data.

Line: point P=(1,1,1)P=(1,1,-1), direction dL=(2,3,1)\mathbf{d}_L = (2,3,-1). Plane: normal nπ=(1,1,2)\mathbf{n}_\pi = (1,1,2).

Step 2 — Projecting plane normal.

n=dL×nπ=ijk231112=(6+1)i(4+1)j+(23)k=(7,5,1).\mathbf{n}' = \mathbf{d}_L \times \mathbf{n}_\pi = \begin{vmatrix}\mathbf{i}&\mathbf{j}&\mathbf{k}\\2&3&-1\\1&1&2\end{vmatrix} = (6+1)\,\mathbf{i}-(4+1)\,\mathbf{j}+(2-3)\,\mathbf{k} = (7,-5,-1).

Step 3 — Projecting plane π\pi' through P=(1,1,1)P=(1,1,-1):

7(x1)5(y1)(z+1)=0    7x5yz=3.7(x-1)-5(y-1)-(z+1)=0 \implies \boxed{7x-5y-z = 3.}

Step 4 — Projection line (intersection of the two planes):

ππ:x+y+2z=6,7x5yz=3.\boxed{\pi \cap \pi':\quad x+y+2z = 6, \quad 7x-5y-z = 3.}

Step 5 — Direction of the projected line (optional but recommended):

nπ×n=(1,1,2)×(7,5,1)=ijk112751=(1+10)i(114)j+(57)k=(9,15,12)(3,5,4).\mathbf{n}_\pi \times \mathbf{n}' = (1,1,2)\times(7,-5,-1) = \begin{vmatrix}\mathbf{i}&\mathbf{j}&\mathbf{k}\\1&1&2\\7&-5&-1\end{vmatrix} = (-1+10)\,\mathbf{i}-(−1-14)\,\mathbf{j}+(-5-7)\,\mathbf{k} = (9,15,-12) \propto (3,5,-4).

Common Traps


locus-of-moving-line (1 question(s); 2023)

Find the locus traced by a line meeting given curves under a constraint

Recognition Cues

Solution Template

  1. Parametrise one point on each guide curve using distinct parameters (e.g.\ α\alpha, β\beta).
  2. Write the general point on the moving line as P1+λ(P2P1)P_1 + \lambda(P_2 - P_1) for parameter λ\lambda.
  3. Impose the third constraint (e.g.\ lies on a circle) to get one equation relating the parameters.
  4. Express xx and yy (or xx, yy, zz) in terms of the parameters.
  5. Eliminate all free parameters between the constraint equation and the coordinate expressions.
  6. The resulting equation in xx, yy, zz is the locus.

Worked Example

2023 Paper 1, 2023-P1-Q4c (15 marks)

A variable line meets the lines 1:y=mx,z=c\ell_1: y=mx,\, z=c and 2:y=mx,z=c\ell_2: y=-mx,\, z=-c and also meets the circle x2+y2=a2,z=0x^2+y^2=a^2,\, z=0. Prove that the locus of the variable line is

c2m2(cymzx)2+c2(yzcmx)2=a2m2(z2c2)2.c^2m^2(cy-mzx)^2 + c^2(yz-cmx)^2 = a^2m^2(z^2-c^2)^2.

Step 1 — Parametrise the three guide objects.

Point AA on 1\ell_1 (where y=mxy=mx, z=cz=c): A=(α,mα,c)A = (\alpha, m\alpha, c) for some αR\alpha \in \mathbb{R}. Point BB on 2\ell_2 (where y=mxy=-mx, z=cz=-c): B=(β,mβ,c)B = (\beta, -m\beta, -c) for some βR\beta \in \mathbb{R}.

The variable line passes through AA and BB. Its parametric form is: r(λ)=(1λ)A+λB=((1λ)α+λβ,  (1λ)mαλmβ,  (12λ)c).\mathbf{r}(\lambda) = (1-\lambda)A + \lambda B = \bigl((1-\lambda)\alpha + \lambda\beta,\; (1-\lambda)m\alpha - \lambda m\beta,\; (1-2\lambda)c\bigr).

Step 2 — Find the point on the circle (z=0z=0).

Set z=0z = 0: (12λ)c=0λ=12(1-2\lambda)c = 0 \Rightarrow \lambda = \tfrac{1}{2}.

At λ=12\lambda = \tfrac{1}{2}: x0=α+β2,y0=mαmβ2=m(αβ)2.x_0 = \frac{\alpha+\beta}{2}, \qquad y_0 = \frac{m\alpha - m\beta}{2} = \frac{m(\alpha-\beta)}{2}.

Step 3 — Apply the circle constraint.

x02+y02=a2x_0^2 + y_0^2 = a^2: (α+β)24+m2(αβ)24=a2.\frac{(\alpha+\beta)^2}{4} + \frac{m^2(\alpha-\beta)^2}{4} = a^2.

(α+β)2+m2(αβ)2=4a2.()(\alpha+\beta)^2 + m^2(\alpha-\beta)^2 = 4a^2. \qquad(\ast)

Step 4 — Express α\alpha and β\beta in terms of a general point (x,y,z)(x,y,z) on the moving line.

A general point on the line ABAB at parameter λ\lambda satisfies: x=(1λ)α+λβ,y=m(1λ)αmλβ,z=(12λ)c.x = (1-\lambda)\alpha + \lambda\beta, \quad y = m(1-\lambda)\alpha - m\lambda\beta, \quad z = (1-2\lambda)c.

From the zz-equation: λ=cz2c\lambda = \tfrac{c-z}{2c}, so 1λ=c+z2c1-\lambda = \tfrac{c+z}{2c}.

Then: x=(c+z)α+(cz)β2c,y=m(c+z)αm(cz)β2c.x = \frac{(c+z)\alpha + (c-z)\beta}{2c}, \qquad y = \frac{m(c+z)\alpha - m(c-z)\beta}{2c}.

Solve for α\alpha and β\beta. Add and subtract suitably: 2cx=(c+z)α+(cz)β,(1)2cx = (c+z)\alpha + (c-z)\beta, \qquad (1)

2cy=m(c+z)αm(cz)β.(2)2cy = m(c+z)\alpha - m(c-z)\beta. \qquad (2)

Multiply (1) by mm: 2cmx=m(c+z)α+m(cz)β2cmx = m(c+z)\alpha + m(c-z)\beta. Add to (2): 2cmx+2cy=2m(c+z)α    α=c(mx+y)m(c+z).2cmx + 2cy = 2m(c+z)\alpha \implies \alpha = \frac{c(mx+y)}{m(c+z)}.

Multiply (1) by mm and subtract (2): 2cmx2cy=2m(cz)β    β=c(mxy)m(cz).2cmx - 2cy = 2m(c-z)\beta \implies \beta = \frac{c(mx-y)}{m(c-z)}.

Step 5 — Compute α+β\alpha + \beta and αβ\alpha - \beta.

α+β=c(mx+y)m(c+z)+c(mxy)m(cz)=cm(mx+y)(cz)+(mxy)(c+z)c2z2.\alpha + \beta = \frac{c(mx+y)}{m(c+z)} + \frac{c(mx-y)}{m(c-z)} = \frac{c}{m}\cdot\frac{(mx+y)(c-z)+(mx-y)(c+z)}{c^2-z^2}.

Expand the numerator: (mx+y)(cz)+(mxy)(c+z)=2cmx2yz.(mx+y)(c-z)+(mx-y)(c+z) = 2cmx - 2yz.

So: α+β=cm2(cmxyz)c2z2=2c(cmxyz)m(c2z2).\alpha+\beta = \frac{c}{m}\cdot\frac{2(cmx-yz)}{c^2-z^2} = \frac{2c(cmx-yz)}{m(c^2-z^2)}.

Similarly: αβ=c(mx+y)m(c+z)c(mxy)m(cz)=cm(mx+y)(cz)(mxy)(c+z)c2z2.\alpha - \beta = \frac{c(mx+y)}{m(c+z)} - \frac{c(mx-y)}{m(c-z)} = \frac{c}{m}\cdot\frac{(mx+y)(c-z)-(mx-y)(c+z)}{c^2-z^2}.

Expand: (mx+y)(cz)(mxy)(c+z)=2cy2mxz.(mx+y)(c-z)-(mx-y)(c+z) = 2cy - 2mxz.

So: αβ=cm2(cymzx)c2z2=2c(cymzx)m(c2z2).\alpha-\beta = \frac{c}{m}\cdot\frac{2(cy-mzx)}{c^2-z^2} = \frac{2c(cy-mzx)}{m(c^2-z^2)}.

Step 6 — Substitute into constraint ()(*).

(2c(cmxyz)m(c2z2))2+m2(2c(cymzx)m(c2z2))2=4a2.\left(\frac{2c(cmx-yz)}{m(c^2-z^2)}\right)^2 + m^2\left(\frac{2c(cy-mzx)}{m(c^2-z^2)}\right)^2 = 4a^2.

4c2(cmxyz)2m2(c2z2)2+4c2(cymzx)2(c2z2)2=4a2.\frac{4c^2(cmx-yz)^2}{m^2(c^2-z^2)^2} + \frac{4c^2(cy-mzx)^2}{(c^2-z^2)^2} = 4a^2.

Multiply through by m2(c2z2)2/4m^2(c^2-z^2)^2 / 4:

c2(cmxyz)2+c2m2(cymzx)2=a2m2(c2z2)2.c^2(cmx-yz)^2 + c^2m^2(cy-mzx)^2 = a^2m^2(c^2-z^2)^2.

Since (c2z2)2=(z2c2)2(c^2-z^2)^2 = (z^2-c^2)^2 and (cmxyz)2=(yzcmx)2(cmx-yz)^2 = (yz-cmx)^2:

c2m2(cymzx)2+c2(yzcmx)2=a2m2(z2c2)2.\boxed{c^2m^2(cy-mzx)^2 + c^2(yz-cmx)^2 = a^2m^2(z^2-c^2)^2.} \qquad \blacksquare

Common Traps


Marks-Aware Writing

7-mark question (2015): Show the determinant, write the column-combination argument in one line (C1+C32C2=0C_1+C_3-2C_2=0), compute the cross product for the normal, and state the plane. Four clear steps = full marks.

10-mark question (2018, 2019): Show the scalar triple product calculation with the determinant written out (not just the result). For the intersection, display the three coordinate equations, show which two you solved, and verify the third. State the plane equation in a box. About 6–8 lines of working.

15-mark question (2021, 2023):

Practice Set

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.