When we place vectors in a coordinate plane, we can represent them by pairs of numbers — their coordinates — which make calculations with vectors purely algebraic.
Coordinate Representation
📐Definition — Coordinates of a Vector
Let A=(x1,y1) and B=(x2,y2) be two points in the plane. The coordinates of the vector AB are:
AB=(x2−x1,y2−y1)
If a=(ax,ay), then ax is the x-component and ay is the y-component of a.
The coordinates of a vector measure the net displacement from tail to head along each axis. Translating the vector (keeping the same direction and magnitude) leaves its coordinates unchanged, which is why equal vectors have identical coordinates.
Special cases:
Zero vector: 0=(0,0).
Unit vector along the x-axis: ex=(1,0).
Unit vector along the y-axis: ey=(0,1).
Standard Position
Every vector a=(ax,ay) can be placed in standard position by locating its tail at the origin O=(0,0), so that its head is at the point (ax,ay). This gives a unique representative for each vector.
Magnitude Formula
⚡Theorem — Magnitude of a Vector
If a=(ax,ay), then:
∣a∣=ax2+ay2
Proof. By the distance formula, ∣AB∣=(x2−x1)2+(y2−y1)2=ax2+ay2. ◀
Equal Vectors and Coordinates
⚡Theorem — Equal Vectors Have Equal Coordinates
Two vectors a=(ax,ay) and b=(bx,by) are equal if and only if their corresponding coordinates are equal:
a=b⟺ax=bx and ay=by
Worked Examples
✎Example — Example 1 — Coordinates and Magnitude
Given A=(3,−1) and B=(−2,4), find the coordinates and magnitude of AB.
Solution. Applying the coordinate formula:
AB=(−2−3,4−(−1))=(−5,5)
Magnitude:
∣AB∣=(−5)2+52=25+25=50=52
Answer:AB=(−5,5), ∣AB∣=52. ◀
✎Example — Example 2 — Finding an Endpoint
The vector a=(4,−3) starts at the point A=(1,5). Find the endpoint B.
Solution. By the coordinate definition, AB=(xB−xA,yB−yA), so:
xB−1=4⟹xB=5yB−5=−3⟹yB=2
Answer:B=(5,2). ◀
Exercises
✏Exercise
Given points P=(−3,2) and Q=(5,−1):
(a) Find the coordinates of PQ and QP.
(b) Compute ∣PQ∣.
(c) Verify that PQ and QP are opposite vectors.
✏Exercise
A vector b=(−6,8) ends at the point B=(2,3). Find the initial point A.
Hint: Use AB=b to set up equations for xA and yA.