The Pythagorean theorem connects the side lengths of a right triangle. It is not a rule for every triangle: first identify the right angle and the side opposite it, called the hypotenuse.
Squares on the sides explain the relationship
If the legs have lengths a and and the hypotenuse has length , then
The square built on the hypotenuse has the same area as the two squares on the legs combined. The equation compares squared lengths, not the lengths themselves. Usually is greater than , not equal to it.
The hypotenuse is always the longest side because it is opposite the right angle. It does not depend on how the triangle is rotated. Mark it before substituting numbers into the formula.
Example: find a hypotenuse
A right triangle has legs 6 and 8 units. Then so Use the positive square root because a side length is positive.
The lengths 6, 8, and 10 are twice the familiar triple. A Pythagorean triple consists of positive integers satisfying the theorem. Common examples include , , and . Multiplying every side of a right triangle by the same positive number preserves the relation.
A triple is a useful recognition tool, but check which side is the hypotenuse. Knowing that two sides are 6 and 8 does not guarantee a triangle unless those two are the legs.
The legs are 6 and 8 units; their squared lengths total 100, so the hypotenuse is 10 units.
Describe this figure
The legs are 6 and 8 units; their squared lengths total 100, so the hypotenuse is 10 units.
Example: find a missing leg
A ladder is 13 feet long and reaches a point 12 feet above the ground on a vertical wall. The ladder is the hypotenuse. If its foot is feet from the wall,
Subtract the known leg's square: so feet. Adding 169 and 144 would find the wrong quantity because the unknown is a leg, not the hypotenuse.
The wall and ground must form a right angle for this model. A picture of a leaning ladder is not enough if the ground is sloped and no right angle is given.
The converse can identify a right triangle
For three positive side lengths, first check that they form a triangle. Then label the longest . If the triangle is right.
For sides 7, 24, and 25, so the triangle is right. For sides 4, 5, and 6, This triangle is acute. For sides 3, 4, and 6, so it is obtuse.
The comparison focuses on the largest angle opposite the longest side. If that angle is acute, all the smaller angles are acute too. Do not classify lengths 2, 3, and 6 this way: they fail the triangle inequality before angle classification even begins.
Keep exact roots when needed
If the legs are 2 and 3, the hypotenuse is not an integer. Leave the radical exact unless a decimal approximation is requested. Rounding early can change later area or perimeter calculations.
For a rectangle, a diagonal creates a right triangle with the two adjacent sides. The same theorem finds the diagonal; it does not equal the sum of the side lengths.
Try it yourself
A right triangle has hypotenuse 17 and one leg 8. Find the other leg. Then classify a triangle with side lengths 5, 6, and 8.
Answer: The missing leg is For 5, 6, and 8, so the triangle is obtuse; it also satisfies the triangle inequality.
What to remember
Identify the hypotenuse, square the known lengths, and add or subtract according to the missing side. For classification, verify a triangle exists and compare against the longest side's square.