Tell an air-traffic controller how fast a plane is moving and one number is never enough. They need to know how fast it's moving north–south, how fast east–west, and how fast it's climbing or descending — three numbers, not one, because the sky is three-dimensional. A GPS receiver, a drone's flight computer, and a video-game camera all face the very same problem: the flat page you learned vectors on has only two directions to move in, but the real world has three.
The same problem shows up everywhere you look. A submarine pilot needs to know depth as well as north–south and east–west position before they can be sure they're not about to scrape the sea floor. A weather balloon's tracking station reports its ground position and its altitude, because "where is it?" in the real atmosphere is a three-number question. Two numbers were always secretly an approximation — a flattened shadow of the real, three-dimensional problem.
The good news is that nothing about vectors was ever really tied to two dimensions — that was
just easy to draw. Every tool already in your kit —
Add component by component, scale every component the same way, and the dot product and length just grow one more term:
Notice the shape of that length formula: it's just Pythagoras' theorem, run one extra round. In 2D you square two legs of a right triangle and take the root; in 3D you square three edges of a box and take the root. Same idea, one more term to carry along.
Below is a 3D vector in a rotatable view. Drag the box to rotate it and slide the components to
move the arrow through space. A dashed line drops the tip onto the
Try dragging just one slider at a time and watch what stays put: moving
Let's find the length of
Square each component, add the squares, take the square root — the exact same three steps as the
2D formula, just with one more square to add before the root. It's a happy coincidence that
The dot product's most useful trick carries over unchanged too: two vectors are
perpendicular exactly when their dot product is zero. Take
Multiply matching components, add the three results, and the answer is zero — so
A delivery drone sits at position
Each coordinate only ever talks to its own partner — the east numbers add to give the new east number, the altitude numbers add to give the new altitude — exactly as in 2D, just with a third column riding along for the trip.
A real flight computer repeats this exact addition dozens of times a second, once per tiny displacement the drone makes, continually updating its stored position vector. Nothing fancier than three additions, over and over, is what lets the drone always know where it is.
Scalar multiplication is just as unremarkable an extension as addition: multiply every
component by the same number. A weather station tracks a balloon drifting with velocity
Every one of the three numbers doubles — the balloon still rises at the same rate relative
to its horizontal drift, just everything faster. Scaling never mixes components together; it
treats
Addition, scaling, the dot product, length — every one of these is a direct extension of its 2D
version, one more term and done. But there is a famous vector operation that works
only in three dimensions and has no simple two-dimensional twin at all:
You can feel why it's special even without the formula: cross the vector pointing purely
The drawings stop at three dimensions, but the arithmetic doesn't care. A vector with
You've actually met a familiar 3-component vector already, without calling it one: a
colour. Every pixel on a screen is stored as three numbers — how much red, how
much green, how much blue — which is exactly a vector in 3D, just with "redness" standing in for
These two catch even careful students:
Every time your phone's GPS chip fixes your location, it's leaning on exactly the length formula
above. Each GPS satellite broadcasts its own position and the time its signal was sent; your
phone measures how long the signal took to arrive and turns that into a distance
— the length of a 3D vector from the satellite to you. One satellite narrows you down to a sphere
of possible positions; a second satellite narrows that to a circle; a third pins you to (almost)
one point, and a fourth cleans up the clock error. Four distance calculations, all built on
The same three numbers show up under the hood of every video game and CAD program too: every character, camera and prop has its position stored as one 3D vector, updated dozens of times a second as you move around the scene. A modern game might be juggling millions of these vectors at once — one for every corner of every 3D model on screen — and every single one of them is stored, added and measured exactly the way this page describes: three numbers, one extra term in every formula, nothing more mysterious than that.