2.3.11 · D2Coordinate Geometry

Visual walkthrough — Area of triangle using coordinate formula

1,786 words8 min readBack to topic

Before any symbol appears, let us fix the vocabulary.


Step 1 — Put the three pins down and drop them to the floor

WHAT. Place , , . From each one, draw a vertical line straight down to the x-axis.

WHY. Because a shape sitting flat on the floor is the easiest shape whose area we know how to compute. We are going to trade the awkward slanted triangle for a few tidy floor-standing trapezoids.

PICTURE. Look at the three dotted vertical drops. Each drop hits the floor at — same , but . The three drops chop the region under the triangle into vertical strips.

Figure — Area of triangle using coordinate formula

In the picture, is how far right the drop of lands, and is how tall stands above the floor. Nothing here is a formula yet — just names for distances.


Step 2 — One edge makes one trapezoid; find its area

WHAT. Take the edge from to . Its two endpoints have heights and . Its two drops land at and . Together with the floor, they bound a trapezoid.

WHY use a trapezoid area, and why this one? A trapezoid with two vertical parallel sides has the friendliest area rule of any four-sided shape: average of the two heights, times the horizontal width. We choose it because our two vertical drops are exactly those two parallel sides — the shape was hand-picked to fit this rule.

PICTURE. The left wall has height , the right wall has height , and the floor gap between them has width .

Figure — Area of triangle using coordinate formula

Step 3 — Why the width carries a sign (this is the secret)

WHAT. Keep the same formula , but now stare at the factor under different edges.

WHY. In the naive picture you might worry "what if is to the left of ?" The genius is that we do not need to worry. The subtraction handles left-vs-right by itself: it goes negative automatically. That negative sign will do the subtracting for us, so we never have to decide which trapezoids to add and which to remove.

PICTURE. Two copies of the same edge: one walked rightward (width positive, strip counted +), one walked leftward (width negative, strip counted ). Same strip, opposite sign, purely because of walking direction.

Figure — Area of triangle using coordinate formula

Step 4 — Walk the whole loop

WHAT. Write down all three edge-trapezoids, each with its own built-in sign, and add them.

WHY. We are closing the loop. Some edges live above the triangle and some below it. When you add rightward-positive and leftward-negative strips all the way around a closed loop, every square metre outside the triangle gets added once and subtracted once — it cancels. Only the enclosed triangle survives.

PICTURE. The three strips shaded; arrows show the walking direction on each edge. The overlapping outside regions are marked "cancels".

Figure — Area of triangle using coordinate formula

Step 5 — Multiply out and watch the junk cancel

WHAT. Expand each of the three products and collect terms.

WHY. Right now the formula is correct but ugly. Expanding reveals that the "self" terms — the ones pairing with its own — appear twice with opposite signs and vanish. What is left is short and memorable.

PICTURE. A term-by-term board: the three diagonal pairs , , each show up as and , struck through.

Figure — Area of triangle using coordinate formula

Expanding each bracket (drop the common for a moment):

  • Each appears once and once gone.
  • What survives, grouped by each :

This is exactly the negative of the standard expression . A sign we are about to throw away anyway.


Step 6 — Take absolute value: orientation is not area

WHAT. Put the back and wrap the whole thing in .

WHY. The signed sum is positive if we walked counter-clockwise, negative if clockwise. Area is a how-much-paper quantity — it cannot be negative. The bars discard the walking direction and keep only the size.

PICTURE. Same triangle traversed two ways: CCW gives (green), CW gives (red). Both give the same .

Figure — Area of triangle using coordinate formula

Step 7 — The degenerate case: when the triangle is flat

WHAT. Feed in three points on one straight line: , , .

WHY. A good formula must not just work — it must tell you when there is no triangle. If the three pins line up, the "triangle" is a squashed sliver of zero width.

PICTURE. The three strips exactly overlap; there is no leftover region. Signed sum .

Figure — Area of triangle using coordinate formula


Step 8 — Sign check with real numbers

WHAT. Run one ordinary triangle and one negative-coordinate triangle, watching the sign inside the bars.

WHY. To see that the inside can be negative (clockwise ordering) yet the answer is still a clean positive area.


The one-picture summary

Figure — Area of triangle using coordinate formula

This last figure compresses everything: three drops build three signed floor-strips; walk the loop; outside cancels; halve; take the size.

Recall Feynman retelling — say it to a friend

Q: You know only the three corners. How do you get the area? Corners to area with only coordinates ::: Walk around the triangle corner to corner. Under each side, look at the strip going straight down to the floor. Walking rightward, count the strip plus; walking leftward, count it minus. Add all three strips: the outside bits cancel and you are left with the triangle.

Q: Why is each strip's area times the width? Strip area rule ::: It is a trapezoid standing on the floor with vertical walls of height and ; a trapezoid's area is the average wall height times the width.

Q: Why do we never worry about which corner is leftmost? Why order does not matter ::: The width goes negative all by itself when you walk leftward, so the subtractions happen automatically.

Q: Why the at the end? Why absolute value ::: The bare sum is positive for a counter-clockwise walk and negative for clockwise. Area cannot be negative, so we keep only the size.

Q: What does a zero answer mean? Meaning of zero ::: The three points are on one straight line — the triangle is flat, no area, they are collinear.

Recall Quick self-test

Area of ::: — matches . The factor out front is always ::: , from the trapezoid average-height rule.