Skip to main content
SingaporeFurther MathsSyllabus dot point

How do we describe a line in three dimensions, and how do we test whether two lines intersect, are parallel or are skew?

Write the vector, parametric and Cartesian equations of a line in three dimensions and classify the relationship between two lines

A focused answer to the H2 Further Mathematics outcome on lines in 3D. The vector, parametric and Cartesian forms of a line, the angle between lines, and classifying two lines as intersecting, parallel or skew.

Generated by Claude Opus 4.811 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 describe a line in three dimensions in vector, parametric and Cartesian form, to find the angle between two lines using their directions, and to classify a pair of lines as intersecting, parallel, or skew (neither intersecting nor parallel, which can only happen in three dimensions).

The answer

The vector equation of a line

A line is fixed by one point on it (position vector a\mathbf{a}) and a direction d\mathbf{d}:

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

As the parameter λ\lambda varies, r\mathbf{r} traces the whole line. A direction through two points AA and BB is AB=ba\overrightarrow{AB} = \mathbf{b} - \mathbf{a}.

Parametric and Cartesian forms

Writing the components gives the parametric form x=a1+λd1x = a_1 + \lambda d_1, y=a2+λd2y = a_2 + \lambda d_2, z=a3+λd3z = a_3 + \lambda d_3. Eliminating λ\lambda gives the Cartesian form

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

valid where no did_i is zero (a zero component is written as a separate constant equation).

The angle between two lines

The angle between lines depends only on their directions d1\mathbf{d}_1 and d2\mathbf{d}_2:

cosθ=d1d2d1d2.\cos\theta = \frac{|\mathbf{d}_1\cdot\mathbf{d}_2|}{|\mathbf{d}_1||\mathbf{d}_2|}.

The absolute value gives the acute angle, which is the standard answer for the angle between lines.

Classifying two lines

In three dimensions, two lines are exactly one of:

  • parallel: directions are scalar multiples;
  • intersecting: not parallel, and the position equations are consistent (a common point exists);
  • skew: not parallel, and the position equations are inconsistent (no common point).

To decide, first compare directions. If not parallel, set the two position vectors equal, solve two of the component equations for λ\lambda and μ\mu, and check the third: consistent means intersecting, inconsistent means skew.

Examples in context

Example 1. Flight paths. Two aircraft following straight courses at different altitudes are modelled as lines in 3D. Determining whether the paths are skew, and how close they come, is exactly the line-classification and shortest-distance calculation used in collision-avoidance analysis.

Example 2. Ray tracing. In computer graphics a line of sight is a parametric line r=a+λd\mathbf{r} = \mathbf{a} + \lambda\mathbf{d}; finding where it meets a surface is solving for the parameter, the core operation behind rendering a scene.

Try this

Q1. Write the vector equation of the line through (0,1,2)(0, 1, 2) with direction (101)\begin{pmatrix} 1 \\ 0 \\ -1 \end{pmatrix}. [1 mark]

  • Cue. r=(012)+λ(101)\mathbf{r} = \begin{pmatrix} 0 \\ 1 \\ 2 \end{pmatrix} + \lambda\begin{pmatrix} 1 \\ 0 \\ -1 \end{pmatrix}.

Q2. Two lines have parallel direction vectors but no common point. What is their relationship? [1 mark]

  • Cue. They are parallel (and distinct), so they never meet.

Q3. How do you confirm two non-parallel lines are skew? [2 marks]

  • Cue. Set their positions equal, solve two component equations for the parameters, and show the third equation is inconsistent (no common point).

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 marksWrite the vector and Cartesian equations of the line through the points A(1,2,3)A(1, 2, 3) and B(3,1,4)B(3, -1, 4).
Show worked answer →

A direction vector is AB=ba=(311243)=(231)\overrightarrow{AB} = \mathbf{b} - \mathbf{a} = \begin{pmatrix} 3 - 1 \\ -1 - 2 \\ 4 - 3 \end{pmatrix} = \begin{pmatrix} 2 \\ -3 \\ 1 \end{pmatrix}.

Vector equation (using AA as the point): r=(123)+λ(231)\mathbf{r} = \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix} + \lambda\begin{pmatrix} 2 \\ -3 \\ 1 \end{pmatrix}.

Cartesian form: equate the parameter from each component, λ=x12=y23=z31\lambda = \dfrac{x - 1}{2} = \dfrac{y - 2}{-3} = \dfrac{z - 3}{1}.

Markers reward the direction vector AB\overrightarrow{AB}, the vector equation with a point and the direction, and the Cartesian form equating the three expressions for λ\lambda.

Original7 marksTwo lines are r1=(102)+λ(110)\mathbf{r}_1 = \begin{pmatrix} 1 \\ 0 \\ 2 \end{pmatrix} + \lambda\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} and r2=(211)+μ(011)\mathbf{r}_2 = \begin{pmatrix} 2 \\ 1 \\ 1 \end{pmatrix} + \mu\begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix}. Determine whether they intersect, are parallel, or are skew.
Show worked answer →

The direction vectors (110)\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} and (011)\begin{pmatrix} 0 \\ 1 \\ 1 \end{pmatrix} are not scalar multiples, so the lines are not parallel.

Set the position vectors equal and solve componentwise:

1+λ=2,λ=1+μ,2=1+μ.1 + \lambda = 2, \quad \lambda = 1 + \mu, \quad 2 = 1 + \mu.

From the first, λ=1\lambda = 1. From the third, μ=1\mu = 1. Check the second: λ=1+μ\lambda = 1 + \mu gives 1=1+1=21 = 1 + 1 = 2, which is false.

The equations are inconsistent, so the lines do not intersect. Since they are also not parallel, the lines are skew.

Markers reward checking the directions are not parallel, setting the position vectors equal, solving two components and testing the third for consistency, and concluding skew.

Related dot points