Three special arrows
Choose three axes at right angles: x (east), y (north) and z (up). Along each axis put a vector of size 1:
| Unit vector | Points along |
|---|---|
| î | x |
| ĵ | y |
| k̂ | z |
Any vector can now be written as a sum of these. In the 3D model a drone flies 3 m east, 4 m north and 2 m up. Its displacement is
The numbers 3, 4 and 2 are the rectangular components of r: the coloured legs of the flight.
Magnitude from components
The straight-line distance from the start is found with Pythagoras, used twice:
For the drone: . In two dimensions the z part is simply zero: .
Adding vectors by components
Drawing triangles gets messy with many vectors. With components, just add like with like:
The drone flies and then (the −1 means 1 m west). In total:
Subtraction works the same way: subtract the x parts, the y parts and the z parts.
Direction from components
The angles α, β, γ that A makes with the x, y and z axes come from
Worked example
A force newtons. Find its size and the angle it makes with the x-axis.
- .
- , so , measured below the x-axis (the y part is negative).
Remember: write vectors with î, ĵ, k̂; add like components; find the size with Pythagoras.
Formulas and where to use them
Vector in unit-vector form
- where
- components of A along x, y and z
- unit vectors along x, y and z
Use it when: Writing any vector from its components along x, y and z.
Magnitude
- where
- magnitude (size) of A
Use it when: Finding the size of a vector (straight-line distance, speed, size of a force) from its components.
Adding and subtracting
- where
- components of B
Use it when: Adding several vectors quickly, without drawing: add the x parts, the y parts and the z parts separately.
Direction cosines
- where
- angles A makes with the x, y and z axes
- magnitude of A
Use it when: Finding the angles a vector makes with the x, y and z axes.
Common mistakes
- Adding components of different axes. Only x adds to x, y to y and z to z.
- Forgetting a minus sign. A component pointing west, south or down is negative, e.g. .
- Adding magnitudes. is not ; add the components first, then find the magnitude.
Quick check
Test yourself — pick an answer to see if you got it.
1. What is the magnitude of ?
.
2. and . is…
x: 2 + 1 = 3, y: 3 − 1 = 2, z: −1 + 4 = 3, so .
3. What is the magnitude of , or ?
They are unit vectors: each has size 1 and points along one axis.
4. A displacement is metres. How far is the end from the start?
.
5. A vector points…
is the unit vector along y, so is 5 units along the y-axis.