This Demonstration shows President James Garfield's elegant proof of the Pythagorean theorem.

The area of the trapezoid (step 5) can be calculated in two ways: as a trapezoid with base and heights and , or as the sum of the areas of three triangles:

.

Multiply through by 2 and expand the left-hand side to get