The Pythagorean theorem relates the three sides of a right triangle. With legs aa and bb and hypotenuse cc:

a2+b2=c2.a^2 + b^2 = c^2.

The symbols carry the conditions. The legs aa and bb are the two sides that form the right angle; the hypotenuse cc is the side opposite that angle and is therefore always the longest side. The relationship applies only when the triangle has an angle of 9090^\circ — without it, using the theorem is simply incorrect.

Why the side identification controls the result

The letter cc in the formula represents the hypotenuse specifically. Because the theorem balances the square on the longest side against the squares on the two shorter ones, swapping any side into the role of cc sets up the equation incorrectly from the start. So before any arithmetic, fix which side is the hypotenuse and which two are the legs.

This also gives you two rearrangements that all follow from the one identity. To find the hypotenuse from both legs:

c=a2+b2.c = \sqrt{a^2 + b^2}.

To isolate a leg when you know the hypotenuse and one leg:

a=c2b2orb=c2a2.a = \sqrt{c^2 - b^2} \qquad \text{or} \qquad b = \sqrt{c^2 - a^2}.

These only make sense when cc is genuinely the hypotenuse and larger than the other known side.

Worked example: finding the hypotenuse

A right triangle has legs of 66 cm and 88 cm. Find the hypotenuse. Apply the formula:

62+82=c2.6^2 + 8^2 = c^2. 36+64=c2.36 + 64 = c^2. 100=c2.100 = c^2. c=100=10.c = \sqrt{100} = 10.

The hypotenuse measures 1010 cm. It passes a quick check: the result is larger than both 66 and 88, as it must be in any right triangle.

Try the calculation yourself

Practice 1 — finding the hypotenuse. Use legs of 99 cm and 1212 cm. Set up a2+b2=c2a^2 + b^2 = c^2, then confirm the answer exceeds both legs.

Practice 2 — finding a leg. Suppose the hypotenuse is 1313 cm and one leg is 55 cm:

a2=13252=16925=144.a^2 = 13^2 - 5^2 = 169 - 25 = 144. a=12.a = 12.

The trap here is forgetting the square root: since a2=144a^2 = 144, the side is a=12a = 12, not 144144. For one more step, try a leg when the hypotenuse is 1515 cm and the other side is 99 cm.

Calculation traps to avoid

  • Using the formula on any triangle. The essential condition is a right angle; without it the relationship does not hold.
  • Confusing a leg with the hypotenuse. The hypotenuse is always the longest side; mistaking a leg for it sets up the equation wrong.
  • Forgetting the square root at the end. When the work reaches c2=169c^2 = 169, the side is c=13c = 13, not 169169.

The theorem shows up in plane geometry, distance problems, civil construction, map navigation, and diagonal analysis — for instance, the diagonal of a rectangle with sides 99 and 1212 is the hypotenuse of a right triangle. In each case it turns a drawing into an objective calculation.

Frequently Asked Questions

What does the Pythagorean theorem state?
In a right triangle, if the legs are a and b and the hypotenuse is c, then a squared plus b squared equals c squared. This only applies when the triangle has a 90 degree angle. If that condition is not met, it is not correct to use the theorem at all.
How do you identify the hypotenuse in a right triangle?
The hypotenuse is the side opposite the right angle, and it is always the longest side of the triangle. The legs are the two sides that form the right angle. This identification matters because the letter c in the formula represents the hypotenuse; swapping sides sets up the equation incorrectly.
How do you find a missing leg with the Pythagorean theorem?
Isolate the unknown leg: its square equals the hypotenuse squared minus the known leg squared, then take the square root. For example, with a hypotenuse of 13 cm and one leg of 5 cm, the other leg squared is 169 minus 25, which is 144, so the missing leg is 12 cm.
What are the most common mistakes with the Pythagorean theorem?
Three errors come up constantly: using the formula on a triangle that has no right angle, confusing a leg with the hypotenuse, and forgetting to take the square root at the end. If the calculation reaches c squared equals 169, the side measures 13, not 169. The hypotenuse must also be larger than each leg.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →