girgit.org

Introduction to Three Dimensional Geometry

Locus equations, the centroid and the section formula

The big ideaA rule about distances, written with the distance formula, becomes an equation in \( x, y, z \) that every point obeying the rule must satisfy; averaging coordinates gives midpoints and centroids.

In simple words

Two friends sit at two spots in a hall. Where could a third person float so that they are exactly as far from one friend as from the other? Not just one spot: lots of spots, making a flat sheet straight across the middle. We can write a short rule, using \( x \), \( y \) and \( z \), that is true for every spot on that sheet and false everywhere else.

The set of points that obey a rule

The set of all points that satisfy some condition is called a locus (plural loci). To find its equation:

  1. call a general point \( P(x, y, z) \);
  2. write the condition with the distance formula;
  3. square to remove the roots, expand, and tidy up.

Worked example 1: equally far from two points

Which points are equally far from \( A(1, -2, 3) \) and \( B(3, 2, -1) \)? Find the equation they satisfy.

  1. The rule \( PA = PB \) is the same as \( PA^2 = PB^2 \): \( (x - 1)^2 + (y + 2)^2 + (z - 3)^2 = (x - 3)^2 + (y - 2)^2 + (z + 1)^2 \).
  2. Expand. The \( x^2 \), \( y^2 \), \( z^2 \) cancel from both sides. Left: \( -2x + 4y - 6z + 14 \). Right: \( -6x - 4y + 2z + 14 \).
  3. Bring everything to one side: \( 4x + 8y - 8z = 0 \), that is \( x + 2y - 2z = 0 \).
  4. Check with the midpoint of AB, \( (2, 0, 1) \), which must be on it: \( 2 + 0 - 2 = 0 \). Correct.

Because the squares cancel, the answer has only first powers of \( x, y, z \). In Class 12 you will learn that such an equation is a plane. Here it is the plane that cuts AB in half at right angles, the 3D version of a perpendicular bisector.

Try it: drag P over the sheet and watch PA and PB stay equal, then lift P off it.

Worked example 2: a sum of squares

A is \( (2, 0, 0) \) and B is \( (-2, 0, 0) \). Find the locus of P with \( PA^2 + PB^2 = 40 \).

  1. \( (x - 2)^2 + y^2 + z^2 + (x + 2)^2 + y^2 + z^2 = 40 \).
  2. The \( -4x \) and \( +4x \) cancel: \( 2x^2 + 2y^2 + 2z^2 + 8 = 40 \).
  3. So \( x^2 + y^2 + z^2 = 16 \).

Read it with the distance formula: \( OP^2 = 16 \), so \( OP = 4 \). The locus is every point 4 units from the origin, a sphere of radius 4 around O, the midpoint of AB.

Rules about a sum of plain distances, such as \( PA + PB = 10 \), need squaring twice. They give a closed, rugby-ball-shaped surface (an ellipsoid), the 3D cousin of the ellipse from Chapter 10.

Midpoint and centroid

The midpoint of AB is the average of A and B, coordinate by coordinate. The centroid G of a triangle, where its three medians (lines from each corner to the middle of the opposite side) meet, is the average of the three corners:

\[ G = \left( \frac{x_1 + x_2 + x_3}{3}, \ \frac{y_1 + y_2 + y_3}{3}, \ \frac{z_1 + z_2 + z_3}{3} \right) \]

Worked example 3: the missing corner

Triangle ABC has centroid \( G(2, -1, 3) \), with \( A(1, 2, 5) \) and \( B(4, -3, 0) \). Find C.

  1. The three x-coordinates add to \( 3 \times 2 = 6 \): \( x = 6 - 1 - 4 = 1 \).
  2. The y-coordinates add to \( -3 \): \( y = -3 - 2 + 3 = -2 \).
  3. The z-coordinates add to 9: \( z = 9 - 5 - 0 = 4 \).
  4. So \( C(1, -2, 4) \). Check: \( \frac{1 + 4 + 1}{3} = 2 \), \( \frac{2 - 3 - 2}{3} = -1 \), \( \frac{5 + 0 + 4}{3} = 3 \).

The section formula

Not in the current textbook, but JEE asks it: the point R that divides the segment from \( P(x_1, y_1, z_1) \) to \( Q(x_2, y_2, z_2) \) internally in the ratio \( m : n \) (so \( PR : RQ = m : n \)) is

\[ R = \left( \frac{m x_2 + n x_1}{m + n}, \ \frac{m y_2 + n y_1}{m + n}, \ \frac{m z_2 + n z_1}{m + n} \right) \]

Notice the cross-over: \( m \), the part next to P, multiplies Q's coordinates. For external division, replace \( n \) by \( -n \). Putting \( m = n \) gives the midpoint again.

Guess first, then change the ratio and count the equal steps along PQ.

Worked example 4

P is \( (1, -2, 4) \) and Q is \( (7, 4, -2) \). (a) Find the point dividing PQ internally in the ratio \( 1 : 2 \). (b) In what ratio does the XY-plane divide PQ?

  1. (a) \( \left( \frac{7 + 2}{3}, \frac{4 - 4}{3}, \frac{-2 + 8}{3} \right) = (3, 0, 2) \).
  2. (b) Let the ratio be \( k : 1 \). On the XY-plane \( z = 0 \): \( \frac{k(-2) + 4}{k + 1} = 0 \), so \( k = 2 \). The ratio is \( 2 : 1 \), internally, at the point \( \left( \frac{14 + 1}{3}, \frac{8 - 2}{3}, 0 \right) = (5, 2, 0) \).

A quick sign check for (b): P has \( z = 4 \) and Q has \( z = -2 \), on opposite sides of the XY-plane, so the plane must cut between them, internally.

Words to know

Locus
The set of all points that obey a given rule.
Equidistant
At equal distances from two (or more) things.
Sphere
All points at one fixed distance from a centre, in space.
Median
A line from a corner of a triangle to the midpoint of the opposite side.
Centroid
Where the three medians meet; the average of the three corners.
Internal / external division
Splitting a segment at a point between its ends / beyond one end.

Why do the \( x^2 \), \( y^2 \), \( z^2 \) terms vanish when you expand \( PA^2 = PB^2 \)?

  1. Both sides contain exactly \( x^2 + y^2 + z^2 \)
  2. Because we squared both sides
  3. Because A and B are on opposite sides of the origin

A triangle has corners \( (0, 0, 6) \), \( (0, 3, 0) \) and \( (9, 0, 0) \). Where is its centroid?

  1. \( (9, 3, 6) \)
  2. \( (3, 1, 2) \)
  3. \( \left( \frac{9}{2}, \frac{3}{2}, 3 \right) \)

Which point divides the join of \( P(2, 0, 4) \) and \( Q(8, 6, -2) \) internally in the ratio \( 2 : 1 \)?

  1. \( (4, 2, 2) \)
  2. \( (6, 4, 0) \)
  3. \( (5, 3, 1) \)