Vectors in three dimensions

Vectors in three dimensions

Spec 10.1 · Edexcel A-Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A 3D vector is xi+yj+zkx\mathbf{i}+y\mathbf{j}+z\mathbf{k}; the point (x,y,z)(x,y,z) has position vector OP→=xi+yj+zk\overrightarrow{OP}=x\mathbf{i}+y\mathbf{j}+z\mathbf{k}.
  • Vectors add and scale component by component, as in 2D.
  • AB→=b−a\overrightarrow{AB}=\mathbf{b}-\mathbf{a} and the midpoint is 12(a+b)\frac12(\mathbf{a}+\mathbf{b}).
  • Magnitude: ∣xi+yj+zk∣=x2+y2+z2|x\mathbf{i}+y\mathbf{j}+z\mathbf{k}|=\sqrt{x^2+y^2+z^2}. Never drop a component.
  • Use squared lengths and the converse of Pythagoras for triangle problems.

Three-dimensional coordinates and i, j, k

A 3D vector has three components, written with i\mathbf{i}, j\mathbf{j} and k\mathbf{k} or as a column of three numbers.

The unit vectors along the three perpendicular axes are i\mathbf{i}, j\mathbf{j} and k\mathbf{k}, where k\mathbf{k} is the unit vector in the zz direction. Two vectors are equal only if all three components are equal.

The xx and yy axes usually lie in a horizontal plane, with zz vertically upwards. Vectors add and scale component by component.

4 (k)2 (j)3 (i)r = 3i + 2j + 4kOP
Oblique view of the position vector r = 3i + 2j + 4k from O to P(3, 2, 4); i, j and k lie along the three perpendicular edges.
  • xi+yj+zkx\mathbf{i}+y\mathbf{j}+z\mathbf{k}(xyz)\begin{pmatrix}x\\y\\z\end{pmatrix}

Worked example

Simplify (2i−j+3k)+2(i+4j−k)(2\mathbf{i}-\mathbf{j}+3\mathbf{k})+2(\mathbf{i}+4\mathbf{j}-\mathbf{k}).

Write 10i+3j10\mathbf{i}+3\mathbf{j} as a three-dimensional column vector.

The vector between two points

Exactly as in 2D: end minus start, AB→=b−a\overrightarrow{AB}=\mathbf{b}-\mathbf{a}.

The position vector of the midpoint of ABAB is 12(a+b)\frac12(\mathbf{a}+\mathbf{b}). To find a point CC with AC→=2AB→\overrightarrow{AC}=2\overrightarrow{AB}, write OC→=a+2AB→\overrightarrow{OC}=\mathbf{a}+2\overrightarrow{AB}.

The point halfway from OO to G(12,4,3)G(12,4,3) is 12OG→=6i+2j+32k\frac12\overrightarrow{OG}=6\mathbf{i}+2\mathbf{j}+\frac32\mathbf{k}.

OGOM (6, 2, 1.5)G (12, 4, 3)
The midpoint M of OG has position vector ½OG = 6i + 2j + 1.5k; the figure shows the line OG, not the axes.
  • AB→\overrightarrow{AB}b−a\mathbf{b}-\mathbf{a}
  • Midpoint12(a+b)\tfrac12(\mathbf{a}+\mathbf{b})

Worked example

A(2,−1,3)A(2,-1,3) and B(5,3,15)B(5,3,15). Find AB→\overrightarrow{AB} and the point CC with AC→=2AB→\overrightarrow{AC}=2\overrightarrow{AB}.

A(1,0,2)A(1,0,2) and B(4,−2,6)B(4,-2,6). What is AB→\overrightarrow{AB}?

Magnitude and distance

Apply Pythagoras twice: ∣xi+yj+zk∣=x2+y2+z2|x\mathbf{i}+y\mathbf{j}+z\mathbf{k}|=\sqrt{x^2+y^2+z^2}.

The magnitude comes from Pythagoras across the base and then up to the point. The distance between two points is d2=(x1−x2)2+(y1−y2)2+(z1−z2)2d^2=(x_1-x_2)^2+(y_1-y_2)^2+(z_1-z_2)^2.

Example: 32+42+122=13\sqrt{3^2+4^2+12^2}=13. The diagonal of a 12×4×312\times4\times3 room is 144+16+9=13\sqrt{144+16+9}=13 m. Never drop a component: 32+42=5\sqrt{3^2+4^2}=5 is only the floor length.

  1. 1

    Across the base

    √(x² + y²)

  2. 2

    Up to the point

    Combine the base length with z.

  3. 3

    Result

    √(x² + y² + z²)

Magnitude in three dimensions: Pythagoras twice.
  • Magnitudex2+y2+z2\sqrt{x^2+y^2+z^2}

Worked example

Find the length of 2i−3j+6k2\mathbf{i}-3\mathbf{j}+6\mathbf{k}.

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

Geometrical problems in 3D

Find the sides as vectors, then compare squared lengths.

Triangle sides come from b−a\mathbf{b}-\mathbf{a}, c−a\mathbf{c}-\mathbf{a} and c−b\mathbf{c}-\mathbf{b}. Show a triangle is isosceles by comparing lengths, or right-angled using the converse of Pythagoras, AB2+AC2=BC2AB^2+AC^2=BC^2.

Compare squared lengths to avoid surds, and keep exact values unless a decimal is requested.

  1. 1

    Find the side vectors

    b − a, c − a and c − b

  2. 2

    Square the lengths

    add the squared components to avoid surds

  3. 3

    Compare

    two equal squared lengths give isosceles

  4. 4

    Test for a right angle

    AB² + AC² = BC² (converse of Pythagoras)

Method for a geometrical problem in 3D.
  • Right angle at AAAB2+AC2=BC2AB^2+AC^2=BC^2

Worked example

Show that A(1,−1,2)A(1,-1,2), B(3,1,3)B(3,1,3), C(−1,0,4)C(-1,0,4) form a right-angled isosceles triangle and find its area.

A triangle has AB2=9AB^2=9, AC2=16AC^2=16, BC2=25BC^2=25. Which angle is 90∘90^\circ?

A worked example in context

Read each component in context and state units.

A drone flies from P(4,−2,7)P(4,-2,7) to Q(−2,4,4)Q(-2,4,4), in metres with k\mathbf{k} upwards. PQ→=−6i+6j−3k\overrightarrow{PQ}=-6\mathbf{i}+6\mathbf{j}-3\mathbf{k} and PQ=36+36+9=9PQ=\sqrt{36+36+9}=9 m.

The midpoint is i+j+112k\mathbf{i}+\mathbf{j}+\frac{11}{2}\mathbf{k}, at height 5.55.5 m. The −3k-3\mathbf{k} shows the displacement is 33 m downwards.

−6−4−20246ijkDirectionDisplacement (m)
Components of the drone's displacement PQ = −6i + 6j − 3k (metres): it moves 6 m back, 6 m across and 3 m down; PQ = 9 m.

Component of PQ

  • −6i-6\mathbf{i}
  • +6j+6\mathbf{j}
  • −3k-3\mathbf{k}

Meaning

  • 6 m in the negative i direction
  • 6 m in the positive j direction
  • 3 m downwards

In PQ→=−6i+6j−3k\overrightarrow{PQ}=-6\mathbf{i}+6\mathbf{j}-3\mathbf{k}, what does the +6j+6\mathbf{j} show?

Try an exam question

AA has coordinates (2,0,−1)(2,0,-1) and BB has coordinates (4,3,5)(4,3,5). Find AB→\overrightarrow{AB}, show that ∣AB→∣=7|\overrightarrow{AB}|=7, and find the position vector of the midpoint of ABAB.

[3 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