, as you scroll — highermaths.org highermaths.org read instead ›

Vectors in three dimensions

Distance in space is Pythagoras, twice.

A third axis joins the other two, and every rule gains a third term. The length of a 3D vector comes from two right-angled triangles, one flat on the floor and one standing up.

scroll ↓

A point in space

PP is (3,4,2)(3, 4, 2): go 33 along xx, 44 along yy and 22 up. Its position vector is OP→=3i+4j+2k\overrightarrow{OP} = 3\mathbf{i} + 4\mathbf{j} + 2\mathbf{k}. How far is PP from OO?

Across the floor

First the point Q=(3,4,0)Q = (3, 4, 0) on the floor, straight below PP. The triangle with sides 33 and 44 lies flat, with its right angle on the xx-axis, so

OQ=32+42=5OQ = \sqrt{3^2 + 4^2} = 5

Then up

PP is 22 straight above QQ, at right angles to the floor, so the triangle OQPOQP stands upright:

OP=52+22=29OP = \sqrt{5^2 + 2^2} = \sqrt{29}

The 525^2 was 32+423^2 + 4^2, so in one step, ∣xi+yj+zk∣=x2+y2+z2|x\mathbf{i} + y\mathbf{j} + z\mathbf{k}| = \sqrt{x^2 + y^2 + z^2}.

Angles with the axes

The component along an axis is the length times the cosine of the angle with that axis. For OP→\overrightarrow{OP}, the angle with the zz-axis has cos⁡θz=229\cos\theta_z = \tfrac{2}{\sqrt{29}}, so θz=68.2∘\theta_z = 68.2^\circ.

Chapter 17

Three components, one square root.

Unit vectors, adding and scaling in 3D, parallelograms and collinear points, and twelve graded exam questions with full worked solutions are waiting.