The key idea
Label the hypotenuse c first. It is always across from the right angle and always the longest side. The other two sides are the legs, a and b.
To find the hypotenuse, add the squares. To find a leg, subtract. Choosing the wrong one of those causes most wrong answers.
Pythagorean triples
Some sets of whole numbers fit exactly. Any multiple of a triple is also a triple, so 6, 8, 10 and 9, 12, 15 work because 3, 4, 5 does.
| Triple | Check | Some multiples |
|---|---|---|
| 3, 4, 5 | 6, 8, 10 and 9, 12, 15 | |
| 5, 12, 13 | 10, 24, 26 | |
| 8, 15, 17 | 16, 30, 34 | |
| 7, 24, 25 | 14, 48, 50 |
The converse: what kind of triangle is it?
Let c be the longest side and compare with .
| If | The triangle is |
|---|---|
| Right | |
| Acute (every angle is less than 90°) | |
| Obtuse (one angle is more than 90°) |
On a graph, the horizontal gap and the vertical gap between two points are the legs of a right triangle, so the distance between the points is its hypotenuse:
Worked examples
Example 1: find the hypotenuse
Problem A right triangle has legs of 9 and 12. Find the hypotenuse.
- The hypotenuse is the unknown, so add the squares of the legs.
- Square each leg.
- Add.
- Take the square root. A length is positive.
- This is the 3, 4, 5 triple times 3, so you could have spotted it without the work.
Answer
Example 2: find a leg
Problem A 20-foot ladder leans against a wall. Its foot is 6 feet from the base of the wall. How high up the wall does the ladder reach?
- The wall and the ground meet at a right angle. The ladder is across from it, so the ladder is the hypotenuse. The height h is a leg.
- Square the numbers.
- Subtract 36 from both sides. Finding a leg means subtracting.
- Take the square root and simplify, since .
- On a calculator, . That is a bit less than 20, which makes sense for a ladder standing almost straight up.
Answer feet, about 19.08 feet.
Example 3: use the converse
Problem A triangle has sides of 7, 9 and 12. Is it acute, right or obtuse?
- The longest side is 12, so it plays the role of c.
- Add the squares of the two shorter sides.
- Square the longest side.
- Compare.
- The two short sides are too short to meet at a right angle, so the angle across from the side of 12 is wider than 90°.
Answer Obtuse.
Example 4 (test-hard): the diagonal of a box
Problem A box is 6 inches wide, 8 inches long and 24 inches tall. How long is the longest straight rod that fits inside, from a bottom corner to the opposite top corner?
- First find the diagonal across the bottom of the box. It is the hypotenuse of a right triangle with legs 6 and 8.
- That bottom diagonal and the 24-inch height form a second right triangle, standing up inside the box. The rod is its hypotenuse.
- Shortcut for any box: .
Answer 26 inches.
Common mistakes
- Adding when you need a leg. For a leg, subtract: . Fix: if the hypotenuse is given, you subtract.
- Calling the wrong side c. c is always across from the right angle. Fix: find the right-angle mark first and look straight across from it.
- Thinking . Legs 8 and 15 give a hypotenuse of 17, not 23. Square roots do not split over addition.
- Using it on a triangle with no right angle. only holds for right triangles. For other triangles, use the converse to classify them.
- Forgetting the last square root. means , not 225. Fix: ask whether your answer is a length or a squared length.
Quick methods
Practice
5 practice questions
A right triangle has legs of 8 and 15. What is the hypotenuse?
Show answer
Answer:
, and . 23 adds the legs, subtracts instead of adding, and 289 forgets the square root.
A right triangle has a hypotenuse of 10 and one leg of 4. What is the other leg?
Show answer
Answer:
, and , about 9.17. 6 subtracts the sides without squaring, adds the squares instead of subtracting, and adds the sides without squaring.
Which set of side lengths makes a right triangle?
- 5, 11, 12
- 9, 40, 41
- 6, 7, 9
- 10, 20, 25
Show answer
Answer: 9, 40, 41
. For the others, is not 144, is not 81, and is not 625.
What is the distance between the points and ?
Show answer
Answer:
The horizontal gap is and the vertical gap is , so the distance is . 14 adds the gaps, uses and drops the negative sign, and 100 forgets the square root.
A triangle has sides of 8, 10 and 13. What kind of triangle is it?
- Acute
- Right
- Obtuse
- It cannot be a triangle
Show answer
Answer: Obtuse
and . Since , the triangle is obtuse. It is a real triangle because is more than 13.
Frequently asked questions
Does the Pythagorean theorem work for every triangle?
No. is only true for right triangles. For other triangles, comparing with tells you whether the triangle is acute or obtuse. To find missing sides in those triangles, you will later learn the law of cosines.
How do I know which side is the hypotenuse?
It is the side across from the right angle, the one that does not touch the small square mark. It is always the longest side. In a word problem it is usually the slanted thing: the ladder, the ramp, the wire or the diagonal.
Should I memorize Pythagorean triples?
Memorize 3, 4, 5 and 5, 12, 13 at least, and 8, 15, 17 and 7, 24, 25 if you can. Then watch for multiples like 6, 8, 10. Spotting a triple skips the squaring and square root steps and catches arithmetic slips.
How is the distance formula related to the Pythagorean theorem?
Draw a right triangle with the two points at the ends of the hypotenuse. The legs are the horizontal gap and the vertical gap . Put those into , solve for c, and you have the distance formula.