Vectors in the plane
A vector is a segment that knows where it leads: it has a length, a direction and a sense, and in the coordinate plane it is written as a pair of numbers. Adding vectors is adding those pairs, multiplying by a number stretches the arrow, and the length comes from the Pythagorean theorem.
Before you start
This topic builds on earlier ideas. Before you start, it's worth working through the lessons below — they'll make everything click:
- The coordinate planeTwo perpendicular axes turn the plane into a map on which every point has an address made of two numbers. The order of those numbers is part of the address, their signs name the quadrant, and a segment parallel to an axis is measured by subtraction. Plus the midpoint of a segment, which is the average of the endpoints.
- Geometric transformationsReflection in a line, reflection in a point, translation and rotation move a figure without changing its size — and each of them comes down to a single operation on coordinates. Plus two compass-and-straightedge constructions: the perpendicular bisector of a segment and the bisector of an angle.
Where this is used
Real situations where you count exactly the way this lesson teaches:
- Navigation and a wind correctionAn aircraft flies at [180, 0] km/h relative to the air while the wind carries it by [0, 60] km/h. Its speed over the ground is the sum [180, 60], that is √(180² + 60²) ≈ 190 km/h on a heading offset from the course — and that offset is what the pilot corrects for.
- Physics and the resultant of two forcesTwo ropes pull a crate with forces [90, 0] N and [0, 120] N. The resultant is [90, 120] N, of magnitude √(90² + 120²) = 150 N. Adding the magnitudes alone would give 210 N — 40% too much, because the forces do not pull the same way.
- Graphics and a moving objectAn object in a game moves at [3, −1] pixels per frame. After 30 frames it has moved by 30 · [3, −1] = [90, −30], so from (50, 200) it arrives at (140, 170). Multiplying a vector by a number replaces thirty separate additions.
- A robot and the path to its targetA robot stands at (2, 3) and the charging station is at (10, 9). The displacement vector is [8, 6], its length √(8² + 6²) = 10 m, and at 0.5 m/s the trip takes 20 seconds. Direction and distance both come out of one subtraction of coordinates.
- Sailing across a currentA boat heads straight across at [0, 4] km/h while the current carries it at [3, 0] km/h. The resulting motion is [3, 4], of magnitude 5 km/h — across a 400 m river the boat lands 300 m downstream of the point it aimed at.
All formulas
Coordinates of a vector
the end minus the start
Length of a vector
the Pythagorean theorem on the coordinates
Sum of two vectors
add the matching coordinates
Difference of two vectors
the same as adding the opposite vector
Multiplication by a number
a negative k reverses the sense
Length after scaling
scales by the absolute value
One number is not enough to describe a displacement: "5 metres" does not say which way. What is needed is an object carrying length, direction and sense at once — and that object is a vector, a directed segment.
The same idea already appeared in transformations: a translation of a figure is given by exactly such an arrow. This lesson gives that arrow its own arithmetic.
The coordinates of a vector
A vector from to has coordinates that are differences — the end minus the start:
The order matters: is the same segment with the opposite sense, so both of its coordinates have opposite signs.
Two vectors are equal when their coordinates are the same — no matter where on the plane they are drawn. A vector is therefore a description of a displacement, not a particular place.
The length of a vector
The coordinates of a vector are the legs of a right triangle, so its length comes from the Pythagorean theorem:
Signs do not affect it, because they end up squared: , and all have length . The only vector of length zero is the zero vector , and it is the only one with neither direction nor sense.
Adding vectors
Arithmetically this is the simplest operation in the lesson — add the matching coordinates:
Geometrically it is the triangle rule: put the second vector at the tip of the first, and the sum runs from the start of the first to the end of the second.
The same result comes from the parallelogram rule: draw both vectors from one point and build a parallelogram on them — the sum is its diagonal.
Subtraction is addition of the opposite vector:
Multiplying by a number
Multiplying a vector by a number (a scalar) stretches the arrow without changing the line it lies on:
| Multiplier | Direction | Sense | Length |
|---|---|---|---|
| unchanged | unchanged | grows | |
| unchanged | unchanged | shrinks | |
| unchanged | reversed | scaled by the absolute value of | |
| — | — | zero |
Hence a convenient test: two non-zero vectors are parallel exactly when one is a multiple of the other. and are parallel, because the second is three times the first; and are not.
Practice
Work through a set of exercises — they get harder as you go. At the end you'll see your score and the mistakes worth reviewing.
Common mistakes
- Subtracting "start minus end" — the coordinates of a vector are the end minus the start; the other order gives the opposite vector.
- Adding lengths instead of vectors — is generally not ; they agree only for vectors pointing the same way.
- Treating a vector as tied to a place — two vectors with the same coordinates are equal wherever they are drawn.
- Scaling only one coordinate — both are multiplied, otherwise the direction changes too.
- Losing the sign with a negative multiplier — the length scales by , but the sense reverses.
- Giving the zero vector a direction — has neither direction nor sense.
Formula card
Topic: Vectors in the plane
Coordinates of a vector
the end minus the start
Length of a vector
the Pythagorean theorem on the coordinates
Sum of two vectors
add the matching coordinates
Difference of two vectors
the same as adding the opposite vector
Multiplication by a number
a negative k reverses the sense
Length after scaling
scales by the absolute value
