2.3.1 · D2Coordinate Geometry

Visual walkthrough — Cartesian plane — axes, quadrants, ordered pairs

1,854 words8 min readBack to topic

Everything below rests on one older fact: Pythagoras' theorem. So Step 1 rebuilds even that, from a picture, before we touch coordinates.


Step 1 — Two dots on the paper

WHAT. Put two points anywhere on the Cartesian plane. Call the first one and the second one . Because every point has an address made of two numbers, we write:

Read each symbol out loud:

  • :: "how far right point sits" (the little just means "belongs to ").
  • :: "how far up point sits".
  • :: the same two questions, but answered for point .

WHY. We cannot talk about a distance until we have two things to measure between. Naming their addresses turns "two dots" into four numbers we can actually calculate with — that is the whole magic of coordinates.

PICTURE. In the figure, is the burnt-orange dot, is the teal dot. The dotted lines dropping to the axes show you exactly which number is , which is , and so on.

Figure — Cartesian plane — axes, quadrants, ordered pairs

Step 2 — The straight path we actually want

WHAT. Draw the straight segment from to . Its length is the number we are hunting. Give it a name: (for distance).

WHY. "Distance" between two points always means the shortest path — the straight line. A curvy path would be longer, so it would not be the distance. We name it now so that every later step has a target to aim at.

PICTURE. The plum line is . Notice it is slanted — neither flat nor upright. That slant is the whole problem: we know how to measure flat lengths (count along the x-axis) and upright lengths (count along the y-axis), but a slanted length has no ruler yet. Steps 3–5 build that ruler.

Figure — Cartesian plane — axes, quadrants, ordered pairs

Step 3 — Sneak in a corner to make a right triangle

WHAT. Invent a third point that sits directly below and directly across from . Its address must share 's height and 's side-position:

  • :: same right-position as (so is directly under ).
  • :: same up-position as (so is level with ).

WHY. We chose this way on purpose so that the two new segments and are one perfectly horizontal and one perfectly vertical. Horizontal and vertical are the only directions we can already measure. And a horizontal line meeting a vertical line makes a right angle () — which is exactly the ingredient Pythagoras demands. This is why and not some other helper point: it is the unique point that turns our slanted mystery into a right triangle.

PICTURE. The dotted right-angle square at is the payoff. We now have triangle with the right angle parked at , and sitting as the sloped side (the hypotenuse, the side opposite the right angle).

Figure — Cartesian plane — axes, quadrants, ordered pairs

Step 4 — Measure the flat leg and the upright leg

WHAT. Measure the two easy sides.

Horizontal leg (bottom):

Vertical leg (right side):

Term by term:

  • :: how much further right is than . Subtraction, because "distance along a line" is always the difference of the two positions.
  • :: the absolute value bars, meaning "throw away any minus sign". A length can never be negative — if were to the right of the subtraction would go negative, and these bars fix that.
  • :: how much higher is than , same reasoning going up instead of across.

WHY. On a purely horizontal segment, the two endpoints share their up-position, so only the side-positions differ — the length is just how far apart those side-numbers are. Same story vertically. This is the one moment where coordinates pay off: a length becomes plain subtraction.

PICTURE. The orange bracket labels under the triangle; the teal bracket labels up the side. Read the numbers off the axes and confirm the subtraction with your eyes.

Figure — Cartesian plane — axes, quadrants, ordered pairs

Step 5 — Let Pythagoras fuse the two legs into

WHAT. Pythagoras' theorem says: in any right triangle, the square built on the slanted side equals the two squares on the other sides added together.

Substitute what we found in Step 4:

Notice the absolute-value bars quietly vanished — because squaring a number already destroys its sign (). So we no longer need ; the exponent does that job for free.

Finally, undo the square by taking the square root of both sides:

Term by term, one last time:

  • :: the flat leg, squared — the area of the orange square.
  • :: the upright leg, squared — the area of the teal square.
  • :: Pythagoras glues the two square-areas together.
  • :: the plum square's side, which is exactly . The root "undoes" the squaring so we get a length back, not an area.

WHY the square root and not something else? Pythagoras hands us — the area of the square sitting on . But we wanted itself, the side. The square root is precisely the tool that answers "which number, times itself, gives this area?" — so it is the exact inverse of what got us into squares.

PICTURE. Three literal squares grow out of the three sides. Your eye can see the orange area plus the teal area filling up the plum area — Pythagoras made visible.

Figure — Cartesian plane — axes, quadrants, ordered pairs

Step 6 — The degenerate cases (never let a scenario surprise you)

A formula you trust must survive its extreme inputs. Check all three.

Case A — same height (). The vertical leg is , so The triangle flattens into a horizontal segment. Good — this matches plain number-line distance.

Case B — same side-position (). Now the horizontal leg is : The triangle flattens upright. Also correct.

Case C — the same point (). Both differences are : A point is zero distance from itself. The formula does not break; it simply reports .

WHY show these. When a leg is there is no real triangle left, and a nervous student might think the formula "needs" a triangle. It does not — the algebra handles the flattened and collapsed cases automatically. That robustness is why we trust the boxed formula everywhere, in all four quadrants, with any signs, positive or negative or zero.

Figure — Cartesian plane — axes, quadrants, ordered pairs

The one-picture summary

Every step, compressed into a single diagram: two dots become an address-pair, a helper corner makes a right triangle, the two easy legs are subtractions, and Pythagoras' square root delivers the slanted distance .

Figure — Cartesian plane — axes, quadrants, ordered pairs

This single machine now powers the Distance formula, the Midpoint formula, the Section formula, Slope of a line, Colinearity, and Area of triangle — and later reappears dressed up in Polar coordinates, the Complex plane, and Vectors.

Recall Feynman retelling — say it in plain words

Imagine two thumbtacks on graph paper. I want the length of string stretched tight between them, but string goes at a diagonal and I only own a ruler for straight-across and straight-up. So I cheat: I plant a third tack directly below the higher tack and level with the lower one. Now I've boxed off a right-angle triangle. The bottom side is just "how far right did I move" — subtract the two side-numbers. The tall side is "how far up did I move" — subtract the two height-numbers. Pythagoras (that old right-triangle law: leg-square plus leg-square equals slant-square) lets me add those two squares to get the slant squared. But I wanted the slant, not its square, so I take the square root to shrink it back down. That square root is my answer, . And if the two tacks happen to be level, or stacked, or the very same tack, the arithmetic just quietly gives the right flat length or zero — nothing to remember, it all falls out.

Recall Quick self-test

Why do we need the helper point ? ::: To create a right angle so Pythagoras' theorem applies; makes one leg perfectly horizontal and the other perfectly vertical. Why does the absolute value disappear in the final formula? ::: Because squaring already removes any minus sign, so . What does the square root undo? ::: It undoes the squaring — Pythagoras gives (an area), and the root turns that back into the side length . Distance from to ? ::: .