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

Notes on Lesson 3: Coordinate expression of vector operations (Maths 12 Canh Dieu, Chapter II)

Lesson summary

In space OxyzOxyz, given two vectors a→=(x;y;z)\overrightarrow{a} = (x; y; z) and b→=(x′;y′;z′)\overrightarrow{b} = (x'; y'; z').

In space OxyzOxyz, given three non-collinear points A(xA;yA;zA)A(x_A; y_A; z_A), B(xB;yB;zB)B(x_B; y_B; z_B), C(xC;yC;zC)C(x_C; y_C; z_C).

A vector is three independent numbers, each number handling one axis.

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

  • Dùng biểu thức tọa độ của các phép toán vectơ, tích vô hướng để tính độ dài, góc, tọa độ trung điểm, trọng tâm

In space, when a flycam flies from one point to another, to know how far it has moved, in which direction, or to find the midpoint of the route, you need to work with triples of coordinate numbers. This lesson will equip you with formulas for calculating with vectors using only coordinates: addition, subtraction, multiplication of a vector by a number, and the dot product, from which you can derive length, angle, midpoint coordinates and centroid. Thanks to this, every spatial geometry problem can be solved with simple numerical calculations.

Practise nowTextbook solutions for this lesson

Key ideas: what do you need to know?

Coordinate expressions for the addition and subtraction of two vectors and the multiplication of a number by a vector

In space OxyzOxyz, given two vectors a→=(x;y;z)\overrightarrow{a} = (x; y; z) and b→=(x′;y′;z′)\overrightarrow{b} = (x'; y'; z'). Then:

  • a→+b→=(x+x′;y+y′;z+z′)\overrightarrow{a} + \overrightarrow{b} = (x + x'; y + y'; z + z').
  • a→−b→=(x−x′;y−y′;z−z′)\overrightarrow{a} - \overrightarrow{b} = (x - x'; y - y'; z - z').
  • ka→=(kx;ky;kz)k\overrightarrow{a} = (kx; ky; kz) where kk is a real number.

Adding or subtracting two vectors means adding or subtracting coordinate by coordinate in the same position: first coordinate with first coordinate, second with second, third with third.

  • Example: with a→=(1;−2;3)\overrightarrow{a} = (1; -2; 3), b→=(4;0;−5)\overrightarrow{b} = (4; 0; -5), we get a→+b→=(5;−2;−2)\overrightarrow{a} + \overrightarrow{b} = (5; -2; -2) and a→−b→=(−3;−2;8)\overrightarrow{a} - \overrightarrow{b} = (-3; -2; 8).
  • Multiplying a number by a vector: multiply that number by each coordinate. For example 3a→=(3;−6;9)3\overrightarrow{a} = (3; -6; 9).
  • Reminder: two vectors are equal if and only if their corresponding coordinates are equal, that is x=x′x = x', y=y′y = y', z=z′z = z'.

In plain words: A vector is three independent numbers, each number handling one axis. Adding two vectors is like adding two spending lists: food money with food money, travel money with travel money, you must not mix food money with travel money. So the answer is also a triple, never a single number. When you meet a vector equation, just split it into three number equations along the three axes and you can solve it. Multiplication by a number stretches or shrinks the vector, so all three components are multiplied by that number.

Phrase by phrase
add or subtract coordinate by coordinate in the same position
Take the first coordinate plus (minus) the first coordinate, and do the same for all three positions.Example: (1;−2;3)+(4;0;−5)=(5;−2;−2)(1; -2; 3) + (4; 0; -5) = (5; -2; -2).
two equal vectors
All three corresponding coordinates are equal.Example: (x;y;z)=(2;1;0)(x; y; z) = (2; 1; 0) gives x=2x = 2, y=1y = 1, z=0z = 0.
multiplying a number by a vector
Multiply that number by each coordinate of the vector.Example: 3(2;−1;4)=(6;−3;12)3(2; -1; 4) = (6; -3; 12).

Coordinates of the midpoint of a line segment and the centroid of a triangle

In space OxyzOxyz, given three non-collinear points A(xA;yA;zA)A(x_A; y_A; z_A), B(xB;yB;zB)B(x_B; y_B; z_B), C(xC;yC;zC)C(x_C; y_C; z_C). Then:

  • The coordinates of the midpoint MM of the line segment ABAB are

M(xA+xB2;yA+yB2;zA+zB2).M\left(\frac{x_A + x_B}{2}; \frac{y_A + y_B}{2}; \frac{z_A + z_B}{2}\right).

  • The coordinates of the centroid GG of the triangle ABCABC are

G(xA+xB+xC3;yA+yB+yC3;zA+zB+zC3).G\left(\frac{x_A + x_B + x_C}{3}; \frac{y_A + y_B + y_C}{3}; \frac{z_A + z_B + z_C}{3}\right).

  • Example: A(1;2;0)A(1; 2; 0), B(4;0;7)B(4; 0; 7) gives the midpoint M(52;1;72)M\left(\frac{5}{2}; 1; \frac{7}{2}\right); adding C(1;−2;2)C(1; -2; 2) gives the centroid G(2;0;3)G\left(2; 0; 3\right).

In plain words: The midpoint splits the segment in half, so take the average of the two ends; the centroid balances the three vertices, so take the average of the three vertices. The formula works axis by axis, without mixing them. This is a neat tool for finding a point when you know it lies between, or for finding the remaining vertex of a triangle when you know the centroid.

Phrase by phrase
midpoint
The point between and equidistant from the two ends of the line segment, its coordinates are the average of the two ends.Example: A(1;2;0)A(1; 2; 0), B(4;0;7)B(4; 0; 7) gives M(52;1;72)M\left(\frac{5}{2}; 1; \frac{7}{2}\right).
centroid
The intersection of the three medians of the triangle, its coordinates are the average of the three vertices.Example: A(1;2;0)A(1; 2; 0), B(4;0;7)B(4; 0; 7), C(1;−2;2)C(1; -2; 2) gives G(2;0;3)G(2; 0; 3).

Common mistakesFind the midpoint by taking the average and then dividing by 3, or the centroid by dividing by 2. Midpoint divides by 2, centroid divides by 3.

TipRemember "end minus start" for AB→\overrightarrow{AB}, and remember the midpoint divides by 2, the centroid divides by 3.

Coordinate expression for the dot product

In space OxyzOxyz, the dot product of two vectors a→=(x;y;z)\overrightarrow{a} = (x; y; z) and b→=(x′;y′;z′)\overrightarrow{b} = (x'; y'; z') is given by the formula a→⋅b→=xx′+yy′+zz′\overrightarrow{a} \cdot \overrightarrow{b} = xx' + yy' + zz'.

  • The dot product is a number, not a vector: multiply each pair of coordinates in the same position and add the three results.
  • Example: a→=(1;−2;3)\overrightarrow{a} = (1; -2; 3), b→=(4;0;−5)\overrightarrow{b} = (4; 0; -5) gives a→⋅b→=1⋅4+(−2)⋅0+3⋅(−5)=4+0−15=−11\overrightarrow{a} \cdot \overrightarrow{b} = 1 \cdot 4 + (-2) \cdot 0 + 3 \cdot (-5) = 4 + 0 - 15 = -11.
  • Note: for two vectors a→\overrightarrow{a} and b→\overrightarrow{b} different from 0→\overrightarrow{0}, we have a→⊥b→\overrightarrow{a} \perp \overrightarrow{b} if and only if xx′+yy′+zz′=0xx' + yy' + zz' = 0; the scalar square a→⋅a→=x2+y2+z2\overrightarrow{a} \cdot \overrightarrow{a} = x^2 + y^2 + z^2.

In plain words: The sign of the dot product tells you the angle between two vectors different from 0→\overrightarrow{0}: positive means acute angle, zero means perpendicular, negative means obtuse angle. The formula is just multiplying each pair of coordinates in the same position and adding them up. Thanks to it, checking perpendicularity needs only one numerical calculation, no drawing. Remember to say perpendicular only when both vectors are different from 0→\overrightarrow{0}.

Phrase by phrase
a→⋅b→=xx′+yy′+zz′\overrightarrow{a} \cdot \overrightarrow{b} = xx' + yy' + zz'
Multiply each pair of coordinates in the same position and add them up.Example: (1;−2;3)⋅(4;0;−5)=−11(1; -2; 3) \cdot (4; 0; -5) = -11.
a→⊥b→\overrightarrow{a} \perp \overrightarrow{b}
Two vectors different from 0→\overrightarrow{0} are perpendicular, that is the dot product equals 0.Example: (1;0;2)⋅(2;5;−1)=2+0−2=0(1; 0; 2) \cdot (2; 5; -1) = 2 + 0 - 2 = 0.
a→⋅a→=x2+y2+z2\overrightarrow{a} \cdot \overrightarrow{a} = x^2 + y^2 + z^2
The scalar square equals the sum of the squares of the coordinates.Example: (1;−2;3)⋅(1;−2;3)=1+4+9=14(1; -2; 3) \cdot (1; -2; 3) = 1 + 4 + 9 = 14.

Common mistakesConcluding two vectors are perpendicular when you see some coordinate equal to 0. You must check that the sum xx′+yy′+zz′xx' + yy' + zz' equals 0 for them to be perpendicular.

TipThe three operations addition, subtraction and multiplication by a number are all done column by column of coordinates; the dot product is different: multiply each pair then add, and the result is a number.

TipTo check perpendicularity, calculate xx′+yy′+zz′xx' + yy' + zz' and see whether it equals 0; to check they are parallel, find a number tt to multiply all three coordinates by.

How to find the coordinates of a vector perpendicular to two given vectors

Given two non-collinear vectors a→=(x;y;z)\overrightarrow{a} = (x; y; z) and b→=(x′;y′;z′)\overrightarrow{b} = (x'; y'; z'). Then the vector w→=(yz′−y′z;zx′−z′x;xy′−x′y)\overrightarrow{w} = (yz' - y'z; zx' - z'x; xy' - x'y) is perpendicular to both vectors a→\overrightarrow{a} and b→\overrightarrow{b}.

  • How to remember: The x-coordinate of w→\overrightarrow{w} is the determinant of the pair (y,z)(y, z) and (y′,z′)(y', z'); the y-coordinate is the determinant of the pair (z,x)(z, x) and (z′,x′)(z', x'); the z-coordinate is the determinant of the pair (x,y)(x, y) and (x′,y′)(x', y').
  • Example: a→=(1;2;3)\overrightarrow{a} = (1; 2; 3), b→=(4;5;6)\overrightarrow{b} = (4; 5; 6) gives w→=(2⋅6−5⋅3;3⋅4−6⋅1;1⋅5−4⋅2)=(−3;6;−3)\overrightarrow{w} = (2 \cdot 6 - 5 \cdot 3; 3 \cdot 4 - 6 \cdot 1; 1 \cdot 5 - 4 \cdot 2) = (-3; 6; -3). Check: w→⋅a→=−3+12−9=0\overrightarrow{w} \cdot \overrightarrow{a} = -3 + 12 - 9 = 0, w→⋅b→=−12+30−18=0\overrightarrow{w} \cdot \overrightarrow{b} = -12 + 30 - 18 = 0.

In plain words: This formula is like the "cross product" but at a simpler level: it produces a new vector perpendicular to both given vectors. How to remember: take the coordinate pairs around the circle x→y→z→xx \to y \to z \to x, compute the difference of the cross multiplication. When you need to find a vector perpendicular to two vectors, just apply this formula, no need to solve a system of equations.

Phrase by phrase
vector w→\overrightarrow{w} is perpendicular to both vectors
The dot product of w→\overrightarrow{w} with a→\overrightarrow{a} and with b→\overrightarrow{b} are both 0.Example: w→=(−3;6;−3)\overrightarrow{w} = (-3; 6; -3) is perpendicular to (1;2;3)(1; 2; 3) and (4;5;6)(4; 5; 6).
non-collinear
Two non-collinear vectors ensure that vector w→\overrightarrow{w} is different from 0→\overrightarrow{0}.Example: (1;2;3)(1; 2; 3) and (4;5;6)(4; 5; 6) are non-collinear because there is no kk such that (4;5;6)=k(1;2;3)(4; 5; 6) = k(1; 2; 3).

Applications: computing length, angle, coordinates of the midpoint, centroid

From the coordinate expressions, we have the following formulas:

  • Length of a vector: ∣a→∣=x2+y2+z2|\overrightarrow{a}| = \sqrt{x^2 + y^2 + z^2}.
  • Length of segment ABAB: AB=∣AB→∣=(xB−xA)2+(yB−yA)2+(zB−zA)2AB = |\overrightarrow{AB}| = \sqrt{(x_B - x_A)^2 + (y_B - y_A)^2 + (z_B - z_A)^2}.
  • Angle between two vectors a→\overrightarrow{a} and b→\overrightarrow{b} different from 0→\overrightarrow{0}: cos⁡(a→,b→)=a→⋅b→∣a→∣⋅∣b→∣=xx′+yy′+zz′x2+y2+z2⋅x′2+y′2+z′2\cos(\overrightarrow{a}, \overrightarrow{b}) = \frac{\overrightarrow{a} \cdot \overrightarrow{b}}{|\overrightarrow{a}| \cdot |\overrightarrow{b}|} = \frac{xx' + yy' + zz'}{\sqrt{x^2 + y^2 + z^2} \cdot \sqrt{x'^2 + y'^2 + z'^2}}.
  • Coordinates of the midpoint MM of ABAB: M(xA+xB2;yA+yB2;zA+zB2)M\left(\frac{x_A + x_B}{2}; \frac{y_A + y_B}{2}; \frac{z_A + z_B}{2}\right).
  • Coordinates of the centroid GG of triangle ABCABC: G(xA+xB+xC3;yA+yB+yC3;zA+zB+zC3)G\left(\frac{x_A + x_B + x_C}{3}; \frac{y_A + y_B + y_C}{3}; \frac{z_A + z_B + z_C}{3}\right).
  • Example: a→=(2;−1;2)\overrightarrow{a} = (2; -1; 2) has ∣a→∣=4+1+4=3|\overrightarrow{a}| = \sqrt{4 + 1 + 4} = 3; with b→=(1;2;−2)\overrightarrow{b} = (1; 2; -2) then a→⋅b→=2−2−4=−4\overrightarrow{a} \cdot \overrightarrow{b} = 2 - 2 - 4 = -4 and cos⁡(a→,b→)=−43⋅3=−49\cos(\overrightarrow{a}, \overrightarrow{b}) = \frac{-4}{3 \cdot 3} = -\frac{4}{9}, so the angle between the two vectors is an obtuse angle.

In plain words: The length of a vector is the distance from the start point to the end point, computed as the square root of the sum of the three squares, like three-dimensional Pythagoras. The angle between two vectors takes the dot product divided by the product of the two lengths; the denominator is always positive, so the sign of the cosine is decided only by the dot product: a positive product gives an acute angle, 0 gives a right angle, negative gives an obtuse angle. You can only compute the angle when both vectors are different from 0→\overrightarrow{0}.

Phrase by phrase
∣a→∣=x2+y2+z2|\overrightarrow{a}| = \sqrt{x^2 + y^2 + z^2}
The length of a vector equals the square root of the sum of the squares of the three coordinates.Example: (2;−1;2)(2; -1; 2) has length 33.
cos⁡(a→,b→)=a→⋅b→∣a→∣⋅∣b→∣\cos(\overrightarrow{a}, \overrightarrow{b}) = \frac{\overrightarrow{a} \cdot \overrightarrow{b}}{|\overrightarrow{a}| \cdot |\overrightarrow{b}|}
The cosine of the angle between two vectors equals the dot product divided by the product of the two lengths.Example: (2;−1;2)(2; -1; 2) and (1;2;−2)(1; 2; -2) give cos⁡α=−49\cos\alpha = -\frac{4}{9}.
Length of a segment
Length of vector AB→\overrightarrow{AB}, equal to the square root of the sum of the squares of the coordinate differences.Example: A(1;0;0)A(1; 0; 0), B(0;1;0)B(0; 1; 0) give AB=2AB = \sqrt{2}.

Worked examples

Example 1

Given two vectors a→=(2;−1;3)\overrightarrow{a} = (2; -1; 3) and b→=(−1;4;0)\overrightarrow{b} = (-1; 4; 0). Compute a→+b→\overrightarrow{a} + \overrightarrow{b}, a→−b→\overrightarrow{a} - \overrightarrow{b} and 2a→−3b→2\overrightarrow{a} - 3\overrightarrow{b}.

Show the solution to example 1

Step 1: Add coordinate by coordinate in the same position: a→+b→=(2+(−1);−1+4;3+0)=(1;3;3)\overrightarrow{a} + \overrightarrow{b} = (2 + (-1); -1 + 4; 3 + 0) = (1; 3; 3).
Step 2: Subtract coordinate by coordinate in the same position: a→−b→=(2−(−1);−1−4;3−0)=(3;−5;3)\overrightarrow{a} - \overrightarrow{b} = (2 - (-1); -1 - 4; 3 - 0) = (3; -5; 3).
Why: Subtraction means taking the coordinates of a→\overrightarrow{a} minus the coordinates of b→\overrightarrow{b}, reversing the order gives the opposite vector.
Step 3: Multiply a number by a vector: 2a→=(4;−2;6)2\overrightarrow{a} = (4; -2; 6), 3b→=(−3;12;0)3\overrightarrow{b} = (-3; 12; 0).
Step 4: 2a→−3b→=(4−(−3);−2−12;6−0)=(7;−14;6)2\overrightarrow{a} - 3\overrightarrow{b} = (4 - (-3); -2 - 12; 6 - 0) = (7; -14; 6).
Result: a→+b→=(1;3;3)\overrightarrow{a} + \overrightarrow{b} = (1; 3; 3); a→−b→=(3;−5;3)\overrightarrow{a} - \overrightarrow{b} = (3; -5; 3); 2a→−3b→=(7;−14;6)2\overrightarrow{a} - 3\overrightarrow{b} = (7; -14; 6).

Common mistakesCalculate AB→\overrightarrow{AB} using the coordinates of the endpoint minus the starting point, giving a vector in the opposite direction. You must take the coordinates of the endpoint minus the coordinates of the starting point.

Common mistakesAdding two vectors by mixing up coordinates: taking the first coordinate of one vector plus the second coordinate of the other. You must add position by position: first with first, second with second, third with third.

Example 2

Given A(1;2;−1)A(1; 2; -1), B(3;0;4)B(3; 0; 4), C(−2;5;1)C(-2; 5; 1). a) Compute AB→⋅AC→\overrightarrow{AB} \cdot \overrightarrow{AC}. b) Is triangle ABCABC right-angled at AA? Check all three angles of the triangle.

Show the solution to example 2

Step 1: AB→=(3−1;0−2;4−(−1))=(2;−2;5)\overrightarrow{AB} = (3 - 1; 0 - 2; 4 - (-1)) = (2; -2; 5).
Step 2: AC→=(−2−1;5−2;1−(−1))=(−3;3;2)\overrightarrow{AC} = (-2 - 1; 5 - 2; 1 - (-1)) = (-3; 3; 2).
Step 3: AB→⋅AC→=2⋅(−3)+(−2)⋅3+5⋅2=−6−6+10=−2\overrightarrow{AB} \cdot \overrightarrow{AC} = 2 \cdot (-3) + (-2) \cdot 3 + 5 \cdot 2 = -6 - 6 + 10 = -2.
Step 4: The dot product equals −2≠0-2 \ne 0, so the two vectors are not perpendicular, and the triangle is not right at AA.
Why: For the triangle to be right at AA we would need AB→⋅AC→=0\overrightarrow{AB} \cdot \overrightarrow{AC} = 0; here the product is negative, so the angle at AA is an obtuse angle.
Step 5: Check also the angle at BB: BA→=(−2;2;−5)\overrightarrow{BA} = (-2; 2; -5), BC→=(−5;5;−3)\overrightarrow{BC} = (-5; 5; -3), the product equals 10+10+15=35≠010 + 10 + 15 = 35 \ne 0. The angle at CC: CA→=(3;−3;−2)\overrightarrow{CA} = (3; -3; -2), CB→=(5;−5;3)\overrightarrow{CB} = (5; -5; 3), the product equals 15+15−6=24≠015 + 15 - 6 = 24 \ne 0.
Result: AB→⋅AC→=−2\overrightarrow{AB} \cdot \overrightarrow{AC} = -2; triangle ABCABC is not right at any vertex.

Example 3

Given A(2;−1;3)A(2; -1; 3), B(4;3;1)B(4; 3; 1). a) Find the coordinates of the midpoint MM of ABAB. b) Find the coordinates of point NN such that AA is the midpoint of NBNB.

Show the solution to example 3

Step 1: The midpoint MM has coordinates equal to the average of the two endpoints: M(2+42;−1+32;3+12)=(3;1;2)M\left(\frac{2 + 4}{2}; \frac{-1 + 3}{2}; \frac{3 + 1}{2}\right) = (3; 1; 2).
Step 2: AA is the midpoint of NBNB, so xA=xN+xB2x_A = \frac{x_N + x_B}{2}, that is xN=2xA−xBx_N = 2x_A - x_B.
Why: From the midpoint formula, multiply both sides by 2 and move xBx_B over, and you get the coordinates of the other endpoint when one endpoint and the midpoint are known.
Step 3: xN=2⋅2−4=0x_N = 2 \cdot 2 - 4 = 0; yN=2⋅(−1)−3=−5y_N = 2 \cdot (-1) - 3 = -5; zN=2⋅3−1=5z_N = 2 \cdot 3 - 1 = 5.
Step 4: Check: the midpoint of N(0;−5;5)N(0; -5; 5) and B(4;3;1)B(4; 3; 1) is (0+42;−5+32;5+12)=(2;−1;3)=A\left(\frac{0 + 4}{2}; \frac{-5 + 3}{2}; \frac{5 + 1}{2}\right) = (2; -1; 3) = A, which matches.
Result: M(3;1;2)M(3; 1; 2); N(0;−5;5)N(0; -5; 5).

Example 4

Given triangle ABCABC with A(1;0;2)A(1; 0; 2), B(−1;3;1)B(-1; 3; 1), C(2;2;−1)C(2; 2; -1). Find the coordinates of the centroid GG of the triangle and the coordinates of point DD such that ABCDABCD is a parallelogram.

Show the solution to example 4

Step 1: The centroid is the average of the three vertices: G(1+(−1)+23;0+3+23;2+1+(−1)3)=(23;53;23)G\left(\frac{1 + (-1) + 2}{3}; \frac{0 + 3 + 2}{3}; \frac{2 + 1 + (-1)}{3}\right) = \left(\frac{2}{3}; \frac{5}{3}; \frac{2}{3}\right).
Step 2: If ABCDABCD is a parallelogram, then AB→=DC→\overrightarrow{AB} = \overrightarrow{DC}.
Why: The two opposite sides are parallel and congruent, pointing the same way from AA to BB and from DD to CC, so those two vectors are equal.
Step 3: AB→=(−1−1;3−0;1−2)=(−2;3;−1)\overrightarrow{AB} = (-1 - 1; 3 - 0; 1 - 2) = (-2; 3; -1).
Step 4: DC→=(2−xD;2−yD;−1−zD)\overrightarrow{DC} = (2 - x_D; 2 - y_D; -1 - z_D). Set equal to AB→\overrightarrow{AB}: 2−xD=−22 - x_D = -2, 2−yD=32 - y_D = 3, −1−zD=−1-1 - z_D = -1.
Step 5: xD=4x_D = 4, yD=−1y_D = -1, zD=0z_D = 0. Check: the midpoint of ACAC is (32;1;12)\left(\frac{3}{2}; 1; \frac{1}{2}\right), the midpoint of BDBD is (−1+42;3+(−1)2;1+02)=(32;1;12)\left(\frac{-1 + 4}{2}; \frac{3 + (-1)}{2}; \frac{1 + 0}{2}\right) = \left(\frac{3}{2}; 1; \frac{1}{2}\right), the two diagonals share the same midpoint, so it really is a parallelogram.
Result: G(23;53;23)G\left(\frac{2}{3}; \frac{5}{3}; \frac{2}{3}\right); D(4;−1;0)D(4; -1; 0).

Example 5

Given a→=(1;−2;2)\overrightarrow{a} = (1; -2; 2). Compute ∣a→∣|\overrightarrow{a}| and find the number kk so that vector b→=(3;k;6)\overrightarrow{b} = (3; k; 6) is parallel to a→\overrightarrow{a}.

Show the solution to example 5

Step 1: ∣a→∣=a→⋅a→=12+(−2)2+22=1+4+4=9=3|\overrightarrow{a}| = \sqrt{\overrightarrow{a} \cdot \overrightarrow{a}} = \sqrt{1^2 + (-2)^2 + 2^2} = \sqrt{1 + 4 + 4} = \sqrt{9} = 3.
Why: The square of a vector equals the sum of the squares of its coordinates, and the square of its length also equals the dot product of the vector with itself.
Step 2: b→\overrightarrow{b} is parallel to a→\overrightarrow{a} when there exists tt such that (3;k;6)=t(1;−2;2)(3; k; 6) = t(1; -2; 2).
Step 3: From the first coordinate: 3=t⋅13 = t \cdot 1, so t=3t = 3. From the third coordinate: 6=t⋅26 = t \cdot 2 also gives t=3t = 3, which matches.
Step 4: Second coordinate: k=3⋅(−2)=−6k = 3 \cdot (-2) = -6.
Result: ∣a→∣=3|\overrightarrow{a}| = 3; k=−6k = -6, and then b→=3a→\overrightarrow{b} = 3\overrightarrow{a}.

Common mistakesCalculating the dot product gives a vector. The dot product is a number, equal to the sum of the three products of coordinate pairs in the same position.

Example 6

In space with coordinate system OxyzOxyz (unit of measurement is km), radar recorded the plane at position A(800;500;7)A(800; 500; 7) at 8 o'clock and at position B(940;550;8)B(940; 550; 8) at 8:10. The plane keeps the same direction and speed. Where will the plane be at 8:15?

Show the solution to example 6

Step 1: The displacement vector during the first 10 minutes: AB→=(940−800;550−500;8−7)=(140;50;1)\overrightarrow{AB} = (940 - 800; 550 - 500; 8 - 7) = (140; 50; 1).
Step 2: Let C(x;y;z)C(x; y; z) be the position at 8:15, that is after BB another 5 minutes. The direction and speed do not change, so BC→\overrightarrow{BC} points the same way as AB→\overrightarrow{AB}, and the distance is proportional to the time: 5 minutes is half of 10 minutes.
Why: Same direction, so BC→=tAB→\overrightarrow{BC} = t\overrightarrow{AB} with t>0t > 0; the length is proportional to the time, so t=510=12t = \frac{5}{10} = \frac{1}{2}.
Step 3: BC→=12(140;50;1)=(70;25;0,5)\overrightarrow{BC} = \frac{1}{2}(140; 50; 1) = (70; 25; 0,5).
Step 4: BC→=(x−940;y−550;z−8)\overrightarrow{BC} = (x - 940; y - 550; z - 8), set equal to (70;25;0,5)(70; 25; 0,5) gives x=1010x = 1010, y=575y = 575, z=8,5z = 8,5.
Step 5: Check: AC→=(210;75;1,5)=32AB→\overrightarrow{AC} = (210; 75; 1,5) = \frac{3}{2}\overrightarrow{AB}, which is exactly 15 minutes compared with 10 minutes.
Result: at 8:15 the plane is at position (1010;575;8,5)(1010; 575; 8,5).

Terms

Coordinates of a vector
The triple of numbers (x;y;z)(x; y; z) writes the vector in terms of the three unit vectors i→,j→,k→\overrightarrow{i}, \overrightarrow{j}, \overrightarrow{k}.Example: a→=(2;−3;5)\overrightarrow{a} = (2; -3; 5).
Coordinates of a point
The coordinates of the vector joining the origin to that point.Example: M(1;4;−2)M(1; 4; -2).
Unit vector
A vector with length equal to 1.Example: i→=(1;0;0)\overrightarrow{i} = (1; 0; 0) is a unit vector.
Sum and difference of two vectors
Add and subtract position by position.Example: (1;−2;3)−(4;0;−5)=(−3;−2;8)(1; -2; 3) - (4; 0; -5) = (-3; -2; 8).
Multiplying a number by a vector
Multiply that number by each coordinate of the vector.Example: −2(1;3;0)=(−2;−6;0)-2(1; 3; 0) = (-2; -6; 0).
Dot product
A number, equal to the sum of the products of each pair of coordinates in the same position.Example: (1;−2;3)⋅(4;0;−5)=−11(1; -2; 3) \cdot (4; 0; -5) = -11.
Midpoint of a line segment
The point whose coordinates are the average of the coordinates of the two endpoints.Example: A(0;0;0)A(0; 0; 0), B(2;4;6)B(2; 4; 6) give the midpoint (1;2;3)(1; 2; 3).
Centroid of a triangle
The point whose coordinates are the average of the coordinates of the three vertices.Example: A(0;0;0)A(0; 0; 0), B(3;0;0)B(3; 0; 0), C(0;3;3)C(0; 3; 3) give G(1;1;1)G(1; 1; 1).
A vector perpendicular to two given vectors
A vector whose coordinates are calculated by the formula (yz′−y′z;zx′−z′x;xy′−x′y)(yz' - y'z; zx' - z'x; xy' - x'y).Example: With a→=(1;2;3)\overrightarrow{a} = (1; 2; 3), b→=(4;5;6)\overrightarrow{b} = (4; 5; 6) then w→=(−3;6;−3)\overrightarrow{w} = (-3; 6; -3).

Practise this lesson with instant marking and saved progress in the study app. Suggested plan: Class lessons plan, Maths 12.

Practice

Answer each question, then press Check. If you get stuck, open the hints under the question one step at a time.

Question 3 of 7Written answer · Understanding

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

Trong không gian với hệ tọa độ Oxyz, cho a→=(3;2;−1)\overrightarrow a = (3;2; - 1), b→=(−2;1;2)\overrightarrow b = ( - 2;1;2). Tính cosin của góc (a→,b→)(\overrightarrow a ,\overrightarrow b ).

Do this question in your notebook and show every step. When you finish, press the button below to compare with the mark scheme.

Asking the teacher while practising is for children who have a profile. It is free to turn on: Parent sign-in.