SECTION 1
Historical Context & Motivation
For centuries, mathematicians and scientists worked with quantities that could only be described by their size — think of temperature or mass. However, many physical phenomena, such as forces acting on a bridge or the velocity of a spacecraft, require both a size and a direction. The concept of a vector was developed to capture exactly this dual nature. While 2D vectors are powerful for describing motion in a flat plane, the world we inhabit is fundamentally three-dimensional, and extending vectors into 3D space unlocked an entirely new level of mathematical precision.
1637 • Descartes & Coordinate Geometry
1843 • Hamilton's Quaternions
1844 • Grassmann's Extension Theory
1880s • Gibbs & Heaviside Formalize Vectors
20th C • Vectors in Modern Science
The central question for this lesson is: how do we precisely describe a quantity that has both magnitude and direction in the three-dimensional space we live in? To answer that, we need to understand 3D vector components, how to compute magnitude, and how to define unit vectors that capture direction alone.
SECTION 2
Core Principles & Definitions
Before diving into calculations, you need a solid grasp of the foundational ideas that underpin 3D vectors. Each principle below builds on concepts you already know from 2D vectors but extends them by adding a third axis — the z-axis — perpendicular to both the x-axis and the y-axis.
3D Coordinate System
Vector Components
Magnitude (Length)
Unit Vectors
Standard Basis Vectors
KEY TAKEAWAY
SECTION 3
Visualising Vectors in 3D Space
One of the trickiest parts of working with 3D vectors is visualising them on a flat page or screen. The diagram below shows a right-hand coordinate system with the three axes and a vector v = (3, 4, 5) drawn from the origin. Notice how the vector's components correspond to projections onto each axis — the dashed lines show the "shadow" of the vector along each direction.
When you look at this diagram, notice that the x-axis and y-axis form the "floor" of the coordinate system, while the z-axis points upward. The right-hand rule is a convention that determines the positive direction of the z-axis: if you curl the fingers of your right hand from the positive x-axis toward the positive y-axis, your thumb points along the positive z-axis. This convention ensures consistency across all IB problems and scientific applications.
IB NOTATION NOTE
SECTION 4
Mathematical Framework
Now let's formalise the key formulas you need for 3D vectors. These equations are the tools that turn the visual intuition from the previous section into precise, calculable results.
Position Vectors & Components
POSITION VECTOR
v₁ is the component along the x-axis, v₂ along the y-axis, and v₃ along the z-axis. The vectors 𝐢, 𝐣, and 𝐤 are the standard basis vectors.
If a vector connects two points A = (a₁, a₂, a₃) and B = (b₁, b₂, b₃), then the vector from A to B is found by subtracting coordinates component-wise.
VECTOR BETWEEN TWO POINTS
Always subtract the initial point from the terminal point: "destination minus departure."
Magnitude of a 3D Vector
MAGNITUDE (LENGTH)
This is the three-dimensional extension of the Pythagorean theorem. The magnitude is always ≥ 0, and equals 0 only for the zero vector (0, 0, 0).
Unit Vectors
UNIT VECTOR
Dividing each component by the magnitude produces a vector of length 1 pointing in the same direction as v. The notation v̂ (v-hat) denotes a unit vector.
QUICK CHECK
SECTION 5
Components, Basis Vectors & Scalar Multiplication
Understanding the anatomy of a 3D vector goes beyond simply listing three numbers. Each component represents a scalar multiple of the corresponding standard basis vector. For instance, the vector (3, −2, 7) is really 3𝐢 + (−2)𝐣 + 7𝐤. This decomposition makes it easy to add, subtract, or scale vectors — you simply perform the operation on each component independently.
Scalar Multiplication in 3D
When you multiply a 3D vector by a scalar k, you multiply each component by k. If k > 0, the vector stretches (or shrinks) but keeps its direction; if k < 0, the direction reverses. Formally, k · v = (k · v₁, k · v₂, k · v₃). This is exactly how the unit vector formula works — dividing by |v| is the same as multiplying by the scalar 1/|v|.
| Operation | Formula | Result Type |
|---|---|---|
| Addition | u + v = (u₁+v₁, u₂+v₂, u₃+v₃) | Vector |
| Subtraction | u − v = (u₁−v₁, u₂−v₂, u₃−v₃) | Vector |
| Scalar multiplication | kv = (kv₁, kv₂, kv₃) | Vector |
| Magnitude | |v| = √(v₁² + v₂² + v₃²) | Scalar (≥ 0) |
| Unit vector | v̂ = v / |v| | Vector (|v̂| = 1) |
Summary of key 3D vector operations
SECTION 6
Worked Example
Let's work through a complete example that ties together components, magnitude, and the unit vector.
Finding the Unit Vector from A to B
- 1
Step 1 — Identify the Given Information
Two points are given: A = (1, −3, 2) and B = (4, 1, −2). We want to find the unit vector in the direction from A to B. - 2
Step 2 — Find the Vector AB⃗
Subtract coordinates of A from those of B: AB⃗ = B − A = (4 − 1, 1 − (−3), −2 − 2) = (3, 4, −4).AB⃗ = (3, 4, −4) - 3
Step 3 — Calculate the Magnitude
Apply the magnitude formula: |AB⃗| = √(3² + 4² + (−4)²) = √(9 + 16 + 16) = √41.|AB⃗| = √41 ≈ 6.40 - 4
Step 4 — Compute the Unit Vector
Divide each component of AB⃗ by its magnitude: AB̂ = (3/√41, 4/√41, −4/√41).AB̂ ≈ (0.468, 0.625, −0.625) - 5
Step 5 — Verify
Check: |AB̂| = √(0.468² + 0.625² + (−0.625)²) = √(0.219 + 0.391 + 0.391) = √1.001 ≈ 1 ✓. The slight deviation from 1 is due to rounding. In exact form, the answer is (3/√41, 4/√41, −4/√41), which has magnitude exactly 1.|AB̂| = 1 ✓
EXAM TIP
SECTION 7
2D Vectors vs 3D Vectors — Comparison
If you're already comfortable with 2D vectors, moving to 3D is largely a matter of adding one more component. Most of the formulas look almost identical — they just have an extra term. The table below highlights the key similarities and differences.
| Feature | 2D Vectors | 3D Vectors |
|---|---|---|
| Components | (v₁, v₂) | (v₁, v₂, v₃) |
| Basis vectors | 𝐢, 𝐣 | 𝐢, 𝐣, 𝐤 |
| Magnitude | √(v₁² + v₂²) | √(v₁² + v₂² + v₃²) |
| Direction | One angle θ suffices | Two angles (or direction cosines) needed |
| Visualisation | Easy on paper (flat plane) | Requires perspective/projection drawings |
| Cross product | Not truly defined (only a scalar) | Produces a perpendicular 3D vector |
Key differences between 2D and 3D vector systems
KEY TAKEAWAY
SECTION 8
Connection to Advanced Topics
The concepts of components, magnitude, and unit vectors are the foundation for everything else you'll study in AHL vector work. Once you master these basics, the IB syllabus builds directly on them with the scalar (dot) product, the vector (cross) product, and applications to lines and planes in 3D. The table below previews how today's content connects to these more advanced ideas.
| This Lesson | Where It Leads |
|---|---|
| Components (v₁, v₂, v₃) | Used to compute dot products (v · w = v₁w₁ + v₂w₂ + v₃w₃) and cross products |
| Magnitude |v| | Appears in the angle formula: cos θ = (v · w) / (|v| × |w|) |
| Unit vectors v̂ | Direction vectors for lines in 3D; normal vectors for planes |
| Vector between two points | Parametric equations of lines: r = a + t · d |
| Standard basis 𝐢, 𝐣, 𝐤 | Determinant form of the cross product uses these as a row |
How foundational 3D vector concepts connect to later IB HL topics
Beyond the IB, 3D vectors are essential in physics (describing forces, fields, and torques), in computer graphics (placing objects in virtual worlds), and in engineering (stress analysis, robotics). If you continue to university-level mathematics, vectors generalise into n-dimensional vector spaces where the same ideas of magnitude and unit vectors apply — just with more components.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
A 3D vector is represented by three components (v₁, v₂, v₃), each measuring displacement along one of the three perpendicular axes in a right-hand coordinate system. Every 3D vector can be written as a linear combination of the standard basis vectors 𝐢, 𝐣, and 𝐤. The magnitude is computed as |v| = √(v₁² + v₂² + v₃²), extending the Pythagorean theorem into three dimensions.
A unit vector v̂ = v / |v| preserves the direction of v while scaling its length to exactly 1. To find a vector between two points, subtract coordinates: AB⃗ = B − A. These foundational skills — writing components, computing magnitudes, and constructing unit vectors — are the building blocks for every advanced vector topic in the IB HL syllabus, including dot products, cross products, and equations of lines and planes in three-dimensional space.