3.10 · AHL · HL onlyPaper 1Paper 2Paper 3

Vectors in 2D and 3D

In a minute

describe anything that has a size and points somewhere: a walk across a map, a pull on a rope, a drone's flight. This lesson writes them as columns or with i\boldsymbol{i}, j\boldsymbol{j} and k\boldsymbol{k}, combines them into a resultant, measures their length, and turns a plus a direction into a .

You'll be able to

  • Tell a vector from a scalar, and draw and read vectors as arrows.
  • Use columns or the i\boldsymbol{i}, j\boldsymbol{j}, k\boldsymbol{k} to write a vector, and describe points with .
  • Add and subtract vectors, find a resultant, and use the zero vector and −v-\boldsymbol{v}.
  • Multiply a vector by a scalar and spot parallel vectors.
  • Find the and the distance between two points.
  • Find a and rescale a vector, for example to get a velocity from a speed and a direction.
Before you start2 quick questions on what this builds on
Check yourself
Find the distance between the points (1,4,−2)(1, 4, -2) and (7,1,0)(7, 1, 0).
Check yourself
Find the midpoint of the points (2,−6,5)(2, -6, 5) and (8,0,−1)(8, 0, -1).

Revise first: 3.1 3D distance, midpoint and measurement

Vectors and scalars

A mass of 65 kg, a time of 40 s and a temperature of 18 °C are each just a size. A quantity like this is a scalar.

Telling a friend to “cycle 2 km” leaves them guessing. “Cycle 2 km due south” also tells them which way to go.

Displacement, velocity and force are vectors. Distance, speed, mass and time are scalars. A wind of 30 km/h from the west is a vector; “30 km/h” on its own is a scalar.

Check yourself
Which of these is a scalar?

On paper a is an arrow, called a directed line segment. The longer the arrow, the bigger the magnitude; the arrowhead shows which way it points.

AB→\overrightarrow{AB} names the arrow that starts at A and ends at B. Printed books use bold for a single vector, like v\boldsymbol{v}; in handwriting, draw a line under the letter: v‾\underline{v}.

Map grid numbered 0 to 10 across (east) and 0 to 7 up (north). Arrow G H goes from (1, 1) to (4, 3). Arrow K L goes from (2, 4) to (5, 6), the same length and direction as G H. Arrow M N goes from (9, 2) up and to the left to (7, 7). 0 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 G H K L M N 1 square = 100 m
An orienteering map, 1 square = 100 m. GH→\overrightarrow{GH} and KL→\overrightarrow{KL} are equal vectors: each goes 3 squares east and 2 north.

To read a vector off a grid, count squares from tail to head. GH→\overrightarrow{GH} moves 3 squares right and 2 up, which is (32)\begin{pmatrix}3\\2\end{pmatrix}. A move to the left or downwards gets a minus sign.

Worked exampleOn the orienteering map, east is to the right and north is up. A runner goes straight from checkpoint M to checkpoint N. Write the displacement MN→\overrightarrow{MN} as a column vector in metres, and describe the run.

Try it first, then reveal one step at a time.

  1. Locate the ends: M is at (9,2)(9, 2) and N is at (7,7)(7, 7), in grid squares.

A 3D vector needs a third component, for the zz-direction. Each is a step of length 1 along one axis:

Learn this
i=(100),j=(010),k=(001)\boldsymbol{i} = \begin{pmatrix}1\\0\\0\end{pmatrix}, \quad \boldsymbol{j} = \begin{pmatrix}0\\1\\0\end{pmatrix}, \quad \boldsymbol{k} = \begin{pmatrix}0\\0\\1\end{pmatrix}

Every vector is built from steps along the axes, so the column form and the i\boldsymbol{i}, j\boldsymbol{j}, k\boldsymbol{k} form say the same thing:

Learn this
v=(v1v2v3)=v1i+v2j+v3k\boldsymbol{v} = \begin{pmatrix}v_{1}\\v_{2}\\v_{3}\end{pmatrix} = v_{1}\boldsymbol{i} + v_{2}\boldsymbol{j} + v_{3}\boldsymbol{k}

v1v_{1}, v2v_{2} and v3v_{3} are its . If a base vector doesn't appear, that component is 0. A 2D vector uses only i\boldsymbol{i} and j\boldsymbol{j}: (32)=3i+2j\begin{pmatrix}3\\2\end{pmatrix} = 3\boldsymbol{i} + 2\boldsymbol{j}.

Check yourself
Write 6i−4k6\boldsymbol{i} - 4\boldsymbol{k} as a column vector.

Choose a fixed origin O. The arrow OA→\overrightarrow{OA} from O to a point A is A's , labelled a\boldsymbol{a}, and its entries are A's coordinates. The point (4,0,−3)(4, 0, -3) has position vector (40−3)\begin{pmatrix}4\\0\\-3\end{pmatrix}.

Worked exampleA drone takes off from a point O. The xx-axis points east, the yy-axis north and the zz-axis straight up, in metres. A minute later the drone's position vector is r=35i−20j+15k\boldsymbol{r} = 35\boldsymbol{i} - 20\boldsymbol{j} + 15\boldsymbol{k}. Write r\boldsymbol{r} as a column vector, and describe where the drone is.

Try it first, then reveal one step at a time.

  1. Read off the components in the order i\boldsymbol{i}, j\boldsymbol{j}, k\boldsymbol{k}: 35, −20-20 and 15.

Adding vectors and the resultant

Adding vectors means doing one move and then the next. Draw v\boldsymbol{v} starting where u\boldsymbol{u} ends; the arrow from the first tail to the last head is u+v\boldsymbol{u} + \boldsymbol{v}.

The sum of two or more vectors is called their resultant. For forces, the resultant is the one force that has the same effect as all of them together.

In components, add the xx-parts together, the yy-parts together and the zz-parts together.

Learn this
u+v=(u1+v1u2+v2u3+v3)\boldsymbol{u} + \boldsymbol{v} = \begin{pmatrix}u_{1} + v_{1}\\u_{2} + v_{2}\\u_{3} + v_{3}\end{pmatrix}
Three force arrows drawn head to tail. F1 goes 140 right and 60 up. F2 starts at the head of F1 and goes 50 left and 85 up. F3 starts at the head of F2 and goes 35 left and 110 down. A thicker arrow R goes straight from the start of F1 to the head of F3: 55 right and 35 up. F₁ F₂ F₃ R
Head to tail: the resultant R\boldsymbol{R} joins the start of F1\boldsymbol{F}_{1} to the end of F3\boldsymbol{F}_{3}.
Worked exampleThree people pull a crate across a flat floor with ropes. Their forces, in newtons, are F1=140i+60j\boldsymbol{F}_{1} = 140\boldsymbol{i} + 60\boldsymbol{j}, F2=−50i+85j\boldsymbol{F}_{2} = -50\boldsymbol{i} + 85\boldsymbol{j} and F3=−35i−110j\boldsymbol{F}_{3} = -35\boldsymbol{i} - 110\boldsymbol{j}, where i\boldsymbol{i} points east and j\boldsymbol{j} north. Find the resultant force R\boldsymbol{R}.

Try it first, then reveal one step at a time.

  1. The resultant is the sum: R=F1+F2+F3\boldsymbol{R} = \boldsymbol{F}_{1} + \boldsymbol{F}_{2} + \boldsymbol{F}_{3}.

The zero vector 0\boldsymbol{0} is all zeros: no movement at all. Adding it changes nothing: v+0=v\boldsymbol{v} + \boldsymbol{0} = \boldsymbol{v}.

−v-\boldsymbol{v} is v\boldsymbol{v} turned round: equal length, reversed direction, every component's sign flipped. A move and its reverse cancel, v+(−v)=0\boldsymbol{v} + (-\boldsymbol{v}) = \boldsymbol{0}, and for any points A and B, BA→=−AB→\overrightarrow{BA} = -\overrightarrow{AB}.

When the resultant of the forces on an object is 0\boldsymbol{0}, the forces balance: together they have no effect on its motion.

Check yourself
Two forces act on a hanging sign: (4025)\begin{pmatrix}40\\25\end{pmatrix} N and (−1530)\begin{pmatrix}-15\\30\end{pmatrix} N. Find the third force F\boldsymbol{F} that makes the resultant 0\boldsymbol{0}.

Subtraction is adding the reverse: u−v=u+(−v)\boldsymbol{u} - \boldsymbol{v} = \boldsymbol{u} + (-\boldsymbol{v}). In components, take each entry of v\boldsymbol{v} away from the matching entry of u\boldsymbol{u}.

For a route from A to B through the origin, travel back along OA→\overrightarrow{OA} to O, then out along OB→\overrightarrow{OB}:

Read it as “end minus start”. It gives the position of B relative to A.

Worked exampleTwo drones are filming a race. Relative to the start line O, in metres, drone P is at (120,45,30)(120, 45, 30) and drone Q is at (80,105,55)(80, 105, 55), with xx east, yy north and zz up. Find PQ→\overrightarrow{PQ}, and describe where Q is relative to P.

Try it first, then reveal one step at a time.

  1. Write the : p=(1204530)\boldsymbol{p} = \begin{pmatrix}120\\45\\30\end{pmatrix} and q=(8010555)\boldsymbol{q} = \begin{pmatrix}80\\105\\55\end{pmatrix}.
Check yourself
A ferry leaves a port with position vector (−49)\begin{pmatrix}-4\\9\end{pmatrix} km. Its displacement on the crossing is (13−6)\begin{pmatrix}13\\-6\end{pmatrix} km. Find the position vector of the ferry when it arrives.

Scalar multiples and parallel vectors

Doing the move v\boldsymbol{v} twice in a row gives v+v\boldsymbol{v} + \boldsymbol{v}: an arrow in the same direction and double the length. It is written 2v2\boldsymbol{v}.

Multiplying by a scalar kk multiplies each component by kk. A positive kk keeps the direction and a negative kk reverses it. Either way, the new length is ∣k∣\lvert k\rvert times the old one.

Learn this
k(v1v2v3)=(kv1kv2kv3)k\begin{pmatrix}v_{1}\\v_{2}\\v_{3}\end{pmatrix} = \begin{pmatrix}kv_{1}\\kv_{2}\\kv_{3}\end{pmatrix}
Worked exampleA hot-air balloon drifts with the wind. For the first 2 hours, each hour moves it by u=9i+4j+0.6k\boldsymbol{u} = 9\boldsymbol{i} + 4\boldsymbol{j} + 0.6\boldsymbol{k} km. The wind then changes, and for the next 1.5 hours each hour moves it by w=−3i+7j−0.4k\boldsymbol{w} = -3\boldsymbol{i} + 7\boldsymbol{j} - 0.4\boldsymbol{k} km. Here i\boldsymbol{i} points east, j\boldsymbol{j} north and k\boldsymbol{k} up. Find the balloon's total displacement, and describe where it ends up.

Try it first, then reveal one step at a time.

  1. The total displacement is 2u+1.5w2\boldsymbol{u} + 1.5\boldsymbol{w}: two hours of u\boldsymbol{u}, then one and a half hours of w\boldsymbol{w}.

To check, divide each component of one vector by the matching component of the other. Parallel vectors give the same ratio kk every time. Where one has a 0, the other must have a 0 too.

Check yourself
Which vector is parallel to (4−106)\begin{pmatrix}4\\-10\\6\end{pmatrix}?
Worked exampleTwo tugboats pull on a floating platform. Their forces, in newtons, are F=(15−69)\boldsymbol{F} = \begin{pmatrix}15\\-6\\9\end{pmatrix} and G=(−10t−6)\boldsymbol{G} = \begin{pmatrix}-10\\t\\-6\end{pmatrix}, and the two forces are parallel. Find tt. Then say whether the forces pull the same way or opposite ways, and compare their sizes.

Try it first, then reveal one step at a time.

  1. Parallel means G=kF\boldsymbol{G} = k\boldsymbol{F}, so −10=15k-10 = 15k, t=−6kt = -6k and −6=9k-6 = 9k.
Check yourself
A boat's velocity is v\boldsymbol{v}. What does a velocity of −2v-2\boldsymbol{v} mean?

Magnitude and distance

The ∣v∣\lvert\boldsymbol{v}\rvert is how long the arrow is. A 2D vector's components form the two shorter sides of a right-angled triangle with the arrow as its hypotenuse, so ∣(32)∣=32+22=13\left\lvert\begin{pmatrix}3\\2\end{pmatrix}\right\rvert = \sqrt{3^{2} + 2^{2}} = \sqrt{13}.

In 3D, use Pythagoras twice, as for the diagonal of a cuboid in 3.1. You don't need to memorise the result: it is in the formula booklet.

In the formula booklet
∣v∣=v12+v22+v32, where v=(v1v2v3)\lvert\boldsymbol{v}\rvert = \sqrt{v_{1}^{2} + v_{2}^{2} + v_{3}^{2}}, \text{ where } \boldsymbol{v} = \begin{pmatrix}v_{1}\\v_{2}\\v_{3}\end{pmatrix}

For a 2D vector, drop the v3v_{3} term. As a length, a magnitude is a scalar and can't be negative. Reversing a vector keeps its length, ∣−v∣=∣v∣\lvert -\boldsymbol{v}\rvert = \lvert\boldsymbol{v}\rvert, and scaling by kk multiplies the length by ∣k∣\lvert k\rvert: ∣kv∣=∣k∣ ∣v∣\lvert k\boldsymbol{v}\rvert = \lvert k\rvert\,\lvert\boldsymbol{v}\rvert.

Worked exampleThe resultant force on the crate in the earlier example is R=55i+35j\boldsymbol{R} = 55\boldsymbol{i} + 35\boldsymbol{j} newtons. Find ∣R∣\lvert\boldsymbol{R}\rvert, and say what it means. Give your answer to 3 s.f.

Try it first, then reveal one step at a time.

  1. Use the magnitude formula: ∣R∣=552+352=3025+1225=4250\lvert\boldsymbol{R}\rvert = \sqrt{55^{2} + 35^{2}} = \sqrt{3025 + 1225} = \sqrt{4250}.
Check yourself
Find ∣2i−6j+9k∣\lvert 2\boldsymbol{i} - 6\boldsymbol{j} + 9\boldsymbol{k}\rvert.

How far apart two points are is the magnitude of the vector from one to the other:

Learn this
AB=∣AB→∣=∣b−a∣AB = \lvert\overrightarrow{AB}\rvert = \lvert\boldsymbol{b} - \boldsymbol{a}\rvert
Worked exampleFor the two filming drones, PQ→=(−406025)\overrightarrow{PQ} = \begin{pmatrix}-40\\60\\25\end{pmatrix} metres. Safety rules say the drones must stay at least 80 m apart. Use your calculator to find the distance PQ, and comment on whether the rule is met.

Try it first, then reveal one step at a time.

  1. Write down what you calculate: PQ=∣PQ→∣=(−40)2+602+252PQ = \lvert\overrightarrow{PQ}\rvert = \sqrt{(-40)^{2} + 60^{2} + 25^{2}}.
Worked exampleA survey drone flies at a constant height of 4 m. During one sweep, its position vector relative to the pilot is (k2k−34)\begin{pmatrix}k\\2k - 3\\4\end{pmatrix} metres, where k>0k > 0. The controller's signal reaches 10 m. Use your calculator to find the value of kk at which the drone reaches the edge of the signal. Give your answer to 3 s.f.

Try it first, then reveal one step at a time.

  1. The distance from the pilot is the magnitude, so k2+(2k−3)2+42=10\sqrt{k^{2} + (2k - 3)^{2} + 4^{2}} = 10.
Check yourself
Two lifeboats have position vectors (3.5−1.2)\begin{pmatrix}3.5\\-1.2\end{pmatrix} km and (−0.72.4)\begin{pmatrix}-0.7\\2.4\end{pmatrix} km relative to a harbour. Find the distance between them, in km, to 3 s.f.

Unit vectors, rescaling and velocity

Working out v∣v∣\frac{\boldsymbol{v}}{\lvert\boldsymbol{v}\rvert} is called normalising v\boldsymbol{v}: every component is divided by the magnitude. i\boldsymbol{i}, j\boldsymbol{j} and k\boldsymbol{k} already have length 1, so the are . 0\boldsymbol{0} has no direction, so it can't be normalised.

Worked exampleNormalise v=2i−3j+6k\boldsymbol{v} = 2\boldsymbol{i} - 3\boldsymbol{j} + 6\boldsymbol{k}.

Try it first, then reveal one step at a time.

  1. Length first: ∣v∣=4+9+36=49=7\lvert\boldsymbol{v}\rvert = \sqrt{4 + 9 + 36} = \sqrt{49} = 7. Square the −3-3 as (−3)2=9(-3)^{2} = 9.
Check yourself
Give the unit vector that points the same way as 8i−15j8\boldsymbol{i} - 15\boldsymbol{j}.

To give a vector a chosen length LL, normalise it, then multiply by LL: Lv∣v∣L\frac{\boldsymbol{v}}{\lvert\boldsymbol{v}\rvert}. Multiplying by −L-L instead gives length LL pointing the other way.

is a vector: it says how fast something moves and in which direction. Its magnitude is the , a scalar.

So a velocity is a speed times a unit vector in the direction of motion:

Learn this
velocity=speed×d∣d∣, where d is any non-zero vector in the direction of motion\text{velocity} = \text{speed} \times \frac{\boldsymbol{d}}{\lvert\boldsymbol{d}\rvert}, \text{ where } \boldsymbol{d} \text{ is any non-zero vector in the direction of motion}
Worked exampleA kayak moves at 3.9 m s−13.9\text{ m s}^{-1} in the direction 12i−5j12\boldsymbol{i} - 5\boldsymbol{j}. Find its velocity vector.

Try it first, then reveal one step at a time.

  1. Magnitude of the direction: 122+(−5)2=169=13\sqrt{12^{2} + (-5)^{2}} = \sqrt{169} = 13.
Worked exampleA delivery drone flies at 17.5 m s−117.5\text{ m s}^{-1} in the direction (62−3)\begin{pmatrix}6\\2\\-3\end{pmatrix}, where the third component is vertical. Find its velocity. Interpret the vertical component, and find how long the drone takes to drop 30 m at this velocity.

Try it first, then reveal one step at a time.

  1. Magnitude of the direction: 62+22+(−3)2=49=7\sqrt{6^{2} + 2^{2} + (-3)^{2}} = \sqrt{49} = 7.
Check yourself
A swimmer swims at 1.5 m s−11.5\text{ m s}^{-1} in the direction −4i+3j-4\boldsymbol{i} + 3\boldsymbol{j}. Find the swimmer's velocity.
Check yourself
A hawk's velocity is (−841) m s−1\begin{pmatrix}-8\\4\\1\end{pmatrix}\text{ m s}^{-1}. Find its speed in m s−1\text{m s}^{-1}.

Common mistakes

  • Taking a−b\boldsymbol{a} - \boldsymbol{b} as AB→\overrightarrow{AB}: that arrow runs from B to A. Use end minus start, b−a\boldsymbol{b} - \boldsymbol{a}.
  • Squaring a negative component without brackets: −62-6^{2} means −36-36, but the magnitude needs (−6)2=36(-6)^{2} = 36.
  • Multiplying a direction by the speed without normalising it first. Divide by its magnitude, then multiply by the speed.
  • Answering in the wrong form: a column when the question wants coordinates, or a vector when it wants a speed or a distance. Check what is asked before writing the answer.
  • Rounding a magnitude before using it again, or giving more than 3 s.f. at the end. Keep the GDC's full value and round once.

Exam tips

  • **Write down** the coordinates of a point: give (x,y,z)(x, y, z) in round brackets. **Find** a vector: give a column vector or i\boldsymbol{i}, j\boldsymbol{j}, k\boldsymbol{k} form.
  • **Find** a magnitude or distance: write the square-root expression with the components, then the value, exact or to 3 s.f., with units.
  • **Find** a velocity from a speed and a direction: show the magnitude of the direction and the unit vector before you multiply by the speed.
  • **Interpret** a vector: say what each component means in context, with its direction and units, such as “25 m higher”.

Key takeaways

In booklet∣v∣=v12+v22+v32, where v=(v1v2v3)\lvert\boldsymbol{v}\rvert = \sqrt{v_{1}^{2} + v_{2}^{2} + v_{3}^{2}}, \text{ where } \boldsymbol{v} = \begin{pmatrix}v_{1}\\v_{2}\\v_{3}\end{pmatrix}
Learn thisv=(v1v2v3)=v1i+v2j+v3k\boldsymbol{v} = \begin{pmatrix}v_{1}\\v_{2}\\v_{3}\end{pmatrix} = v_{1}\boldsymbol{i} + v_{2}\boldsymbol{j} + v_{3}\boldsymbol{k}; a base vector that doesn't appear has component 0.
Learn thisThe resultant of two or more vectors is their sum: add matching components. Forces whose resultant is 0\boldsymbol{0} balance.
Learn thisAB→=b−a\overrightarrow{AB} = \boldsymbol{b} - \boldsymbol{a}: subtract the start from the end. The distance between A and B is ∣b−a∣\lvert\boldsymbol{b} - \boldsymbol{a}\rvert.
Learn thisIf v\boldsymbol{v} and w\boldsymbol{w} are non-zero, they are parallel exactly when w=kv\boldsymbol{w} = k\boldsymbol{v} for some scalar kk; a negative kk means they point in opposite directions.
Learn thisFor non-zero v\boldsymbol{v}, the unit vector with the same direction is v∣v∣\frac{\boldsymbol{v}}{\lvert\boldsymbol{v}\rvert}, and the vector of length LL in that direction is Lv∣v∣L\frac{\boldsymbol{v}}{\lvert\boldsymbol{v}\rvert}.
Learn thisVelocity = speed ×\times the unit vector in the direction of motion. Speed is the magnitude of velocity, never negative.

Practise this

28 past-paper questions on Vectors in the AI HL bank, each with a mark scheme and a worked explanation.

Practise Vectors →