The Pythagorean theorem
In a right triangle, a² + b² = c². Find a missing side, learn the famous triples like 3, 4, 5, and find diagonals.
A right triangle is a triangle with one right angle, a corner of exactly 90°, like the corner of a book. Its three sides have a special connection that people have known for more than 2,500 years. It is named after the Greek thinker Pythagoras, but it was already used in Babylon long before him, and it was also known in ancient China. With it, you can find any side of a right triangle when you know the other two.
The names of the sides
The two sides that meet at the right angle are called the legs. We call them a and b. The longest side is across from the right angle. It is called the hypotenuse, and we call it c. The hypotenuse is always the longest side, so your answer for c must always be bigger than both legs.
The rule
Remember
a² + b² = c²
Only for right triangles. c is always the hypotenuse.
In words: square the first leg, square the second leg, and add them. The total is the square of the hypotenuse. Remember that squaring a number means multiplying it by itself, so 5² = 5 × 5 = 25.
Why is this true? Draw a square on each side of the triangle. The area of the square on the hypotenuse is exactly the same as the areas of the two smaller squares added together. For a triangle with legs 3 and 4, the small squares have areas 9 and 16. Together that is 25, and the square on the hypotenuse has area 25 too, so the hypotenuse is 5.
Finding the hypotenuse
When you know both legs, follow these steps:
- Square each leg.
- Add the two squares.
- Take the square root of the total. That is c.
Example 1
The legs of a right triangle are 6 and 8. How long is the hypotenuse?
- 6² = 36 and 8² = 64.
- 36 + 64 = 100, so c² = 100.
- c = √100 = 10.
- Check: 10 is longer than 6 and 8, so the answer makes sense.
Answer: 10
Finding a leg
When you know the hypotenuse and one leg, you subtract instead of adding. The square of the hypotenuse is the big total, and you take away the part you already know.
Remember
a² = c² − b²
Example 2
The hypotenuse is 13 and one leg is 5. How long is the other leg?
- 13² = 169 and 5² = 25.
- 169 − 25 = 144, so the missing leg squared is 144.
- The missing leg is √144 = 12.
Answer: 12
Pythagorean triples
Some right triangles have three whole-number sides. These sets of numbers are called Pythagorean triples. If you know the most common ones, you can often answer without any working at all.
| Legs | Hypotenuse | Check |
|---|---|---|
| 3 and 4 | 5 | 9 + 16 = 25 |
| 5 and 12 | 13 | 25 + 144 = 169 |
| 8 and 15 | 17 | 64 + 225 = 289 |
| 7 and 24 | 25 | 49 + 576 = 625 |
Diagonals of rectangles and squares
A diagonal cuts a rectangle into two right triangles. The sides of the rectangle are the legs, and the diagonal is the hypotenuse. So the diagonal of a rectangle that is 4 by 3 is √(16 + 9) = √25 = 5.
Example 3
How long is the diagonal of a square with side 5?
- Both legs are 5, so c² = 5² + 5² = 25 + 25 = 50.
- c = √50.
- Since 50 = 25 × 2, we can write √50 = √25 × √2 = 5√2.
Answer: 5√2, which is about 7.07
Does the answer make sense?
- The hypotenuse must be longer than each leg.
- The hypotenuse must be shorter than the two legs added together. With legs 6 and 8, the answer must be between 8 and 14. It is 10.
- If you get a number under a square root that is not a square number (like 49 or 100), for example √50, the answer is not a whole number. That is fine, but check your squares once more.
Try it yourself
1.The legs of a right triangle are 9 and 12. How long is the hypotenuse?
Show the answer
15
81 + 144 = 225, and √225 = 15. It is the triple 3, 4, 5 times 3.
2.The hypotenuse is 10 and one leg is 6. How long is the other leg?
Show the answer
8
100 − 36 = 64, and √64 = 8.
3.The hypotenuse is 25 and one leg is 7. How long is the other leg?
Show the answer
24
625 − 49 = 576, and √576 = 24. It is the triple 7, 24, 25.
4.A rectangle is 12 by 5. How long is its diagonal?
Show the answer
13
144 + 25 = 169, and √169 = 13.
5.How long is the diagonal of a square with side 7?
Show the answer
7√2
49 + 49 = 98 = 49 × 2, so the diagonal is √98 = 7√2.
Ready to test yourself?
Play Geometry: 20 seconds per question, and it gets harder as you go.