Skip to main content

Vector and cartesian equations of lines and planes (SACE Stage 2 Specialist Mathematics)

Syllabus dot point

“Write vector, parametric and cartesian equations of lines and planes in three dimensions and find intersections and angles between them.”

9 min read

Quick answer

A line is r=a+td\mathbf{r} = \mathbf{a} + t\mathbf{d}, a point a\mathbf{a} plus a scalar tt times a direction d\mathbf{d}. A plane is r⋅n=a⋅n\mathbf{r}\cdot\mathbf{n} = \mathbf{a}\cdot\mathbf{n}, fixed by a point a\mathbf{a} and a normal n\mathbf{n}, giving cartesian form n1x+n2y+n3z=dn_1 x + n_2 y + n_3 z = d. Find a line-plane intersection by substituting the line's parametric coordinates into the plane equation and solving for tt.

Jump to a section
  1. What this dot point is asking
  2. Equations of a line
  3. Equations of a plane
  4. Intersections
  5. Angles
  6. Exam-style questions

What this dot point is asking

You need to write vector, parametric and cartesian equations of lines and planes, and find intersections and angles between them.

Equations of a line

A line through point a\mathbf{a} with direction vector d\mathbf{d} has the vector equation

r=a+td,t∈R.\mathbf{r} = \mathbf{a} + t\mathbf{d}, \quad t \in \mathbb{R}.

Writing components gives the parametric equations x=a1+td1x = a_1 + t d_1, y=a2+td2y = a_2 + t d_2, z=a3+td3z = a_3 + t d_3. Eliminating tt gives the cartesian (symmetric) form
x−a1d1=y−a2d2=z−a3d3,\frac{x - a_1}{d_1} = \frac{y - a_2}{d_2} = \frac{z - a_3}{d_3},

valid where the did_i are nonzero.

Direction vector from two points

The direction of the line through points PP and QQ is PQ⃗=Q−P\vec{PQ} = Q - P. Any nonzero scalar multiple of a direction vector describes the same line, so directions are only defined up to scale.

Equations of a plane

A plane is fixed by a point a\mathbf{a} on it and a normal vector n\mathbf{n} perpendicular to it. Any point r\mathbf{r} lies in the plane exactly when r−a\mathbf{r} - \mathbf{a} is perpendicular to n\mathbf{n}:

(r−a)⋅n=0  ⟺  r⋅n=a⋅n.(\mathbf{r} - \mathbf{a})\cdot\mathbf{n} = 0 \iff \mathbf{r}\cdot\mathbf{n} = \mathbf{a}\cdot\mathbf{n}.

In components, with n=(n1,n2,n3)\mathbf{n} = (n_1, n_2, n_3), this is the cartesian equation
n1x+n2y+n3z=d,where d=a⋅n.n_1 x + n_2 y + n_3 z = d, \quad \text{where } d = \mathbf{a}\cdot\mathbf{n}.

The coefficients of x,y,zx, y, z are exactly the components of a normal vector - a fact used constantly when finding angles.

Cartesian equation of a plane through three points

Find the plane through A(1,0,2)A(1,0,2), B(2,1,0)B(2,1,0), C(0,1,1)C(0,1,1)

Step 1: Form two in-plane vectors

A plane through three points is determined once we know a point on it and a normal to it. To find the normal, we first need two vectors that lie in the plane. Subtracting the coordinates of AA from those of BB and CC gives two such vectors.

AB⃗=(1,1,−2),AC⃗=(−1,1,−1).\vec{AB} = (1, 1, -2), \qquad \vec{AC} = (-1, 1, -1).

Step 2: Cross the vectors to obtain the normal

The cross product of two vectors lying in the plane is perpendicular to both and hence perpendicular to the plane itself, giving the normal vector n\mathbf{n}.

n=AB⃗×AC⃗=((1)(−1)−(−2)(1))i−((1)(−1)−(−2)(−1))j+((1)(1)−(1)(−1))k.\mathbf{n} = \vec{AB} \times \vec{AC} = \big((1)(-1)-(-2)(1)\big)\mathbf{i} - \big((1)(-1)-(-2)(-1)\big)\mathbf{j} + \big((1)(1)-(1)(-1)\big)\mathbf{k}.

Component by component: i:−1+2=1\mathbf{i}: -1 + 2 = 1; j:−(−1−2)=3\mathbf{j}: -(-1 - 2) = 3; k:1+1=2\mathbf{k}: 1 + 1 = 2. So n=(1,3,2)\mathbf{n} = (1, 3, 2).

Step 3: Use a known point and the normal to write the cartesian equation

The cartesian equation of the plane is n⋅r=d\mathbf{n}\cdot\mathbf{r}=d where d=n⋅ad=\mathbf{n}\cdot\mathbf{a} for any point a\mathbf{a} on the plane. Substituting point AA gives dd.

Use point AA: d=a⋅n=(1)(1)+(0)(3)+(2)(2)=5d = \mathbf{a}\cdot\mathbf{n} = (1)(1) + (0)(3) + (2)(2) = 5. The plane is

x+3y+2z=5.x + 3y + 2z = 5.

Final answer: x+3y+2z=5x + 3y + 2z = 5.

Intersections

To find where a line meets a plane, substitute the line's parametric coordinates into the plane's cartesian equation and solve for the parameter tt, then back-substitute to get the point.

Line meeting a plane

Where does r=(1,0,−1)+t(2,1,3)\mathbf{r} = (1, 0, -1) + t(2, 1, 3) meet the plane x+3y+2z=5x + 3y + 2z = 5?

Step 1: Write out the parametric coordinates

Read the xx, yy, zz expressions directly from the vector equation of the line. These parametric coordinates describe every point on the line as tt varies.

Parametric coordinates: x=1+2tx = 1 + 2t, y=ty = t, z=−1+3tz = -1 + 3t.

Step 2: Substitute into the plane equation and solve for tt

Replacing xx, yy, zz in the plane equation with the parametric expressions gives a single equation in tt. Solving it identifies the unique value of tt at which the line meets the plane.

Substitute:

(1+2t)+3(t)+2(−1+3t)=5.(1 + 2t) + 3(t) + 2(-1 + 3t) = 5.

Expand: 1+2t+3t−2+6t=51 + 2t + 3t - 2 + 6t = 5, so 11t−1=511t - 1 = 5, giving 11t=611t = 6, t=611t = \dfrac{6}{11}.

Step 3: Back-substitute to find the intersection point

Plug t=611t = \dfrac{6}{11} into each parametric expression to recover the actual coordinates of the intersection point.

(1+1211, 611, −1+1811)=(2311, 611, 711).\left(1 + \tfrac{12}{11}, \ \tfrac{6}{11}, \ -1 + \tfrac{18}{11}\right) = \left(\tfrac{23}{11}, \ \tfrac{6}{11}, \ \tfrac{7}{11}\right).

Final answer: The intersection point is (2311, 611, 711)\left(\tfrac{23}{11},\ \tfrac{6}{11},\ \tfrac{7}{11}\right).

Angles

  • Between two lines: use the dot product of 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: the angle equals the angle between their normals, found the same way.
  • Between a line and a plane: find the angle ϕ\phi between the line's direction and the plane's normal, then the line-plane angle is 90∘−ϕ90^{\circ} - \phi, since the normal is perpendicular to the plane.
Common errors
Mixing up direction and normal
A line uses a direction vector along it; a plane uses a normal perpendicular to it. The coefficients in n1x+n2y+n3z=dn_1 x + n_2 y + n_3 z = d are the normal, not a direction in the plane.
Line-plane angle formula slip
The dot product of direction and normal gives the complement; the line-plane angle is 90∘90^{\circ} minus that.
Assuming a line must meet a plane
A line parallel to a plane (direction perpendicular to the normal) either misses it entirely or lies inside it. Check whether the equation for tt has a solution.
Forgetting directions are only defined up to scale
Two lines with proportional direction vectors are parallel; do not treat a scalar multiple as a different direction.

Exam-style questions

Questions in the style of SACE Board 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.

SACE 2023-style3 marks
Calculator-assumed. Consider the plane P:x+2y−z=4P: x + 2y - z = 4 and the line ll given by x=1+tx = 1 + t, y=2−2ty = 2 - 2t, z=3−tz = 3 - t. Show that the point of intersection of PP and ll is A(0,4,4)A(0, 4, 4).
Show worked answer →

Substitute the parametric coordinates into the plane equation:

x+2y−z=(1+t)+2(2−2t)−(3−t)=2−2t.x + 2y - z = (1 + t) + 2(2 - 2t) - (3 - t) = 2 - 2t.
[1 mark]

Set equal to 44: 2−2t=42 - 2t = 4, so t=−1t = -1. [1 mark]

Substitute t=−1t = -1: x=0x = 0, y=4y = 4, z=4z = 4. So the intersection is A(0,4,4)A(0, 4, 4), as required. [1 mark]

SACE 2023-style2 marks
Calculator-assumed. For the plane P:x+2y−z=4P: x + 2y - z = 4 and line ll with direction from x=1+tx = 1 + t, y=2−2ty = 2 - 2t, z=3−tz = 3 - t, find the equation of the plane through A(0,4,4)A(0, 4, 4) that is perpendicular to ll.
Show worked answer →

A plane perpendicular to ll has the line's direction as its normal: d=(1,−2,−1)\mathbf{d} = (1, -2, -1). [1 mark]

The plane through A(0,4,4)A(0, 4, 4) with normal (1,−2,−1)(1, -2, -1) is 1(x−0)−2(y−4)−1(z−4)=01(x - 0) - 2(y - 4) - 1(z - 4) = 0, which simplifies to x−2y−z=−12x - 2y - z = -12. [1 mark]

SACE 2021-style2 marks
Calculator-free. Three planes are P1:x+2y+2z=4P_1: x + 2y + 2z = 4, P2:2x+y−2z=5P_2: 2x + y - 2z = 5. Show that P1P_1 and P2P_2 are perpendicular.
Show worked answer →

Two planes are perpendicular when their normals are perpendicular, i.e. the dot product of the normals is zero.

The normals are the coefficients of x,y,zx, y, z: n1=(1,2,2)\mathbf{n}_1 = (1, 2, 2) and n2=(2,1,−2)\mathbf{n}_2 = (2, 1, -2). [1 mark]

n1⋅n2=(1)(2)+(2)(1)+(2)(−2)=2+2−4=0\mathbf{n}_1 \cdot \mathbf{n}_2 = (1)(2) + (2)(1) + (2)(-2) = 2 + 2 - 4 = 0. Since the dot product is zero and neither normal is zero, the planes are perpendicular. [1 mark]

Practise this

Sources & how we know this

ExamExplained