Skip to content
Gioi Toan
Start learning
Two vectors joined head to tail on a grid, and their sum

Notes on Lesson 1: Coordinates of a vector (Maths 10 Chan troi sang tao, Chapter IX)

Lesson summary

A coordinate axis (axis for short) is a straight line on which a point OO called the number line and a vector e⃗\vec{e} of length 1 called the unit vector of the axis have been determined.

In the plane OxyOxy, for each vector a⃗\vec{a}, there is exactly one pair of numbers (x;y)(x; y) such that a⃗=xi⃗+yj⃗\vec{a} = x\vec{i} + y\vec{j}.

You can picture a coordinate axis as a ruler with numbers on it, with the point 00 as the origin and an arrow showing the positive direction exactly 1 unit long.

This content is not yet available in English. It is shown below in the original Vietnamese.

  • Nhận biết được tọa độ của vectơ, của điểm
  • Sử dụng được biểu thức tọa độ của các phép toán vectơ, tích vô hướng

On the navigation screen of a self-driving car, people do not write "5 km northeast of the origin", they just write two numbers. Those two numbers are the coordinates, which help the computer understand the velocity vector and the displacement vector right away. This lesson will help you read the coordinates of a vector and of a point on the plane OxyOxy, know how to express a vector in terms of the two unit vectors i⃗\vec{i}, j⃗\vec{j}, and begin to see how coordinates turn the vector operations you have learned into calculations with numbers. That is the foundation for solving geometry problems later by the coordinate method.

Practise similar problems

Key ideas: what do you need to know?

Coordinate axis and coordinate system

  • A coordinate axis (axis for short) is a straight line on which a point OO called the number line and a vector e⃗\vec{e} of length 1 called the unit vector of the axis have been determined. That axis is denoted (O;e⃗)(O; \vec{e}).
  • A coordinate system (O;i⃗;j⃗)(O; \vec{i}; \vec{j}) consists of two axes (O;i⃗)(O; \vec{i}) and (O;j⃗)(O; \vec{j}) that are perpendicular to each other. The point of intersection OO of the two axes is called the origin. The axis (O;i⃗)(O; \vec{i}) is called the x-axis, denoted OxOx; the axis (O;j⃗)(O; \vec{j}) is called the y-axis, denoted OyOy. The vectors i⃗\vec{i} and j⃗\vec{j} are the unit vectors on OxOx and OyOy. The coordinate system (O;i⃗;j⃗)(O; \vec{i}; \vec{j}) is also denoted OxyOxy.
  • The plane containing the coordinate system OxyOxy is called the coordinate plane OxyOxy.
  • Example: In the coordinate system OxyOxy, the axis OxOx is horizontal, the axis OyOy is a vertical line, and they are perpendicular to each other at OO.

In plain words: You can picture a coordinate axis as a ruler with numbers on it, with the point 00 as the origin and an arrow showing the positive direction exactly 1 unit long. When two such rulers are placed perpendicular to each other at the origin OO, we have a coordinate system. Each point on the plane is determined by two numbers: one number for the position on the horizontal axis, one number for the position on the vertical axis. This coordinate system is like a map with a square grid, helping us describe exactly the position and direction of every object.

Phrase by phrase
coordinate axis
A straight line with a chosen number line OO and unit vector e⃗\vec{e} to determine the positions of points.Example: The familiar number line is a coordinate axis with origin 00 and a unit vector of length 1.
coordinate system (O;i⃗;j⃗)(O; \vec{i}; \vec{j})
Two axes OxOx, OyOy perpendicular at OO, with unit vectors i⃗\vec{i}, j⃗\vec{j} respectively.Example: The coordinate system OxyOxy in the figure with OxOx horizontal and OyOy a vertical line.
unit vector
A vector of length 1, used to divide units on an axis.Example: i⃗\vec{i} is the unit vector on the x-axis, j⃗\vec{j} is the unit vector on the y-axis.

Coordinates of a vector

  • In the plane OxyOxy, for each vector a⃗\vec{a}, there is exactly one pair of numbers (x;y)(x; y) such that a⃗=xi⃗+yj⃗\vec{a} = x\vec{i} + y\vec{j}. The pair of numbers (x;y)(x; y) is called the coordinates of the vector a⃗\vec{a}, denoted a⃗=(x;y)\vec{a} = (x; y). The number xx is called the x-coordinate, the number yy is called the y-coordinate of the vector a⃗\vec{a}.
  • Thus: a⃗=(x;y)⇔a⃗=xi⃗+yj⃗\vec{a} = (x; y) \Leftrightarrow \vec{a} = x\vec{i} + y\vec{j}.
  • If a⃗=(x1;y1)\vec{a} = (x_1; y_1) and b⃗=(x2;y2)\vec{b} = (x_2; y_2) then a⃗=b⃗⇔x1=x2\vec{a} = \vec{b} \Leftrightarrow x_1 = x_2 and y1=y2y_1 = y_2.
  • Example: a⃗=2i⃗−3j⃗\vec{a} = 2\vec{i} - 3\vec{j} then a⃗=(2;−3)\vec{a} = (2; -3), the x-coordinate is 22, the y-coordinate is −3-3.

In plain words: Just think of i⃗\vec{i} as a step one unit to the right, j⃗\vec{j} as a step one unit up. To reach the endpoint of a⃗\vec{a}, you take 2 steps to the right and then 3 steps down (because the y-coordinate is negative), so a⃗=(2;−3)\vec{a} = (2; -3). Why is that pair of numbers unique? Because the two axes are perpendicular, how far you go across and how far you go up or down determine exactly one destination, there is no other way to go. The pair of numbers (x;y)(x; y) is the "address" of the vector, and two equal vectors must have addresses that coincide in both coordinates.

Phrase by phrase
coordinates of a vector
The pair of numbers (x;y)(x; y) to write a⃗=xi⃗+yj⃗\vec{a} = x\vec{i} + y\vec{j}.Example: a⃗=3i⃗+j⃗\vec{a} = 3\vec{i} + \vec{j} has coordinates (3;1)(3; 1).
x-coordinate
The first number in the coordinate pair, the coefficient of i⃗\vec{i}.Example: The vector (−5;4)(-5; 4) has x-coordinate −5-5.
y-coordinate
The second number in the coordinate pair, the coefficient of j⃗\vec{j}.Example: The vector (−5;4)(-5; 4) has y-coordinate 44.
two equal vectors
They have the same x-coordinate and the same y-coordinate.Example: (2;7)=(2;7)(2; 7) = (2; 7), and (2;7)≠(7;2)(2; 7) \ne (7; 2).

Coordinates of a point

  • In the coordinate plane OxyOxy, let MM be any point. The coordinates of the vector OM→\overrightarrow{OM} are called the coordinates of the point MM. If OM→=(x;y)\overrightarrow{OM} = (x; y) then MM has coordinates (x;y)(x; y), denoted M(x;y)M(x; y); xx is called the x-coordinate, yy is called the y-coordinate of the point MM.
  • Thus: M(x;y)⇔OM→=xi⃗+yj⃗M(x; y) \Leftrightarrow \overrightarrow{OM} = x\vec{i} + y\vec{j}.
  • Example: The point M(−2;5)M(-2; 5) then OM→=−2i⃗+5j⃗\overrightarrow{OM} = -2\vec{i} + 5\vec{j}.

In plain words: The coordinates of point MM are exactly the coordinates of the arrow drawn from the origin OO to MM. So when we say point MM has coordinates (x;y)(x; y), you immediately understand that to go from OO to MM, we move xx steps along the x-axis and yy steps along the y-axis. A point and a vector OM→\overrightarrow{OM} share the same pair of numbers, but for a point we write M(x;y)M(x; y), while for a vector we write OM→=(x;y)\overrightarrow{OM} = (x; y).

Phrase by phrase
the coordinates of point MM
The coordinates of vector OM→\overrightarrow{OM}.Example: M(3;−1)M(3; -1) then OM→=(3;−1)\overrightarrow{OM} = (3; -1).
M(x;y)M(x; y)
Point MM has x-coordinate xx, y-coordinate yy.Example: A(1;2)A(1; 2) is the point with x-coordinate 1, y-coordinate 2.

The link between the coordinates of a point and the coordinates of a vector

  • Given two points A(xA;yA)A(x_A; y_A) and B(xB;yB)B(x_B; y_B). Then AB→=(xB−xA;yB−yA)\overrightarrow{AB} = (x_B - x_A; y_B - y_A).
  • Example: A(1;2)A(1; 2), B(4;6)B(4; 6) then AB→=(4−1;6−2)=(3;4)\overrightarrow{AB} = (4 - 1; 6 - 2) = (3; 4).

In plain words: Vector AB→\overrightarrow{AB} does not start at the origin OO, so you cannot take the coordinates of point BB as the coordinates of the vector. You must do "end minus start": the x-coordinate of BB minus the x-coordinate of AA, the y-coordinate of BB minus the y-coordinate of AA. If you do it the other way round, you get vector BA→\overrightarrow{BA}, pointing opposite to AB→\overrightarrow{AB}. This rule is very important, remember it well.

Phrase by phrase
AB→=(xB−xA;yB−yA)\overrightarrow{AB} = (x_B - x_A; y_B - y_A)
The coordinates of the vector joining two points equal the coordinates of the endpoint minus the coordinates of the starting point.Example: A(1;2)A(1; 2), B(4;6)B(4; 6) give AB→=(3;4)\overrightarrow{AB} = (3; 4).

Common mistakesWhen calculating the length of a vector, students may add the two coordinates first and then take the square root, or forget to square. It should be x2+y2\sqrt{x^2 + y^2}, square each coordinate first and then add.

Coordinate expressions for vector operations

  • Given two vectors a⃗=(a1;a2)\vec{a} = (a_1; a_2), b⃗=(b1;b2)\vec{b} = (b_1; b_2) and a real number kk. Then:

+ a⃗+b⃗=(a1+b1;a2+b2)\vec{a} + \vec{b} = (a_1 + b_1; a_2 + b_2);
+ a⃗−b⃗=(a1−b1;a2−b2)\vec{a} - \vec{b} = (a_1 - b_1; a_2 - b_2);
+ ka⃗=(ka1;ka2)k\vec{a} = (ka_1; ka_2);
+ a⃗⋅b⃗=a1b1+a2b2\vec{a}\cdot\vec{b} = a_1b_1 + a_2b_2.

  • Example: a⃗=(1;−2)\vec{a} = (1; -2), b⃗=(3;4)\vec{b} = (3; 4) then a⃗+b⃗=(4;2)\vec{a} + \vec{b} = (4; 2), a⃗−b⃗=(−2;−6)\vec{a} - \vec{b} = (-2; -6), 2a⃗=(2;−4)2\vec{a} = (2; -4), a⃗⋅b⃗=1⋅3+(−2)⋅4=−5\vec{a}\cdot\vec{b} = 1\cdot3 + (-2)\cdot4 = -5.

In plain words: Each operation on vectors, once turned into coordinates, is just an operation on individual numbers: for addition, add x-coordinate to x-coordinate and y-coordinate to y-coordinate; for multiplication by the number kk, multiply both coordinates by kk. For the dot product, multiply x-coordinate by x-coordinate and y-coordinate by y-coordinate, then add the results. Why is this allowed? Because a⃗=a1i⃗+a2j⃗\vec{a} = a_1\vec{i} + a_2\vec{j} and b⃗=b1i⃗+b2j⃗\vec{b} = b_1\vec{i} + b_2\vec{j}, added together, group the i⃗\vec{i} separately and the j⃗\vec{j} separately, which is exactly (a1+b1)i⃗+(a2+b2)j⃗(a_1 + b_1)\vec{i} + (a_2 + b_2)\vec{j}. The same goes for subtraction, multiplication by a number and the dot product.

Phrase by phrase
a⃗+b⃗=(a1+b1;a2+b2)\vec{a} + \vec{b} = (a_1 + b_1; a_2 + b_2)
Add coordinate by coordinate, never crosswise.Example: (1;−2)+(3;4)=(4;2)(1; -2) + (3; 4) = (4; 2).
ka⃗=(ka1;ka2)k\vec{a} = (ka_1; ka_2)
Multiply both the x-coordinate and the y-coordinate by the same number kk.Example: 2(1;−2)=(2;−4)2(1; -2) = (2; -4).
a⃗⋅b⃗=a1b1+a2b2\vec{a}\cdot\vec{b} = a_1b_1 + a_2b_2
The dot product equals the sum of the products of the x-coordinates and the products of the y-coordinates.Example: (1;−2)⋅(3;4)=1⋅3+(−2)⋅4=−5(1; -2)\cdot(3; 4) = 1\cdot3 + (-2)\cdot4 = -5.

Common mistakesWhen multiplying a number by a vector, students multiply only the x-coordinate and forget the y-coordinate. You must multiply both coordinates by that number: ka⃗=(ka1;ka2)k\vec{a} = (ka_1; ka_2).

Coordinates of the midpoint and the centroid

  • Given two points A(xA;yA)A(x_A; y_A) and B(xB;yB)B(x_B; y_B). If M(xM;yM)M(x_M; y_M) is the midpoint of line segment ABAB then xM=xA+xB2x_M = \frac{x_A + x_B}{2}, yM=yA+yB2y_M = \frac{y_A + y_B}{2}.
  • Given triangle ABCABC with A(xA;yA)A(x_A; y_A), B(xB;yB)B(x_B; y_B), C(xC;yC)C(x_C; y_C). If G(xG;yG)G(x_G; y_G) is the centroid of triangle ABCABC then xG=xA+xB+xC3x_G = \frac{x_A + x_B + x_C}{3}, yG=yA+yB+yC3y_G = \frac{y_A + y_B + y_C}{3}.
  • Example: A(1;2)A(1; 2), B(5;4)B(5; 4) then the midpoint MM of ABAB is M(3;3)M(3; 3). Adding C(0;6)C(0; 6), the centroid of triangle ABCABC is G(1+5+03;2+4+63)=(2;4)G\left(\frac{1 + 5 + 0}{3}; \frac{2 + 4 + 6}{3}\right) = (2; 4).

In plain words: The midpoint MM of ABAB divides line segment ABAB into two equal parts, so from OA→+OB→=2OM→\overrightarrow{OA} + \overrightarrow{OB} = 2\overrightarrow{OM} it follows that the coordinates of MM are the average of the coordinates of AA and BB: add the x-coordinates, add the y-coordinates, then divide by 2. For the centroid GG, from GA→+GB→+GC→=0⃗\overrightarrow{GA} + \overrightarrow{GB} + \overrightarrow{GC} = \vec{0}, or OA→+OB→+OC→=3OG→\overrightarrow{OA} + \overrightarrow{OB} + \overrightarrow{OC} = 3\overrightarrow{OG}, it follows that the coordinates of GG are the average of the coordinates of the three vertices: add the x-coordinates, add the y-coordinates, then divide by 3. Remember well: midpoint divides by 2, centroid divides by 3, and always work out x-coordinates with x-coordinates and y-coordinates with y-coordinates separately.

Phrase by phrase
midpoint
The point between AA, BB and equidistant from both ends.Example: A(1;2)A(1; 2), B(5;4)B(5; 4) give M(3;3)M(3; 3).
centroid
The point of intersection of the three medians, its coordinates are the average of the three vertices.Example: A(1;2)A(1; 2), B(5;4)B(5; 4), C(0;6)C(0; 6) give G(2;4)G(2; 4).

Common mistakesWhen calculating the coordinates of a midpoint or centroid, students confuse dividing by 2 and dividing by 3. A midpoint divides by 2, a centroid divides by 3, and always calculate the x and the y separately.

TipA midpoint divides by 2, a centroid divides by 3, and always calculate the x and the y separately.

Applications of coordinate expressions for vector operations

  • Given two vectors a⃗=(a1;a2)\vec{a} = (a_1; a_2), b⃗=(b1;b2)\vec{b} = (b_1; b_2) and two points A(xA;yA)A(x_A; y_A), B(xB;yB)B(x_B; y_B). We have:

+ a⃗⊥b⃗⇔a1b1+a2b2=0\vec{a} \perp \vec{b} \Leftrightarrow a_1b_1 + a_2b_2 = 0;
+ a⃗\vec{a} and b⃗\vec{b} are parallel ⇔a1b2−a2b1=0\Leftrightarrow a_1b_2 - a_2b_1 = 0;
+ ∣a⃗∣=a12+a22\left|\vec{a}\right| = \sqrt{a_1^2 + a_2^2};
+ ∣AB→∣=(xB−xA)2+(yB−yA)2\left|\overrightarrow{AB}\right| = \sqrt{(x_B - x_A)^2 + (y_B - y_A)^2};
+ cos⁡(a⃗,b⃗)=a⃗⋅b⃗∣a⃗∣∣b⃗∣=a1b1+a2b2a12+a22b12+b22\cos(\vec{a}, \vec{b}) = \frac{\vec{a}\cdot\vec{b}}{\left|\vec{a}\right|\left|\vec{b}\right|} = \frac{a_1b_1 + a_2b_2}{\sqrt{a_1^2 + a_2^2}\sqrt{b_1^2 + b_2^2}} with a⃗,b⃗≠0⃗\vec{a}, \vec{b} \ne \vec{0}.

  • Example: a⃗=(1;2)\vec{a} = (1; 2), b⃗=(2;−1)\vec{b} = (2; -1) have a⃗⋅b⃗=0\vec{a}\cdot\vec{b} = 0 so a⃗⊥b⃗\vec{a} \perp \vec{b}; ∣a⃗∣=5\left|\vec{a}\right| = \sqrt{5}. With A(1;2)A(1; 2), B(4;6)B(4; 6) then ∣AB→∣=32+42=5\left|\overrightarrow{AB}\right| = \sqrt{3^2 + 4^2} = 5.

In plain words: These formulas all come down to calculations on coordinates. If the dot product is 0, the two vectors are perpendicular. Two vectors are in the same direction when their coordinates are proportional, that is, a1b2−a2b1=0a_1b_2 - a_2b_1 = 0. The length of a vector is exactly the hypotenuse in a right triangle whose two legs are ∣a1∣|a_1| and ∣a2∣|a_2|, so use the Pythagoras formula. The distance ABAB is the length of vector AB→\overrightarrow{AB}. The cosine formula is just the formula cos⁡=dot productproduct of lengths\cos = \frac{\text{dot product}}{\text{product of lengths}} written in coordinates.

Phrase by phrase
a⃗⊥b⃗\vec{a} \perp \vec{b}
Two vectors are perpendicular when their dot product is 0.Example: (1;2)⋅(2;−1)=0(1; 2)\cdot(2; -1) = 0 so these two vectors are perpendicular.
a⃗\vec{a} and b⃗\vec{b} are in the same direction
Two vectors are in the same direction when a1b2−a2b1=0a_1b_2 - a_2b_1 = 0.Example: (2;4)(2; 4) and (1;2)(1; 2) are in the same direction because 2⋅2−4⋅1=02\cdot2 - 4\cdot1 = 0.
∣AB→∣\left|\overrightarrow{AB}\right|
The distance between two points AA, BB equals the length of vector AB→\overrightarrow{AB}.Example: A(1;2)A(1; 2), B(4;6)B(4; 6) then AB=32+42=5AB = \sqrt{3^2 + 4^2} = 5.

Worked examples

Example 1

In the coordinate plane OxyOxy, given the vectors a⃗=2i⃗−3j⃗\vec{a} = 2\vec{i} - 3\vec{j}, b⃗=−i⃗+4j⃗\vec{b} = -\vec{i} + 4\vec{j}, c⃗=5j⃗\vec{c} = 5\vec{j}. a) Write the coordinates of each vector. b) Find the coordinates of vector u⃗=2a⃗−b⃗+3c⃗\vec{u} = 2\vec{a} - \vec{b} + 3\vec{c}.

Show the solution to example 1

Step 1: Use the definition of vector coordinates: if v⃗=xi⃗+yj⃗\vec{v} = x\vec{i} + y\vec{j} then v⃗=(x;y)\vec{v} = (x; y).
Why: The coefficient of i⃗\vec{i} is the x-coordinate, the coefficient of j⃗\vec{j} is the y-coordinate.
Step 2: a⃗=2i⃗−3j⃗\vec{a} = 2\vec{i} - 3\vec{j} so a⃗=(2;−3)\vec{a} = (2; -3).
Step 3: b⃗=−i⃗+4j⃗\vec{b} = -\vec{i} + 4\vec{j} so b⃗=(−1;4)\vec{b} = (-1; 4).
Step 4: c⃗=5j⃗\vec{c} = 5\vec{j} has no i⃗\vec{i} so the x-coordinate is 0, thus c⃗=(0;5)\vec{c} = (0; 5).
Step 5: Calculate 2a⃗=(4;−6)2\vec{a} = (4; -6), −b⃗=(1;−4)-\vec{b} = (1; -4), 3c⃗=(0;15)3\vec{c} = (0; 15).
Step 6: Add coordinate by coordinate: u⃗=(4+1+0;−6+(−4)+15)=(5;5)\vec{u} = (4 + 1 + 0; -6 + (-4) + 15) = (5; 5).
Result: a⃗=(2;−3)\vec{a} = (2; -3), b⃗=(−1;4)\vec{b} = (-1; 4), c⃗=(0;5)\vec{c} = (0; 5), u⃗=(5;5)\vec{u} = (5; 5).

Common mistakesWhen adding or subtracting vectors, students may add the coordinates crosswise (x with y). You should add coordinate by coordinate: x with x, y with y.

TipRead vector coordinates in the order "horizontal first, vertical second": the coefficient of i⃗\vec{i} is the x-coordinate, the coefficient of j⃗\vec{j} is the y-coordinate; if i⃗\vec{i} is missing then the x-coordinate is 0, if j⃗\vec{j} is missing then the y-coordinate is 0.

Example 2

Given three points A(1;2)A(1; 2), B(4;6)B(4; 6), C(−1;3)C(-1; 3). a) Find the coordinates of the vectors AB→\overrightarrow{AB}, BC→\overrightarrow{BC}, CA→\overrightarrow{CA}. b) Calculate the lengths of the line segments ABAB, BCBC, CACA.

Show the solution to example 2

Step 1: Apply the formula AB→=(xB−xA;yB−yA)\overrightarrow{AB} = (x_B - x_A; y_B - y_A).
Why: The coordinates of the vector joining two points equal the coordinates of the endpoint minus the coordinates of the starting point.
Step 2: AB→=(4−1;6−2)=(3;4)\overrightarrow{AB} = (4 - 1; 6 - 2) = (3; 4).
Step 3: BC→=(−1−4;3−6)=(−5;−3)\overrightarrow{BC} = (-1 - 4; 3 - 6) = (-5; -3).
Step 4: CA→=(1−(−1);2−3)=(2;−1)\overrightarrow{CA} = (1 - (-1); 2 - 3) = (2; -1).
Step 5: Length AB=32+42=25=5AB = \sqrt{3^2 + 4^2} = \sqrt{25} = 5.
Step 6: BC=(−5)2+(−3)2=25+9=34BC = \sqrt{(-5)^2 + (-3)^2} = \sqrt{25 + 9} = \sqrt{34}.
Step 7: CA=22+(−1)2=4+1=5CA = \sqrt{2^2 + (-1)^2} = \sqrt{4 + 1} = \sqrt{5}.
Result: AB→=(3;4)\overrightarrow{AB} = (3; 4), BC→=(−5;−3)\overrightarrow{BC} = (-5; -3), CA→=(2;−1)\overrightarrow{CA} = (2; -1); AB=5AB = 5, BC=34BC = \sqrt{34}, CA=5CA = \sqrt{5}.

Common mistakesWhen calculating the coordinates of the vector joining two points, students often subtract the coordinates of the first point from those of the last point, which gives a vector in the opposite direction. It should be the last point minus the first point: AB→=(xB−xA;yB−yA)\overrightarrow{AB} = (x_B - x_A; y_B - y_A).

TipVector joining two points: "end minus start". Length: "square, add, take the square root".

Example 3

Given triangle ABCABC with A(1;2)A(1; 2), B(5;4)B(5; 4), C(0;6)C(0; 6). a) Find the coordinates of the midpoint MM of ABAB and the centroid GG of triangle ABCABC. b) Prove that the three points CC, GG, MM are collinear.

Show the solution to example 3

Step 1: Coordinates of the midpoint MM of ABAB: xM=1+52=3x_M = \frac{1 + 5}{2} = 3, yM=2+42=3y_M = \frac{2 + 4}{2} = 3. So M(3;3)M(3; 3).
Step 2: Coordinates of the centroid GG: xG=1+5+03=2x_G = \frac{1 + 5 + 0}{3} = 2, yG=2+4+63=4y_G = \frac{2 + 4 + 6}{3} = 4. So G(2;4)G(2; 4).
Step 3: Calculate CM→=(3−0;3−6)=(3;−3)\overrightarrow{CM} = (3 - 0; 3 - 6) = (3; -3).
Step 4: Calculate CG→=(2−0;4−6)=(2;−2)\overrightarrow{CG} = (2 - 0; 4 - 6) = (2; -2).
Step 5: Notice that CG→=23CM→\overrightarrow{CG} = \frac{2}{3}\overrightarrow{CM} because 23(3;−3)=(2;−2)\frac{2}{3}(3; -3) = (2; -2).
Why: The two vectors CG→\overrightarrow{CG} and CM→\overrightarrow{CM} are in the same direction (they have the same line of action) and share point CC, so the three points CC, GG, MM are collinear.
Result: M(3;3)M(3; 3), G(2;4)G(2; 4); the three points CC, GG, MM are collinear.

Example 4

In the coordinate plane OxyOxy, given triangle ABCABC with A(2;2)A(2; 2), B(1;−1)B(1; -1), C(8;0)C(8; 0). a) Calculate the dot product BA→⋅BC→\overrightarrow{BA} \cdot \overrightarrow{BC} and calculate cos⁡ABC^\cos \widehat{ABC}. b) Prove AB→⊥AC→\overrightarrow{AB} \perp \overrightarrow{AC}. c) Calculate the lengths of the sides ABAB, BCBC, CACA and the area of triangle ABCABC.

Show the solution to example 4

Step 1: Calculate BA→=(2−1;2−(−1))=(1;3)\overrightarrow{BA} = (2 - 1; 2 - (-1)) = (1; 3).
Step 2: Calculate BC→=(8−1;0−(−1))=(7;1)\overrightarrow{BC} = (8 - 1; 0 - (-1)) = (7; 1).
Step 3: The dot product BA→⋅BC→=1⋅7+3⋅1=10\overrightarrow{BA} \cdot \overrightarrow{BC} = 1 \cdot 7 + 3 \cdot 1 = 10.
Step 4: ∣BA→∣=12+32=10|\overrightarrow{BA}| = \sqrt{1^2 + 3^2} = \sqrt{10}, ∣BC→∣=72+12=50=52|\overrightarrow{BC}| = \sqrt{7^2 + 1^2} = \sqrt{50} = 5\sqrt{2}.
Step 5: cos⁡ABC^=BA→⋅BC→∣BA→∣⋅∣BC→∣=1010⋅52=10520=220=15=55\cos \widehat{ABC} = \frac{\overrightarrow{BA} \cdot \overrightarrow{BC}}{|\overrightarrow{BA}| \cdot |\overrightarrow{BC}|} = \frac{10}{\sqrt{10} \cdot 5\sqrt{2}} = \frac{10}{5\sqrt{20}} = \frac{2}{\sqrt{20}} = \frac{1}{\sqrt{5}} = \frac{\sqrt{5}}{5}.
Step 6: Calculate AB→=(1−2;−1−2)=(−1;−3)\overrightarrow{AB} = (1 - 2; -1 - 2) = (-1; -3), AC→=(8−2;0−2)=(6;−2)\overrightarrow{AC} = (8 - 2; 0 - 2) = (6; -2).
Step 7: The dot product AB→⋅AC→=(−1)⋅6+(−3)⋅(−2)=−6+6=0\overrightarrow{AB} \cdot \overrightarrow{AC} = (-1) \cdot 6 + (-3) \cdot (-2) = -6 + 6 = 0.
Why: The dot product equals 0, so AB→⊥AC→\overrightarrow{AB} \perp \overrightarrow{AC}, that is, triangle ABCABC is a right triangle at AA.
Step 8: AB=∣AB→∣=(−1)2+(−3)2=10AB = |\overrightarrow{AB}| = \sqrt{(-1)^2 + (-3)^2} = \sqrt{10}.
Step 9: AC=∣AC→∣=62+(−2)2=36+4=40=210AC = |\overrightarrow{AC}| = \sqrt{6^2 + (-2)^2} = \sqrt{36 + 4} = \sqrt{40} = 2\sqrt{10}.
Step 10: BC=∣BC→∣=52BC = |\overrightarrow{BC}| = 5\sqrt{2} (already calculated above).
Step 11: The area of the right triangle at AA: S=12AB⋅AC=12⋅10⋅210=10S = \frac{1}{2} AB \cdot AC = \frac{1}{2} \cdot \sqrt{10} \cdot 2\sqrt{10} = 10.
Result: BA→⋅BC→=10\overrightarrow{BA} \cdot \overrightarrow{BC} = 10, cos⁡ABC^=55\cos \widehat{ABC} = \frac{\sqrt{5}}{5}; AB→⊥AC→\overrightarrow{AB} \perp \overrightarrow{AC}; AB=10AB = \sqrt{10}, BC=52BC = 5\sqrt{2}, CA=210CA = 2\sqrt{10}, the area of triangle ABCABC is 1010.

Example 5

A drone flies in a straight line at constant speed on the coordinate plane (units on the axes are km). At 8 o'clock it is at position P(2;1)P(2; 1), at 8:30 it is at position Q(8;5)Q(8; 5). a) Calculate vector PQ→\overrightarrow{PQ} and the distance the drone travels in 30 minutes. b) After another 30 minutes (at 9 o'clock), what are the drone's coordinates if it keeps the same direction and speed?

Show the solution to example 5

Step 1: PQ→=(8−2;5−1)=(6;4)\overrightarrow{PQ} = (8 - 2; 5 - 1) = (6; 4).
Step 2: The distance in 30 minutes is ∣PQ→∣=62+42=36+16=52=213≈7,21|\overrightarrow{PQ}| = \sqrt{6^2 + 4^2} = \sqrt{36 + 16} = \sqrt{52} = 2\sqrt{13} \approx 7,21 km.
Step 3: Since it flies in a straight line at constant speed, every 30 minutes the displacement vector is again (6;4)(6; 4).
Why: The speed is constant and the times are equal, so the distance and direction are the same.
Step 4: Position at 9 o'clock: Q+(6;4)=(8+6;5+4)=(14;9)Q + (6; 4) = (8 + 6; 5 + 4) = (14; 9).
Step 5: Check: the vector from PP to the new position is (14−2;9−1)=(12;8)=2(6;4)(14 - 2; 9 - 1) = (12; 8) = 2(6; 4), exactly double after two 30-minute intervals.
Result: PQ→=(6;4)\overrightarrow{PQ} = (6; 4), distance 213≈7,212\sqrt{13} \approx 7,21 km; at 9 o'clock the drone is at coordinates (14;9)(14; 9).

Terms

coordinate axis
A straight line with chosen origin OO and unit vector e⃗\vec{e}.Example: Number line OxOx with origin OO and unit vector i⃗\vec{i}.
coordinate system OxyOxy
Two perpendicular axes OxOx, OyOy with common origin OO, with unit vectors i⃗\vec{i}, j⃗\vec{j}.Example: The x-axis is horizontal, the y-axis is a vertical line.
unit vector
A vector of length 1. On the axis OxOx, the unit vector is i⃗\vec{i}; on OyOy it is j⃗\vec{j}.Example: Both i⃗\vec{i} and j⃗\vec{j} have length 1.
coordinates of a vector
The pair of numbers (x;y)(x; y) such that a⃗=xi⃗+yj⃗\vec{a} = x\vec{i} + y\vec{j}.Example: a⃗=(2;−3)\vec{a} = (2; -3).
x-coordinate, y-coordinate
The first number and the second number in a coordinate pair.Example: Vector (4;−1)(4; -1) has x-coordinate 4, y-coordinate −1-1.
coordinates of a point
The coordinates of vector OM→\overrightarrow{OM} with OO as the origin.Example: M(3;5)M(3; 5) then OM→=(3;5)\overrightarrow{OM} = (3; 5).
midpoint
The middle point of a line segment, its coordinates are the average of the two endpoints.Example: A(0;0)A(0; 0), B(4;2)B(4; 2) give the midpoint (2;1)(2; 1).
centroid
The point of intersection of the three medians of a triangle, its coordinates are the average of the coordinates of the three vertices.Example: A(0;0)A(0; 0), B(3;0)B(3; 0), C(0;3)C(0; 3) give G(1;1)G(1; 1).