Three-dimensional geometry

A dot on a sheet of paper needs only two numbers to pin it down — its distance east and its distance north of some origin. But a fly buzzing around a room, or a satellite orbiting the Earth, needs a third number: height. Three-dimensional geometry is the coordinate toolkit for exactly that upgrade — locating any point in space by an ordered triple (x,y,z)(x,y,z) once three mutually perpendicular axes meet at an origin. This ISC Class 11 Section-B unit builds only what coordinates alone can give: the octants space is carved into, the distance between two points in space, and the section formula for a point dividing a segment in a given ratio. No vectors, no direction cosines — those wait for Class XII. Everything here is the 2-D coordinate geometry you already know, with one careful extra coordinate carried through every formula.

The core insight

Three mutually perpendicular axes through an origin locate any point in space as an ordered triple (x,y,z)(x,y,z), and every 2-D coordinate formula — distance, section, mid-point, centroid — extends by simply adding the matching zz-term.

The core idea

Axes, planes, octants. The xx-, yy- and zz-axes are mutually perpendicular lines through a common origin OO. Each pair of axes spans a coordinate plane: the XYXY-plane is every point with z=0z=0, the YZYZ-plane is x=0x=0, and the ZXZX-plane is y=0y=0. These three planes slice all of space into eight octants, distinguished purely by the signs of xx, yy, zz — the familiar positive quadrant of 2-D work becomes the octant where all three coordinates are positive. A point PP is written P(x,y,z)P(x,y,z), where xx, yy, zz are its signed perpendicular distances from the YZYZ-, ZXZX-, and XYXY-planes respectively. Compare this with the plane: there, a point needed only its distances from two axes; here, a third perpendicular measurement — height above or below the XYXY-plane — is unavoidable, because the room a fly buzzes around genuinely has three independent directions, not two. The axes themselves are simply the three edges of a corner of a room meeting at the origin, each at right angles to the other two, and the coordinate planes are the three walls-plus-floor meeting at that corner. Just as the sign of xx and yy told you which quadrant a 2-D point sat in, the signs of xx, yy, zz together tell you which of the eight octants a 3-D point sits in. There is no separate name to memorise for each octant beyond the sign pattern itself — for instance (2,−3,5)(2,-3,5) has x>0,y<0,z>0x>0,y<0,z>0, so it sits in the octant where the first and third coordinates are positive and the second is negative, and no two octants share the same sign pattern.

Figure
Three mutually perpendicular axes through an origin with a point plotted by its x y and z coordinates in the positive octant
A point P(x,y,z) fixed by three mutually perpendicular axes z x y O P(x, y, z) x z y

Distance formula. For P(x1,y1,z1)P(x_1,y_1,z_1) and Q(x2,y2,z2)Q(x_2,y_2,z_2),

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}

where: PQPQ is the straight-line distance, and each squared term is the change in one coordinate. Setting PP at the origin gives the special case OP=x2+y2+z2OP=\sqrt{x^2+y^2+z^2}.

Section formula. If R(x,y,z)R(x,y,z) divides segment PQPQ internally in the ratio m:nm:n, then

R=(mx2+nx1m+n, my2+ny1m+n, mz2+nz1m+n)R = \left(\frac{mx_2+nx_1}{m+n},\ \frac{my_2+ny_1}{m+n},\ \frac{mz_2+nz_1}{m+n}\right)

where: m:nm:n is read as "mm parts near QQ, nn parts near PP" — mm multiplies QQ's coordinates and nn multiplies PP's. For external division, flip the sign of the nn terms (equivalently use ratio m:(−n)m:(-n)). Setting m=n=1m=n=1 gives the mid-point, M=(x1+x22,y1+y22,z1+z22)M=\left(\dfrac{x_1+x_2}{2},\dfrac{y_1+y_2}{2},\dfrac{z_1+z_2}{2}\right), and applying the formula to a triangle's median (ratio 2:12:1) gives its centroid, (x1+x2+x33,y1+y2+y33,z1+z2+z33)\left(\dfrac{x_1+x_2+x_3}{3},\dfrac{y_1+y_2+y_3}{3},\dfrac{z_1+z_2+z_3}{3}\right).

Derivation AThe distance formula in three dimensions

The goal is to show that the 3-D distance between P(x1,y1,z1)P(x_1,y_1,z_1) and Q(x2,y2,z2)Q(x_2,y_2,z_2) is 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} by applying the ordinary 2-D distance formula twice and the Pythagoras theorem once, so that the whole 3-D result rests on tools already familiar from plane coordinate geometry.

Step 1. Drop QQ straight down onto the plane through PP parallel to the XYXY-plane, landing at the point N(x2,y2,z1)N(x_2,y_2,z_1) — same xx and yy as QQ, same zz as PP. The segment QNQN is vertical, of length ∣z2−z1∣|z_2-z_1|, and it is perpendicular to the plane z=z1z=z_1, hence perpendicular to every segment lying in that plane, including PNPN.

Step 2. Both P(x1,y1,z1)P(x_1,y_1,z_1) and N(x2,y2,z1)N(x_2,y_2,z_1) share the coordinate z1z_1, so they lie in the same plane parallel to the XYXY-plane, and within that plane the problem is purely 2-D. The ordinary plane distance formula gives PN=(x2−x1)2+(y2−y1)2PN=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}.

Step 3. Triangle PNQPNQ has a right angle at NN, because QNQN is perpendicular to the plane containing PNPN. By the Pythagoras theorem, PQ2=PN2+NQ2=[(x2−x1)2+(y2−y1)2]+(z2−z1)2PQ^2 = PN^2 + NQ^2 = \left[(x_2-x_1)^2+(y_2-y_1)^2\right] + (z_2-z_1)^2.

Step 4. Take the square root of both sides: 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}. The 3-D formula is exactly the 2-D one with a third squared term appended, because the vertical drop from QQ to NN is always perpendicular to the horizontal plane through PP and NN, whatever the coordinates.

Worked example

Show that the points A(0,7,10)A(0,7,10), B(−1,6,6)B(-1,6,6), C(−4,9,6)C(-4,9,6) are the vertices of a right-angled isosceles triangle.

Step 1. Apply the distance formula to each pair. AB2=(0−(−1))2+(7−6)2+(10−6)2=1+1+16=18AB^2 = (0-(-1))^2+(7-6)^2+(10-6)^2 = 1+1+16 = 18.

Step 2. Similarly, BC2=(−1−(−4))2+(6−9)2+(6−6)2=9+9+0=18BC^2 = (-1-(-4))^2+(6-9)^2+(6-6)^2 = 9+9+0 = 18, and CA2=(−4−0)2+(9−7)2+(6−10)2=16+4+16=36CA^2 = (-4-0)^2+(9-7)^2+(6-10)^2 = 16+4+16 = 36.

Step 3. Compare the three squared lengths. Since AB2=BC2=18AB^2=BC^2=18, sides ABAB and BCBC are equal, so △ABC\triangle ABC is isosceles. Also AB2+BC2=18+18=36=CA2AB^2+BC^2 = 18+18 = 36 = CA^2, so by the converse of the Pythagoras theorem the angle opposite CACA — angle BB — is a right angle.

Answer: △ABC\triangle ABC is right-angled at BB and isosceles, with AB=BC=18AB=BC=\sqrt{18} and CA=6CA=6.

Competitive stretch

Find the point dividing A(−2,3,5)A(-2,3,5) and B(1,−4,6)B(1,-4,6) internally in the ratio 2:32:3. Here m:n=2:3m:n=2:3, so x=2(1)+3(−2)5=−45x=\dfrac{2(1)+3(-2)}{5}=-\dfrac{4}{5}, y=2(−4)+3(3)5=15y=\dfrac{2(-4)+3(3)}{5}=\dfrac{1}{5}, z=2(6)+3(5)5=275z=\dfrac{2(6)+3(5)}{5}=\dfrac{27}{5}. The point is (−45,15,275)\left(-\dfrac{4}{5},\dfrac{1}{5},\dfrac{27}{5}\right) — the same section formula that produced the vertical drop NQNQ in the derivation above, now used to split a segment rather than measure it. Notice each coordinate is computed independently by the identical rule: multiply the far point's coordinate by mm, the near point's by nn, add, and divide by m+nm+n — there is nothing extra to learn for the zz-coordinate once the xx- and yy-coordinates are understood.

Common traps

  • Dropping the zz-term out of habit. Students fluent in 2-D formulas sometimes forget the third coordinate — check that xx, yy and zz all appear in every step.
  • Misreading the octant from the coordinate signs. Three coordinates give eight sign combinations, not four; one careless sign flip puts a point in the wrong octant.
  • Swapping mm and nn in the section formula. The formula is not symmetric in PP and QQ: mm pairs with QQ's coordinates, nn with PP's, in the order the ratio m:nm:n was written.
  • Reaching for vectors or direction cosines. This Section-B unit is worked entirely with coordinates; direction cosines, direction ratios and vector equations belong to Class XII.

Ask the tutor: If keeping track of all three coordinates through a distance or section-formula calculation feels fiddly, ask the AI tutor to walk through one coordinate — xx, then yy, then zz — at a time.

Why does the 3-D distance formula just add one more squared term instead of something more complicated?

Because the extra dimension is perpendicular to the other two, not tangled up with them. Dropping a point straight down onto the plane of the other point turns the 3-D problem into an ordinary 2-D distance plus one vertical segment, and those two pieces meet at a right angle by construction. The Pythagoras theorem then combines them by squaring and adding — exactly the pattern the derivation walks through. Any number of mutually perpendicular directions would add in the same simple way.

Do I need to know direction cosines or vectors for this ISC Section-B chapter?

No. This unit — Section B, "Introduction to Three-Dimensional Geometry" — is built entirely from coordinates: axes, coordinate planes, octants, the distance formula and the section formula, including its mid-point and centroid special cases. Direction cosines, direction ratios, and the vector or Cartesian equations of lines and planes are Class XII tools and are outside this chapter's scope, even though they return to the same coordinate axes.

How is the 3-D section formula different from the 2-D version I already know?

It is not really different — it is the same formula with a zz-coordinate line added. You still compute x=mx2+nx1m+nx=\dfrac{mx_2+nx_1}{m+n} and y=my2+ny1m+ny=\dfrac{my_2+ny_1}{m+n} exactly as in the plane, and now also z=mz2+nz1m+nz=\dfrac{mz_2+nz_1}{m+n} using the same mm and nn. The mid-point formula (m=n=1m=n=1) and the centroid formula (from the 2:12:1 median ratio) carry over the same way, just with a third coordinate averaged alongside the first two.

Before this

Where this leads