The theorem

a² + b² = c², where a and b are the legs (the two sides that meet at the right angle) and c is the hypotenuse (the longest side, opposite the right angle).

Example: find the hypotenuse of a 6–8 right triangle

  1. 6² + 8² = 36 + 64 = 100.
  2. c = √100 = 10.

c = 10

Example: find a leg when c = 13 and b = 5

  1. a² = c² − b² = 169 − 25 = 144.
  2. a = √144 = 12.

a = 12

Example: legs 2 and 4

  1. 4 + 16 = 20.
  2. c = √20 = √(4 × 5) = 2√5.

c = 2√5 ≈ 4.47

Is it a right triangle?

Check whether the two shorter sides squared add up to the longest side squared. 7, 24 and 25: 49 + 576 = 625 = 25², so yes.

Pythagorean triples

Whole-number sets that fit are worth knowing: 3-4-5, 5-12-13, 8-15-17 and 7-24-25, plus their multiples like 6-8-10 and 9-12-15.

In real life

  • A 13-foot ladder with its foot 5 feet from a wall reaches √(169 − 25) = 12 feet up.
  • A screen 32 inches wide and 18 inches tall measures √(1024 + 324) ≈ 36.7 inches across the diagonal.