A map app tells you "walk 3 blocks east and 2 blocks north". Those two numbers are everything you need to know about the move: how far along the street and how far up the avenue. Placing vectors on a coordinate grid turns this idea into a tool. Instead of drawing arrows we can compute with pairs of numbers, which is faster and also works for problems too complicated to draw.
Coordinates of a vector
In the plane with axes Ox and Oy, let i be the vector of length 1 along Ox and j the vector of length 1 along Oy. These are the unit vectors.
The vector a=3i+2j
Two vectors are equal exactly when their coordinates are equal: (x,y)=(x′,y′) means x=x′ and y=y′. The zero vector is (0,0).
From points to a vector
If A(xA,yA) and B(xB,yB), then to go from A to B you move xB−xA horizontally and yB−yA vertically:
AB=(xB−xA,yB−yA).
Operations in coordinates
So you add, subtract and scale vectors one coordinate at a time.
Length of a vector and distance
By Pythagoras, the vector a=(x,y) has length
∣a∣=x2+y2.
Since AB is the length of AB, the distance between two points is
AB=(xB−xA)2+(yB−yA)2.
Midpoint and centroid
Using OM=21(OA+OB) and OG=31(OA+OB+OC) with O as the origin, we get coordinates by averaging.
Collinear vectors and collinear points
Two vectors a=(x1,y1) and b=(x2,y2) are collinear when one is a multiple of the other. In coordinates this means
x1y2−x2y1=0.
(Write it as a product test instead of a ratio x2x1=y2y1, which fails when a coordinate is 0.) Three points A, B, C are collinear when AB and AC are collinear.
A missing vertex of a parallelogram
ABCD is a parallelogram exactly when AB=DC, which gives D=A+C−B in coordinates.
Parallelogram ABCD
Key terms
Summary
a=xi+yj is written a=(x,y); AB=(xB−xA,yB−yA).
Add, subtract and scale one coordinate at a time.
∣a∣=x2+y2 and AB=(xB−xA)2+(yB−yA)2.
Midpoint: average of the coordinates; centroid: average of three.
a, b collinear ⟺x1y2−x2y1=0; parallelogram ABCD: D=A+C−B.
Practice
Show solutions
2a+b=(6−1,−4+5)=(5,1). a−3b=(3+3,−2−15)=(6,−17).
AB=(4+2,−1−3)=(6,−4) and AB=36+16=52=213.
(2−3+7,25+1)=(2,3).
G(31+4−2,32−1+8)=(1,3).
AB=(1,2) and AC=(3,6). 1⋅6−3⋅2=0, so they are collinear (and AC=3AB).
m⋅6−4⋅3=0, so 6m=12 and m=2.
D=A+C−B=(−1+3−2,0+4−1)=(0,3).
x+y=5 and x−y=1. Adding gives 2x=6, x=3, then y=2. So c=3a+2b.
M(t,0). AM=(t−1,−2) and AB=(2,−4). Collinear: (t−1)(−4)−2⋅(−2)=0, so −4t+4+4=0 and t=2. M(2,0).
AB=9+16=5, BC=9+16=5, AC=6. Two equal sides, so it is isosceles. Perimeter 5+5+6=16.