The Formula
- and are the legs, the two sides that form the right angle.
- is the hypotenuse, the longest side, directly across from the right angle.
The theorem only works for right triangles. The converse also works: if for three side lengths, the triangle has a right angle. For example, sides 9, 12, 15 form a right triangle because . Sides 6, 7, 9 do not, because , not 81.
Finding the Hypotenuse
When you know both legs, add their squares, then take the square root.
Example 1: The legs are 6 and 8. Find .
- Square the legs: and .
- Add: .
- Take the square root: .
Example 2: The legs are 5 and 7. Find .
- .
- .
Not every answer is a whole number. Leave it as or round as your teacher asks.
Finding a Missing Leg
When you know the hypotenuse and one leg, subtract instead of add:
Example 1: The hypotenuse is 13 and one leg is 5. Find the other leg.
- Square both: and .
- Subtract: .
- Square root: .
Example 2: The hypotenuse is 10 and one leg is 4.
- .
- .
Quick sanity check: a leg must always be shorter than the hypotenuse.
Pythagorean Triples
A Pythagorean triple is a set of three whole numbers that fit . Memorizing a few saves time on tests.
| Triple | Check |
|---|---|
| 3, 4, 5 | |
| 5, 12, 13 | |
| 8, 15, 17 | |
| 7, 24, 25 |
Any multiple of a triple is also a triple. Since 3, 4, 5 works, so do 6, 8, 10 and 9, 12, 15. If you see legs of 15 and 20, you can spot that it is 3, 4, 5 times 5, so the hypotenuse is 25.
The Distance Formula Connection
The distance formula is just the Pythagorean theorem on a coordinate grid:
The horizontal change is one leg, the vertical change is the other leg, and the distance is the hypotenuse.
Example: Find the distance from to .
- Horizontal change: .
- Vertical change: .
- .
Word Problem: The Ladder
Problem: A 17-foot ladder leans against a wall. The bottom of the ladder is 8 feet from the wall. How high up the wall does the ladder reach?
- Draw it. The wall and ground form the right angle. The ladder is the hypotenuse, so . The ground distance is one leg, .
- Set up: .
- Simplify: .
- Solve: , so .
Answer: The ladder reaches 15 feet up the wall. (This is the 8, 15, 17 triple.) Paste it into the VeilGPT solver to check your steps on similar problems.
Common mistakes
- Adding the squares when you are actually finding a leg. If you know the hypotenuse, subtract.
- Labeling the wrong side as c. The hypotenuse is always the longest side, across from the right angle.
- Thinking the square root of a^2 + b^2 equals a + b. For legs 3 and 4 the hypotenuse is 5, not 7.
- Using the theorem on a triangle that has no right angle.
Try one yourself
A right triangle has a hypotenuse of 25 and one leg of 7. Find the length of the other leg.
Work it out, then check every step with the VeilGPT geometry solver.
Check it with VeilGPT