How to use these solu­tions

These are step-by-step worked solu­tions to the Prac­tice ques­tions of the les­son Coor­di­nates in Space and the Dis­tance For­mula. Try each ques­tion your­self first, then com­pare your work­ing with the steps here. Nearly every ques­tion uses one tool, the dis­tance for­mula PQ=(x2−x1)2+(y2−y1)2+(z2−z1)2PQ = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2 + (z_2 - z_1)^2}, so write it down before you start.

Ques­tion 1: Nam­ing octants from signs

The prob­lem

Name the octant in which each point lies: (−2,3,4)(-2, 3, 4); (4,−2,−5)(4, -2, -5); (−3,−1,6)(-3, -1, 6); (2,5,−1)(2, 5, -1).

Under­stand­ing the prob­lem

The three coor­di­nate planes divide space into eight octants, num­bered I to VIII. Which octant a point is in depends only on the signs of its three coor­di­nates, not their sizes.

The idea

Write the sign pat­tern (±,±,±)(\pm, \pm, \pm) of each point and match it with the octant table in the les­son:

Octant I II III IV V VI VII VIII
xx ++ −- −- ++ ++ −- −- ++
yy ++ ++ −- −- ++ ++ −- −-
zz ++ ++ ++ ++ −- −- −- −-

Step-by-step solu­tion

Step 1. (−2,3,4)(-2, 3, 4) has signs (−,+,+)(-, +, +). In the table this is col­umn II.

Step 2. (4,−2,−5)(4, -2, -5) has signs (+,−,−)(+, -, -): col­umn VIII.

Step 3. (−3,−1,6)(-3, -1, 6) has signs (−,−,+)(-, -, +): col­umn III.

Step 4. (2,5,−1)(2, 5, -1) has signs (+,+,−)(+, +, -): col­umn V.

Check­ing the answer

A quick mem­ory aid: octants I to IV have z>0z > 0 (above the XYXY-plane) and V to VIII have z<0z < 0. Points 1 and 3 have pos­i­tive zz and got octants II and III; points 2 and 4 have neg­a­tive zz and got VIII and V. Con­sis­tent.

Answer

II; VIII; III; V.

Ques­tion 2: Points on an axis and in a coor­di­nate plane

The prob­lem

What are the coor­di­nates of a gen­eral point on the yy-axis? Of a gen­eral point in the ZXZX-plane?

Under­stand­ing the prob­lem

The coor­di­nates (x,y,z)(x, y, z) are the signed dis­tances of a point from the YZYZ-, ZXZX- and XYXY-planes. You must say which coor­di­nates are forced to be zero.

The idea

A point on the yy-axis lies in both the XYXY-plane (z=0z = 0) and the YZYZ-plane (x=0x = 0). The ZXZX-plane is the plane y=0y = 0.

Step-by-step solu­tion

Step 1. On the yy-axis the point lies in the YZYZ-plane, so x=0x = 0, and in the XYXY-plane, so z=0z = 0. Only yy is free.

(0, y, 0)(0,\ y,\ 0)

Step 2. In the ZXZX-plane the dis­tance from that plane, which is yy, is zero. The other two are free.

(x, 0, z)(x,\ 0,\ z)

Check­ing the answer

(0,5,0)(0, 5, 0) is clearly on the yy-axis; (2,0,−3)(2, 0, -3) has no yy-com­po­nent, so it lies in the ZXZX-plane.

Answer

On the yy-axis: (0,y,0)(0, y, 0). In the ZXZX-plane: (x,0,z)(x, 0, z).

Ques­tion 3: Using the dis­tance for­mula

The prob­lem

Find the dis­tance between (a) (2,−1,3)(2, -1, 3) and (−4,1,0)(-4, 1, 0); (b) (a,b,c)(a, b, c) and (−a,−b,−c)(-a, -b, -c).

Under­stand­ing the prob­lem

Both parts are direct uses of the dis­tance for­mula. In (b) the answer will be an expres­sion in aa, bb, cc.

The idea

Sub­tract coor­di­nates in order, square each dif­fer­ence, add, and take the square root. Squar­ing removes any minus signs, so the order of sub­trac­tion does not mat­ter.

Step-by-step solu­tion

Part (a)

Step 1. Dif­fer­ences: xx: −4−2=−6-4 - 2 = -6; yy: 1−(−1)=21 - (-1) = 2; zz: 0−3=−30 - 3 = -3.

Step 2. Square and add.

(−6)2+22+(−3)2=36+4+9=49(-6)^2 + 2^2 + (-3)^2 = 36 + 4 + 9 = 49

Step 3. Take the square root.

d=49=7d = \sqrt{49} = 7

Part (b)

Step 1. Dif­fer­ences: −a−a=−2a-a - a = -2a, −b−b=−2b-b - b = -2b, −c−c=−2c-c - c = -2c.

Step 2. Square and add.

(−2a)2+(−2b)2+(−2c)2=4a2+4b2+4c2=4(a2+b2+c2)(-2a)^2 + (-2b)^2 + (-2c)^2 = 4a^2 + 4b^2 + 4c^2 = 4(a^2 + b^2 + c^2)

Step 3. Take the square root; 4=2\sqrt{4} = 2 comes out­side.

d=2a2+b2+c2d = 2\sqrt{a^2 + b^2 + c^2}

Check­ing the answer

In (b) the two points are reflec­tions of each other in the ori­gin, so the dis­tance should be twice the dis­tance of (a,b,c)(a, b, c) from OO, which is a2+b2+c2\sqrt{a^2 + b^2 + c^2}. It is.

Answer

(a) 77 units; (b) 2a2+b2+c22\sqrt{a^2 + b^2 + c^2} units.

Ques­tion 4: Prov­ing three points collinear

The prob­lem

Show that (−1,4,2)(-1, 4, 2), (1,3,0)(1, 3, 0) and (5,1,−4)(5, 1, -4) are collinear.

Under­stand­ing the prob­lem

Collinear means all three points lie on one straight line. You must prove it, not just state it.

The idea

As in Exam­ple 4, three points are collinear exactly when the two shorter dis­tances add up to the longest one; then the mid­dle point lies on the seg­ment join­ing the other two. So find all three dis­tances.

Step-by-step solu­tion

Step 1. Name the points P(−1,4,2)P(-1, 4, 2), Q(1,3,0)Q(1, 3, 0), R(5,1,−4)R(5, 1, -4).

Step 2. Find PQPQ. Dif­fer­ences 2,−1,−22, -1, -2.

PQ=22+(−1)2+(−2)2=4+1+4=9=3PQ = \sqrt{2^2 + (-1)^2 + (-2)^2} = \sqrt{4 + 1 + 4} = \sqrt{9} = 3

Step 3. Find QRQR. Dif­fer­ences 4,−2,−44, -2, -4.

QR=16+4+16=36=6QR = \sqrt{16 + 4 + 16} = \sqrt{36} = 6

Step 4. Find PRPR. Dif­fer­ences 6,−3,−66, -3, -6.

PR=36+9+36=81=9PR = \sqrt{36 + 9 + 36} = \sqrt{81} = 9

Step 5. Com­pare: the two shorter dis­tances add up to the longest.

PQ+QR=3+6=9=PRPQ + QR = 3 + 6 = 9 = PR

If QQ were off the line PRPR, the tri­an­gle PQRPQR would give PQ+QR>PRPQ + QR > PR. Equal­ity means QQ lies on seg­ment PRPR, so the points are collinear.

Check­ing the answer

The dif­fer­ences from PP to QQ are (2,−1,−2)(2, -1, -2) and from QQ to RR are (4,−2,−4)(4, -2, -4), exactly twice as big and in the same direc­tion. That also shows the three points are in a line.

Answer

PQ=3PQ = 3, QR=6QR = 6, PR=9PR = 9 and PQ+QR=PRPQ + QR = PR, so the three points are collinear.

Ques­tion 5: Prov­ing a tri­an­gle equi­lat­eral

The prob­lem

Show that (1,2,3)(1, 2, 3), (3,2,5)(3, 2, 5) and (1,4,5)(1, 4, 5) are the ver­tices of an equi­lat­eral tri­an­gle.

Under­stand­ing the prob­lem

An equi­lat­eral tri­an­gle has all three sides equal. You must com­pute the three side lengths and show they are the same.

The idea

Apply the dis­tance for­mula to each pair of points.

Step-by-step solu­tion

Step 1. Name the points A(1,2,3)A(1, 2, 3), B(3,2,5)B(3, 2, 5), C(1,4,5)C(1, 4, 5).

Step 2. ABAB: dif­fer­ences 2,0,22, 0, 2.

AB=4+0+4=8=22AB = \sqrt{4 + 0 + 4} = \sqrt{8} = 2\sqrt{2}

Step 3. BCBC: dif­fer­ences −2,2,0-2, 2, 0.

BC=4+4+0=8=22BC = \sqrt{4 + 4 + 0} = \sqrt{8} = 2\sqrt{2}

Step 4. CACA: dif­fer­ences 0,−2,−20, -2, -2.

CA=0+4+4=8=22CA = \sqrt{0 + 4 + 4} = \sqrt{8} = 2\sqrt{2}

Step 5. All three sides are 222\sqrt{2}, and the points are not collinear (the longest side is not the sum of the other two), so ABCABC is an equi­lat­eral tri­an­gle.

Check­ing the answer

8=4×2=22≈2.83\sqrt{8} = \sqrt{4 \times 2} = 2\sqrt{2} \approx 2.83 for all three.

Answer

AB=BC=CA=22AB = BC = CA = 2\sqrt{2}, so the tri­an­gle is equi­lat­eral.

Ques­tion 6: Prov­ing four points form a par­al­lel­o­gram

The prob­lem

Show that (0,0,0)(0, 0, 0), (2,1,1)(2, 1, 1), (3,3,2)(3, 3, 2) and (1,2,1)(1, 2, 1) form a par­al­lel­o­gram.

Under­stand­ing the prob­lem

Take the points in the given order as O(0,0,0)O(0, 0, 0), A(2,1,1)A(2, 1, 1), B(3,3,2)B(3, 3, 2), C(1,2,1)C(1, 2, 1), so the quadri­lat­eral is OABCOABC with diag­o­nals OBOB and ACAC. In space, equal oppo­site sides alone do not guar­an­tee a flat par­al­lel­o­gram, so use a test that does.

The idea

A quadri­lat­eral is a par­al­lel­o­gram when its diag­o­nals bisect each other, that is, when the two diag­o­nals have the same mid­point. The mid­point of a seg­ment has coor­di­nates equal to the aver­ages of the end coor­di­nates. Then con­firm with side lengths from the dis­tance for­mula.

Step-by-step solu­tion

Step 1. Mid­point of diag­o­nal OBOB: aver­age the coor­di­nates of O(0,0,0)O(0,0,0) and B(3,3,2)B(3,3,2).

(0+32, 0+32, 0+22)=(32, 32, 1)\displaystyle \left(\frac{0 + 3}{2},\ \frac{0 + 3}{2},\ \frac{0 + 2}{2}\right) = \left(\tfrac{3}{2},\ \tfrac{3}{2},\ 1\right)

Step 2. Mid­point of diag­o­nal ACAC: aver­age A(2,1,1)A(2,1,1) and C(1,2,1)C(1,2,1).

(2+12, 1+22, 1+12)=(32, 32, 1)\displaystyle \left(\frac{2 + 1}{2},\ \frac{1 + 2}{2},\ \frac{1 + 1}{2}\right) = \left(\tfrac{3}{2},\ \tfrac{3}{2},\ 1\right)

Step 3. The two diag­o­nals have the same mid­point, so they bisect each other and OABCOABC is a par­al­lel­o­gram.

Step 4. Con­firm with the sides.

OA=22+12+12=6,AB=12+22+12=6,BC=(−2)2+(−1)2+(−1)2=6,CO=12+22+12=6.\begin{aligned} OA &= \sqrt{2^2 + 1^2 + 1^2} = \sqrt{6}, & AB &= \sqrt{1^2 + 2^2 + 1^2} = \sqrt{6},\\ BC &= \sqrt{(-2)^2 + (-1)^2 + (-1)^2} = \sqrt{6}, & CO &= \sqrt{1^2 + 2^2 + 1^2} = \sqrt{6}. \end{aligned}

Oppo­site sides are equal, as a par­al­lel­o­gram needs. In fact all four sides are equal, so it is a rhom­bus.

Step 5. It is not a square, because the diag­o­nals are unequal:

OB=9+9+4=22,AC=1+1+0=2OB = \sqrt{9 + 9 + 4} = \sqrt{22}, \qquad AC = \sqrt{1 + 1 + 0} = \sqrt{2}

Check­ing the answer

The move from OO to AA is (2,1,1)(2, 1, 1) and from CC to BB is also (2,1,1)(2, 1, 1): the oppo­site sides OAOA and CBCB are par­al­lel and equal, which again con­firms a par­al­lel­o­gram.

Answer

The diag­o­nals OBOB and ACAC bisect each other at (32,32,1)\displaystyle \left(\tfrac{3}{2}, \tfrac{3}{2}, 1\right) and oppo­site sides are equal (each 6\sqrt{6}), so the points form a par­al­lel­o­gram (in fact a rhom­bus).

Ques­tion 7: A point on the xx-axis equidis­tant from two points

The prob­lem

Find the point on the xx-axis that is equidis­tant from (1,2,3)(1, 2, 3) and (3,5,−2)(3, 5, -2).

Under­stand­ing the prob­lem

Any point on the xx-axis has the form (x,0,0)(x, 0, 0), with one unknown, xx. "Equidis­tant" means its dis­tance to each of the two given points is the same.

The idea

Set the two dis­tances equal. Square both sides first to remove the square roots; the x2x^2 terms will then can­cel, leav­ing a lin­ear equa­tion.

Step-by-step solu­tion

Step 1. Let the point be P(x,0,0)P(x, 0, 0). Squared dis­tance to (1,2,3)(1, 2, 3):

(x−1)2+(0−2)2+(0−3)2=(x−1)2+13(x - 1)^2 + (0 - 2)^2 + (0 - 3)^2 = (x - 1)^2 + 13

Step 2. Squared dis­tance to (3,5,−2)(3, 5, -2):

(x−3)2+(0−5)2+(0+2)2=(x−3)2+29(x - 3)^2 + (0 - 5)^2 + (0 + 2)^2 = (x - 3)^2 + 29

Step 3. Set them equal and expand.

x2−2x+1+13=x2−6x+9+29x^2 - 2x + 1 + 13 = x^2 - 6x + 9 + 29

Step 4. Can­cel x2x^2 and sim­plify.

−2x+14=−6x+38⟹4x=24⟹x=6-2x + 14 = -6x + 38 \quad\Longrightarrow\quad 4x = 24 \quad\Longrightarrow\quad x = 6

Check­ing the answer

From (6,0,0)(6, 0, 0): to (1,2,3)(1, 2, 3) the squared dis­tance is 25+4+9=3825 + 4 + 9 = 38; to (3,5,−2)(3, 5, -2) it is 9+25+4=389 + 25 + 4 = 38. Equal.

Answer

(6,0,0)(6, 0, 0).

Ques­tion 8: The locus of points equidis­tant from two points

The prob­lem

Find the equa­tion of the set of points equidis­tant from (1,2,3)(1, 2, 3) and (3,2,−1)(3, 2, -1).

Under­stand­ing the prob­lem

You need a con­di­tion on a gen­eral point P(x,y,z)P(x, y, z) that says its dis­tances to A(1,2,3)A(1, 2, 3) and B(3,2,−1)B(3, 2, -1) are equal. As in Exam­ple 5, the answer will be the equa­tion of a plane (the per­pen­dic­u­lar bisec­tor plane of ABAB).

The idea

Write PA2=PB2PA^2 = PB^2, expand, and can­cel the squared terms that appear on both sides.

Step-by-step solu­tion

Step 1. Write the con­di­tion.

(x−1)2+(y−2)2+(z−3)2=(x−3)2+(y−2)2+(z+1)2(x - 1)^2 + (y - 2)^2 + (z - 3)^2 = (x - 3)^2 + (y - 2)^2 + (z + 1)^2

Step 2. The (y−2)2(y - 2)^2 terms are the same on both sides; can­cel them. Expand the rest.

x2−2x+1+z2−6z+9=x2−6x+9+z2+2z+1x^2 - 2x + 1 + z^2 - 6z + 9 = x^2 - 6x + 9 + z^2 + 2z + 1

Step 3. Can­cel x2x^2 and z2z^2, and note that both sides have con­stant 1010.

−2x−6z=−6x+2z-2x - 6z = -6x + 2z

Step 4. Col­lect terms on the left.

4x−8z=0⟹x−2z=04x - 8z = 0 \quad\Longrightarrow\quad x - 2z = 0

Check­ing the answer

The mid­point of ABAB is (2,2,1)(2, 2, 1), which must be on the locus: 2−2(1)=02 - 2(1) = 0. Cor­rect.

Answer

x−2z=0x - 2z = 0.

Ques­tion 9: Points at a fixed dis­tance from the ori­gin

The prob­lem

Find the locus of points whose dis­tance from the ori­gin is 44.

Under­stand­ing the prob­lem

A locus is the set of all points sat­is­fy­ing a con­di­tion, described by an equa­tion. Here the con­di­tion is OP=4OP = 4 for a gen­eral point P(x,y,z)P(x, y, z).

The idea

Use OP=x2+y2+z2OP = \sqrt{x^2 + y^2 + z^2} and square to remove the root.

Step-by-step solu­tion

Step 1. Write the con­di­tion.

x2+y2+z2=4\sqrt{x^2 + y^2 + z^2} = 4

Step 2. Square both sides (both are non-neg­a­tive, so noth­ing is lost).

x2+y2+z2=16x^2 + y^2 + z^2 = 16

Step 3. Describe it: every point exactly 44 units from OO in every direc­tion, which is a sphere with cen­tre OO and radius 44.

Check­ing the answer

(4,0,0)(4, 0, 0), (0,0,−4)(0, 0, -4) and (2,2,22)(2, 2, 2\sqrt{2}) all sat­isfy the equa­tion, and each is 44 units from OO.

Answer

The sphere x2+y2+z2=16x^2 + y^2 + z^2 = 16, with cen­tre at the ori­gin and radius 44.

Ques­tion 10: The longest rod in a box

The prob­lem

A box sits in the first octant with one cor­ner at the ori­gin and edges 33, 44 and 1212 along the axes. How long is the longest rod that fits inside?

Under­stand­ing the prob­lem

The box has cor­ners at the ori­gin and at (3,4,12)(3, 4, 12), the cor­ner far­thest from OO. The longest straight rod that fits runs from one cor­ner to the diag­o­nally oppo­site cor­ner, through the inside of the box.

The idea

Find the dis­tance from (0,0,0)(0, 0, 0) to (3,4,12)(3, 4, 12) with the for­mula OP=x2+y2+z2OP = \sqrt{x^2 + y^2 + z^2}.

Step-by-step solu­tion

Step 1. Iden­tify the oppo­site cor­ners: O(0,0,0)O(0, 0, 0) and P(3,4,12)P(3, 4, 12).

Step 2. Apply the for­mula.

OP=32+42+122=9+16+144=169=13OP = \sqrt{3^2 + 4^2 + 12^2} = \sqrt{9 + 16 + 144} = \sqrt{169} = 13

Check­ing the answer

Pythago­ras twice: the floor diag­o­nal is 9+16=5\sqrt{9 + 16} = 5; then with height 1212, 25+144=13\sqrt{25 + 144} = 13. Same result.

Answer

The longest rod is 1313 units long.