01 / 20

Vector Equations of
Lines & Planes

Master vector and Cartesian representations of lines and planes in 3D space: the language of analytic geometry.

IB Mathematics: Analysis & Approaches AHL 3.11

What Is a Vector Equation?

A vector equation describes every point on a geometric object (line, plane, etc.) using a position vector plus one or more direction vectors scaled by parameters.

Position vector
A known point on the object: \(\mathbf{a}\)
Direction vector
Shows which way the object extends: \(\mathbf{d}\)
Parameter
A scalar \(\lambda \in \mathbb{R}\) that slides along the object

The Vector Line Equation

x y a r \(\lambda\mathbf{d}\) O \(\mathbf{a}\) \(\mathbf{r}\)

As \(\lambda\) varies over all real numbers, the point \(\mathbf{r}\) traces out every position on the line through \(\mathbf{a}\) in the direction of \(\mathbf{d}\).

Parametric & Cartesian Forms

From \(\mathbf{r} = \mathbf{a} + \lambda\,\mathbf{d}\), writing component-by-component gives the parametric equations:

Eliminating \(\lambda\) yields the Cartesian (symmetric) equation:

The Vector Plane Equation

\(\mathbf{a}\) \(\mathbf{b}\) \(\mathbf{c}\) \(\mathbf{n} = \mathbf{b} \times \mathbf{c}\) plane π

The normal vector \(\mathbf{n} = \mathbf{b} \times \mathbf{c}\) is perpendicular to the plane and unlocks the scalar equation.

Normal Vector & Scalar Equation

Any point \(\mathbf{r}\) lies on the plane if and only if the vector from \(\mathbf{a}\) to \(\mathbf{r}\) is perpendicular to the normal:

Expanding with \(\mathbf{n} = \begin{pmatrix} n_1 \\ n_2 \\ n_3 \end{pmatrix}\) gives the Cartesian equation:

Line vs Plane: Key Differences

Line Plane
Parameters 1 parameter (\(\lambda\)) 2 parameters (\(\lambda, \mu\))
Direction vectors 1 direction \(\mathbf{d}\) 2 non-parallel \(\mathbf{b}, \mathbf{c}\)
Normal vector role Perpendicular to line (not unique) Uniquely defines orientation
Cartesian form \(\frac{x-a_1}{d_1}=\frac{y-a_2}{d_2}=\frac{z-a_3}{d_3}\) \(n_1x + n_2y + n_3z = d\)
Dimension 1D in 3D space 2D in 3D space

How to Write Vector Equations

1
Identify a known point on the line or plane. This becomes your position vector \(\mathbf{a}\).
2
Find direction vectors. For a line: one \(\mathbf{d}\). For a plane: two non-parallel vectors \(\mathbf{b}\) and \(\mathbf{c}\).
3
Write the vector equation: \(\mathbf{r} = \mathbf{a} + \lambda\mathbf{d}\) (line) or \(\mathbf{r} = \mathbf{a} + \lambda\mathbf{b} + \mu\mathbf{c}\) (plane).
4
Convert if needed. Expand components for parametric form; eliminate parameters for Cartesian form.
5
For the Cartesian plane equation, compute \(\mathbf{n} = \mathbf{b} \times \mathbf{c}\) then use \(\mathbf{n} \cdot \mathbf{r} = \mathbf{n} \cdot \mathbf{a}\).

Example 1: Line Through Two Points

Problem: Find the vector equation of the line through \(A(1, 3, -2)\) and \(B(4, 1, 5)\).

1
Position vector: Use \(\mathbf{a} = \begin{pmatrix}1\\3\\{-2}\end{pmatrix}\).
2
Direction vector: \(\overrightarrow{AB} = \mathbf{b} - \mathbf{a} = \begin{pmatrix}3\\{-2}\\7\end{pmatrix}\).
3
Vector equation: \(\mathbf{r} = \begin{pmatrix}1\\3\\{-2}\end{pmatrix} + \lambda\begin{pmatrix}3\\{-2}\\7\end{pmatrix}\).

Example 2: Plane Through Three Points

Problem: Find the equation of the plane through \(P(1,0,2)\), \(Q(3,1,1)\), \(R(0,2,3)\).

1
Direction vectors: \(\overrightarrow{PQ} = \begin{pmatrix}2\\1\\{-1}\end{pmatrix}\), \(\overrightarrow{PR} = \begin{pmatrix}{-1}\\2\\1\end{pmatrix}\).
2
Normal: \(\mathbf{n} = \overrightarrow{PQ}\times\overrightarrow{PR} = \begin{pmatrix}(1)(1)-(-1)(2)\\(-1)(-1)-(2)(1)\\(2)(2)-(1)(-1)\end{pmatrix} = \begin{pmatrix}3\\{-1}\\5\end{pmatrix}\).
3
Scalar equation: \(3(x-1) - 1(y-0) + 5(z-2) = 0\), giving \(3x - y + 5z = 13\).

Example 3: Line–Plane Intersection

Problem: Find where the line \(\mathbf{r} = \begin{pmatrix}2\\1\\0\end{pmatrix} + \lambda\begin{pmatrix}1\\{-1}\\3\end{pmatrix}\) meets the plane \(2x + y - z = 5\).

1
Substitute parametric form into the plane equation: \(2(2+\lambda) + (1-\lambda) - (3\lambda) = 5\).
2
Solve: \(4 + 2\lambda + 1 - \lambda - 3\lambda = 5\) gives \(5 - 2\lambda = 5\), so \(\lambda = 0\).
3
Point of intersection: \(\mathbf{r} = \begin{pmatrix}2\\1\\0\end{pmatrix}\). The line meets the plane at \((2, 1, 0)\).

Angle Between a Line and a Plane

π \(\mathbf{d}\) \(\mathbf{n}\) \(\alpha\) \(\theta\)

Between two planes with normals \(\mathbf{n}_1\) and \(\mathbf{n}_2\): \(\cos\theta = \dfrac{|\mathbf{n}_1 \cdot \mathbf{n}_2|}{|\mathbf{n}_1|\,|\mathbf{n}_2|}\).

Distance: Point to Plane

Example: Distance from \(P(1, 2, 3)\) to the plane \(3x - y + 5z = 13\).

1
\(\mathbf{n}\cdot\mathbf{p} = 3(1) - 1(2) + 5(3) = 16\).
2
\(|\mathbf{n}| = \sqrt{9+1+25} = \sqrt{35}\).
3
\(D = \dfrac{|16 - 13|}{\sqrt{35}} = \dfrac{3}{\sqrt{35}} = \dfrac{3\sqrt{35}}{35}\).

Common Mistakes to Avoid

✕ Using a point as a direction
A position vector \(\mathbf{a}\) is a point, not a direction. The direction \(\mathbf{d}\) must come from a difference of two points or be given explicitly.
✕ Parallel direction vectors for a plane
If \(\mathbf{b}\) and \(\mathbf{c}\) are parallel, their cross product is \(\mathbf{0}\) and the plane is undefined. Always check \(\mathbf{b}\times\mathbf{c}\neq\mathbf{0}\).
✕ Forgetting absolute value in angle/distance
The formulas for angle between a line and plane, and point-to-plane distance, require \(|\mathbf{d}\cdot\mathbf{n}|\) (absolute value), not the signed dot product.

Summary of All Forms

Form Line Plane
Vector \(\mathbf{r}=\mathbf{a}+\lambda\mathbf{d}\) \(\mathbf{r}=\mathbf{a}+\lambda\mathbf{b}+\mu\mathbf{c}\)
Parametric \(x=a_1+\lambda d_1\), etc. \(x=a_1+\lambda b_1+\mu c_1\), etc.
Cartesian \(\frac{x-a_1}{d_1}=\frac{y-a_2}{d_2}=\frac{z-a_3}{d_3}\) \(n_1x+n_2y+n_3z=d\)
Key vector Direction \(\mathbf{d}\) Normal \(\mathbf{n}=\mathbf{b}\times\mathbf{c}\)
Angle formula \(\cos\theta = \frac{|\mathbf{d}_1\cdot\mathbf{d}_2|}{|\mathbf{d}_1||\mathbf{d}_2|}\) \(\cos\theta = \frac{|\mathbf{n}_1\cdot\mathbf{n}_2|}{|\mathbf{n}_1||\mathbf{n}_2|}\)

Question 1 of 5

Which of the following is the vector equation of the line through \((2, -1, 3)\) with direction \(\begin{pmatrix}1\\4\\{-2}\end{pmatrix}\)?

Question 2 of 5

A plane has normal vector \(\begin{pmatrix}2\\{-3}\\1\end{pmatrix}\) and passes through \((1, 0, 4)\). What is its Cartesian equation?

Question 3 of 5

The line \(\mathbf{r} = \begin{pmatrix}0\\1\\2\end{pmatrix} + \lambda\begin{pmatrix}1\\{-1}\\1\end{pmatrix}\) meets the plane \(x + y + z = 6\). What is the value of \(\lambda\) at the intersection?

Question 4 of 5

What is the perpendicular distance from the point \((3, 1, -1)\) to the plane \(2x - 2y + z = 5\)?

Question 5 of 5

Two planes have normals \(\begin{pmatrix}1\\0\\{-1}\end{pmatrix}\) and \(\begin{pmatrix}0\\1\\1\end{pmatrix}\). The acute angle between the planes is: