A rectangular park is 120 m long and 50 m wide. Walking along two edges from one corner to the opposite corner is m. Cutting straight across on the diagonal path is shorter, but by how much? You cannot measure the path with the edges alone, unless you know one of the most useful facts in all of mathematics. The same fact tells you how tall a ladder can reach, what "a 55-inch TV" really measures, and lets a builder check that the corner of a deck is perfectly square using only a tape measure. It is called the Pythagorean theorem, and it connects the three sides of every right triangle.
Legs and hypotenuse
A right triangle has one angle. The two sides that form the right angle are the legs, usually called and . The side across from the right angle is the hypotenuse, called . The hypotenuse is always the longest side of a right triangle, because it is opposite the largest angle. The theorem says: in a right triangle, the area of the square on the hypotenuse equals the sum of the areas of the squares on the two legs.
Why it works. Take four copies of a right triangle with legs and , and arrange them inside a big square with side , one triangle in each corner, so that their hypotenuses form a tilted square of side in the middle. The big square's area can be counted two ways: as , or as the tilted square plus the four triangles, . Expanding and setting the two equal:
Finding a missing side
| You know | You want | Formula | Example |
|---|---|---|---|
| Both legs a and b | The hypotenuse c | : | |
| The hypotenuse c and one leg b | The other leg a | : |
Many answers are not whole numbers. With legs 7 cm and 10 cm, . The value is the exact answer; cm is that value rounded to one decimal place. Round only at the very end, and say how you rounded. Real problems often hide a right triangle inside a bigger shape (a composite shape): the height of a triangular roof, the diagonal brace of a gate, the slanted edge of a ramp, or the straight-line distance between two points on a grid. Sketch the shape, find the right angle, and label the legs and hypotenuse before you calculate.
The converse: checking for a right angle
The theorem also works backwards. If the sides of a triangle satisfy , where is the longest side, then the triangle is a right triangle. Builders use this to check corners: measure 3 units along one wall and 4 units along the other; if the diagonal between those marks is exactly 5 units, the corner is . (Bigger multiples like 6, 8, 10 feet or 0.9, 1.2, 1.5 m give a more precise check.) If is less than , the longest side is too long for a right angle, so the angle opposite it is obtuse. If is greater than , that angle is acute, and since it is the largest angle, the whole triangle is acute.
| Pythagorean triple | Check | A multiple of it |
|---|---|---|
| 3, 4, 5 | 9 + 16 = 25 | 6, 8, 10 |
| 5, 12, 13 | 25 + 144 = 169 | 10, 24, 26 |
| 8, 15, 17 | 64 + 225 = 289 | 16, 30, 34 |
| 7, 24, 25 | 49 + 576 = 625 | 14, 48, 50 |
