Geometry

Pythagoras Theorem: Formula, Proof and Worked Examples

Understand the right-triangle theorem through an area proof, converse and five examples.

TL;DR

Pythagoras theorem says a² + b² = c² in a right triangle, where c is opposite the right angle. The converse tests whether a triangle is right.

Key Points

  • The theorem applies to perpendicular legs and their opposite hypotenuse.
  • A square rearrangement proves the relationship without measuring any angles.
  • Compare the sum of the shorter squares with the longest square to use the converse.

How does the square proof work?

Arrange four right triangles with legs a and b inside a square of side a + b so their hypotenuses outline a central square. Adjacent acute angles of a right triangle sum to 90°, so each internal corner is a right angle. Subtract the four areas ab/2 from (a + b)². The remaining central area is a² + b² and also c². OpenStax — Prealgebra 2e: Angles, Triangles and the Pythagorean Theorem

Worked examples

Find the hypotenuse

Legs 9 and 12 give √(81 + 144) = 15.

Find a leg

Hypotenuse 13 and leg 5 leave √(169 − 25) = 12.

Use the converse

8, 15, 17 form a right triangle because 64 + 225 = 289.

A wrong substitution

If the longest side is 10, the term 10² belongs alone on the hypotenuse side. With the other known leg 6, the missing leg is 8.

A ramp

A rise of 0.9 m and horizontal run 1.2 m give a ramp length of 1.5 m.

How can the theorem help with a diagram that is not drawn to scale?

Mark the right angle on the diagram and label the opposite side before judging its appearance. A printed sketch may show one leg looking almost as long as the diagonal, even though the numeric labels say otherwise. If a rectangular screen is 15 cm wide and 8 cm tall, the diagonal is √(225 + 64) = 17 cm. You can use that check to see that an answer under 15 cm cannot be right.

Apply the converse and prove the numbers fit

For a triangle with sides 7, 24 and 25, the longest side is 25. The sum 7² + 24² is 625, which equals 25², so the triangle is right-angled. For lengths 7, 24 and 26, the sum is still 625 and 26² is 676, so the converse does not classify it as right. Check that the shorter sides can form a triangle before making the comparison.

A second example links the theorem to coordinates. The horizontal run from (−1, 3) to (5, 11) is 6 and the vertical rise is 8. The segment length is 10, regardless of whether you travel upward and rightward or reverse the direction. Distance formula derivation

Practice problem

A right triangle has hypotenuse 29 and one leg 20. Find the other leg.

Solution. Square the hypotenuse and subtract the known leg’s square: 29² − 20² = 441. The missing leg is √441 = 21. Check that 20² + 21² gives 29².

Frequently Asked Questions

Does the theorem work for obtuse triangles?

The ordinary equality requires a right angle. The law of cosines accounts for a different included angle.

Conclusion

  • Identify the side opposite 90°.
  • Use the square proof to understand the equation.
  • Check whether you are solving for a leg or the hypotenuse.

Read More

Research Behind This Article

  1. OpenStax, Prealgebra 2e: Angles, Triangles and the Pythagorean Theorem. openstax.org
  2. OpenStax, Prealgebra 2e: Math Models and Geometry. openstax.org