Vectors in two and three dimensions

Vectors in two and three dimensions

Spec 7.1–5 · Edexcel International A Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A vector has magnitude and direction; i\mathbf{i}, j\mathbf{j}, k\mathbf{k} are unit vectors along the three axes.
  • ∣a1i+a2j+a3k∣=a12+a22+a32|a_1\mathbf{i}+a_2\mathbf{j}+a_3\mathbf{k}|=\sqrt{a_1^2+a_2^2+a_3^2}. A unit vector is a^=a∣a∣\hat{\mathbf{a}}=\dfrac{\mathbf{a}}{|\mathbf{a}|}.
  • AB→=b−a\overrightarrow{AB}=\mathbf{b}-\mathbf{a}: destination minus start.
  • The midpoint of ABAB has position vector 12(a+b)\frac12(\mathbf{a}+\mathbf{b}).
  • Vectors are parallel if one is a scalar multiple of the other.

Vectors and components

Add, subtract and scale vectors component by component. A scalar multiple of a vector is parallel to it.

A vector has magnitude and direction. In three dimensions, a=a1i+a2j+a3k\mathbf{a}=a_1\mathbf{i}+a_2\mathbf{j}+a_3\mathbf{k}, which can also be written as a column vector.

Add and subtract component by component: (2i−j+3k)+(i+4j)=3i+3j+3k(2\mathbf{i}-\mathbf{j}+3\mathbf{k})+(\mathbf{i}+4\mathbf{j})=3\mathbf{i}+3\mathbf{j}+3\mathbf{k}.

Multiplying by a scalar λ\lambda multiplies every component. If b=λa\mathbf{b}=\lambda\mathbf{a} the vectors are parallel vectors, and λ<0\lambda<0 reverses direction.

abOAB
b=−2a\mathbf{b}=-2\mathbf{a}: parallel, twice as long, and pointing the opposite way.

Is b=−4i+6j\mathbf{b}=-4\mathbf{i}+6\mathbf{j} parallel to a=2i−3j\mathbf{a}=2\mathbf{i}-3\mathbf{j}?

Magnitude and unit vectors

The magnitude is the square root of the sum of the squared components; dividing a vector by it gives a unit vector.

The magnitude comes from Pythagoras applied twice.

A unit vector has magnitude 1. The unit vector in the direction of a\mathbf{a} is a^=a∣a∣\hat{\mathbf{a}}=\frac{\mathbf{a}}{|\mathbf{a}|}. A vector of length kk in that direction is ka^k\hat{\mathbf{a}}.

Check a unit vector: its components squared should sum to 1.

534OPQ
The 2D case: the vector 3i + 4j has magnitude √(3² + 4²) = 5. In 3D, add the squared k component
  • ∣a∣|\mathbf{a}|a12+a22+a32\sqrt{a_1^2+a_2^2+a_3^2}
  • a^\hat{\mathbf{a}}a∣a∣\dfrac{\mathbf{a}}{|\mathbf{a}|}

Worked example

Find ∣a∣|\mathbf{a}| for a=2i+3j−6k\mathbf{a}=2\mathbf{i}+3\mathbf{j}-6\mathbf{k}, and the unit vector in the direction of AB→=3i+4j−4k\overrightarrow{AB}=3\mathbf{i}+4\mathbf{j}-4\mathbf{k}.

What is ∣i+2j+2k∣|\mathbf{i}+2\mathbf{j}+2\mathbf{k}|?

Position vectors and AB = b − a

The vector from AA to BB is the position vector of BB minus the position vector of AA.

The position vector of a point PP is OP→=p\overrightarrow{OP}=\mathbf{p}, with components equal to the coordinates of PP.

By the triangle law, OA→+AB→=OB→\overrightarrow{OA}+\overrightarrow{AB}=\overrightarrow{OB}, so AB→=b−a\overrightarrow{AB}=\mathbf{b}-\mathbf{a}.

The midpoint of ABAB has position vector 12(a+b)\frac12(\mathbf{a}+\mathbf{b}). For BB to be the midpoint of ACAC, use c=2b−a\mathbf{c}=2\mathbf{b}-\mathbf{a}.

If BD→=OA→\overrightarrow{BD}=\overrightarrow{OA} then BDBD is parallel and equal to OAOA, the test for a parallelogram.

abb − aOAB
The triangle law: going from OO to AA then AA to BB is the same as going from OO to BB, so AB→=b−a\overrightarrow{AB}=\mathbf{b}-\mathbf{a}.

AA has position vector i+2j\mathbf{i}+2\mathbf{j} and BB has 4i−j4\mathbf{i}-\mathbf{j}. What is AB→\overrightarrow{AB}?

Distance between two points

The distance is the magnitude of AB→\overrightarrow{AB}: square the coordinate differences, add them and take the square root.

The distance between (x1,y1,z1)(x_1,y_1,z_1) and (x2,y2,z2)(x_2,y_2,z_2) is the magnitude of AB→\overrightarrow{AB}.

Differences are squared, so the order of subtraction does not matter, but the signs inside each bracket do.

Use this to compare lengths: if AB=ACAB=AC the triangle is isosceles.

d = 5x₂ − x₁ = 3y₂ − y₁ = 4ABC
The 2D case: A(1, 1) and B(4, 5) give d² = 3² + 4² = 25, so d = 5. In 3D add (z₂ − z₁)²
  • d2d^2(x2−x1)2+(y2−y1)2+(z2−z1)2(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2

Worked example

Find the distance between A(−1,2,3)A(-1,2,3) and B(3,−2,5)B(3,-2,5).

What is the distance from (0,0,0)(0,0,0) to (2,3,6)(2,3,6)?

Using vectors in geometry

Write each side as a vector, then use midpoints, magnitudes and scalar multiples to justify the property.

Combine the ideas:

  • in a parallelogram OABCOABC, OB→=OA→+OC→\overrightarrow{OB}=\overrightarrow{OA}+\overrightarrow{OC}
  • find midpoints by averaging
  • find lengths using magnitude
  • show parallelism by writing one vector as a multiple of another

In a 'show that' question, finish with a sentence linking your vectors to the geometric statement.

OBOABCM
Parallelogram OABCOABC (the i\mathbf{i}, j\mathbf{j} components only) with MM the midpoint of ABAB.

Worked example

OABCOABC is a parallelogram with OA→=4i+j+2k\overrightarrow{OA}=4\mathbf{i}+\mathbf{j}+2\mathbf{k} and OC→=−i+3j+k\overrightarrow{OC}=-\mathbf{i}+3\mathbf{j}+\mathbf{k}. Find OB→\overrightarrow{OB}, the midpoint MM of ABAB, and the length OMOM.

How do you show two vectors are parallel?

Try an exam question

Relative to an origin OO, the points AA and BB have position vectors 2i+j−2k2\mathbf{i}+\mathbf{j}-2\mathbf{k} and 6i+4j+10k6\mathbf{i}+4\mathbf{j}+10\mathbf{k}. (a) Find AB→\overrightarrow{AB}. (b) Find the unit vector in the direction of AB→\overrightarrow{AB}.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find AB→\overrightarrow{AB}.

1 mark, marked against the mark scheme

Revision notes