Solved Examples — the Full Chapter Workout

Thirty worked problems: octant drills, distances, triangle and quadrilateral classification, centroid and locus problems. Attempt each before reading the solution.

Example 1: Parallelogram, not rectangle

Show that A(1,2,3)A(1,2,3), B(1,2,1)B(-1,-2,-1), C(2,3,2)C(2,3,2), D(4,7,6)D(4,7,6) form a parallelogram ABCDABCD that is not a rectangle.

Solution:

Step 1 — Squared sides in cyclic order. AB2=4+16+16=36AB^2 = 4 + 16 + 16 = 36; BC2=9+25+9=43BC^2 = 9 + 25 + 9 = 43; CD2=4+16+16=36CD^2 = 4 + 16 + 16 = 36; DA2=9+25+9=43DA^2 = 9 + 25 + 9 = 43.

Step 2 — Parallelogram test. AB=CD=6AB = CD = 6 and BC=DA=43BC = DA = \sqrt{43}: opposite sides equal — parallelogram.

Step 3 — Rectangle test via diagonals. AC2=1+1+1=3AC^2 = 1 + 1 + 1 = 3; BD2=25+81+49=155BD^2 = 25 + 81 + 49 = 155. AC=3155=BDAC = \sqrt{3} \ne \sqrt{155} = BD: not a rectangle. ∎

Cards for collinearity isosceles right triangle and parallelogram tests

Takeaway: Equal opposite sides buy the parallelogram; the rectangle upgrade costs one more check — equal diagonals — and here it fails spectacularly.

Example 2: Diagonal-midpoint check of the same quadrilateral

Verify Example 1's conclusion using midpoints of the diagonals.

Solution:

Step 1 — Midpoint of ACAC. (1+22,2+32,3+22)=(32,52,52)\left(\frac{1+2}{2}, \frac{2+3}{2}, \frac{3+2}{2}\right) = \left(\frac{3}{2}, \frac{5}{2}, \frac{5}{2}\right).

Step 2 — Midpoint of BDBD. (1+42,2+72,1+62)=(32,52,52)\left(\frac{-1+4}{2}, \frac{-2+7}{2}, \frac{-1+6}{2}\right) = \left(\frac{3}{2}, \frac{5}{2}, \frac{5}{2}\right).

Step 3 — Conclude. The diagonals bisect each other — parallelogram, in one line. ∎

Takeaway: The midpoint test is faster than four side lengths; keep both tools and pick by the arithmetic on offer.

Example 3: An equidistant plane

Find the set of points equidistant from A(3,4,5)A(3, 4, -5) and B(2,1,4)B(-2, 1, 4).

Solution:

Step 1 — Square the condition. PA2=PB2PA^2 = PB^2: (x3)2+(y4)2+(z+5)2=(x+2)2+(y1)2+(z4)2(x-3)^2 + (y-4)^2 + (z+5)^2 = (x+2)^2 + (y-1)^2 + (z-4)^2.

Step 2 — Expand; the squares cancel. 6x8y+10z+50=4x2y8z+21-6x - 8y + 10z + 50 = 4x - 2y - 8z + 21.

Step 3 — Collect. 10x+6y18z29=010x + 6y - 18z - 29 = 0 — the perpendicular-bisector plane of ABAB.

Takeaway: Equidistance from two points is always a plane in 3D — squaring kills every quadratic term, guaranteed.

Example 4: Recovering a vertex from the centroid

The centroid of ABC\triangle ABC is (1,1,1)(1, 1, 1); A=(3,5,7)A = (3, -5, 7) and B=(1,7,6)B = (-1, 7, -6). Find CC.

Solution:

Step 1 — Set up one equation per coordinate. With C=(x,y,z)C = (x, y, z): 31+x3=1\frac{3 - 1 + x}{3} = 1, 5+7+y3=1\frac{-5 + 7 + y}{3} = 1, 76+z3=1\frac{7 - 6 + z}{3} = 1.

Step 2 — Solve each. 2+x=32 + x = 3 gives x=1x = 1; 2+y=32 + y = 3 gives y=1y = 1; 1+z=31 + z = 3 gives z=2z = 2.

Step 3 — Write and check. C=(1,1,2)C = (1, 1, 2); averaging all three vertices indeed returns (1,1,1)(1, 1, 1) ✓.

Takeaway: Centroid problems are three independent 1D problems — never solve them as a system.

Example 5: The fourth vertex

Three vertices of parallelogram ABCDABCD are A(3,1,2)A(3, -1, 2), B(1,2,4)B(1, 2, -4), C(1,1,2)C(-1, 1, 2). Find DD.

Solution:

Step 1 — Use the diagonal property. In parallelogram ABCDABCD the diagonals ACAC and BDBD share a midpoint, so D=A+CBD = A + C - B coordinate-wise.

Step 2 — Compute. D=(311,  1+12,  2+2+4)=(1,2,8)D = (3 - 1 - 1,\; -1 + 1 - 2,\; 2 + 2 + 4) = (1, -2, 8).

Step 3 — Check. Midpoint of ACAC: (1,0,2)(1, 0, 2); midpoint of BDBD: (1+12,222,4+82)=(1,0,2)\left(\frac{1+1}{2}, \frac{2-2}{2}, \frac{-4+8}{2}\right) = (1, 0, 2) ✓.

Cards for midpoint centroid trisection and fourth vertex of a parallelogram

Takeaway: D=A+CBD = A + C - B is the one-line fourth-vertex formula — but match the LABELS: it pairs the vertices adjacent to BB across the diagonal.

Example 6: Median lengths

Find the lengths of the medians of the triangle A(0,0,6)A(0, 0, 6), B(0,4,0)B(0, 4, 0), C(6,0,0)C(6, 0, 0).

Solution:

Step 1 — Midpoints of the sides. BCBC: (3,2,0)(3, 2, 0); CACA: (3,0,3)(3, 0, 3); ABAB: (0,2,3)(0, 2, 3).

Step 2 — Median from each vertex to the opposite midpoint. From A(0,0,6)A(0,0,6): 9+4+36=7\sqrt{9 + 4 + 36} = 7; from B(0,4,0)B(0,4,0): 9+16+9=34\sqrt{9 + 16 + 9} = \sqrt{34}; from C(6,0,0)C(6,0,0): 36+4+9=7\sqrt{36 + 4 + 9} = 7.

Step 3 — Sanity check the symmetry. AA and CC play symmetric roles (swap xzx \leftrightarrow z), so their medians must match — and they do, both 7 ✓.

Takeaway: A median is just a distance to a midpoint — two formulas chained; symmetry predicts equal answers before computing.

Example 7: Centroid at the origin

The origin is the centroid of PQR\triangle PQR with P(2a,2,6)P(2a, 2, 6), Q(4,3b,10)Q(-4, 3b, -10), R(8,14,2c)R(8, 14, 2c). Find aa, bb, cc.

Solution:

Step 1 — xx-average. 2a4+83=0\frac{2a - 4 + 8}{3} = 0 gives 2a+4=02a + 4 = 0: a=2a = -2.

Step 2 — yy-average. 2+3b+143=0\frac{2 + 3b + 14}{3} = 0 gives 3b=163b = -16: b=163b = -\frac{16}{3}.

Step 3 — zz-average. 610+2c3=0\frac{6 - 10 + 2c}{3} = 0 gives 2c=42c = 4: c=2c = 2.

Takeaway: "Centroid at the origin" means each coordinate-list sums to zero — three separate little equations, one unknown each.

Example 8: A PA2+PB2PA^2 + PB^2 locus

With A(3,4,5)A(3, 4, 5) and B(1,3,7)B(-1, 3, -7), find the set of points PP with PA2+PB2=k2PA^2 + PB^2 = k^2.

Solution:

Step 1 — Write both squared distances. (x3)2+(y4)2+(z5)2+(x+1)2+(y3)2+(z+7)2=k2(x-3)^2 + (y-4)^2 + (z-5)^2 + (x+1)^2 + (y-3)^2 + (z+7)^2 = k^2.

Step 2 — Expand and merge. Quadratics double up; linear terms: 4x14y+4z-4x - 14y + 4z; constants: 50+59=10950 + 59 = 109.

Step 3 — Write the locus. 2x2+2y2+2z24x14y+4z=k21092x^2 + 2y^2 + 2z^2 - 4x - 14y + 4z = k^2 - 109 — a sphere-type equation.

Takeaway: Sums of SQUARED distances keep their quadratic terms — expect a sphere, not a plane.

Example 9: An octant drill with fresh numbers

Name the octants of (2,5,1)(2, -5, 1), (6,1,2)(-6, -1, -2), (3,7,4)(3, 7, -4) and (1,4,8)(-1, 4, 8).

Solution:

Step 1 — Sort by zz. z>0z > 0: (2,5,1)(2,-5,1) and (1,4,8)(-1,4,8) (octants I-IV); z<0z < 0: (6,1,2)(-6,-1,-2) and (3,7,4)(3,7,-4) (octants V-VIII).

Step 2 — Read the (x,y)(x,y) quadrant. (2,5,1)(2,-5,1): (+,)(+,-) → IV. (1,4,8)(-1,4,8): (,+)(-,+) → II.

Step 3 — Repeat below. (6,1,2)(-6,-1,-2): (,)(-,-) → VII. (3,7,4)(3,7,-4): (+,+)(+,+) → V.

Takeaway: zz first, then the 2D quadrant — the octant table reads itself.

Example 10: Diagonals of a cube and a box

Find (i) the diagonal of a cube of side aa with one vertex at the origin and edges along the axes; (ii) the diagonal of a box with edges 3, 4, 12.

Solution:

Step 1 — (i) Opposite corners. From (0,0,0)(0,0,0) to (a,a,a)(a,a,a): a2+a2+a2=a3\sqrt{a^2 + a^2 + a^2} = a\sqrt{3}.

Step 2 — (ii) The box. 32+42+122=9+16+144=169=13\sqrt{3^2 + 4^2 + 12^2} = \sqrt{9 + 16 + 144} = \sqrt{169} = 13.

Step 3 — Note the pattern. (3,4,12,13)(3, 4, 12, 13) is a Pythagorean quadruple — the 3D cousin of (3,4,5)(3, 4, 5).

Takeaway: A box diagonal IS the distance formula — the formula's own derivation picture, run backwards.

Example 11: A point on the xx-axis equidistant from two points

Find the point on the xx-axis equidistant from (1,2,3)(1, 2, 3) and (3,2,1)(3, 2, -1).

Solution:

Step 1 — Parametrise the axis. The point is (x,0,0)(x, 0, 0); set the squared distances equal: (x1)2+4+9=(x3)2+4+1(x-1)^2 + 4 + 9 = (x-3)^2 + 4 + 1.

Step 2 — Expand and cancel x2x^2. 2x+14=6x+14-2x + 14 = -6x + 14 gives 4x=04x = 0: x=0x = 0.

Step 3 — Conclude and check. The point is the origin (0,0,0)(0,0,0); both distances are 14\sqrt{14} ✓ — and it satisfies the bisector plane x2z=0x - 2z = 0 of these two points.

Takeaway: Restricting a locus to an axis turns a plane condition into a single linear equation — one unknown, because the axis has one degree of freedom.

Example 12: A point on the yy-axis equidistant from two points

Find the point on the yy-axis equidistant from (3,1,2)(3, 1, 2) and (5,5,2)(5, 5, 2).

Solution:

Step 1 — Parametrise. For (0,y,0)(0, y, 0): 9+(y1)2+4=25+(y5)2+49 + (y-1)^2 + 4 = 25 + (y-5)^2 + 4.

Step 2 — Expand. 13+y22y+1=29+y210y+2513 + y^2 - 2y + 1 = 29 + y^2 - 10y + 25, i.e. 142y=5410y14 - 2y = 54 - 10y.

Step 3 — Solve and check. 8y=408y = 40: y=5y = 5 — the point is (0,5,0)(0, 5, 0), and both distances equal 29\sqrt{29} ✓.

Takeaway: Always verify with the actual distances — the check costs two lines and catches every sign slip.

Example 13: A point on the zz-axis equidistant from two points

Find the point on the zz-axis equidistant from (1,5,7)(1, 5, 7) and (5,1,4)(5, 1, -4).

Solution:

Step 1 — Parametrise. For (0,0,z)(0, 0, z): 1+25+(z7)2=25+1+(z+4)21 + 25 + (z - 7)^2 = 25 + 1 + (z + 4)^2.

Step 2 — Cancel the equal constants. (z7)2=(z+4)2(z-7)^2 = (z+4)^2, so 14z+49=8z+16-14z + 49 = 8z + 16.

Step 3 — Solve. 22z=3322z = 33: z=32z = \frac{3}{2} — the point is (0,0,32)\left(0, 0, \frac{3}{2}\right).

Takeaway: When the fixed constants match on both sides (1+25=25+11 + 25 = 25 + 1), the equation collapses to comparing two squares — spot it and skip a line of algebra.

Example 14: A 3-4-5 triangle on the axes

Find the perimeter of the triangle with vertices (0,0,0)(0,0,0), (3,0,0)(3,0,0), (0,4,0)(0,4,0).

Solution:

Step 1 — Two sides along the axes. Origin to (3,0,0)(3,0,0): 3; origin to (0,4,0)(0,4,0): 4.

Step 2 — The hypotenuse. (3,0,0)(3,0,0) to (0,4,0)(0,4,0): 9+16+0=5\sqrt{9 + 16 + 0} = 5.

Step 3 — Sum. Perimeter =3+4+5=12= 3 + 4 + 5 = 12.

Takeaway: Points with a shared zero coordinate live in one coordinate plane — the problem is secretly 2D.

Example 15: An equilateral triangle in space

Show that (1,2,3)(1, 2, 3), (2,3,1)(2, 3, 1), (3,1,2)(3, 1, 2) form an equilateral triangle.

Solution:

Step 1 — Squared sides. AB2=1+1+4=6AB^2 = 1 + 1 + 4 = 6; BC2=1+4+1=6BC^2 = 1 + 4 + 1 = 6; CA2=4+1+1=6CA^2 = 4 + 1 + 1 = 6.

Step 2 — Conclude. All sides 6\sqrt{6}: equilateral. ∎

Step 3 — See why before computing. The vertices are cyclic permutations of (1,2,3)(1, 2, 3) — the same three squared differences 1,1,41, 1, 4 reappear in every side, just reordered.

Takeaway: Cyclic-permutation vertices always give equilateral triangles — symmetry does the arithmetic.

Example 16: A collinearity check

Are A(1,2,7)A(1, 2, 7), B(2,6,3)B(2, 6, 3), C(3,10,1)C(3, 10, -1) collinear?

Solution:

Step 1 — Three distances. AB=1+16+16=33AB = \sqrt{1 + 16 + 16} = \sqrt{33}; BC=1+16+16=33BC = \sqrt{1 + 16 + 16} = \sqrt{33}; AC=4+64+64=132=233AC = \sqrt{4 + 64 + 64} = \sqrt{132} = 2\sqrt{33}.

Step 2 — Test the sum. AB+BC=233=ACAB + BC = 2\sqrt{33} = AC.

Step 3 — Conclude. Collinear — and since AB=BCAB = BC, BB is the midpoint of ACAC. ∎

Takeaway: Equal steps ABCA \to B \to C with matching differences (1,4,4)(1, 4, -4) per coordinate is uniform motion along a line — the distance check just certifies it.

Example 17: Right and isosceles at once

Classify the triangle A(0,4,1)A(0, 4, 1), B(2,3,1)B(2, 3, -1), C(4,5,0)C(4, 5, 0).

Solution:

Step 1 — Squared sides. AB2=4+1+4=9AB^2 = 4 + 1 + 4 = 9; BC2=4+4+1=9BC^2 = 4 + 4 + 1 = 9; CA2=16+1+1=18CA^2 = 16 + 1 + 1 = 18.

Step 2 — Isosceles test. AB=BC=3AB = BC = 3 ✓.

Step 3 — Right-angle test. AB2+BC2=18=CA2AB^2 + BC^2 = 18 = CA^2: right angle at BB (the vertex between the equal sides).

Takeaway: x2,x2,2x2x^2, x^2, 2x^2 is the signature of the isosceles right triangle — half a square cut along its diagonal.

Example 18: A locus with a ratio condition

A point PP moves so that OP=2PAOP = 2 \cdot PA where OO is the origin and A=(1,0,0)A = (1, 0, 0). Find the locus.

Solution:

Step 1 — Square the ratio condition. OP2=4PA2OP^2 = 4\,PA^2: x2+y2+z2=4[(x1)2+y2+z2]x^2 + y^2 + z^2 = 4\left[(x-1)^2 + y^2 + z^2\right].

Step 2 — Expand. x2+y2+z2=4x28x+4+4y2+4z2x^2 + y^2 + z^2 = 4x^2 - 8x + 4 + 4y^2 + 4z^2.

Step 3 — Collect. 3x2+3y2+3z28x+4=03x^2 + 3y^2 + 3z^2 - 8x + 4 = 0 — a sphere (an Apollonius sphere: the 3D analogue of the Apollonius circle).

Locus cards equidistant plane constant sum surface and spheres

Takeaway: A distance RATIO other than 1 gives a sphere; ratio exactly 1 gives the bisector plane — the k=1k = 1 boundary case.

Example 19: On the sphere or not?

The set of points at distance 5 from the origin is x2+y2+z2=25x^2 + y^2 + z^2 = 25. Which of (3,4,0)(3, 4, 0) and (2,2,4)(2, 2, 4) lies on it?

Solution:

Step 1 — Test (3,4,0)(3, 4, 0). 9+16+0=259 + 16 + 0 = 25 ✓ — on the sphere.

Step 2 — Test (2,2,4)(2, 2, 4). 4+4+16=24<254 + 4 + 16 = 24 < 25 — inside the sphere (distance 24=26<5\sqrt{24} = 2\sqrt{6} < 5).

Takeaway: Substitute and compare with r2r^2: equal — on; less — inside; greater — outside. Same trichotomy as the circle, one coordinate up.

Example 20: Distances of a point from the three planes and the origin

For P(3,4,12)P(-3, 4, -12), find the distances from the three coordinate planes and from the origin.

Solution:

Step 1 — Plane distances are absolute coordinates. From XYXY: z=12|z| = 12; from YZYZ: x=3|x| = 3; from ZXZX: y=4|y| = 4.

Step 2 — Origin distance. 9+16+144=169=13\sqrt{9 + 16 + 144} = \sqrt{169} = 13.

Step 3 — Connect them. 132=32+42+12213^2 = 3^2 + 4^2 + 12^2 — the origin distance bundles the three plane distances by Pythagoras.

Takeaway: (3,4,12,13)(3, 4, 12, 13) again — recognising quadruples turns arithmetic into recall.

Example 21: Solving for a coordinate from a distance

Find xx so that the distance between (x,2,3)(x, 2, 3) and (1,2,3)(1, 2, 3) is 5.

Solution:

Step 1 — Only xx differs. The distance collapses to x1|x - 1|.

Step 2 — Solve. x1=5|x - 1| = 5: x=6x = 6 or x=4x = -4.

Step 3 — Interpret. Two answers, one on each side of x=1x = 1 — a distance condition rarely has a unique solution.

Takeaway: Keep the absolute value until the last step; dropping it silently loses the second solution.

Example 22: Distance plus midpoint

For A(1,1,3)A(1, -1, 3) and B(2,4,5)B(2, -4, 5), find ABAB and the midpoint of ABAB.

Solution:

Step 1 — Distance. AB=1+9+4=14AB = \sqrt{1 + 9 + 4} = \sqrt{14}.

Step 2 — Midpoint. Average each coordinate: (32,52,4)\left(\frac{3}{2}, -\frac{5}{2}, 4\right).

Step 3 — Check. The midpoint's distance to each end should be 142\frac{\sqrt{14}}{2}: from AA: 14+94+1=144\sqrt{\frac{1}{4} + \frac{9}{4} + 1} = \sqrt{\frac{14}{4}} ✓.

Takeaway: Midpoint = coordinate averages — the m=nm = n case of the section formula.

Example 23: Equidistant from all three planes

A point in octant I is at distance 2 from each coordinate plane. Find it, and its distance from the origin.

Solution:

Step 1 — Translate. x=y=z=2|x| = |y| = |z| = 2, all positive in octant I: (2,2,2)(2, 2, 2).

Step 2 — Origin distance. 4+4+4=23\sqrt{4 + 4 + 4} = 2\sqrt{3}.

Step 3 — Generalise. Any cube-corner point (a,a,a)(a, a, a) is a3a\sqrt{3} from the origin — the cube-diagonal ratio.

Takeaway: "Distance from a coordinate plane" is always one absolute coordinate — no formula needed, just the right one.

Example 24: A degenerate "triangle"

Show that (1,2,3)(1, 2, 3), (3,2,1)(3, 2, 1) and (2,2,2)(2, 2, 2) do not form a triangle.

Solution:

Step 1 — Distances. A(1,2,3)A(1,2,3) to C(2,2,2)C(2,2,2): 1+0+1=2\sqrt{1 + 0 + 1} = \sqrt{2}; CC to B(3,2,1)B(3,2,1): 2\sqrt{2}; AA to BB: 4+0+4=22\sqrt{4 + 0 + 4} = 2\sqrt{2}.

Step 2 — Sum test. 2+2=22\sqrt{2} + \sqrt{2} = 2\sqrt{2}: equality — the points are collinear, with CC the midpoint of ABAB. ∎

Step 3 — Confirm by averaging. Midpoint of AA and BB: (1+32,2+22,3+12)=(2,2,2)=C\left(\frac{1+3}{2}, \frac{2+2}{2}, \frac{3+1}{2}\right) = (2, 2, 2) = C ✓.

Takeaway: "Show they do NOT form a triangle" = show the triangle inequality degenerates to equality.

Example 25: Verifying a parallelogram by midpoints

Check by diagonal midpoints that (1,2,1)(-1,2,1), (1,2,5)(1,-2,5), (4,7,8)(4,-7,8), (2,3,4)(2,-3,4) form a parallelogram.

Solution:

Step 1 — Midpoint of ACAC. (1+42,272,1+82)=(32,52,92)\left(\frac{-1+4}{2}, \frac{2-7}{2}, \frac{1+8}{2}\right) = \left(\frac{3}{2}, -\frac{5}{2}, \frac{9}{2}\right).

Step 2 — Midpoint of BDBD. (1+22,232,5+42)=(32,52,92)\left(\frac{1+2}{2}, \frac{-2-3}{2}, \frac{5+4}{2}\right) = \left(\frac{3}{2}, -\frac{5}{2}, \frac{9}{2}\right).

Step 3 — Conclude. Same point: the diagonals bisect each other — parallelogram. ∎

Takeaway: This re-proves Section 2's side-length verification in a third of the work — midpoints beat distances when both are available.

Example 26: Checking all pairings for a right angle

Why is the triangle A(3,6,9)A(3,6,9), B(10,20,30)B(10,20,30), C(25,41,5)C(25,-41,5) not right-angled?

Solution:

Step 1 — Squared sides. AB2=686AB^2 = 686, BC2=4571BC^2 = 4571, CA2=2709CA^2 = 2709.

Step 2 — Only one candidate hypotenuse. The right angle would have to face the LARGEST side, so the only possible identity is AB2+CA2=BC2AB^2 + CA^2 = BC^2.

Step 3 — Test it. 686+2709=33954571686 + 2709 = 3395 \ne 4571: no right angle. ∎

Takeaway: You never need to test all three pairings — only the largest square can be the hypotenuse's.

Example 27: Distance from the origin — ordering points

Order A(1,2,2)A(1, 2, 2), B(2,2,1)B(2, 2, 1), C(0,3,0)C(0, 3, 0), D(1,1,4)D(1, 1, 4) by distance from the origin.

Solution:

Step 1 — Squared distances. OA2=1+4+4=9OA^2 = 1 + 4 + 4 = 9; OB2=4+4+1=9OB^2 = 4 + 4 + 1 = 9; OC2=0+9+0=9OC^2 = 0 + 9 + 0 = 9; OD2=1+1+16=18OD^2 = 1 + 1 + 16 = 18.

Step 2 — Order. AA, BB, CC tie at distance 3; DD is farthest at 18=32\sqrt{18} = 3\sqrt{2}.

Step 3 — Picture it. AA, BB, CC all lie on the sphere of radius 3; DD sits outside it.

Takeaway: Squared distances order points exactly as distances do — compare squares, root only if the answer demands it.

Example 28: A sphere through a given point

A sphere has centre (1,2,1)(1, 2, -1) and passes through (3,4,1)(3, 4, 1). Find r2r^2 and the equation.

Solution:

Step 1 — Radius from centre to the point. r2=(31)2+(42)2+(1+1)2=4+4+4=12r^2 = (3-1)^2 + (4-2)^2 + (1+1)^2 = 4 + 4 + 4 = 12.

Step 2 — Write the equation. (x1)2+(y2)2+(z+1)2=12(x-1)^2 + (y-2)^2 + (z+1)^2 = 12.

Step 3 — Check. Substituting (3,4,1)(3, 4, 1): 4+4+4=124 + 4 + 4 = 12 ✓.

Takeaway: Centre plus one point determines a sphere the same way it determines a circle — one squared-distance computation.

Example 29: Centroid drill

Find the centroid of the triangle (2,4,6)(2, 4, 6), (0,2,5)(0, -2, 5), (7,1,1)(7, 1, 1).

Solution:

Step 1 — Sum each coordinate. xx: 2+0+7=92 + 0 + 7 = 9; yy: 42+1=34 - 2 + 1 = 3; zz: 6+5+1=126 + 5 + 1 = 12.

Step 2 — Divide by 3. Centroid =(3,1,4)= (3, 1, 4).

Takeaway: Centroid = coordinate averages; in 3D that is three small averages, nothing more.

Example 30: A distance identity

Show that for any point P(x,y,z)P(x, y, z), the squared distances from the three axes sum to twice the squared distance from the origin.

Solution:

Step 1 — Distance from each axis. From the xx-axis: y2+z2\sqrt{y^2 + z^2} (the two coordinates NOT along the axis); similarly x2+z2\sqrt{x^2 + z^2} and x2+y2\sqrt{x^2 + y^2}.

Step 2 — Sum the squares. (y2+z2)+(x2+z2)+(x2+y2)=2x2+2y2+2z2(y^2 + z^2) + (x^2 + z^2) + (x^2 + y^2) = 2x^2 + 2y^2 + 2z^2.

Step 3 — Conclude. =2OP2= 2\,OP^2. ∎ Each coordinate appears in exactly two of the three axis-distances — hence the factor 2.

Takeaway: Axis distance uses the OTHER two coordinates; plane distance uses just one — keep the two notions apart and identities like this become counting arguments.