Arrows and tuples: two faces of one beast
Here's an observation so obvious you'll be annoyed I'm saying it: when you drive to the store, you don't just need to know how far you drove — you need to know which direction you went. Ten kilometers north and ten kilometers south are not the same trip. The thing that captures both magnitude AND direction simultaneously is a vector.
We write a vector in as a column of components:
or inline as . The is how far you move horizontally; is how far you move vertically. Draw it as an arrow from some starting point in the direction of those components — that arrow is the vector. The position of the tail doesn't matter; two arrows with the same length and direction are the same vector. This is the crucial thing the Federation of Boring Textbooks glosses over, and I am furious about it every semester: vectors are not stuck to the origin. They're free. A vector is a displacement, not a point. Do not mix them up or I will make you re-read this section.
Vector addition: tip-to-tail
Adding two vectors is stupidly natural. The tip-to-tail rule: put 's tail at 's tip. The sum is the arrow from 's tail to 's tip. Draw it and it's obvious.
Componentwise, it's even simpler:
Add the first components; add the second components. No interaction between components. This works in for any — just add all the corresponding components.
The zero vector is the additive identity: . It's the arrow with zero length — a point, conceptually. It sits at the origin and does absolutely nothing, which is precisely its job.
Vector subtraction is the arrow from the tip of to the tip of (when both are drawn from the same base point). Componentwise: subtract the components. File that picture away — it's how you compute "the displacement from to ."
Drag the vectors below and watch how the sum moves as you manipulate each one:
Scalar multiplication: stretch, shrink, flip
A scalar is just a real number — the word "scalar" is fancy for "something that scales". Multiply a vector by a scalar :
Geometrically: stretches, shrinks, reverses direction, collapses to .
In particular, is the additive inverse: . This is the "undo" operation for vectors, exactly like negative numbers were the undo for addition (remember the integers? same move).
All the usual arithmetic laws hold: scalar multiplication distributes over vector addition, and vector addition is commutative and associative. These aren't miracles — they're inherited directly from the real-number laws applied componentwise. If you're not sure, try checking yourself. It takes twelve seconds and requires zero equipment. Do it. I'll wait.
Length: Pythagoras cashes in
How long is the vector ? Draw it as an arrow from the origin. It's the hypotenuse of a right triangle with legs and . The Pythagorean theorem gives us the answer immediately:
This is the norm or magnitude or length of — three words for the same thing, because mathematicians are apparently committed to keeping beginners in a state of low-grade panic. They all mean the same damn thing: how long is the arrow. In , the same formula extends:
A unit vector has length exactly 1. The two flagship unit vectors in are:
These are the standard basis vectors (file that word away for the next stratum — it'll be very important). Normalizing a vector means dividing by its length to get a unit vector:
This gives you a vector pointing the same direction as but with length 1. Useful whenever you care about direction but not magnitude.
Into higher dimensions
Here's where it gets philosophically interesting. In , a vector is — three components. You can still picture it as an arrow in 3D space. The length formula is , and that's still just Pythagoras, applied twice.
In , there's a vector with components: . You cannot picture it as a geometric arrow when . Your brain fails. The pictures fade, the components keep working, and that is the whole fucking point of the algebraic formulation — it doesn't require your visual cortex to cooperate. The machinery works regardless of whether you can visualize it. Welcome to genuine abstraction. It will feel strange. Push through.
This is the first taste of genuine abstraction: we build up intuition in and , and then the algebra carries us forward where pictures cannot. Get comfortable with that feeling, because it's how the next several strata operate.