The Pythagorean Theorem
Learning objectives
- State and apply the Pythagorean theorem to find missing sides of right triangles
- Understand the proof of the theorem using an area argument
- Identify common Pythagorean triples
- Connect the Pythagorean theorem to the distance formula
The single most-cited theorem in all of mathematics. Twenty-five centuries after the Pythagorean school of Croton wrote it down, it still rules every triangle calculation, every distance measurement, every notion of length in spaces from the chalkboard to general relativity. Two thousand years before there was algebra, geometers already had a name for the surprising fact that the squares on the legs of a right triangle, taken together, exactly equal the square on the hypotenuse. This section explains why it must be true.
The statement
In a right triangle with legs and and hypotenuse (the side opposite the right angle, always the longest):
The squares here are literal, if you draw a square on each side of the triangle, the area of the square on equals the combined area of the squares on and .
Why is this true?, the area-rearrangement proof
Take four identical copies of the right triangle. Arrange them inside a large square of side so that their hypotenuses face inward; the four triangles tile the border, and a smaller tilted square of side sits at the centre.
The area of the large square is . The four triangles contribute . The central square has area . Therefore:
The on each side cancels, and the theorem falls out. Notice how unexpectedly clean this is, no calculus, no trigonometry, just counting areas two ways.
- Construction: The "3-4-5 triangle" is the carpenter's right-angle check: stake distances of 3 and 4 units on two ropes; if the diagonal is exactly 5, the corner is perfectly square. This is a literal Pythagorean triple.
- Computer Graphics: Every collision-detection routine in a game engine ultimately tests , the squared form of Pythagoras' theorem, kept squared to avoid the costly square root.
- Special Relativity: Spacetime intervals replace with ; the minus sign is the only twist, but the geometric reasoning is direct Pythagoras adapted to Minkowski space.
Drag the leg sliders and . Squares grow on each side of the right triangle, and the area readouts confirm that . Switch to "Rearrangement proof" mode to see the four-triangles-inside-a-square diagram, the visual heart of the area-counting proof.
The converse, flipping the implication
The converse is also true: if a triangle has sides satisfying , then it is a right triangle, with the right angle opposite side . This is what lets you check by arithmetic whether a triangle is right: compute ; compute ; if they match, the angle is 90^\circ.
Pythagorean triples
A Pythagorean triple is a triple of positive integers that satisfies . The most famous is ; others include , , , and . Any scalar multiple is also a triple: . There are infinitely many primitive triples (ones whose three components share no common factor, Euclid gave a complete parametrisation in Elements Book X).
Connection to the distance formula
The distance formula that you saw in §5.1 is literally Pythagoras' theorem rearranged for the hypotenuse: the legs are and , and the hypotenuse pops out by taking the square root of both sides. Every time you compute a Euclidean distance, you are using Pythagoras.
Try it
- Set legs and . Predict first: with legs and , what is the hypotenuse ? Set the sliders and verify it shows .
- Set and . Before sliding: with and , what is ? Set the sliders and confirm it reads , another classic Pythagorean triple.
- Try and . Before setting: with both legs , what is the hypotenuse? Set the sliders and verify it reads , the famous irrational that motivated the Greeks to invent the real numbers.
A trap to watch for
The Pythagorean theorem holds only for right triangles. If a triangle has sides , then but , so this is not a right triangle. The Greek geometers eventually generalised the fact into the law of cosines: , where is the angle opposite . When \theta = 90^\circ, and the formula reduces to Pythagoras. Do not apply Pythagoras to a non-right triangle.
What you now know
You can compute the missing side of a right triangle in either direction, recognise common Pythagorean triples, and connect the theorem back to the distance formula. The next chapter applies these tools to the most-studied curve in all of geometry: the circle.
Quick check
Mark section complete →
References
- Lang, S. (1971). Basic Mathematics. Springer. Chapter 5, §3, the proof reproduced above, in his minimalist style.
- Euclid (c. 300 BCE). Elements, Book I, Proposition 47 (Heath translation, Dover, 1956). The original Greek proof, by similar triangles.
- Loomis, E. S. (1968). The Pythagorean Proposition, 2nd ed. NCTM. Contains hundreds of distinct proofs of the theorem.
- Hartshorne, R. (2000). Geometry: Euclid and Beyond. Springer. §1.5 places Pythagoras in its modern axiomatic context.