Pythagorean Theorem
The Pythagorean theorem is a rule about right angled triangles. It says that in a right angled triangle, the square of the longest side is equal to the sum of the squares of the other two sides. If you know any two sides, you can work out the third side.
The theorem in plain words
A right angled triangle has one corner that is a right angle, which is 90 degrees. The two sides that meet at the right angle are called the legs. The side opposite the right angle is the longest side, and it is called the hypotenuse.
Picture a triangle with the right angle at the bottom left corner. The bottom side runs from left to right, and the left side runs from bottom to top. Those two sides are the legs. The side that slopes from the top of the left side down to the right end of the bottom side is the hypotenuse.
Call the two legs a and b, and call the hypotenuse c. The theorem says a² + b² = c². In words, the square of the first leg plus the square of the second leg equals the square of the hypotenuse.
Finding the hypotenuse
When you know both legs, add their squares and take the square root to find the hypotenuse.
Step 1: Square each leg.
Step 2: Add the two squares together.
Step 3: Take the square root of the total.
Take a triangle with legs of 3 and 4. Square 3 to get 9, and square 4 to get 16. Add them to get 25. The square root of 25 is 5, so the hypotenuse is 5.
Try legs of 6 and 8. Square 6 to get 36, and square 8 to get 64. Add them to get 100. The square root of 100 is 10, so the hypotenuse is 10.
Try legs of 9 and 12. Square 9 to get 81, and square 12 to get 144. Add them to get 225. The square root of 225 is 15, so the hypotenuse is 15.
Finding a missing leg
When you know the hypotenuse and one leg, subtract instead of adding. The square of the missing leg equals the square of the hypotenuse minus the square of the leg you know.
Take a triangle with a hypotenuse of 13 and one leg of 5. Square 13 to get 169, and square 5 to get 25. Subtract 25 from 169 to get 144. The square root of 144 is 12, so the missing leg is 12.
Try a hypotenuse of 10 and a leg of 6. Square 10 to get 100, and square 6 to get 36. Subtract 36 from 100 to get 64. The square root of 64 is 8, so the missing leg is 8.
Pythagorean triples
Some sets of whole numbers fit the theorem exactly. They are called Pythagorean triples. If you spot one, you can write down the answer without working it out.
| Leg a | Leg b | Hypotenuse c |
|---|---|---|
| 3 | 4 | 5 |
| 5 | 12 | 13 |
| 8 | 15 | 17 |
| 7 | 24 | 25 |
| 6 | 8 | 10 |
Check the second row: 5² is 25, 12² is 144, and 25 + 144 is 169, which is 13². The last row is the 3, 4, 5 triple doubled. Multiplying a triple by any whole number gives another triple, so 9, 12, 15 works too. Spotting a triple in homework saves time, and it is a good way to check an answer you worked out the long way.
Real life uses
Ladder against a wall. A ladder 5 metres long leans against a wall, and its foot sits 3 metres from the wall. The ladder is the hypotenuse, the ground is one leg, and the wall is the other leg. The height the ladder reaches is the square root of 25 minus 9, which is the square root of 16, so it reaches 4 metres up the wall.
TV screen size. TV screens are sold by the diagonal, which is the hypotenuse of the screen. A screen that is 24 inches wide and 18 inches tall has a diagonal of the square root of 576 plus 324, which is the square root of 900, so the TV is a 30 inch TV.
Builders use the same rule to check that a corner is square. They mark 3 units along one edge and 4 units along the other edge, and if the diagonal between the marks is 5 units, the corner is a right angle.
Common mistakes
Forgetting the square root at the end. The theorem gives you c², not c. If c² is 25, the hypotenuse is 5, not 25. Always take the square root as the last step.
Adding the legs before squaring. The legs 3 and 4 do not give a hypotenuse of 7. You must square each leg first, then add the squares. The correct working is 9 + 16 = 25, so the hypotenuse is 5.
Adding when you should subtract. When you are finding a missing leg, subtract the square of the known leg from the square of the hypotenuse. Adding gives a leg longer than the hypotenuse, which is impossible.
Using the theorem on a triangle that is not right angled. The rule only works when one angle is 90 degrees. For other triangles it gives the wrong answer.
Mixing up the hypotenuse and a leg. The hypotenuse is always the longest side, and it sits opposite the right angle. If the side you call c is not the longest side, you have the labels the wrong way round.
Related guides
Previous: How to Simplify Fractions · Next: Area and Perimeter · All guides in this category