Skip to main content
SingaporeMathsSyllabus dot point

How do we describe a line in space and decide how two lines relate?

Write the vector and Cartesian equations of a line in three dimensions, find the intersection of two lines, and classify lines as parallel, intersecting or skew

A focused answer to the H2 Mathematics outcome on lines in space. The vector and Cartesian forms, finding the point of intersection, classifying parallel, intersecting and skew lines, and the angle between two lines.

Generated by Claude Opus 4.810 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Examples in context
  4. Try this

What this dot point is asking

SEAB wants you to write the equation of a line in space in vector and Cartesian form, find where two lines meet, and classify a pair of lines as parallel, intersecting or skew, as well as find the angle between them.

The answer

The vector equation of a line

A line through a point with position vector a\mathbf{a} in the direction d\mathbf{d} is

r=a+λd,λR.\mathbf{r} = \mathbf{a} + \lambda \mathbf{d}, \qquad \lambda \in \mathbb{R}.

Each value of the parameter λ\lambda gives one point on the line; a\mathbf{a} fixes position and d\mathbf{d} fixes direction.

The Cartesian form

Eliminating λ\lambda from the components gives the symmetric Cartesian equations:

xa1d1=ya2d2=za3d3.\frac{x - a_1}{d_1} = \frac{y - a_2}{d_2} = \frac{z - a_3}{d_3}.

Each ratio equals λ\lambda, so equating them removes the parameter.

Finding an intersection

To test whether two lines meet, set their position vectors equal componentwise. This gives three equations in the two parameters λ\lambda and μ\mu. Solve two of them, then check the third. If all three are satisfied the lines intersect; substitute back to find the point.

Classifying a pair of lines

  • Parallel: the direction vectors are scalar multiples of each other.
  • Intersecting: not parallel, and the three equations are consistent.
  • Skew: not parallel, and the equations are inconsistent (they never meet, the genuinely three-dimensional case).

The angle between two lines comes from the dot product of their direction vectors.

Examples in context

Example 1. Flight paths. Two aircraft following straight courses in space have skew paths if they are not parallel and never share a point at the same parameter, the usual safe situation; checking the third equation is exactly the collision test (same point, but timing aside here).

Example 2. Edge of a structure. A girder running from one joint to another is modelled by r=a+λ(ba)\mathbf{r} = \mathbf{a} + \lambda(\mathbf{b} - \mathbf{a}) with 0λ10 \leq \lambda \leq 1 giving the segment between the joints, the practical use of the parameter range.

Try this

Q1. Write the vector equation of the line through (2,1,4)(2, -1, 4) in direction (103)\begin{pmatrix} 1 \\ 0 \\ 3 \end{pmatrix}. [2 marks]

  • Cue. r=(214)+λ(103)\mathbf{r} = \begin{pmatrix} 2 \\ -1 \\ 4 \end{pmatrix} + \lambda\begin{pmatrix} 1 \\ 0 \\ 3 \end{pmatrix}.

Q2. State the condition for two lines to be parallel. [1 mark]

  • Cue. Their direction vectors are scalar multiples of each other.

Q3. Explain how to tell, after solving for λ\lambda and μ\mu, whether two non-parallel lines intersect. [2 marks]

  • Cue. Substitute into the unused third component equation; if it holds they intersect, otherwise they are skew.

Exam-style practice questions

Practice questions written in the style of SEAB exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

Original5 marksLines l1l_1 and l2l_2 have equations r=(102)+λ(110)\mathbf{r} = \begin{pmatrix} 1 \\ 0 \\ 2 \end{pmatrix} + \lambda\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} and r=(325)+μ(011)\mathbf{r} = \begin{pmatrix} 3 \\ 2 \\ 5 \end{pmatrix} + \mu\begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix}. Determine whether they intersect, and if so find the point.
Show worked answer →

Set the components equal: 1+λ=31 + \lambda = 3, λ=0+μ\lambda = 0 + \mu wait carefully.

xx: 1+λ=3λ=21 + \lambda = 3 \Rightarrow \lambda = 2.
yy: 0+λ=2+μ2=2+μμ=00 + \lambda = 2 + \mu \Rightarrow 2 = 2 + \mu \Rightarrow \mu = 0.
zz: 2+0=5+μ2=52 + 0 = 5 + \mu \Rightarrow 2 = 5, which is false.

The three equations are inconsistent, so the lines do not intersect. Their direction vectors are not parallel, so the lines are skew.

Markers reward forming three equations, solving two for λ\lambda and μ\mu, checking the third, and the correct skew conclusion.

Original4 marksFind the acute angle between the lines with direction vectors (122)\begin{pmatrix} 1 \\ 2 \\ 2 \end{pmatrix} and (221)\begin{pmatrix} 2 \\ -2 \\ 1 \end{pmatrix}.
Show worked answer →

Use cosθ=d1d2d1d2\cos\theta = \dfrac{\mathbf{d_1}\cdot\mathbf{d_2}}{|\mathbf{d_1}||\mathbf{d_2}|}.

d1d2=24+2=0\mathbf{d_1}\cdot\mathbf{d_2} = 2 - 4 + 2 = 0.

Since the dot product is 00, the directions are perpendicular, so the acute angle between the lines is 9090^\circ.

Markers reward using the direction vectors in the cosine formula and identifying the right angle.

Related dot points