Skip to main content

Vector equations of lines and planes (WACE Year 12 Mathematics Specialist Unit 4)

Syllabus dot point

“Write vector and parametric equations of lines and planes and find intersections, distances and angles”

9 min read

Quick answer

A line is r=a+λd\mathbf{r} = \mathbf{a} + \lambda\mathbf{d} through point a\mathbf{a} with direction d\mathbf{d}; a plane is r⋅n=a⋅n\mathbf{r}\cdot\mathbf{n} = \mathbf{a}\cdot\mathbf{n} with normal n\mathbf{n}, equivalently the cartesian form ax+by+cz=kax + by + cz = k. Intersections come from equating or substituting, angles come from the dot product of directions or normals, and parallelism or perpendicularity is read from those vectors.

Jump to a section
  1. What this dot point is asking
  2. Why a line needs a point and a direction
  3. Vector and parametric equations of a line
  4. Equations of a plane
  5. Angles
  6. Intersections
  7. Distances
  8. Exam-style questions

What this dot point is asking

SCSA Unit 4 uses three-dimensional vectors to describe lines and planes. You must write each object in vector, parametric and cartesian form, decide whether lines intersect, are parallel or are skew, find points of intersection, and compute the angles between lines, between planes, and between a line and a plane.

Why a line needs a point and a direction

A line in three dimensions is fixed by two pieces of information: a single point it passes through and the direction it runs in. The point anchors the line in space, and the direction vector says which way it goes; every other point on the line is reached by travelling some multiple of the direction vector from the anchor point. This is the meaning of r=a+λd\mathbf{r} = \mathbf{a} + \lambda\mathbf{d}, where λ\lambda is the signed number of direction-vector steps from a\mathbf{a}. A plane similarly needs a point and a normal direction, the normal pinning down the plane's tilt because every vector lying in the plane must be perpendicular to it. Understanding why each object needs exactly this data makes the equations easy to recall and to build from given information.

Vector and parametric equations of a line

A line through point AA with position vector a\mathbf{a} and direction vector d\mathbf{d} is

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

Splitting into 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.

Two lines are parallel if their direction vectors are scalar multiples. If they are not parallel, they either intersect (a common point exists) or are skew (no common point and not parallel).

Equations of a plane

A plane with normal vector n\mathbf{n} passing through a point with position vector a\mathbf{a} satisfies

Scalar and cartesian forms of a plane

r⋅n=a⋅n,equivalently   n1x+n2y+n3z=k,\mathbf{r}\cdot\mathbf{n} = \mathbf{a}\cdot\mathbf{n}, \qquad \text{equivalently } \; n_1 x + n_2 y + n_3 z = k,

where k=a⋅nk = \mathbf{a}\cdot\mathbf{n}.

If a plane is given by three points, find two direction vectors in the plane and take their cross product to obtain the normal n\mathbf{n}.

Angles

Use the dot product, u⋅v=∣u∣∣v∣cos⁡ϕ\mathbf{u}\cdot\mathbf{v} = |\mathbf{u}||\mathbf{v}|\cos\phi, to extract angles. Take the acute angle by using the modulus of the dot product.

  • Between two lines: angle between their direction vectors, cos⁡θ=∣d1⋅d2∣∣d1∣∣d2∣\cos\theta = \dfrac{|\mathbf{d_1}\cdot\mathbf{d_2}|}{|\mathbf{d_1}||\mathbf{d_2}|}.
  • Between two planes: angle between their normals.
  • Between a line and a plane: if α\alpha is the angle between the direction d\mathbf{d} and the normal n\mathbf{n}, the line-plane angle is 90∘−α90^\circ - \alpha, so sin⁡θ=∣d⋅n∣∣d∣∣n∣\sin\theta = \dfrac{|\mathbf{d}\cdot\mathbf{n}|}{|\mathbf{d}||\mathbf{n}|}.

Intersections

To intersect a line with a plane, substitute the parametric coordinates into the plane equation and solve for λ\lambda, then back-substitute. To intersect two lines, equate components and solve; if the resulting equations are inconsistent the lines are skew (assuming they are not parallel).

Line meets a plane

Where does r=(1,0,2)+λ(2,1,−1)\mathbf{r} = (1, 0, 2) + \lambda(2, 1, -1) meet x+2y+3z=13x + 2y + 3z = 13?

Step 1: Write out the parametric coordinates

The vector equation of the line encodes xx, yy, and zz each as a function of the parameter λ\lambda. Reading off the components gives explicit expressions we can substitute elsewhere.

x=1+2λ,y=λ,z=2−λ.x = 1 + 2\lambda, \quad y = \lambda, \quad z = 2 - \lambda.

Step 2: Substitute into the plane equation

A point lies on the plane exactly when its coordinates satisfy the plane's equation. Substituting the parametric expressions converts the geometric condition into a single equation in λ\lambda.

(1+2λ)+2(λ)+3(2−λ)=13.(1 + 2\lambda) + 2(\lambda) + 3(2 - \lambda) = 13.

Step 3: Solve for λ\lambda

Expanding and collecting like terms reduces the equation to a simple linear relationship.

1+2λ+2λ+6−3λ=13  ⇒  7+λ=13  ⇒  λ=6.1 + 2\lambda + 2\lambda + 6 - 3\lambda = 13 \;\Rightarrow\; 7 + \lambda = 13 \;\Rightarrow\; \lambda = 6.

Step 4: Back-substitute to find the point

With λ\lambda known, substituting back into the parametric expressions recovers the actual coordinates of the intersection point.

x=1+12=13,y=6,z=2−6=−4.x = 1 + 12 = 13, \quad y = 6, \quad z = 2 - 6 = -4.

Check: 13+2(6)+3(−4)=13+12−12=1313 + 2(6) + 3(-4) = 13 + 12 - 12 = 13. Correct.

Final answer: The point of intersection is (13,6,−4)(13, 6, -4).

Distances

The distance from a point with position vector p\mathbf{p} to a plane r⋅n=k\mathbf{r}\cdot\mathbf{n} = k is ∣p⋅n−k∣∣n∣\dfrac{|\mathbf{p}\cdot\mathbf{n} - k|}{|\mathbf{n}|}. The shortest distance from a point to a line uses the perpendicular component: project the point-to-line vector onto d\mathbf{d} and subtract.

Common traps
Calling non-parallel non-intersecting lines "parallel"
In 3D, lines that never meet may be skew, not parallel. Parallel requires proportional direction vectors.
Using the normal angle directly for a line and a plane
The dot product of d\mathbf{d} and n\mathbf{n} gives the angle to the normal; the line-plane angle is its complement, so use sin⁡θ\sin\theta, not cos⁡θ\cos\theta.
Forgetting the modulus
For the acute angle, take ∣u⋅v∣|\mathbf{u}\cdot\mathbf{v}|; a negative dot product otherwise gives an obtuse angle.
Reusing one parameter for two lines
Two different lines need two different parameters (say λ\lambda and μ\mu) when testing for intersection.

Exam-style questions

Questions in the style of SCSA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

WACE 2023-style8 marks
Calculator-assumed. The plane Π\Pi passes through A(1,0,2)A(1, 0, 2), B(3,1,1)B(3, 1, 1) and C(2,2,4)C(2, 2, 4). (a) Find the cartesian equation of Π\Pi. (b) Find the acute angle between Π\Pi and the line r=(0,0,0)+t(1,1,1)\mathbf{r} = (0, 0, 0) + t(1, 1, 1).
Show worked answer →

Building a plane from points, then a line-plane angle.

(a) Edge vectors AB⃗=(2,1,−1)\vec{AB} = (2, 1, -1) and AC⃗=(1,2,2)\vec{AC} = (1, 2, 2). Normal n=AB⃗×AC⃗\mathbf{n} = \vec{AB} \times \vec{AC}: i\mathbf{i} component (1)(2)−(−1)(2)=4(1)(2) - (-1)(2) = 4; j\mathbf{j} component −[(2)(2)−(−1)(1)]=−5-[(2)(2) - (-1)(1)] = -5; k\mathbf{k} component (2)(2)−(1)(1)=3(2)(2) - (1)(1) = 3. So n=(4,−5,3)\mathbf{n} = (4, -5, 3). The plane is 4x−5y+3z=k4x - 5y + 3z = k; using A(1,0,2)A(1, 0, 2), k=4+0+6=10k = 4 + 0 + 6 = 10. So 4x−5y+3z=104x - 5y + 3z = 10.

(b) Direction d=(1,1,1)\mathbf{d} = (1, 1, 1). d⋅n=4−5+3=2\mathbf{d} \cdot \mathbf{n} = 4 - 5 + 3 = 2. ∣d∣=3|\mathbf{d}| = \sqrt{3}, ∣n∣=16+25+9=50|\mathbf{n}| = \sqrt{16 + 25 + 9} = \sqrt{50}. So sin⁡θ=∣2∣350=2150≈0.1633\sin\theta = \dfrac{|2|}{\sqrt{3}\sqrt{50}} = \dfrac{2}{\sqrt{150}} \approx 0.1633, giving θ≈9.4∘\theta \approx 9.4^\circ.

Markers reward the normal by cross product, the cartesian equation, using sin⁡θ\sin\theta (not cos⁡θ\cos\theta) for the line-plane angle, and the acute angle.

WACE 2021-style6 marks
Calculator-free. Two lines are ℓ1:r=(1,2,3)+λ(1,0,1)\ell_1: \mathbf{r} = (1, 2, 3) + \lambda(1, 0, 1) and ℓ2:r=(2,2,1)+μ(0,1,−1)\ell_2: \mathbf{r} = (2, 2, 1) + \mu(0, 1, -1). Determine whether they intersect, and if so find the point.
Show worked answer →

An intersection test using two parameters.

Equate components: 1+λ=21 + \lambda = 2 gives λ=1\lambda = 1; 2=2+μ2 = 2 + \mu gives μ=0\mu = 0; 3+λ=1−μ3 + \lambda = 1 - \mu gives 3+1=1−03 + 1 = 1 - 0, i.e. 4=14 = 1, which is false.

The three equations are inconsistent, and the direction vectors (1,0,1)(1, 0, 1) and (0,1,−1)(0, 1, -1) are not scalar multiples, so the lines are skew: they do not intersect and are not parallel.

Markers reward using distinct parameters λ\lambda and μ\mu, solving two components, testing the third for consistency, and the skew conclusion.

Practise this

Sources & how we know this

ExamExplained