01 / 20

Vector Lines
& Planes

Master the vector equation of a line and the equation of a plane in 3D space: the foundational tools for analytic geometry at Higher Level.

IB Math AI HL

What Is a Position Vector?

Every point in 3D space can be described by a position vector from the origin. If point \( A \) has coordinates \( (a_1, a_2, a_3) \), its position vector is:

Position vectors let us translate geometric problems into algebraic operations: addition, scalar multiplication, and dot/cross products.

Direction Vectors in 3D

x z y A B
\(\mathbf{a}\)
\(\mathbf{d} = \mathbf{b} - \mathbf{a}\)
O

Why Use Vectors for Geometry?

Dimension-Free
The same vector equation works in 2D, 3D, and beyond: no need for separate formulas.
Parametric Power
A single parameter \( \lambda \) traces out every point on a line: easy to find intersections and distances.
Physical Meaning
Vectors model real motion: position, velocity, and direction all in one compact notation.

Vector Equation of a Line

1
\( \mathbf{a} \): the position vector of a known point on the line.
2
\( \mathbf{d} \): the direction vector of the line (any non-zero scalar multiple works).
3
\( \lambda \): a real parameter. Each value of \( \lambda \) gives a unique point on the line.

When \( \lambda = 0 \) you get point \( A \). As \( \lambda \) increases or decreases, you move along the line in the direction of \( \mathbf{d} \) or \( -\mathbf{d} \).

Visualising \( \mathbf{r} = \mathbf{a} + \lambda\,\mathbf{d} \)

O
\(\mathbf{a}\)
A
\(\lambda = 0\)
\(\mathbf{d}\)
\(\lambda = 1\)
\(\lambda = 2\)
\(\mathbf{r} = \mathbf{a} + 2\mathbf{d}\)
\(\lambda = -0.5\)

Parametric vs Cartesian Form

Parametric Cartesian (Symmetric)
Form \( x = a_1 + \lambda d_1 \), \( y = a_2 + \lambda d_2 \), \( z = a_3 + \lambda d_3 \) \( \frac{x - a_1}{d_1} = \frac{y - a_2}{d_2} = \frac{z - a_3}{d_3} \)
Parameter \( \lambda \) explicit \( \lambda \) eliminated
Use case Finding specific points, intersections Quick recognition, IB formula booklet
Caveat None Fails if any \( d_i = 0 \)

The Equation of a Plane

A plane in 3D is a flat surface extending infinitely. To define it we need:

A Point
A known position vector \( \mathbf{a} \) of a point on the plane.
A Normal
A vector \( \mathbf{n} \) perpendicular to the plane's surface.

Visualising the Plane Equation

A
\(\mathbf{n}\)
R
\(\mathbf{r} - \mathbf{a}\)
Any vector in the plane is perpendicular to n

Line vs Plane: Key Differences

Line Plane
Dimension 1D (curve in space) 2D (surface in space)
Defined by Point + direction \( \mathbf{d} \) Point + normal \( \mathbf{n} \)
Key vector \( \mathbf{d} \) is parallel to the line \( \mathbf{n} \) is perpendicular to the plane
Equation form \( \mathbf{r} = \mathbf{a} + \lambda\mathbf{d} \) \( \mathbf{r} \cdot \mathbf{n} = d \)
Parameters 1 parameter (\( \lambda \)) 0 parameters (implicit)

How to Write Vector Equations

1
Identify a point on the line/plane. Write its position vector \( \mathbf{a} \).
2
For a line: find the direction vector \( \mathbf{d} \) (subtract two points, or read from context).
3
For a plane: find the normal \( \mathbf{n} \) (given, or use cross product of two in-plane vectors).
4
Assemble: Line: \( \mathbf{r} = \mathbf{a} + \lambda\mathbf{d} \). Plane: \( \mathbf{r} \cdot \mathbf{n} = \mathbf{a} \cdot \mathbf{n} \).
5
Verify: Substitute the known point back into your equation to check it works.

Example 1: Line Through Two Points

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

1
Choose a point: \( \mathbf{a} = \begin{pmatrix}1\\3\\-2\end{pmatrix} \)
2
Direction: \( \mathbf{d} = \mathbf{b} - \mathbf{a} = \begin{pmatrix}3\\-4\\7\end{pmatrix} \)
3
Equation: \( \mathbf{r} = \begin{pmatrix}1\\3\\-2\end{pmatrix} + \lambda\begin{pmatrix}3\\-4\\7\end{pmatrix} \)

Example 2: Equation of a Plane

Find the equation of the plane containing \( A(2, 0, 1) \) with normal \( \mathbf{n} = \begin{pmatrix}3\\-1\\2\end{pmatrix} \).

1
Compute \( d \): \( d = \mathbf{a} \cdot \mathbf{n} = (2)(3) + (0)(-1) + (1)(2) = 8 \)
2
Write the equation: \( \mathbf{r} \cdot \begin{pmatrix}3\\-1\\2\end{pmatrix} = 8 \)
3
Cartesian form: \( 3x - y + 2z = 8 \)

Example 3: Plane from Three Points

Find the equation of the plane through \( P(1,2,0) \), \( Q(3,1,-1) \), and \( R(0,4,2) \).

1
Two in-plane vectors: \( \vec{PQ} = \begin{pmatrix}2\\-1\\-1\end{pmatrix} \), \( \vec{PR} = \begin{pmatrix}-1\\2\\2\end{pmatrix} \)
2
Normal (cross product): \( \mathbf{n} = \vec{PQ} \times \vec{PR} = \begin{pmatrix}(-1)(2)-(-1)(2)\\(-1)(-1)-(2)(2)\\(2)(2)-(-1)(-1)\end{pmatrix} = \begin{pmatrix}0\\-3\\3\end{pmatrix} \)
3
Simplify: \( \mathbf{n} = \begin{pmatrix}0\\-1\\1\end{pmatrix} \), \( d = \mathbf{p} \cdot \mathbf{n} = 0 - 2 + 0 = -2 \)
4
Equation: \( -y + z = -2 \), or equivalently \( y - z = 2 \)

Common Mistakes to Avoid

✕ Swapping d and n
Using the normal as the direction for a line, or the direction as the normal for a plane. Remember: d is parallel to the line, n is perpendicular to the plane.
✕ Wrong subtraction order
Computing \( \mathbf{a} - \mathbf{b} \) instead of \( \mathbf{b} - \mathbf{a} \). This reverses direction: it still gives a valid line, but can cause sign errors in intersections.
✕ Forgetting to verify
Not substituting a known point back in to check. Always verify: plug in \( \lambda = 0 \) for lines, or the given point for planes.

Summary: Key Formulas

Object Vector Form Cartesian Form
Line \( \mathbf{r} = \mathbf{a} + \lambda\mathbf{d} \) \( \frac{x-a_1}{d_1} = \frac{y-a_2}{d_2} = \frac{z-a_3}{d_3} \)
Plane \( \mathbf{r} \cdot \mathbf{n} = \mathbf{a} \cdot \mathbf{n} \) \( n_1 x + n_2 y + n_3 z = d \)
Normal from 3 pts \( \mathbf{n} = \vec{PQ} \times \vec{PR} \) Expand cross product components
Point on line Set \( \lambda = t \), compute \( \mathbf{a} + t\mathbf{d} \) Parametric: solve for \( x, y, z \)

Question 1 of 5

A line passes through \( A(2, -1, 3) \) and \( B(5, 2, -1) \). What is the direction vector \( \mathbf{d} \)?

Question 2 of 5

Which of the following is the Cartesian equation of a plane with normal \( \mathbf{n} = \begin{pmatrix}1\\-2\\3\end{pmatrix} \) passing through \( (0, 1, -1) \)?

Question 3 of 5

The line \( \mathbf{r} = \begin{pmatrix}1\\0\\2\end{pmatrix} + \lambda\begin{pmatrix}2\\1\\-1\end{pmatrix} \). Which point lies on this line?

Question 4 of 5

To find the normal vector to a plane defined by three points \( P, Q, R \), you compute:

Question 5 of 5

In the vector equation of a line \( \mathbf{r} = \mathbf{a} + \lambda\mathbf{d} \), the parameter \( \lambda \) represents: