What is a Pythagorean triple?
A Pythagorean triple is a set of three positive whole numbers, a, b and c, that fit the rule a² + b² = c². The numbers are the side lengths of a right triangle, with c as the hypotenuse.
The smallest example is 3, 4, 5. Check it: 3² + 4² = 9 + 16 = 25, and 5² = 25. The rule holds. The fact that all three sides are whole numbers makes triples handy for exercises and for real building work, where measuring a diagonal exactly is easier than finding a square root.
If you need a refresher on the theorem itself, read the Pythagorean theorem explained.
What are the most common triples?
Learn these five and you will recognize most of the triples that show up in school problems.
| a | b | c | Check |
|---|---|---|---|
| 3 | 4 | 5 | 9 + 16 = 25 |
| 5 | 12 | 13 | 25 + 144 = 169 |
| 8 | 15 | 17 | 64 + 225 = 289 |
| 7 | 24 | 25 | 49 + 576 = 625 |
| 20 | 21 | 29 | 400 + 441 = 841 |
Seeing a triple lets you skip the square root. If a right triangle has legs 5 and 12, you already know the hypotenuse is 13. You can still confirm answers with the Pythagorean theorem calculator.
How do multiples of a triple work?
Multiply all three numbers by the same whole number and you get another triple. This works because squares scale by the square of the multiplier, so the equation stays balanced.
From 3-4-5 you get:
- 6-8-10, since 36 + 64 = 100
- 9-12-15, since 81 + 144 = 225
- 12-16-20, since 144 + 256 = 400
A triple whose numbers share no common factor is called primitive. The triple 3-4-5 is primitive, and 6-8-10 is not. Spotting that 15, 20 and 25 are 5 times 3, 4 and 5 gives you the answer to a problem at a glance.
How do you generate triples?
Euclid's formula makes them. Pick two whole numbers m and n with m greater than n. Then:
Try a few choices.
- m = 2, n = 1 gives a = 3, b = 4, c = 5.
- m = 3, n = 2 gives a = 5, b = 12, c = 13.
- m = 4, n = 1 gives a = 15, b = 8, c = 17.
- m = 4, n = 3 gives a = 7, b = 24, c = 25.
Check the last one: 7² + 24² = 49 + 576 = 625 = 25². The formula always works, and with the right choices of m and n it produces every primitive triple.
How do you test for a right triangle?
Square the two shorter sides, add them, and compare with the square of the longest side. This is the converse of the Pythagorean theorem.
Is a triangle with sides 9, 12 and 15 a right triangle? 9² + 12² = 81 + 144 = 225, and 15² = 225. Yes, it is, and it is a multiple of 3-4-5.
Is a triangle with sides 6, 8 and 11 a right triangle? 6² + 8² = 36 + 64 = 100, but 11² = 121. The sum is smaller than 121, so the largest angle is greater than 90 degrees. This triangle is obtuse. If the sum had been larger than the square of the longest side, the triangle would be acute.
Builders use the 3-4-5 triple to square corners. They measure 3 feet along one edge and 4 feet along the other. If the diagonal between the two marks is exactly 5 feet, the corner is a right angle. A larger version, 6-8-10 or 9-12-15, gives more accuracy over a longer span.
What is the 45-45-90 triangle?
A 45-45-90 triangle is a right triangle with two equal legs. It is half of a square cut along its diagonal. If each leg has length x, the hypotenuse is x√2.
The reason comes straight from the theorem: x² + x² = 2x², and the square root of 2x² is x√2.
Find the hypotenuse when each leg is 7 cm. It is 7√2, which is about 9.90 cm. Find the leg when the hypotenuse is 10 cm. Divide by √2: 10 ÷ 1.4142 = 7.07 cm. This is also the diagonal of a square, so a square with sides of 5 inches has a diagonal of 5√2, about 7.07 inches.
What is the 30-60-90 triangle?
A 30-60-90 triangle is half of an equilateral triangle, cut down the middle. The side across from the 30-degree angle is the shortest side, x. The hypotenuse is twice that, 2x. The side across from the 60-degree angle is x√3.
Try it with a shortest side of 5. The other sides are 5√3 ≈ 8.66 and 10. Check: 5² + (5√3)² = 25 + 75 = 100, and 10² = 100.
Now go backwards. A 30-60-90 triangle has a hypotenuse of 12. The shortest side is half of it, 6. The long leg is 6√3 ≈ 10.39. A ladder leaning at a 60-degree angle to the ground, 12 feet long, reaches 10.39 feet up the wall and its foot sits 6 feet from the wall.
How are triples used in real life?
A 25-foot ladder that reaches 24 feet up a wall has its foot 7 feet from the wall, because 7-24-25 is a triple. A rectangular screen that is 16 inches wide and 12 inches tall has a diagonal of 20 inches, since 12-16-20 is 4 times 3-4-5.
Carpenters square frames, surveyors check right angles and game designers compute distances between points with the same rule. Knowing a few triples saves time on tests too. If you spot 5 and 12 in a problem, check whether 13 is the third side before you start squaring.
What are common mistakes?
- Calling any three numbers a triple. The squares must add up exactly, and all three numbers must be whole.
- Putting the hypotenuse in the wrong place. The hypotenuse is always the longest side and sits opposite the right angle.
- Mixing up the short and long legs in 30-60-90. The short leg is x. The long leg is x√3. Do not swap them.
- Forgetting a triangle must be right-angled. Special ratios only apply to the 45-45-90 and 30-60-90 shapes.
- Adding the sides instead of the squares. 3 + 4 is not 5. Square first.
Practice problems
- Is 8-15-17 a Pythagorean triple? Yes, since 64 + 225 = 289.
- Find the third side of a right triangle with legs 20 and 21. The hypotenuse is 29.
- A 45-45-90 triangle has a hypotenuse of 14. Find the legs. Each leg is 14 ÷ √2 = 7√2 ≈ 9.90.
- A 30-60-90 triangle has a long leg of 9√3. Find the other two sides. The short leg is 9, and the hypotenuse is 18.
Use the Pythagorean calculator to test each answer after working it by hand.