The theorem
c = √(a² + b²) a = √(c² − b²)
It applies only to right triangles; c is always the side opposite the right angle and the longest side.
Pythagorean triples
| a | b | c |
|---|---|---|
| 3 | 4 | 5 |
| 5 | 12 | 13 |
| 8 | 15 | 17 |
| 7 | 24 | 25 |
| 20 | 21 | 29 |
| 9 | 40 | 41 |
| 6 | 8 | 10 |
| 12 | 16 | 20 |
Builders use 3-4-5 to check a corner is square: mark 3 ft on one wall and 4 ft on the other; the diagonal should be exactly 5 ft.