IB Mathematics: Applications and Interpretation • Geometry and Trigonometry

Vector Lines & Planes — AHL 3.7 Lines and planes using vectors (HL) (intro)

Describe lines and planes in three-dimensional space using position vectors and direction vectors.

IB Mathematics Applications and Interpretation emblem with a scatter plot, calculator, and data chart
Inside this lesson 10 sections 5 questions 8 figures

SECTION 1

Historical Context & Motivation

For centuries, mathematicians described lines and planes using coordinate equations — systems of variables like x, y, and z linked by algebraic relationships. While this Cartesian approach works well in two dimensions, describing objects in three-dimensional space quickly becomes cumbersome. Vector geometry arose from the desire to represent lines and planes using a more compact, direction-focused language — one that makes 3D geometry feel as natural as pointing your finger in a direction and walking forward.

1637 • Descartes & Coordinate Geometry

René Descartes published La Géométrie, merging algebra and geometry into the Cartesian coordinate system. Lines became equations, but extending the idea to 3D was unwieldy.

1843 • Hamilton's Quaternions

William Rowan Hamilton invented quaternions, a number system that extended complex numbers to three dimensions. This was an early attempt to capture direction and magnitude algebraically.

1844 • Grassmann's Extension Theory

Hermann Grassmann developed a theory of "extensive magnitudes" — abstract objects with direction and length — laying the groundwork for modern vector spaces.

1880s • Gibbs & Heaviside Formalize Vectors

Josiah Willard Gibbs and Oliver Heaviside distilled quaternions into the vector notation we use today: bold-letter symbols with components, dot products, and cross products.

20th C • Vectors in Modern Applications

Vector descriptions of lines and planes became essential in computer graphics, robotics, physics engines, and aviation — any field that needs to describe objects moving through 3D space.

The central question this topic addresses is: How can we describe a line or a plane in 3D space using just a point and a direction? Instead of juggling multiple coordinate equations, vector forms let you specify where something is, which way it points, and how far along it you've traveled — all in a single elegant expression.

SECTION 2

Core Principles & Definitions

Before diving into equations, you need to be comfortable with a handful of foundational ideas. Each of these builds on your existing knowledge of vectors — adding, scaling, and interpreting them geometrically — and extends it into the language of lines and planes.

1

Position Vector

A position vector describes a fixed point in space relative to the origin. Written as a = (a₁, a₂, a₃), it tells you exactly where to place your "starting point" on a line or plane.
2

Direction Vector

A direction vector d tells you which way a line runs. Any non-zero scalar multiple of d gives the same line — only the direction matters, not the magnitude.
3

Normal Vector

A normal vector n is perpendicular to every direction that lies within a plane. It uniquely determines the plane's orientation, like a flagpole sticking straight up from a tabletop.
4

Parameter (λ or t)

The parameter λ (lambda) is a real number that slides you along a line. When λ = 0 you're at the known point; as λ increases or decreases, you move forward or backward along the direction vector.
5

Scalar (Dot) Product Connection

The scalar product a · b = 0 when two vectors are perpendicular. This fact underpins the equation of a plane: any vector lying in the plane is perpendicular to the normal.
✦

KEY TAKEAWAY

Think of a vector line equation like a set of GPS directions: "Start at this location (position vector), then walk in this direction (direction vector) for some number of steps (parameter λ)." The equation r = a + λd gives every possible destination. A plane equation is similar, but instead of choosing a direction to walk along, you specify which way is "straight up" from the surface (the normal) and insist that you stay on the flat surface.

SECTION 3

Visual Explanation — Lines in 3D

Vector Equation of a Line: r = a + λdxzyOA (point on line)a (position vector)d (direction vector)Line Lr = a + λdGeneral point P (λ = 1)λ = 0.5λ = −0.5
The diagram shows the origin O, the position vector a (blue arrow) pointing to point A on line L, and the direction vector d (violet arrow). The dashed gold line is the full line L. As the parameter λ varies, you slide from A in both directions along d. The green arrow shows the position vector r of a general point P (when λ = 1).

Look at the diagram above. The position vector a anchors you at a specific point A on the line. From there, the direction vector d tells you which way the line extends. By multiplying d by different values of the parameter λ, you generate every point on the line. Positive λ moves you forward along the direction; negative λ moves you backward. The resulting expression r = a + λd is the vector equation of the line — a single compact formula that replaces the two separate Cartesian equations you'd need in 3D.

SECTION 4

Mathematical Framework

Vector Equation of a Line

VECTOR LINE EQUATION

r=a+λdr = a + λd

r = position vector of any point on the line; a = position vector of a known point on the line; d = direction vector of the line; λ = real-valued parameter (scalar).

In component form, if a = (a₁, a₂, a₃) and d = (d₁, d₂, d₃), then the vector equation expands to three parametric equations:

PARAMETRIC EQUATIONS OF A LINE

x=a1+λd1,y=a2+λd2,z=a3+λd3x = a₁ + λd₁ , y = a₂ + λd₂ , z = a₃ + λd₃

Each coordinate is expressed independently in terms of the same parameter λ. Eliminating λ between pairs of equations gives the Cartesian form (not required at this introductory stage).

Vector Equation of a Plane

SCALAR PRODUCT (NORMAL) FORM OF A PLANE

r⋅n=a⋅nr · n = a · n

r = position vector of any point on the plane; n = normal vector (perpendicular to the plane); a = position vector of a known point on the plane. The dot product a · n evaluates to a constant scalar, often written as D.

CARTESIAN FORM OF A PLANE

n1x+n2y+n3z=Dn₁x + n₂y + n₃z = D

This is the expanded scalar product form, where (n₁, n₂, n₃) are the components of n and D = a · n. You can read the normal vector directly from the coefficients of x, y, and z.

💡

IB Exam Tip

In the IB formula booklet, you'll find r = a + λb for a line and r · n = a · n for a plane. Make sure you can identify which vector is the direction/normal and which is the known point. On Paper 2 and Paper 3, always define your variables before substituting.

SECTION 5

Detailed Breakdown — Understanding Planes

A plane in three-dimensional space is a flat, infinite surface — imagine a perfectly flat sheet of glass extending forever in every direction. While a line needs only one direction vector, a plane is defined by its orientation, which is captured by a single normal vector that stands perpendicular to every direction within the plane. The diagram below illustrates how the normal vector relates to the plane and to position vectors of points on it.

Plane with Normal Vector: r · n = a · nPlane ΠxzyOAan (normal)Prr − a90°
The plane Π (shaded region) contains points A and P. The normal vector n (pink) sticks straight up from A, perpendicular to the plane. The vector r − a (dashed amber) lies inside the plane, so (r − a) · n = 0, which rearranges to r · n = a · n.

The key geometric insight is this: any vector that lies within the plane must be perpendicular to the normal. Since r − a connects two points on the plane, it lies entirely within the plane. The perpendicularity condition is expressed by the dot product equaling zero: (r − a) · n = 0. Distributing the dot product and rearranging gives r · n = a · n, the scalar product form of the plane equation.

ℹ

How to Find a Normal Vector

If you're given the Cartesian equation of a plane, say 3x − 2y + 5z = 7, the normal vector is simply n = (3, −2, 5) — the coefficients of x, y, and z. If instead you know two direction vectors lying in the plane, you can find the normal by computing their cross product (a topic explored in later sections of AHL 3.7).

SECTION 6

Worked Example

Finding the Vector Equation of a Line Through Two Points

  1. 1

    Step 1 — State the Problem

    Find the vector equation of the line passing through A(2, −1, 3) and B(5, 3, −1).
  2. 2

    Step 2 — Identify a Position Vector

    Choose either point as the known point. Using A, the position vector is a = (2, −1, 3).
    a = (2, −1, 3)
  3. 3

    Step 3 — Find the Direction Vector

    The direction vector is the vector from A to B: d = b − a = (5 − 2, 3 − (−1), −1 − 3) = (3, 4, −4).
    d = (3, 4, −4)
  4. 4

    Step 4 — Write the Vector Equation

    Substitute into r = a + λd:
    r = (2, −1, 3) + λ(3, 4, −4)
  5. 5

    Step 5 — Verify with a Check

    When λ = 0: r = (2, −1, 3) = A ✓. When λ = 1: r = (2 + 3, −1 + 4, 3 − 4) = (5, 3, −1) = B ✓. Both given points lie on the line, confirming the equation is correct.
    Verified: line passes through both A and B.

Finding the Cartesian Equation of a Plane

  1. 1

    Step 1 — State the Problem

    A plane passes through the point A(1, 2, −3) and has normal vector n = (4, −1, 2). Find the equation of the plane.
  2. 2

    Step 2 — Compute a · n

    a · n = (1)(4) + (2)(−1) + (−3)(2) = 4 − 2 − 6 = −4.
    a · n = −4
  3. 3

    Step 3 — Write the Vector Form

    Using r · n = a · n, the equation becomes r · (4, −1, 2) = −4.
  4. 4

    Step 4 — Expand to Cartesian Form

    Replacing r with (x, y, z) and computing the dot product gives:
    4x − y + 2z = −4

SECTION 7

Comparing Line & Plane Representations

You may wonder: why bother learning vector forms when you already know Cartesian equations? The table below highlights the strengths and limitations of each representation, helping you choose the right tool for each problem.

FeatureVector FormCartesian Form
Number of equations (line in 3D)One vector equation: r = a + λdTwo simultaneous equations relating x, y, z
Finding a specific pointSubstitute any λ value — quick and directChoose one variable, solve for the other two — more steps
Direction of a lineRead directly from the direction vector dMust extract from coefficients
Normal of a planeRead directly from n in r · n = DRead from coefficients of x, y, z (equally direct)
Best suited for...3D geometry, angles between lines/planes, parametric problemsAlgebraic substitution, graphing in 2D

Comparison of vector and Cartesian representations

✦

KEY TAKEAWAY

Think of the vector form as a recipe that says, "Start here, go this way." The Cartesian form is more like a membership test: "Is this point on the line or plane? Plug in and check." Both describe the same object, but the vector form excels in 3D because it packages position, direction, and distance into one tidy expression. In the IB, most HL geometry questions are designed to be solved more efficiently using vector forms.

SECTION 8

Connection to Advanced Topics

The introductory concepts of vector lines and planes form the foundation for a rich collection of further topics in AHL 3.7 and beyond. Once you're comfortable writing and interpreting these equations, you'll be ready to tackle problems involving angles, intersections, and distances — all of which rely on the same core ideas of position vectors, direction vectors, and normal vectors.

This Lesson (Intro)Next Steps (AHL 3.7 continued)
Write vector equation of a line through two pointsFind the angle between two lines using dot product of direction vectors
Write equation of a plane given a point and normalFind the angle between a line and a plane, or between two planes
Understand parameterisation (λ slides along a line)Find the intersection point of a line and a plane by solving for λ
Recognise the normal vector from a Cartesian plane equationDetermine whether two lines are parallel, intersecting, or skew

How introductory concepts extend to advanced problems

Beyond the IB syllabus, vector descriptions of lines and planes are the backbone of linear algebra at university, computer graphics (ray tracing in video games uses exactly the intersection of a line with a plane), and physics (describing trajectories and electromagnetic field boundaries). Mastering these basics now gives you a serious head start.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

In the vector equation of a line r = a + λd, explain in your own words what happens geometrically as the parameter λ changes from negative to positive values. Why does this single equation produce every point on the line?
Show answer
When λ = 0 you are at the known point A (with position vector a). As λ increases positively, you move along the direction vector d — each unit increase in λ adds one full copy of d to your position. As λ becomes negative, you travel in the opposite direction. Because λ is a real number that can take any value from −∞ to +∞, the equation generates every single point on the infinite line. Essentially, λ acts like a sliding scale along the line.

Question 2: BASIC CALCULATION

A line passes through the points P(1, 4, −2) and Q(3, 0, 6). Write the vector equation of the line.
Show answer
Choose P as the known point, so a = (1, 4, −2). The direction vector is d = Q − P = (3 − 1, 0 − 4, 6 − (−2)) = (2, −4, 8). Therefore the vector equation is r = (1, 4, −2) + λ(2, −4, 8). You may simplify the direction vector by dividing by 2 to get (1, −2, 4), which is equally valid since any scalar multiple of d defines the same line.

Question 3: INTERMEDIATE

A plane passes through the point A(2, −1, 5) and has normal vector n = (3, 2, −1). (a) Write the equation of the plane in the form r · n = D. (b) Hence write the Cartesian equation. (c) Determine whether the point B(1, 1, 2) lies on the plane.
Show answer
(a) D = a · n = (2)(3) + (−1)(2) + (5)(−1) = 6 − 2 − 5 = −1. So the equation is r · (3, 2, −1) = −1. (b) Expanding: 3x + 2y − z = −1. (c) Substitute B: 3(1) + 2(1) − 2 = 3 + 2 − 2 = 3 ≠ −1, so B does not lie on the plane.

Question 4: APPLIED

A drone flies in a straight line from the point (10, 20, 50) with velocity vector (−3, 5, 2) metres per second, where the coordinates are measured in metres (x = east, y = north, z = altitude). (a) Write a vector equation modelling the drone's position at time t seconds. (b) At what time does the drone reach an altitude of 80 m? (c) What is the drone's position at that time?
Show answer
(a) Using t as the parameter: r = (10, 20, 50) + t(−3, 5, 2). (b) The z-component is z = 50 + 2t. Setting z = 80: 50 + 2t = 80 → 2t = 30 → t = 15 seconds. (c) At t = 15: x = 10 + 15(−3) = −35, y = 20 + 15(5) = 95, z = 80. The drone is at (−35, 95, 80), meaning it is 35 m west and 95 m north of the origin at 80 m altitude.

Question 5: CRITICAL THINKING

Two lines are given by L₁: r = (1, 0, 2) + λ(2, 1, −1) and L₂: r = (3, 1, 1) + μ(4, 2, −2). Are these lines identical, parallel but distinct, or neither? Justify your answer fully.
Show answer
First check the direction vectors: d₁ = (2, 1, −1) and d₂ = (4, 2, −2) = 2(2, 1, −1) = 2d₁. Since d₂ is a scalar multiple of d₁, the lines are parallel. Now check whether the point (3, 1, 1) from L₂ lies on L₁. Setting (1 + 2λ, λ, 2 − λ) = (3, 1, 1): from the x-component, 1 + 2λ = 3 → λ = 1; from y, λ = 1 ✓; from z, 2 − 1 = 1 ✓. Since (3, 1, 1) lies on L₁, every point of L₂ also lies on L₁, so the two equations describe the same line. They are identical.

SUMMARY

Lesson Summary

Summary

A vector equation of a line takes the form r = a + λd, where a is the position vector of a known point, d is the direction vector, and λ is a real-valued parameter that slides you along the line. To find d when two points A and B are given, simply compute d = b − a.

A vector equation of a plane uses the scalar product form r · n = a · n, where n is the normal vector perpendicular to the plane. Expanding this yields the Cartesian form n₁x + n₂y + n₃z = D. The normal vector can be read directly from the coefficients in the Cartesian equation. These compact vector forms are the foundation for solving angles, intersections, and distance problems in 3D geometry throughout AHL 3.7.

Varsity Tutors • IB Mathematics: Applications and Interpretation • Vector Lines & Planes — AHL 3.7 Lines and planes using vectors (HL) (intro)