Understand the most famous theorem in mathematics through proofs, examples, and real-world applications
The Pythagorean theorem is one of the oldest and most widely used results in all of mathematics. It describes a fundamental relationship between the three sides of any right triangle: the square of the hypotenuse is equal to the sum of the squares of the other two sides.
If a right triangle has legs of length a and b, and a hypotenuse of length c, then:
The hypotenuse is always the longest side of a right triangle and is the side directly opposite the right angle. The other two sides are called legs. This theorem only applies to right triangles — triangles that contain exactly one 90-degree angle.
The Pythagorean theorem lets you find any side of a right triangle when you know the other two. It is the foundation for the distance formula, trigonometric identities, and countless applications in science and engineering.
There are over 370 known proofs of the Pythagorean theorem, but the rearrangement proof is one of the most intuitive and elegant. Here is how it works:
Imagine you have a large square with side length (a + b). Inside this square, arrange four identical copies of your right triangle (each with legs a and b and hypotenuse c) so that their hypotenuses form a smaller, tilted square in the center.
This proof requires no algebra beyond basic area formulas. The four triangles account for 2ab of the total area, and whatever is left must be c². Since the big square has area a² + 2ab + b², subtracting the 2ab from the triangles leaves a² + b² = c².
Drop a perpendicular from the right angle to the hypotenuse, creating two smaller triangles inside the original. Each of these smaller triangles is similar to the original triangle and to each other.
Let the altitude have length h, and let it divide the hypotenuse c into segments of length p and q, where p + q = c. By the similarity of the triangles:
Adding these two equations: a² + b² = pc + qc = (p + q)c = c × c = c². This proof is particularly beautiful because it uses only the properties of similar triangles and requires no area arguments.
A Pythagorean triple is a set of three positive integers (a, b, c) that satisfy a² + b² = c². These are special because all three sides are whole numbers, making calculations clean and exact.
| a | b | c | Verification |
|---|---|---|---|
| 3 | 4 | 5 | 9 + 16 = 25 |
| 5 | 12 | 13 | 25 + 144 = 169 |
| 8 | 15 | 17 | 64 + 225 = 289 |
| 7 | 24 | 25 | 49 + 576 = 625 |
| 9 | 40 | 41 | 81 + 1600 = 1681 |
| 20 | 21 | 29 | 400 + 441 = 841 |
Any multiple of a Pythagorean triple is also a Pythagorean triple. For example, if (3, 4, 5) is a triple, then so is (6, 8, 10), (9, 12, 15), (30, 40, 50), and so on. The triple (3, 4, 5) is by far the most commonly encountered and is worth memorizing.
Recognizing Pythagorean triples saves time on exams. If you see a right triangle with legs 3 and 4, you instantly know the hypotenuse is 5 — no calculation needed. The same applies to multiples like 6-8-10 or 5-12-13.
The converse of the Pythagorean theorem states: if the square of the longest side of a triangle equals the sum of the squares of the other two sides, then the triangle is a right triangle. This is extremely useful for testing whether a triangle contains a 90-degree angle.
More broadly, you can classify any triangle by comparing c² with a² + b²:
The distance formula from coordinate geometry is a direct application of the Pythagorean theorem. To find the distance between two points (x₁, y₁) and (x₂, y₂), you form a right triangle where the horizontal distance is |x₂ − x₁| and the vertical distance is |y₂ − y₁|. The distance is the hypotenuse:
This is simply a² + b² = c² solved for c, with a = |x₂ − x₁| and b = |y₂ − y₁|. Every time you compute a distance in a coordinate plane, you are applying the Pythagorean theorem.
The Pythagorean theorem extends naturally to three-dimensional space. If you need the distance between points (x₁, y₁, z₁) and (x₂, y₂, z₂), the formula becomes:
This works because you can apply the Pythagorean theorem twice: first in the xy-plane to get the horizontal distance, then again combining that horizontal distance with the vertical z-component.
The Pythagorean theorem appears in an enormous variety of practical situations:
A right triangle has legs of length 6 and 8. Find the hypotenuse.
Step 1: Write the Pythagorean theorem: a² + b² = c²
Step 2: Substitute: 6² + 8² = c²
Step 3: Calculate: 36 + 64 = c², so c² = 100
Step 4: Take the square root: c = √100 = 10
Answer: The hypotenuse is 10. (Note: this is the 3-4-5 triple scaled by 2.)
A right triangle has a hypotenuse of 13 and one leg of length 5. Find the other leg.
Step 1: Write the theorem: a² + b² = c²
Step 2: Substitute known values: 5² + b² = 13²
Step 3: Calculate: 25 + b² = 169
Step 4: Solve for b²: b² = 169 − 25 = 144
Step 5: Take the square root: b = √144 = 12
Answer: The missing leg is 12. (This is the 5-12-13 Pythagorean triple.)
A 10-foot ladder is leaning against a wall. The base of the ladder is 6 feet from the wall. How high up the wall does the ladder reach?
Step 1: The ladder is the hypotenuse (c = 10), the ground distance is one leg (a = 6), and the wall height is the other leg (b = ?).
Step 2: Apply the theorem: 6² + b² = 10²
Step 3: Solve: 36 + b² = 100, so b² = 64
Step 4: b = √64 = 8
Answer: The ladder reaches 8 feet up the wall.
A right triangle has legs of length 9 and 12. Find the hypotenuse.
c² = 9² + 12² = 81 + 144 = 225. Therefore c = √225 = 15. This is the 3-4-5 triple scaled by 3.
A triangle has sides of length 7, 24, and 25. Is it a right triangle?
Check: 7² + 24² = 49 + 576 = 625 = 25². Since a² + b² = c², yes, it is a right triangle. (7, 24, 25) is a Pythagorean triple.
A rectangular garden measures 15 meters by 20 meters. You want to run a straight path diagonally from one corner to the opposite corner. How long is the path?
The diagonal creates a right triangle with legs 15 and 20. d² = 15² + 20² = 225 + 400 = 625. d = √625 = 25 meters. (This is the 3-4-5 triple scaled by 5.)
The Pythagorean theorem is not just a formula to memorize. It is a bridge connecting geometry, algebra, coordinate math, and the physical world. Understanding it deeply will serve you in every area of mathematics.