Skip to main content
Examonaut

Topic 10 · Lesson 1 of 4

Components, magnitude and vector arithmetic

What a vector is

A scalar has size only: a mass of 3 kg, a speed of 20 m s⁻¹, a distance of 5 km. A vector has size and direction: a velocity of 20 m s⁻¹ due east, a force of 10 N upwards, a displacement of 5 km north-east. Two people walking 5 km end up in different places if they walk in different directions, which is why direction matters.

We draw a vector as an arrow: its length shows the size, its direction shows the direction. In print a vector is written in bold, a\mathbf{a}; by hand you underline it, a‾\underline{a}. The vector from point AA to point BB is written AB→\overrightarrow{AB}. Two vectors are equal if they have the same length and direction, wherever they are drawn.

Components: i\mathbf{i}, j\mathbf{j} and k\mathbf{k}

To calculate with vectors we split them into components along the axes. The unit vectors i\mathbf{i} and j\mathbf{j} have length 1 and point along the positive xx- and yy-axes. Any 2D vector is some amount of i\mathbf{i} plus some amount of j\mathbf{j}: the vector in the diagram, 4 across and 3 up, is

a=4i+3j=(43)\mathbf{a} = 4\mathbf{i} + 3\mathbf{j} = \begin{pmatrix} 4 \\ 3 \end{pmatrix}

The second form is a column vector; both mean the same.

xyO12341234i3j|a| = 5θ

In three dimensions (A level only) a third unit vector, k\mathbf{k}, points along the zz-axis, so a 3D vector looks like 2i−j+5k2\mathbf{i} - \mathbf{j} + 5\mathbf{k}.

Magnitude and direction

The magnitude (length) of a vector, written ∣a∣|\mathbf{a}|, comes from Pythagoras, because the components form a right-angled triangle:

∣xi+yj∣=x2+y2,∣xi+yj+zk∣=x2+y2+z2|x\mathbf{i} + y\mathbf{j}| = \sqrt{x^2 + y^2}, \qquad |x\mathbf{i} + y\mathbf{j} + z\mathbf{k}| = \sqrt{x^2 + y^2 + z^2}

So ∣4i+3j∣=5|4\mathbf{i} + 3\mathbf{j}| = 5. The direction in 2D is usually given as an angle, found with trigonometry: here tan⁡θ=34\tan\theta = \frac{3}{4}, so θ=36.9°\theta = 36.9° above the positive xx-axis. Always draw a sketch to see which angle you are finding; for −4i+3j-4\mathbf{i} + 3\mathbf{j} the arrow points up and to the left, so the angle with the positive xx-axis is 180°−36.9°=143.1°180° - 36.9° = 143.1°.

Going the other way, a vector of magnitude rr at angle θ\theta to the positive xx-axis has components

rcos⁡θ i+rsin⁡θ jr\cos\theta\,\mathbf{i} + r\sin\theta\,\mathbf{j}

For example, a force of 10 N at 30° above the horizontal is 10cos⁡30° i+10sin⁡30° j=8.66i+5j10\cos 30°\,\mathbf{i} + 10\sin 30°\,\mathbf{j} = 8.66\mathbf{i} + 5\mathbf{j} N.

A unit vector has magnitude 1. To get the unit vector in the direction of a\mathbf{a}, divide by its magnitude: a^=a∣a∣\hat{\mathbf{a}} = \frac{\mathbf{a}}{|\mathbf{a}|}, so the unit vector in the direction of 4i+3j4\mathbf{i} + 3\mathbf{j} is 15(4i+3j)=0.8i+0.6j\frac{1}{5}(4\mathbf{i} + 3\mathbf{j}) = 0.8\mathbf{i} + 0.6\mathbf{j}.

Adding, subtracting and scaling

Adding. Walking along a\mathbf{a} and then along b\mathbf{b} takes you to the same place as walking directly along a+b\mathbf{a} + \mathbf{b}. On a diagram, draw b\mathbf{b} starting where a\mathbf{a} ends ("nose to tail"); the sum, or resultant, goes from the start of a\mathbf{a} to the end of b\mathbf{b}. This is the triangle law, shown on the left below. In components you just add the matching parts: (2i+5j)+(3i−j)=5i+4j(2\mathbf{i} + 5\mathbf{j}) + (3\mathbf{i} - \mathbf{j}) = 5\mathbf{i} + 4\mathbf{j}.

aba + btriangle law: nose to tailabb − afrom end of ato end of b

Subtracting. −a-\mathbf{a} has the same length as a\mathbf{a} but the opposite direction, and b−a=b+(−a)\mathbf{b} - \mathbf{a} = \mathbf{b} + (-\mathbf{a}). On the right of the diagram, a\mathbf{a} and b\mathbf{b} start at the same point and b−a\mathbf{b} - \mathbf{a} goes from the end of a\mathbf{a} to the end of b\mathbf{b}: to get there, go back along a\mathbf{a} then forward along b\mathbf{b}.

Multiplying by a scalar. 3a3\mathbf{a} points the same way as a\mathbf{a} but is three times as long; −2a-2\mathbf{a} is twice as long and points the opposite way. So:

  • Two vectors are parallel if one is a scalar multiple of the other. 6i−9j=3(2i−3j)6\mathbf{i} - 9\mathbf{j} = 3(2\mathbf{i} - 3\mathbf{j}), so these are parallel.
  • In components, parallel vectors have their components in the same ratio: pi+qjp\mathbf{i} + q\mathbf{j} is parallel to 3i+4j3\mathbf{i} + 4\mathbf{j} exactly when p3=q4\frac{p}{3} = \frac{q}{4}.

Try it: drag the tips of a and b to see sums, differences, multiples, magnitudes and directions. The 3D mode covers i, j, k and distances between points.

Try it: simulation

Vectors

Loading the simulation…

Worked example

A parallel vector

Find the value of λ\lambda for which (2λ+1)i+6j(2\lambda + 1)\mathbf{i} + 6\mathbf{j} is parallel to 3i+4j3\mathbf{i} + 4\mathbf{j}.

Show solution
  1. Parallel means the components are in the same ratio: 2λ+13=64\frac{2\lambda + 1}{3} = \frac{6}{4}.
  2. Cross-multiply: 4(2λ+1)=184(2\lambda + 1) = 18, so 8λ=148\lambda = 14 and λ=74\lambda = \frac{7}{4}.
  3. Check: the vector is 4.5i+6j=1.5(3i+4j)4.5\mathbf{i} + 6\mathbf{j} = 1.5(3\mathbf{i} + 4\mathbf{j}) ✓.

Practise this topic

Both are part of Premium.