← All guides

The Pythagorean theorem: a² + b² = c², with examples

Find a missing side of a right triangle with a² + b² = c², check if a triangle is right-angled, and see a simple proof.

Video lesson: The Pythagorean theorem at work (free, with subtitles)

In a right triangle, the two shorter sides (legs) a and b and the longest side c (the hypotenuse, opposite the right angle) always satisfy:

a² + b² = c²

Finding the hypotenuse

Legs 3 and 4: c² = 9 + 16 = 25, so c = 5.

Finding a leg

Hypotenuse 13, one leg 5: 5² + b² = 13², so 25 + b² = 169, b² = 144, b = 12.

A real problem

A 10-foot ladder leans on a wall with its foot 6 feet from the wall. How high does it reach? 6² + h² = 10², so h² = 100 − 36 = 64 and h = 8 feet.

Is it a right triangle?

Sides 7, 24, 25: 7² + 24² = 49 + 576 = 625 = 25² ✓, so yes. Sides 6, 7, 9: 36 + 49 = 85, but 81 ≠ 85, so no.

Why it's true

Put four copies of the triangle inside a big square of side a + b, with their hypotenuses making a tilted square in the middle. The big square's area is (a + b)² = a² + 2ab + b². It's also four triangles (4 × ½ab = 2ab) plus the middle square c². So a² + 2ab + b² = 2ab + c², which means a² + b² = c².

Common mistakes

Practice it free

Watch the full lesson and try questions with new numbers every time, with the worked steps shown if you get one wrong.

Practice: The Pythagorean theorem at work All courses