Book a free chat

Topic explainer · MYP 3

Pythagoras’ theorem

How to use a² + b² = c² to find a missing side of a right-angled triangle, with worked examples, a real-life problem and practice questions.

By Rachel Bodily · Last updated 27 November 2026

Created with AI assistance, reviewed by our IB educators.

In a right-angled triangle, the square of the hypotenuse (the longest side, opposite the right angle) equals the sum of the squares of the other two sides: a2+b2=c2. Add the squares to find the hypotenuse; subtract to find a shorter side.

The key idea

91625a = 3b = 4c = 5

Why it works. Draw a square on each side of a right-angled triangle. The two smaller squares always have the same total area as the square on the hypotenuse.

For sides 3, 4 and 5: 32=9, 42=16, and 9+16=25=52.

a2+b2=c2

The theorem only works in right-angled triangles. Always identify the hypotenuse first: it is opposite the right angle and is always the longest side.

Worked examples

  1. Example 1
    The two shorter sides of a right-angled triangle are 6 cm and 8 cm. Find the hypotenuse.
    6 cm8 cmc = ?
    Finding the hypotenuse: add the squares
    a2+b2=c2Write the formula62+82=c2Put in the two sides you know36+64=c2Square each one100=c2Addc=100Square root both sidesc=10cmAnswer, with units
    Check62+82=36+64=100=102 ✓The hypotenuse is the longest side: 10>8 ✓
    Answer: c=10cm
  2. Example 2
    The hypotenuse is 13 cm and one side is 5 cm. Find the other side, a.
    a = ?5 cm13 cm
    Finding a shorter side: subtract the squares
    a2+b2=c2Write the formulaa2+52=132The unknown is a shorter sidea2+25=169Square the known sidesa2=169−25Subtract 25 from both sidesa2=144a=144Square root both sidesa=12cmAnswer, with units
    Check122+52=144+25=169=132 ✓The hypotenuse is the longest side: 13>12 ✓
    Answer: a=12cm
  3. Example 3
    A 5 m ladder leans against a wall with its foot 1.5 m from the wall. How high up the wall does it reach?
    1.5 mh = ?5 m
    A real-life problem: the ladder is the hypotenuse
    h2+1.52=52The ladder (5 m) is opposite the right angleh2+2.25=25Square the known lengthsh2=25−2.25Subtract 2.25 from both sidesh2=22.75h=22.75Square root both sidesh=4.769…h≈4.77mRound to 3 significant figures
    Check4.772+1.52=22.75…+2.25≈25=52 ✓The ladder is the longest side: 5>4.77 ✓
    Answer: h≈4.77m (3 significant figures)

Common mistakes

  • Adding the squares when finding a shorter sideIf you know the hypotenuse, subtract.
  • Forgetting to take the square root at the endc2=100 gives c=10, not 100.
  • Using the theorem in a triangle that isn’t right-angledCheck for the right angle before you start.

In an MYP task

Communicating your solution (Criterion C)

For Criterion C, a correct number isn’t enough. Students should draw and label a diagram, write the formula they are using, show each step with correct notation and give the answer with units.

A quick sense check also helps: the hypotenuse must be longer than both other sides. If it isn’t, something has gone wrong.

Practice questions

  1. The shorter sides are 9 cm and 12 cm. Find the hypotenuse.
    Show answer
    92+122=c2225=c2
    c=15cm
  2. The hypotenuse is 17 cm and one side is 8 cm. Find the other side.
    Show answer
    a2+82=172a2=289−64a2=225
    a=15cm
  3. The shorter sides are 2 cm and 3 cm. Find the hypotenuse to 2 decimal places.
    Show answer
    22+32=c213=c2
    c=13≈3.61cm
  4. Is a triangle with sides 7, 24 and 25 right-angled?
    Show answer
    72+242=49+576=625=252
    Yes, so the triangle is right-angled.

More topic explainers

Find more free resources, or look up command terms in the glossary.

Back to all free resources