A classroom is 8 m long, 6 m wide and 3 m high. A lamp hangs 2 m from the front wall, 3 m from the left wall and 2.5 m above the floor. A smoke sensor sits in the opposite floor corner, 8 m and 6 m from those two walls. How far is the lamp from the sensor?
In the plane, two numbers are enough to fix the position of a point. In space we need three, and those three numbers let us find distances without drawing anything.
The coordinate system Oxyz
Exploring: three numbers for one position
Take the floor corner between the front wall and the left wall as the origin O. From O, the three lines where the floor and the two walls meet give three pairwise perpendicular directions: along the left wall, along the front wall, and straight up. To reach the lamp we go 2 m in the first direction, 3 m in the second, then 2.5 m up. The triple (2,3,2.5) fixes exactly one position in the room, and the sensor corresponds to (8,6,0).
If i, j, k are the vectors of length 1 m in those three directions, then by the parallelepiped rule (previous lesson) the vector from O to the lamp is 2i+3j+2.5k.
Coordinates of a point and of a vector
So the coordinates of the point M are exactly the coordinates of the vector OM. In particular i=(1,0,0), j=(0,1,0), k=(0,0,1) and 0=(0,0,0).
The cuboid OABC.O′A′B′C′ in the system Oxyz
The first example reads coordinates from the cuboid above, whose edges run along the three axes.
Points on the axes and the coordinate planes
From the definition, we can read the position of a point from the coordinates that are 0:
Position of M
Condition
on the axis Ox / Oy / Oz
y=z=0 / z=x=0 / x=y=0
in the plane (Oxy) / (Oyz) / (Ozx)
z=0 / x=0 / y=0
The orthogonal projection of M(x,y,z) onto a coordinate plane is found by setting the remaining coordinate to 0; onto an axis, keep only that axis's coordinate. The distance from M to the plane (Oxy) is ∣z∣, because M is exactly ∣z∣ away from its projection (x,y,0).
Coordinates of the vector AB
Since AB=OB−OA, we subtract component by component along i, j, k. For A(xA,yA,zA) and B(xB,yB,zB):
AB=(xB−xA,yB−yA,zB−zA).
The familiar rule again: end point minus start point. Two vectors are equal if and only if their three corresponding coordinates are equal.
Distance, midpoint and centroid
Write AB=ai+bj+ck with a=xB−xA, b=yB−yA, c=zB−zA. When we square, the scalar products i⋅j, j⋅k, k⋅i are 0, so AB2=a2+b2+c2. This is also the diagonal of a cuboid with edges ∣a∣, ∣b∣, ∣c∣.
The last two formulas come from OM=21(OA+OB) and OG=31(OA+OB+OC): we take the mean of each coordinate, just as in the plane.
Now we answer the opening question.
Key terms
Summary
Oxyz: three pairwise perpendicular axes with unit vectors i, j, k of length 1, pairwise perpendicular.
M(x,y,z)⟺OM=xi+yj+zk; a=(x,y,z)⟺a=xi+yj+zk.
In (Oxy): z=0; on Ox: y=z=0. The projection of (x,y,z) onto (Oxy) is (x,y,0).
AB=(xB−xA,yB−yA,zB−zA); AB is the square root of the sum of three squares.
Midpoint, centroid: the mean of each coordinate.
Practice
Each exercise comes with what you need and some steps to start. Try it yourself first, then open the solution.
Exercise 1
a) Find the coordinates of the point M given OM=2i−3j+k.
b) Find the coordinates of the vector a=−i+4k.
What you need and how to start
What you need:OM=xi+yj+zk⟺M(x,y,z); a missing component has coefficient 0.
Steps:
Read off the coefficients of i, j, k in turn.
b) The coefficient of j is 0.
Show solution
a) The coefficients are 2, −3, 1, so M(2,−3,1).
b) a=−1⋅i+0⋅j+4k, so a=(−1,0,4).
Answer. a) M(2,−3,1); b) a=(−1,0,4).
Exercise 2
Let N(4,−1,3). Find the projections of N onto the planes (Oxy), (Oyz), (Ozx) and onto the axis Oy. Find the distance from N to the plane (Ozx).
What you need and how to start
What you need: projection onto a coordinate plane: set the remaining coordinate to 0; the plane (Ozx) is y=0.
Steps:
Write the three projections onto the three planes.
Onto the axis Oy: keep only the y-coordinate.
The distance to (Ozx) is ∣y∣.
Show solution
(Oxy): (4,−1,0); (Oyz): (0,−1,3); (Ozx): (4,0,3); axis Oy: (0,−1,0). The distance to (Ozx) is ∣−1∣=1.
Answer.(4,−1,0), (0,−1,3), (4,0,3), (0,−1,0); the distance is 1.
Exercise 3
Let A(2,−1,3) and B(−1,3,3). Find the coordinates of AB and the length AB.
What you need and how to start
What you need:AB=(xB−xA,yB−yA,zB−zA); AB=a2+b2+c2.
Steps:
Subtract coordinate by coordinate.
Add the three squares and take the square root.
Show solution
AB=(−3,4,0),AB=9+16+0=5.
Answer.AB=(−3,4,0); AB=5.
Exercise 4
Let A(2,1,−3), B(0,5,1), C(4,−3,5). Find the midpoint M of AB and the centroid G of triangle ABC.
What you need and how to start
What you need: midpoint and centroid: the mean of each coordinate.
Let A(1,−2,3) and M(2,0,1). Find the point N such that M is the midpoint of AN.
What you need and how to start
What you need:M is the midpoint of AN⟺xM=2xA+xN (and likewise), that is xN=2xM−xA.
Steps:
Double the coordinates of M.
Subtract the coordinates of A.
Show solution
N(2⋅2−1,2⋅0+2,2⋅1−3)=N(3,2,−1).Check. The midpoint of A(1,−2,3) and N(3,2,−1) is (2,0,1)=M.
Answer.N(3,2,−1).
Exercise 6
A control station is at the origin O of a system Oxyz (unit: metre; Ox points east, Oy north, Oz up). A drone is flying at the point P(120,−50,60). How many metres is the drone from the station? (Round to the nearest whole number.)
a) The projection of M onto the plane (Oxy) is (3,−4,0).
b) The distance from M to the plane (Oyz) is 4.
c) OM=13.
d) The distance from M to the axis Ox is 4.
What you need and how to start
What you need: the distance to (Oyz) is ∣x∣; the distance to the axis Ox is y2+z2.
Steps:
Write the projection onto (Oxy).
Find OM from the three coordinates.
Decide which coordinates each distance uses.
Show solution
a) True. Keep x, y and set z=0.
b) False. The distance to (Oyz) is ∣x∣=3.
c) True.OM=9+16+144=169=13.
d) False. The projection onto Ox is H(3,0,0), so MH=16+144=160=410.
Answer. a) True; b) False; c) True; d) False.
Exercise 8
The cube ABCD.A′B′C′D′ with edge 4 is placed in Oxyz so that A is at O, B(4,0,0), D(0,4,0), A′(0,0,4). Find the coordinates of C′, of the centre I of the face A′B′C′D′, and the length IB.
What you need and how to start
What you need: the parallelepiped rule AC′=AB+AD+AA′; the centre of a square is the midpoint of a diagonal.
Steps:
Add the three edge vectors to get C′.
I is the midpoint of A′C′.
Find IB with the distance formula.
Show solution
AC′=(4,0,0)+(0,4,0)+(0,0,4)=(4,4,4), so C′(4,4,4). The midpoint of A′(0,0,4) and C′ is I(2,2,4). Then
IB=(4−2)2+(0−2)2+(0−4)2=24=26.
b) Regard A, B as the points A(1,2,0), B(4,6,0) of the plane (Oxy) in space. Lift B straight up to B′(4,6,12). Find AB′.
What you need and how to start
What you need:AB=(xB−xA)2+(yB−yA)2 in the plane; in space there is an extra (zB−zA)2.
Steps:
a) Find the two coordinate differences.
b) Add the height difference 12 and notice that ABB′ has a right angle at B.
Show solution
a) AB=32+42=5.
b) AB′=(3,4,12), so AB′=9+16+144=13. This is exactly Pythagoras' theorem in triangle ABB′ with the right angle at B: 52+122=132.
Answer. a) AB=5; b) AB′=13.
Exercise 10 Challenge
Find the point M on the axis Oz that is equidistant from A(1,2,3) and B(−1,0,5).
What you need and how to start
What you need: a point on Oz has the form M(0,0,t); MA=MB⟺MA2=MB2.
Steps:
Write MA2 and MB2 in terms of t.
Set them equal; the t2 terms cancel.
Show solution
MA2=1+4+(t−3)2=t2−6t+14,MB2=1+0+(t−5)2=t2−10t+26.t2−6t+14=t2−10t+26⟺4t=12⟺t=3.Check.MA=1+4+0=5 and MB=1+0+4=5.
Answer.M(0,0,3).
Mini test
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
Question 1. In the system Oxyz, the point M satisfies OM=3i−k. The coordinates of M are
Answer: C.
The coefficients of i, j, k are 3, 0, −1. Option B forgets that a missing j means the y-coordinate is 0.
Question 2. The orthogonal projection of the point A(2,−5,4) onto the plane (Oyz) is
Answer: B.
The plane (Oyz) is x=0, so we keep y, z and set x=0. Option A is the projection onto the axis Ox, and option C is the projection onto (Oxy).
Question 3. Let A(1,−2,3) and B(3,0,−1). The midpoint I of the segment AB is
Answer: D.
Take the mean of each coordinate: (21+3,2−2+0,23−1). Option B is 21AB, option C forgets to divide by 2, and option A is AB.
Question 4. The distance from the point M(3,−4,6) to the axis Oz is
Answer: A.
The projection of M onto Oz is H(0,0,6), so MH=32+42=5. Option B is the distance to (Oxy), option C is OM, and option D is the distance to the axis Ox.
Part II. True or false
Question 1. In the system Oxyz, let A(1,2,−1), B(3,−2,3), C(−1,3,1).
a)AB=(2,−4,4).
b)AB=6.
c) The centroid of triangle ABC is G(3,3,3).
d) The point D that makes ABCD a parallelogram is D(−3,7,−3).
Answer: a) True; b) True; c) False; d) True.
a) True: end point minus start point. b) True: 4+16+16=6. c) False: G(1,1,1); (3,3,3) is the sum of the coordinates before dividing by 3. d) True: ABCD is a parallelogram when AB=DC, so D=(−1−2,3+4,1−4)=(−3,7,−3).
Part III. Short answer
Question 1. Let A(1,0,0), B(0,2,0), C(0,0,2). Find the perimeter of triangle ABC, giving your answer to 1 decimal place.
Answer: 7.3.
AB=1+4=5, AC=1+4=5, BC=4+4=22. The perimeter is 25+22≈7.30, which rounds to 7.3.
Question 2. In a system Oxyz attached to a training ground (unit: metre), two drones are at the points P(10,20,15) and Q(40,−20,45). How far apart are the drones, in metres? Give your answer to 1 decimal place.
Answer: 58.3.
PQ=(30,−40,30), so PQ=900+1600+900=3400≈58.31, which rounds to 58.3 m.
Show answers and explanations
Part I, question 1: C. The coefficients of i, j, k are 3, 0, −1. Option B forgets that a missing j means the y-coordinate is 0.
Part I, question 2: B. The plane (Oyz) is x=0, so we keep y, z and set x=0. Option A is the projection onto the axis Ox, and option C is the projection onto (Oxy).
Part I, question 3: D. Take the mean of each coordinate: (21+3,2−2+0,23−1). Option B is 21AB, option C forgets to divide by 2, and option A is AB.
Part I, question 4: A. The projection of M onto Oz is H(0,0,6), so MH=32+42=5. Option B is the distance to (Oxy), option C is OM, and option D is the distance to the axis Ox.
Part II, question 1: a) True; b) True; c) False; d) True. a) True: end point minus start point. b) True: 4+16+16=6. c) False: G(1,1,1); (3,3,3) is the sum of the coordinates before dividing by 3. d) True: ABCD is a parallelogram when AB=DC, so D=(−1−2,3+4,1−4)=(−3,7,−3).
Part III, question 1: 7.3. AB=1+4=5, AC=1+4=5, BC=4+4=22. The perimeter is 25+22≈7.30, which rounds to 7.3.
Part III, question 2: 58.3. PQ=(30,−40,30), so PQ=900+1600+900=3400≈58.31, which rounds to 58.3 m.