IB MATHEMATICS: ANALYSIS AND APPROACHES • GEOMETRY AND TRIGONOMETRY

Vector Equations of Lines & Planes — AHL 3.11 Vector and Cartesian equations of lines and planes (HL)

Master the language of vectors to describe lines and planes in two and three dimensions.

Historical Context & Motivation

For centuries, mathematicians described lines and planes using traditional coordinate geometry — slope-intercept forms and systems of linear equations. These methods work well in two dimensions, but become cumbersome and sometimes inadequate when you move into three-dimensional space. The development of vector algebra provided an elegant and powerful alternative. Vectors let us encode both direction and position in a single mathematical object, making it far easier to describe geometric shapes in any number of dimensions.

1637
Descartes and Coordinate Geometry
René Descartes published La Géométrie, introducing the Cartesian coordinate system. This allowed geometric shapes to be described using algebraic equations for the first time.
1843
Hamilton's Quaternions
William Rowan Hamilton invented quaternions — a number system extending complex numbers into higher dimensions. This work laid the groundwork for modern vector analysis and showed that algebraic objects could represent spatial directions.
1844
Grassmann's Extension Theory
Hermann Grassmann published his theory of "extensive magnitudes," a highly abstract framework for working with vectors and higher-dimensional spaces. Though initially overlooked, his ideas became foundational to linear algebra.
1880s
Gibbs and Heaviside Formalize Vectors
Josiah Willard Gibbs and Oliver Heaviside independently extracted the vector system we use today from Hamilton's quaternions. They defined the dot product, cross product, and vector notation that became standard in mathematics and physics.
1900s–present
Vectors in Modern Applications
Vector equations of lines and planes became essential tools in computer graphics, aviation navigation, robotics, and physics simulations. Every 3D video game engine relies on these very equations to render scenes and detect collisions.

The central question this topic addresses is: How can we describe lines and planes in three-dimensional space using a single, unified framework? Cartesian equations like y = mx + b are familiar, but they only handle lines in 2D easily. In 3D, a line can't be described by one simple equation — you need a system. Vectors solve this problem by packaging a point on the line plus a direction into one compact expression.

Core Principles & Definitions

Before diving into equations, you need to understand the building blocks. A position vector describes the location of a point relative to the origin. A direction vector tells you which way a line points. A normal vector is perpendicular to a surface and defines the orientation of a plane. These three types of vectors are the foundation of everything in this topic.

1

Position Vector

A vector from the origin O to a specific point P. Written as r = (x, y, z), it pins down exactly where a point sits in space.
2

Direction Vector

A vector d that indicates the orientation of a line. Any scalar multiple of d gives the same line direction — only the ratio of components matters.
3

Normal Vector

A vector n that is perpendicular to a plane. It uniquely determines the plane's tilt in space. Combined with one point on the plane, it fully specifies the plane.
4

Parameter (λ or t)

A scalar variable that "slides" you along a line. As the parameter changes from −∞ to +∞, you trace out every point on the line. Think of it as a slider control.
5

Scalar (Dot) Product

The operation a · b = |a||b|cos θ. When the dot product equals zero, the vectors are perpendicular — a fact used constantly when working with planes and normal vectors.
KEY TAKEAWAY
Think of a vector equation of a line like a set of GPS directions: "Start at this point, then walk in this direction." The position vector is your starting location, the direction vector is which way you walk, and the parameter tells you how far you've walked. Every point on the line is reachable by choosing the right value of the parameter.

Visual Explanation — Lines in 3D

The diagram shows a 3D coordinate system with origin O. The position vector a (cyan) points from O to the known point A. The direction vector d (violet, dashed) extends from A. By varying the parameter λ, the general point P slides along the pink line in both directions. The golden dashed vector shows the complete equation r = a + λd.

The diagram above captures the key idea. Every point P on a line can be reached by starting at a known point A and traveling some distance along the direction vector d. The parameter λ controls how far you travel: positive values go one way, negative values go the other, and λ = 0 brings you right back to point A. This single equation r = a + λd replaces the need for separate x, y, and z equations, making it compact and versatile.

📘 IB Notation Note
In IB exams, you may see the parameter written as λ (lambda) or t. Both serve the same purpose. The IB formula booklet uses r = a + λb where b is the direction vector. Some textbooks use d instead. They mean exactly the same thing.

Mathematical Framework

Vector Equation of a Line

VECTOR EQUATION OF A LINE
r = a + λd
r = position vector of a general point on the line, a = position vector of a known point on the line, d = direction vector of the line, λ ∈ ℝ (the parameter).

When you expand this vector equation using components, you get the parametric equations of the line. If the known point is A = (x₁, y₁, z₁) and the direction vector is d = (a, b, c), then the parametric form separates each coordinate.

PARAMETRIC EQUATIONS OF A LINE
x = x₁ + λa, y = y₁ + λb, z = z₁ + λc
Each coordinate is expressed as a linear function of the parameter λ. Eliminating λ gives the Cartesian form.

By solving each parametric equation for λ and setting them equal, you obtain the Cartesian equation of a line in 3D.

CARTESIAN EQUATION OF A LINE IN 3D
(x − x₁) / a = (y − y₁) / b = (z − z₁) / c
Here (x₁, y₁, z₁) is a point on the line and (a, b, c) is the direction vector. If any component of d is zero, the corresponding numerator must also be zero (e.g., if a = 0, then x = x₁).

Equations of a Plane

A plane requires a different approach. Instead of a direction vector, a plane is defined by a normal vector — a vector perpendicular to the plane. If n is the normal vector and a is the position vector of a known point on the plane, then any point r on the plane satisfies the condition that the vector (r − a) is perpendicular to n.

VECTOR EQUATION OF A PLANE (SCALAR PRODUCT FORM)
r · n = a · n
r = position vector of a general point on the plane, n = normal vector to the plane, a = position vector of a known point. Often written as r · n = d where d = a · n is a constant.
CARTESIAN EQUATION OF A PLANE
ax + by + cz = d
Where n = (a, b, c) is the normal vector, and d = a·x₁ + b·y₁ + c·z₁ for any known point (x₁, y₁, z₁) on the plane. The coefficients of x, y, z directly give the components of the normal vector.
💡 Connecting Forms
To go from the Cartesian equation 3x − 2y + 5z = 7 to the normal vector, simply read off the coefficients: n = (3, −2, 5). Conversely, if you know the normal vector and a point, you can find d by substituting the point's coordinates.

Planes — Visual Breakdown & Alternative Forms

This diagram shows a plane Π with a known point A. The normal vector n (pink) points straight up from the plane, perpendicular to it. Two direction vectors d₁ and d₂ lie within the plane. The small square symbol at A indicates the 90° angle between the normal and the plane. The two equation forms are shown at the bottom.

There are two main ways to write the equation of a plane in vector form. The first uses the scalar product (dot product) form: r · n = a · n, which relies on the normal vector. The second is the parametric form: r = a + λd₁ + μd₂, which uses two non-parallel direction vectors lying in the plane. The IB syllabus focuses primarily on the scalar product form and the corresponding Cartesian equation.

A critical skill is converting between these forms. If you're given a Cartesian equation like 2x − 3y + z = 8, the normal vector is simply n = (2, −3, 1). To find a specific point on the plane, set two variables to zero: if x = 0 and y = 0, then z = 8, giving you the point (0, 0, 8). Conversely, if you have two direction vectors in the plane, you can find the normal vector by computing the cross product d₁ × d₂.

Summary of all equation forms for lines and planes in 3D
FormEquationWhat You Need
Vector (line)r = a + λdA point on the line + a direction vector
Parametric (line)x = x₁ + λa, y = y₁ + λb, z = z₁ + λcSame — expanded into components
Cartesian (line)(x−x₁)/a = (y−y₁)/b = (z−z₁)/cSame — parameter λ eliminated
Scalar product (plane)r · n = dA normal vector + a point on the plane
Cartesian (plane)ax + by + cz = dNormal vector n = (a, b, c) + constant d
Parametric (plane)r = a + λd₁ + μd₂A point + two non-parallel direction vectors in the plane

Worked Example

Worked Example 1 — Finding the Equation of a Line
1
Step 1 — Identify the given informationA line passes through the points A(2, −1, 3) and B(5, 3, −1). We need to find the vector equation, parametric equations, and Cartesian equation of this line.
2
Step 2 — Find the direction vectorThe direction vector is found by subtracting the position vectors: d = B − A = (5 − 2, 3 − (−1), −1 − 3) = (3, 4, −4).
d = (3, 4, −4)
3
Step 3 — Write the vector equationUsing point A as the known point, the position vector a = (2, −1, 3). The vector equation is r = a + λd.
r = (2, −1, 3) + λ(3, 4, −4)
4
Step 4 — Write the parametric equationsExpanding the vector equation into components: x = 2 + 3λ, y = −1 + 4λ, z = 3 − 4λ.
x = 2 + 3λ, y = −1 + 4λ, z = 3 − 4λ
5
Step 5 — Write the Cartesian equationSolve each parametric equation for λ and set them equal: λ = (x − 2)/3 = (y + 1)/4 = (z − 3)/(−4).
(x − 2)/3 = (y + 1)/4 = (z − 3)/(−4)
Worked Example 2 — Finding the Equation of a Plane
1
Step 1 — Identify the given informationFind the equation of the plane that passes through the point P(1, 2, −3) with normal vector n = (4, −1, 2).
2
Step 2 — Use the scalar product formThe vector equation of a plane is r · n = a · n. We first compute a · n where a = (1, 2, −3). So a · n = (1)(4) + (2)(−1) + (−3)(2) = 4 − 2 − 6 = −4.
r · (4, −1, 2) = −4
3
Step 3 — Convert to Cartesian formSince r = (x, y, z), the dot product r · n = 4x − y + 2z. Setting this equal to −4 gives the Cartesian equation.
4x − y + 2z = −4
4
Step 4 — Verify with the given pointSubstitute P(1, 2, −3): 4(1) − (2) + 2(−3) = 4 − 2 − 6 = −4 ✓. The point satisfies the equation, confirming our answer is correct.
Verified: 4(1) − 2 + 2(−3) = −4 ✓

Strengths & Limitations of Each Form

Each equation form has specific advantages. Knowing when to use which form is just as important as knowing how to write them. The vector form is ideal for conceptual understanding and for problems involving angles and intersections. The Cartesian form is often more convenient for substituting coordinates or solving systems of equations. The parametric form bridges the two and is especially useful when you need to describe motion along a line.

When to use each equation form
FormStrengthsLimitations
Vector (r = a + λd)Compact; works in any dimension; direction is immediately visible; useful for finding angles between linesCannot directly substitute individual coordinates; harder to use when solving simultaneous equations
ParametricShows each coordinate separately; easy to find specific points by choosing λ; models motion over timeLess compact; the parameter must be consistent across all three equations
Cartesian (line)No parameter needed; good for checking if a point lies on the lineBreaks down when a direction component is zero; less intuitive in higher dimensions
Cartesian (plane)Normal vector read directly from coefficients; easy to solve systems; familiar form from algebraDoesn't immediately show a point on the plane; direction vectors not visible
Scalar product (plane)Shows perpendicularity condition clearly; elegant for angle calculations between planesRequires familiarity with dot product; not always recognized by students initially
KEY TAKEAWAY
Think of the different equation forms like different languages describing the same object. The vector form is like giving directions ("start here, go that way"). The Cartesian form is like giving an address (a single equation that every point on the object satisfies). Being fluent in converting between them is the key skill for IB exams.

Connections to Advanced Topics

The equations of lines and planes in this topic form the foundation for several advanced concepts you'll encounter later in the IB HL syllabus and in university mathematics. Understanding how lines and planes are described by vectors opens the door to solving intersection problems, computing distances, and analyzing angles in three-dimensional space.

How this topic connects to further study
This Topic (AHL 3.11)Advanced Extension
Vector equation of a line r = a + λdFinding intersections of two lines, determining if lines are parallel, skew, or intersecting (AHL 3.12)
Cartesian equation of a plane ax + by + cz = dSolving systems of three planes (AHL 1.16), Gaussian elimination, and analyzing unique, infinite, or no solutions
Normal vectors to planesAngle between two planes (dihedral angle), angle between a line and a plane (AHL 3.12)
Scalar product form r · n = dDistance from a point to a plane, reflection of a point in a plane — university-level linear algebra
Parametric form of a plane r = a + λd₁ + μd₂Parametric surfaces in multivariable calculus, computer graphics rendering

In your IB exam, the most common follow-up questions involve finding where a line meets a plane (substitute the parametric equations of the line into the Cartesian equation of the plane), finding the angle between two lines (using the dot product of their direction vectors), and determining whether two lines are parallel, intersecting, or skew (neither parallel nor intersecting — a uniquely 3D phenomenon). Mastering the forms in this topic gives you the toolkit for all of these.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain why a line in 3D space requires a position vector and a direction vector to be fully defined, while a plane requires a position vector and a normal vector. Why can't a single direction vector define a plane?
PROBLEM 2BASIC CALCULATION
Find the vector equation, parametric equations, and Cartesian equation of the line passing through A(1, 0, −2) and B(3, 4, 2).
PROBLEM 3INTERMEDIATE
A plane passes through the points P(1, 2, 3), Q(3, −1, 2), and R(2, 0, 5). Find the Cartesian equation of the plane.
PROBLEM 4APPLIED
A drone flies along the path r = (2, 1, 5) + t(1, −1, 2), where distances are in kilometres and t is measured in minutes. A flat restricted zone is defined by the plane 2x − y + z = 12. At what time t does the drone enter the restricted zone, and what are its coordinates at that moment?
PROBLEM 5CRITICAL THINKING
Two lines are given: L₁: r = (1, 2, 3) + λ(2, 1, −1) and L₂: r = (3, 4, 1) + μ(4, 2, −2). Show that these lines are not the same line, yet they never intersect. What geometric relationship do they have? Could two lines in 2D have this same relationship?

Lesson Summary

In this lesson, you learned how to describe lines in three-dimensional space using the vector equation r = a + λd, where a is a position vector and d is a direction vector. You saw how to convert this into parametric equations (x = x₁ + λa, y = y₁ + λb, z = z₁ + λc) and the Cartesian form (x − x₁)/a = (y − y₁)/b = (z − z₁)/c by eliminating the parameter λ.

For planes, the key concept is the normal vector n, which is perpendicular to the plane. The scalar product form r · n = d and Cartesian form ax + by + cz = d are the two primary representations. The coefficients in the Cartesian equation directly give the components of the normal vector. Converting between vector, parametric, and Cartesian forms — for both lines and planes — is the essential skill tested in the IB HL exam for AHL 3.11.

Varsity Tutors • IB Mathematics: Analysis and Approaches • Vector Equations of Lines & Planes — AHL 3.11