3.6.1 · D23D Geometry

Visual walkthrough — Coordinate system in 3D — x, y, z axes, octants

1,520 words7 min readBack to topic

Everything below is built on top of the ideas in the parent note; the only outside tool we will borrow is Pythagoras from flat 2D geometry, which we recall in Step 3.


Step 0 — The three rulers (so no symbol is a mystery)

WHAT. Before any formula, fix what the three numbers even are. We stand in the corner of a room. Three edges shoot out from that corner, each at a right angle to the other two. We call these edges the -axis, -axis and -axis, and the corner itself the origin .

WHY. A "distance" is meaningless until we agree how a point is addressed. A point gets three numbers:

  • = how far you walk along the -ruler,
  • = how far along the -ruler,
  • = how far straight up the -ruler.

We write this address as the ordered triple — order matters, exactly as the parent note warned.

PICTURE.

Figure — Coordinate system in 3D — x, y, z axes, octants

Step 1 — Drop onto the floor to get its shadow

WHAT. From we drop a straight vertical line down to the floor (the -plane, where ). Where it lands we call . Its address is — same and as , but height flattened to .

WHY. floats in 3D, which is hard to reason about directly. But its shadow lives entirely in the flat floor, where ordinary 2D geometry works. Splitting a hard 3D problem into "a flat part" + "a vertical part" is the whole trick.

PICTURE — notice the dashed vertical drop from to .

Figure — Coordinate system in 3D — x, y, z axes, octants

Step 2 — Measure the shadow's distance across the floor

WHAT. Inside the floor we now have a right triangle: from walk along the -axis, then parallel to the -axis, and the slanted line back is .

WHY tan/Pythagoras and not something else? We want a length of a slanted line whose two perpendicular legs we already know ( and ). The one tool that turns two perpendicular legs into the hypotenuse is the Pythagoras theorem — that is exactly its job.

  • — the horizontal leg, squared.
  • — the perpendicular leg, squared.
  • — turns "sum of squared legs" back into an honest length.

PICTURE — the red triangle lives flat in the floor.

Figure — Coordinate system in 3D — x, y, z axes, octants

Step 3 — Recall WHY Pythagoras is allowed here

PICTURE — the little pink square marks the right angle that unlocks Pythagoras.

Figure — Coordinate system in 3D — x, y, z axes, octants

Step 4 — Stand the vertical edge back up

WHAT. Now rebuild the height we threw away. The segment from the shadow up to has length equal to the height of , which is .

WHY the absolute value ? A length can never be negative. If is below the floor, its is negative (an octant with ), yet the physical rod from up to still has a positive length. So we write to strip the sign — this is the same guard the parent note gives against "squaring negatives wrong".

Crucially, is perpendicular to the whole floor, so . That right angle is what lets Pythagoras run again.

PICTURE — the violet vertical rod, with the right angle where it meets the floor.

Figure — Coordinate system in 3D — x, y, z axes, octants

Step 5 — Pythagoras a second time in the standing triangle

WHAT. Triangle has a right angle at (Step 4). Its legs are the floor-distance and the vertical ; its hypotenuse is exactly our target .

WHY. We now know both legs, and they meet at — the precise setup Pythagoras answers.

  • — substitute the floor result from Step 2, which already equals .
  • — and , because squaring erases the sign anyway (so the quietly disappears here).

Putting the pieces together:

PICTURE — the standing right triangle, hypotenuse glowing.

Figure — Coordinate system in 3D — x, y, z axes, octants

Step 6 — Take the root: length is positive

WHAT. We have ; take the positive square root to get itself.

WHY only the positive root? is a distance, so we keep the root and discard the negative one.


Step 7 — Every case is already handled (the degenerate checks)

WHY this step. A formula you cannot trust at the edges is useless. Let us walk the corner cases and see the picture collapse gracefully each time.

PICTURE — three tiny frames: the point, the axis-only case, the floor-only case.

Figure — Coordinate system in 3D — x, y, z axes, octants

The one-picture summary

This single frame stacks both right triangles — the flat one and the standing one — so you can watch become , then join to become , all at once.

Figure — Coordinate system in 3D — x, y, z axes, octants
Recall Feynman retelling — the whole walkthrough in plain words

A balloon floats somewhere in your room. To find how far it is from the corner, first look straight down and mark its shadow on the floor. Walk from the corner to that shadow — Pythagoras across the floor tells you that walk is . Now the balloon is just straight up from the shadow by its height . So the corner, the shadow, and the balloon make a second right triangle standing on its side. Pythagoras again: the corner-to-balloon length squared is (floor-walk squared) plus (height squared) . Take the square root because a length can't be negative, and you're done: . Notice we squared everything, so it never cares whether the balloon is left or right, front or back, up or down — all eight octants, one formula.


Connections

  • Distance Formula in 3D — repeat this exact two-triangle argument between any two points, not just from the origin.
  • Section Formula in 3D — uses the same coordinate addresses to cut a segment.
  • Vectors in 3D is the length of the position vector.
  • Quadrants in 2D Coordinate Geometry — the flat floor-triangle of Step 2 is pure 2D.
  • Direction Cosines and Direction Ratios — once is known, ratios like describe direction.