ironfern @ docs ~/geometry/grade-9/vectors/vector-coordinates $

Vector Coordinates

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)A = (x_1, y_1) and B=(x2,y2)B = (x_2, y_2) be two points in the plane. The coordinates of the vector AB\overrightarrow{AB} are:

AB=(x2x1,  y2y1)\boxed{\overrightarrow{AB} = (x_2 - x_1,\; y_2 - y_1)}

If a=(ax,ay)\vec{a} = (a_x, a_y), then axa_x is the xx-component and aya_y is the yy-component of a\vec{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)\vec{0} = (0, 0).
  • Unit vector along the xx-axis: ex=(1,0)\vec{e}_x = (1, 0).
  • Unit vector along the yy-axis: ey=(0,1)\vec{e}_y = (0, 1).

Standard Position

Every vector a=(ax,ay)\vec{a} = (a_x, a_y) can be placed in standard position by locating its tail at the origin O=(0,0)O = (0, 0), so that its head is at the point (ax,ay)(a_x, a_y). This gives a unique representative for each vector.

Magnitude Formula

Theorem — Magnitude of a Vector

If a=(ax,ay)\vec{a} = (a_x, a_y), then:

a=ax2+ay2\boxed{|\vec{a}| = \sqrt{a_x^2 + a_y^2}}

Proof. By the distance formula, AB=(x2x1)2+(y2y1)2=ax2+ay2|\overrightarrow{AB}| = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2} = \sqrt{a_x^2 + a_y^2}. \blacktriangleleft

Equal Vectors and Coordinates

Theorem — Equal Vectors Have Equal Coordinates

Two vectors a=(ax,ay)\vec{a} = (a_x, a_y) and b=(bx,by)\vec{b} = (b_x, b_y) are equal if and only if their corresponding coordinates are equal:

a=b    ax=bx and ay=by\vec{a} = \vec{b} \iff a_x = b_x \text{ and } a_y = b_y

Worked Examples

Example — Example 1 — Coordinates and Magnitude

Given A=(3,1)A = (3, -1) and B=(2,4)B = (-2, 4), find the coordinates and magnitude of AB\overrightarrow{AB}.

Solution. Applying the coordinate formula:

AB=(23,  4(1))=(5,  5)\overrightarrow{AB} = (-2 - 3,\; 4 - (-1)) = (-5,\; 5)

Magnitude:

AB=(5)2+52=25+25=50=52|\overrightarrow{AB}| = \sqrt{(-5)^2 + 5^2} = \sqrt{25 + 25} = \sqrt{50} = 5\sqrt{2}

Answer: AB=(5,5)\overrightarrow{AB} = (-5, 5), AB=52|\overrightarrow{AB}| = 5\sqrt{2}. \blacktriangleleft

Example — Example 2 — Finding an Endpoint

The vector a=(4,3)\vec{a} = (4, -3) starts at the point A=(1,5)A = (1, 5). Find the endpoint BB.

Solution. By the coordinate definition, AB=(xBxA,  yByA)\overrightarrow{AB} = (x_B - x_A,\; y_B - y_A), so:

xB1=4    xB=5x_B - 1 = 4 \implies x_B = 5 yB5=3    yB=2y_B - 5 = -3 \implies y_B = 2

Answer: B=(5,2)B = (5, 2). \blacktriangleleft

Exercises

Exercise

Given points P=(3,2)P = (-3, 2) and Q=(5,1)Q = (5, -1):

(a) Find the coordinates of PQ\overrightarrow{PQ} and QP\overrightarrow{QP}. (b) Compute PQ|\overrightarrow{PQ}|. (c) Verify that PQ\overrightarrow{PQ} and QP\overrightarrow{QP} are opposite vectors.

Exercise

A vector b=(6,8)\vec{b} = (-6, 8) ends at the point B=(2,3)B = (2, 3). Find the initial point AA.

Hint: Use AB=b\overrightarrow{AB} = \vec{b} to set up equations for xAx_A and yAy_A.