This whole subtopic is higher level. Nothing in it is on an SL paper.
Educerie · IB Diploma · Mathematics: analysis and approaches
Topic 3 Geometry and trigonometry · 3.12 Introduction to vectors
What you must be able to do
| You must be able to | Level | What it looks like in the exam |
|---|---|---|
| Explain what a vector is, and represent one as a directed line segment | HL only | Reading a diagram: "Express AB⃗ in terms of a and b" (2 marks) |
| Write vectors in components, as a column or with base vectors i, j, k | HL only | "Write down OA⃗" (1 mark) |
| Add and subtract vectors, and use the zero vector and −v, both algebraically and geometrically | HL only | "Find u − 2v" (2 marks); "Express MN⃗ in terms of a and c" (3 marks) |
| Multiply a vector by a scalar, and recognise parallel vectors and collinear points | HL only | "Show that A, B and C are collinear" (3 marks) |
| Find the magnitude of a vector and the distance between two points | HL only | "Find the distance AB" (2 marks) |
| Find a unit vector, and a vector of given length in a given direction | HL only | "Find a vector of magnitude 12 in the direction of v" (2 marks) |
| Use position vectors a, b and displacement vectors AB⃗ = b − a | HL only | "Find the coordinates of D so that ABCD is a parallelogram" (3 marks) |
| Prove geometrical properties using vectors | HL only | "Hence show that MN is parallel to AC" (4 to 6 marks) |
Before you start
You need coordinates in three dimensions and the distance between two points (SL 3.1), Pythagoras in two and three dimensions, and the midpoint of a line segment. Gradient from Topic 2 helps: a vector's direction plays the role a gradient plays for a line.
Notation on this page. Printed vectors are bold: a, v, and the base vectors i, j, k. By hand you underline them (a̲) or draw an arrow over them. A vector from point A to point B is written AB⃗. Inside the worked calculations, where bold is not available, the letters are plain but mean the same vectors. Exam papers write components as a column; this page draws columns in the figures and writes 3i − 2j + k in the text. Both forms are accepted in answers. The i here is a base vector, not the complex number i of AHL 1.12; the context always tells you which.
1The idea in one paragraph
Some quantities are fixed by a single number: a mass of 4 kg, a temperature of 20 °C. They are scalars. Others need a size and a direction: a displacement of 5 km north-east, a force of 30 N straight down. They are vectors. A vector does not care where it starts, only how far and which way, so it is drawn as an arrow that can be slid anywhere without changing it. Written in components, a vector lists how far it goes along each axis: 3i + 2j means 3 along x and 2 along y. Adding vectors means following one arrow and then the next, which is the same as adding their components. Multiplying by a number stretches the arrow and, if the number is negative, turns it round. Two arrows that are multiples of each other are parallel. The length of a vector comes from Pythagoras. And because AB⃗ = b − a, every question about points turns into arithmetic on their position vectors, which is how vectors prove facts about triangles and parallelograms.
2What a vector is
A vector is a quantity with magnitude (size) and direction. A scalar has magnitude only. Displacement, velocity, force and acceleration are vectors; distance, speed, mass and time are scalars.
A vector is drawn as a directed line segment: an arrow whose length shows the magnitude and whose arrowhead shows the direction. The arrow from A to B is AB⃗. A is its tail and B its head. Figure 1 shows the key idea: three arrows in different places are the same vector if they have the same length and the same direction. Position on the page is not part of a vector.
Two consequences follow at once.
- The negative of a vector, −v, has the same length as v and the opposite direction. In particular BA⃗ = −AB⃗.
- The zero vector, 0, has magnitude 0 and no direction. It is what you get from AA⃗, or from v + (−v).
3Components and base vectors
On a coordinate grid, a vector is described by how far it moves in each direction. The base vectors are unit arrows along the axes: i = one step in the x-direction, j = one step in the y-direction and, in three dimensions, k = one step in the z-direction.
Figure 2 draws v = 3i + 2j: three steps of i, then two steps of j. The numbers 3 and 2 are the components of v, and as a column they are written one above the other.
In three dimensions a vector has three components. v = v₁i + v₂j + v₃k, with v₁, v₂ and v₃ in a column, means v₁ along x, v₂ along y and v₃ along z. The axes are drawn right-handed: if x points towards you and y to the right, z points up, as in Figure 3.
Position vectors. The position vector of a point P is the vector OP⃗ from the origin O to P. Its components are the coordinates of P. So the point P(2, 3, 4) has position vector p = OP⃗ = 2i + 3j + 4k. The letters follow a convention: the position vector of A is a, of B is b, and so on. A point and its position vector carry the same three numbers, but they are different things: P is a place, p is the journey from O to that place. A missing component is zero: 5i − k has components 5, 0 and −1.
4Adding and subtracting
Geometrically, to add u and v, draw v starting where u ends. The sum u + v goes from the tail of u to the head of v. This is the triangle law, Figure 4(a). Drawing both from the same point and completing the parallelogram gives the same diagonal, Figure 4(b), and shows that u + v = v + u.
Algebraically, add the components. A journey of 3 along x followed by 1 along x is 4 along x, whatever else happens.
Subtracting is adding the negative: u − v = u + (−v). Geometrically, u − v is the arrow from the head of v to the head of u when both start at the same point.
The displacement from A to B. Figure 5 gives the single most used fact on this page. To go from A to B, go back from A to O (that is −a), then out from O to B (that is b).
AB⃗ = b − a · the position of the end minus the position of the start.
Worked example 1 (Paper 1). A(2, −1, 3) and B(5, 3, −9). Find AB⃗ and BA⃗.
Getting the order right is the whole question: end minus start. a − b gives BA⃗, the same length pointing the wrong way.
5Scalar multiples and parallel vectors
Multiplying a vector by a scalar k multiplies every component by k: kv = kv₁i + kv₂j + kv₃k. Geometrically, kv is v stretched by the factor |k|, and turned round if k < 0. Figure 6 shows v, 2v, ½v and −1.5v.
That gives the test for direction:
u and v are parallel exactly when u = kv for some scalar k ≠ 0. Same direction if k > 0, opposite if k < 0.
Worked example 2 (Paper 1). Show that u = 2i − 3j + k and w = −6i + 9j − 3k are parallel. Then find p and q so that 4i + pj + qk is parallel to u.
Always find the scalar from one component and check it in all the others. If the components do not share one ratio, the vectors are not parallel.
Collinear points. Three points A, B and C lie on one straight line (are collinear) when AB⃗ and AC⃗ are parallel. They share the point A, so parallel means the same line, not two parallel lines.
Worked example 3 (Paper 1). Show that A(1, 2, 3), B(3, 5, 4) and C(7, 11, 6) are collinear, and find the ratio AB : BC.
The written conclusion earns the reasoning mark: "AC⃗ = 3AB⃗, so AB and AC are parallel, and since they share the point A, the points are collinear."
6Magnitude, distance and unit vectors
The magnitude |v| is the length of the arrow. It comes from Pythagoras, applied once in two dimensions and twice in three.
|v| = √(v₁² + v₂² + v₃²) · in the formula booklet. The distance between A and B is |AB⃗|.
Worked example 4 (Paper 1). Find the distance between A(2, −1, 3) and B(5, 3, −9).
A unit vector has magnitude 1. To make a unit vector in the direction of v, divide v by its own length: the unit vector is v ÷ |v|. To get a vector of any length L in that direction, multiply the unit vector by L.
Worked example 5 (Paper 1). v = 2i − j + 2k. Find a unit vector in the direction of v, and a vector of magnitude 12 in the direction opposite to v.
An unknown component can be found from a magnitude. If |ti + 2j − k| = 3, then t² + 4 + 1 = 9, so t² = 4 and t = ±2. Both values are valid unless the question restricts t.
7Midpoints and parallelograms
The midpoint. The midpoint M of AB is halfway along AB⃗, so m = a + ½(b − a) = ½(a + b). The same reasoning finds any point along a segment: the point that divides AB in the ratio 1 : 2 is a third of the way along, at a + ⅓(b − a).
The parallelogram. ABCD is a parallelogram (letters in order round the shape) exactly when AB⃗ = DC⃗: opposite sides are equal and parallel, and point the same way when read in that order.
Worked example 6 (Paper 1). A(1, 0, 2), B(4, 1, 0) and C(6, 5, 3) are three vertices of the parallelogram ABCD. Find the coordinates of D.
Writing AB⃗ = CD⃗ instead is the classic slip: it gives the wrong fourth vertex, because CD⃗ points the opposite way to AB⃗ in a parallelogram ABCD.
8Proving geometry with vectors
The guide asks you to prove geometric properties with vectors. The method is always the same: name two independent vectors, write everything else in terms of them, and read off the conclusion. "Parallel" means one vector is a multiple of the other; "equal length" means equal magnitudes; "bisect" means two routes reach the same point.
Worked example 7 (Paper 1). In triangle OAB, M is the midpoint of OA and N the midpoint of OB. Prove that MN is parallel to AB and half its length. This is the midpoint theorem, drawn in Figure 7.
So MN⃗ is a positive multiple of AB⃗: MN is parallel to AB, and |MN⃗| = ½|AB⃗|, so it is half as long. The proof works for every triangle, because a and b were never given values.
Worked example 8 (Paper 1). Prove that the diagonals of a parallelogram bisect each other.
The two midpoints have the same position vector, so they are the same point: each diagonal passes through the midpoint of the other. That is what "bisect each other" means.
9Where marks are lost
Subtracting the wrong way round. AB⃗ = b − a, end minus start. a − b is BA⃗, and every later answer inherits the sign error.
Confusing a point with a vector. A(2, −1, 3) is a point; OA⃗ = 2i − j + 3k is a vector. Write coordinates for points and components for vectors, and do not write "A = 2i − j + 3k".
Forgetting to square negative components. (−12)² = 144, so the magnitude of 3i + 4j − 12k is 13, not √(9 + 16 − 144).
Claiming parallel from one component. 4 = 2 × 2 does not make 4i + 5j parallel to 2i + 3j. The same scalar must work for every component.
Stopping at "parallel" for collinearity. AB⃗ ∥ AC⃗ proves collinearity only because A is a common point. Say so, or lose the reasoning mark.
Getting the parallelogram's order wrong. In ABCD, AB⃗ = DC⃗ (and AD⃗ = BC⃗). AB⃗ = CD⃗ gives a different, wrong point.
Dropping the vector notation. A vector answer needs an arrow, underline or bold in your working; a plain letter for a vector is ambiguous, and in a proof it can cost the final mark.
10Work it right
- Write AB⃗ = b − a on the line before substituting, then subtract component by component with brackets round negatives.
- For a magnitude, square every component, including the negatives, add, then take the square root. Leave surds exact on Paper 1.
- For a unit vector, divide by the magnitude; for a vector of length L, multiply the unit vector by L, with a minus sign for the opposite direction.
- For parallel, find one scalar k and check it in all components. For collinear, also state the common point.
- For a fourth vertex, write the equal pair of sides in the order of the letters (AB⃗ = DC⃗) and solve for the unknown position vector.
- For a proof, define two vectors, express everything in them, and finish with a sentence that names the property ("parallel and half the length").
11Try it
Marks in brackets. Q1 to Q4 and Q6 are Paper 1 style (no calculator). Q5 is Paper 2 style.
Q1. The points A and B have coordinates (3, −2, 1) and (5, 1, −5).
(a) Find AB⃗. 2 marks
(b) Find |AB⃗|. 2 marks
(c) Write down a unit vector in the direction of AB⃗. 1 mark
Q2. The vectors u = 3i + pj − 6k and v = qi − 4j + 4k are parallel. Find the value of p and the value of q. 4 marks
Q3. The points A(2, 1, −1), B(5, 3, 0) and C(11, 7, 2) are given.
(a) Show that A, B and C are collinear. 3 marks
(b) Find the ratio AB : BC. 2 marks
(c) The point E is such that AE⃗ = −2AB⃗. Find the coordinates of E. 2 marks
Q4. OABC is a parallelogram with OA⃗ = a and OC⃗ = c. M is the midpoint of AB and N is the midpoint of BC.
(a) Express OM⃗ and ON⃗ in terms of a and c. 3 marks
(b) Hence show that MN is parallel to AC and half its length. 3 marks
Q5. Paper 2. A surveyor sets up axes at a base station, with i pointing east, j north and k vertically up, and units in metres. The top of a mast is at T(340, 125, 48) and a drone hovers at D(−210, 380, 95).
(a) Find DT⃗. 2 marks
(b) Find the distance from the drone to the top of the mast. 2 marks
(c) The drone flies in a straight line towards T and stops 150 m short of it. Find the coordinates of its new position. 3 marks
Q6. Triangle ABC has vertices with position vectors a, b and c. M is the midpoint of BC, and G is the point with position vector ⅓(a + b + c). Show that AG⃗ = ⅔AM⃗, and state what this tells you about G. 5 marks
12In one breath
A vector has a magnitude and a direction and no fixed position, so equal arrows anywhere are the same vector; −v is the same length pointing the other way, and 0 has length 0. In components, v = v₁i + v₂j + v₃k lists how far it goes along each axis, and the position vector of a point has the point's coordinates as components. Add and subtract component by component, or nose to tail on a diagram. The displacement from A to B is AB⃗ = b − a, end minus start. kv stretches v by |k| and reverses it if k < 0, so vectors are parallel exactly when one is a scalar multiple of the other, and points are collinear when two such vectors share a point. |v| = √(v₁² + v₂² + v₃²) gives lengths and distances, and v ÷ |v| is the unit vector. The midpoint of AB has position vector ½(a + b), ABCD is a parallelogram when AB⃗ = DC⃗, and a geometric proof is just every line written in two chosen vectors.
Answers
Q1. (a) AB⃗ = (5 − 3)i + (1 − (−2))j + (−5 − 1)k = 2i + 3j − 6k. (b) |AB⃗| = √(4 + 9 + 36) = √49 = 7. (c) (1/7)(2i + 3j − 6k). (a) M1 for b − a, A1. (b) M1 for squaring and adding their components, A1 for 7. (c) A1, follow through from their (a) and (b).
Q2. u = λv. From the k-components, −6 = 4λ, so λ = −3/2. From the i-components, 3 = −(3/2)q, so q = −2. From the j-components, p = −4λ = 6. Check: u = 3i + 6j − 6k = −(3/2)(−2i − 4j + 4k) ✓. M1 for setting u = λv (or equal ratios), A1 for λ = −3/2, A1 for q = −2, A1 for p = 6.
Q3. (a) AB⃗ = 3i + 2j + k and AC⃗ = 9i + 6j + 3k = 3AB⃗. So AB⃗ and AC⃗ are parallel, and since they share the point A, A, B and C are collinear. (b) BC⃗ = 6i + 4j + 2k = 2AB⃗, so AB : BC = 1 : 2. (c) e = a − 2AB⃗ = (2 − 6)i + (1 − 4)j + (−1 − 2)k, so E(−4, −3, −3). (a) A1 for both vectors, M1 for showing one is a multiple of the other, R1 for the common point. (b) M1 for BC⃗ as a multiple of AB⃗ (or comparing magnitudes), A1 for 1 : 2. (c) M1 for e = a + AE⃗, A1 for the coordinates.
Q4. (a) AB⃗ = OC⃗ = c (opposite sides of the parallelogram), so OM⃗ = a + ½c. CB⃗ = OA⃗ = a, so ON⃗ = c + ½a. (b) MN⃗ = ON⃗ − OM⃗ = c + ½a − a − ½c = ½(c − a). AC⃗ = c − a, so MN⃗ = ½AC⃗: MN is parallel to AC and half its length. (a) A1 for AB⃗ = c, A1 for OM⃗, A1 for ON⃗. (b) M1 for ON⃗ − OM⃗, A1 for ½(c − a), R1 for concluding from MN⃗ = ½AC⃗.
Q5. (a) DT⃗ = (340 − (−210))i + (125 − 380)j + (48 − 95)k = 550i − 255j − 47k. (b) |DT⃗| = √(550² + 255² + 47²) = √369 734 = 608 m (3 s.f.). (c) The drone travels |DT⃗| − 150 = 458.06 m along DT⃗, a fraction 458.06 ÷ 608.06 = 0.7533 of it. New position = d + 0.7533 DT⃗ = (−210 + 414.3, 380 − 192.1, 95 − 35.4) = (204, 188, 59.6) to 3 s.f. (a) A1 A1 for the components (A1 for two correct). (b) M1 for the magnitude, A1 for 608. (c) M1 for using a fraction (or unit vector) of DT⃗, M1 for adding it to d, A1 for the coordinates.
Q6. AM⃗ = m − a = ½(b + c) − a. AG⃗ = g − a = ⅓(a + b + c) − a = ⅓(b + c) − ⅔a = ⅔(½(b + c) − a) = ⅔AM⃗. So G lies on the median AM, two thirds of the way from A to M. A1 for the midpoint ½(b + c), M1 for AM⃗ = m − a, M1 for AG⃗ = g − a, A1 for rearranging to ⅔AM⃗, R1 for the conclusion that G is on AM, two thirds of the way along.
Educerie · written from the published IB Diploma Programme Mathematics: analysis and approaches guide, first assessment 2021, section AHL 3.12 Concept of a vector; position and displacement vectors; components; algebraic and geometric approaches; magnitude and unit vectors; proofs of geometrical properties using vectors. Original text, examples and questions. Diagrams drawn by Educerie. Last reviewed 25 September 2026.