The Pythagorean Theorem with Worked Examples
On this page
In any right triangle, the square of the longest side (the hypotenuse) equals the sum of the squares of the other two sides: . Use it to find a missing side, to test whether a triangle has a right angle, and to find the distance between two points.
The theorem
Here is always the hypotenuse, the side opposite the right angle. Getting this wrong is the most common mistake.
Worked example 1: find the hypotenuse
The shorter sides are 3 and 4.
Worked example 2: find a shorter side
The hypotenuse is 13 and one side is 5. Rearrange:
Worked example 3: an irrational answer
Sides 5 and 7:
has no square factors, so is already in simplest form.
Pythagorean triples
Whole-number solutions are called Pythagorean triples. Learning a few saves time:
| Triple | Multiples |
|---|---|
| 3, 4, 5 | 6, 8, 10 · 9, 12, 15 |
| 5, 12, 13 | 10, 24, 26 |
| 8, 15, 17 | 16, 30, 34 |
| 7, 24, 25 | 14, 48, 50 |
Is it a right triangle? (the converse)
If for the longest side , the triangle has a right angle. If it is acute; if it is obtuse.
Example: sides 6, 8, 11. , so the triangle is obtuse.
Distance between two points
The horizontal and vertical gaps between two points are the shorter sides of a right triangle. From to the gaps are and :
That is the distance formula .
Common mistakes
- Using a shorter side as .
- Adding the sides before squaring: .
- Forgetting to take the square root at the end.
Practice questions
- Find the hypotenuse when the other sides are 8 and 15.
- Find the missing side when the hypotenuse is 25 and one side is 7.
- Is a triangle with sides 9, 12, 15 right-angled?
Answers: 1) 17 2) 24 3) Yes,
Find any side with the Pythagorean theorem calculator, or the gap between two points with the distance calculator. For simplifying roots like , see how to simplify square roots.
Frequently asked questions
Does Pythagoras work for all triangles?
No, only right triangles. For other triangles use the law of cosines, c² = a² + b² − 2ab cos C.
Which side is the hypotenuse?
The side opposite the right angle. It is always the longest side.
Can the answer be a decimal?
Yes. Unless the sides form a Pythagorean triple, the answer is often a square root such as √74 ≈ 8.602.
#geometry#triangles#pythagoras
