Operations on vectors in coordinates
🖨 Print a self-study sheet Why print?
A camping tent has a vertical pole whose top is m above the ground. Two guy ropes run from the top of the pole down to two pegs in the ground. With the foot of the pole at the origin and the metre as unit, the top of the pole is and the pegs are and . What angle do the two ropes make with each other?
The previous lesson gave us coordinates of points and vectors. This lesson turns every vector operation, the scalar product included, into arithmetic on numbers, so the question above needs only a few multiplications and additions.
Addition, subtraction and multiplication by a number
Since and , we collect the terms with the same unit vector: The difference and the product with a number work the same way.
The collinearity condition gives a test for three points on a line: , , are collinear if and only if and are collinear.
The scalar product in coordinates
Exploring: expanding with , ,
Let us compute by expanding. There are four products: Since while products of two different unit vectors are , only is left. That is exactly : multiply the coordinates in the same position and add.
Why is it true? Expanding as in the exploration gives nine products; the six products of two different unit vectors are , and the remaining three are , , . Taking gives .
Now we answer the tent question. The angle between the ropes is the angle between two vectors starting at the top of the pole.
Solving geometry problems with coordinates
Once we have coordinates, many geometric questions become calculations: a parallelogram needs , and two perpendicular lines need a zero scalar product.
The last example has more steps, so we follow the four stages.
Key terms
Summary
- Add, subtract, multiply by a number: work on each coordinate.
- is collinear with ; , , are collinear , are collinear.
- (a number); .
- ; .
- The angle of a triangle is the angle between and .
- Parallelogram : .
Practice
Each exercise comes with what you need and some steps to start. Try it yourself first, then open the solution.
Let and . Find , and .
What you need: add, subtract and multiply by a number coordinate by coordinate; .
Steps:
- Compute and first.
- Multiply coordinates in the same position and add.
Show solution
. , , so . .
Answer. ; ; .
Let . Find and the vector with the same direction as and length .
What you need: ; has the same direction as and length .
Steps:
- Compute .
- Divide each coordinate by .
Show solution
, so .
Answer. ; .
Find the angle between the vectors and .
What you need: .
Steps:
- Compute , , .
- Find the angle with that cosine.
Show solution
Answer. .
Among the three vectors , , , which pairs are perpendicular?
What you need: .
Steps:
- Compute the three scalar products , , .
- Pick those equal to .
Show solution
, , .
Answer. and ; and are not perpendicular.
Find , such that the vectors and are collinear.
What you need: is collinear with .
Steps:
- Find from the x-coordinates: .
- Use for the other two coordinates.
Show solution
. Then , so , and .
Answer. , .
Let , , . Prove that triangle has a right angle at and find its area.
What you need: right angle at ; the area of a right-angled triangle is half the product of the two shorter sides.
Steps:
- Find , and their scalar product.
- Find , .
Show solution
, so .
Answer. The triangle is right-angled (and isosceles) at ; .
Let and . Is each claim true or false?
a) .
b) .
c) .
d) .
What you need: the formulas for length, scalar product and subtraction in coordinates.
Steps:
- Compute and .
- Subtract coordinate by coordinate.
- Compute and its length.
Show solution
a) True. .
b) True. .
c) False. .
d) False. , so .
Answer. a) True; b) True; c) False; d) False.
A person pulls a sledge with the force (unit: N). The sledge moves along the displacement (unit: m). Find the angle between the pulling force and the direction of motion (in degrees, rounded to the nearest whole number).
What you need: ; in physics, is the work done by the force (unit: J).
Steps:
- Compute .
- Compute , and the cosine of the angle.
Show solution
(The work done by the force is J.)
Answer. .
(Revisiting Vectors and their operations in space.) In the previous lesson, by decomposing vectors, we found that the angle between and in the cube is . Find it again with coordinates, for the cube with edge , at the origin, , , .
What you need: the coordinates of the vertices of the cube; the cosine formula for the angle.
Steps:
- Write and find , .
- Compute the cosine.
Show solution
Answer. , the same as in the previous lesson.
Let and . Find the points on the axis such that triangle has a right angle at .
What you need: a point on has the form ; right angle at .
Steps:
- Write , in terms of .
- Set the scalar product equal to and solve.
Show solution
, . Check. For : . For : .
Answer. or .
Mini test
Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.
Part I. Multiple choice
, so . Option A gets the sign wrong when subtracting , option C is , and option D forgets to multiply by .
. Option B writes the scalar product as a vector, and option D gets the sign of wrong.
. Option C equals , which is parallel to , not perpendicular; A and B give scalar products and .
, so the angle is . Option B ignores the minus sign of the scalar product.
Part II. True or false
| a) . | ||
| b) Triangle has a right angle at . | ||
| c) The area of triangle is . | ||
| d) The angle is greater than . |
a) True. b) True: and . c) False: and , so the area is . d) True: , , , so the angle is about .
Part III. Short answer
and . The z-coordinates give , , so , and .
, , and . So and the angle is about , which rounds to .
Show answers and explanations
- Part I, question 1: B. , so . Option A gets the sign wrong when subtracting , option C is , and option D forgets to multiply by .
- Part I, question 2: C. . Option B writes the scalar product as a vector, and option D gets the sign of wrong.
- Part I, question 3: D. . Option C equals , which is parallel to , not perpendicular; A and B give scalar products and .
- Part I, question 4: A. , so the angle is . Option B ignores the minus sign of the scalar product.
- Part II, question 1: a) True; b) True; c) False; d) True. a) True. b) True: and . c) False: and , so the area is . d) True: , , , so the angle is about .
- Part III, question 1: 3. and . The z-coordinates give , , so , and .
- Part III, question 2: 56.5. , , and . So and the angle is about , which rounds to .