Geometry · Grades 8

The Pythagorean Theorem: a² + b² = c²

Quick answer

In any right triangle, the squares of the two shorter sides add to the square of the longest. With legs 3 and 4, the hypotenuse is 5, because 9 + 16 = 25. The letter c is always the hypotenuse — the side opposite the right angle. To find a leg instead, subtract: a² = c² − b².

What you'll learn

  • Find the hypotenuse of a right triangle
  • Find a leg when the hypotenuse and one leg are known
  • Explain why the theorem is a statement about areas

The theorem

In a right triangle, the two shorter sides are the legs and the longest — opposite the right angle — is the hypotenuse.

A right triangle with legs 4 and 3 A right triangle with a horizontal leg of 4, a vertical leg of 3, a right-angle mark between them, and the sloping side labelled c. 4 3 c
A right triangle with legs 4 and 3
a2+b2=c2a^2 + b^2 = c^2

With legs 33 and 44:

32+42=9+16=25c=25=53^2 + 4^2 = 9 + 16 = 25 \quad\Rightarrow\quad c = \sqrt{25} = 5

Why it is a statement about areas, not lengths

The name “squared” is not incidental here. Draw an actual square on each side of the triangle.

The square on the hypotenuse has area c2c^2. The squares on the two legs have areas a2a^2 and b2b^2. The theorem says the two smaller squares, put together, hold exactly as much area as the big one.

93×3+164×4=255×5\underbrace{9}_{3 \times 3} + \underbrace{16}_{4 \times 4} = \underbrace{25}_{5 \times 5}

That is a claim about area, not about lengths — 3+453 + 4 \ne 5, and it was never supposed to. Only after squaring do the sides fit together.

Finding a leg instead

The formula rearranges like any other:

a2=c2b2a^2 = c^2 - b^2

The hypotenuse’s square is the largest, so the legs’ squares come out of it. Adding when you should subtract is the error to watch for, and it always produces an impossible answer: a leg longer than the hypotenuse.

You knowYou wantDo
both legsthe hypotenuseadd the squares
the hypotenuse and a legthe other legsubtract the squares

Triples worth recognising

Some right triangles have whole-number sides. Spotting one saves the arithmetic.

TripleCheck
3,4,53, 4, 59+16=259 + 16 = 25
5,12,135, 12, 1325+144=16925 + 144 = 169
8,15,178, 15, 1764+225=28964 + 225 = 289
7,24,257, 24, 2549+576=62549 + 576 = 625

Any multiple of a triple is also a triple: 6,8,106, 8, 10 and 9,12,159, 12, 15 are both the 3,4,53, 4, 5 triangle scaled up. Scaling multiplies every side by the same number, so the relationship survives.

It only holds for right triangles

The theorem needs the right angle. On a triangle without one it is false.

The converse is true as well, and useful: if the three sides of a triangle satisfy a2+b2=c2a^2 + b^2 = c^2, then the triangle must be right-angled. That is how builders check a corner is square — measure 33 along one wall, 44 along the other, and confirm the diagonal is exactly 55.

Worked examples

Common mistakes

Practice problems

  1. A right triangle has legs 33 cm and 44 cm. Find the hypotenuse.

    Answer

    55 cm

    Full solution

    c2=9+16=25c^2 = 9 + 16 = 25, so c=5c = 5 cm.

  2. A right triangle has legs 99 m and 1212 m. Find the hypotenuse.

    Answer

    1515 m

    Full solution

    c2=81+144=225c^2 = 81 + 144 = 225, so c=15c = 15 m.

  3. A right triangle has a hypotenuse of 1010 cm and one leg of 66 cm. Find the other leg.

    Hint

    Subtract.

    Answer

    88 cm

    Full solution

    b2=10036=64b^2 = 100 - 36 = 64, so b=8b = 8 cm.

  4. A right triangle has legs 55 cm and 1212 cm. Find the hypotenuse.

    Answer

    1313 cm

    Full solution

    c2=25+144=169c^2 = 25 + 144 = 169, so c=13c = 13 cm.

  5. A right triangle has legs 22 m and 66 m. Find the hypotenuse, to one decimal place.

    Answer

    About 6.36.3 m

    Full solution

    c2=4+36=40c^2 = 4 + 36 = 40, so c=406.3c = \sqrt{40} \approx 6.3 m.

  6. Is a triangle with sides 88, 1515 and 1717 right-angled?

    Answer

    Yes.

    Full solution

    82+152=64+225=2898^2 + 15^2 = 64 + 225 = 289, and 172=28917^2 = 289. They match, so the triangle is right-angled.

  7. Is a triangle with sides 44, 55 and 66 right-angled?

    Answer

    No.

    Full solution

    42+52=16+25=414^2 + 5^2 = 16 + 25 = 41, but 62=366^2 = 36. They do not match, so there is no right angle.

  8. A ladder 1313 m long has its foot 55 m from a wall. How far up does it reach?

    Hint

    The ladder is the longest side.

    Answer

    1212 m

    Full solution

    The ladder is the hypotenuse, so subtract: h2=16925=144h^2 = 169 - 25 = 144, giving h=12h = 12 m.

  9. A rectangular garden is 1212 m by 99 m. How long is the diagonal path across it?

    Answer

    1515 m

    Full solution

    The diagonal is the hypotenuse of a right triangle with legs 1212 and 99:

    d2=144+81=225d^2 = 144 + 81 = 225, so d=15d = 15 m.

  10. Rob has a right triangle with a hypotenuse of 1010 cm and a leg of 88 cm. He computes 102+82=16410^2 + 8^2 = 164 and reports the missing leg as about 12.812.8 cm. Find his error.

    Hint

    Compare his answer with the hypotenuse.

    Answer

    He added when he should have subtracted. The leg is 66 cm.

    Full solution

    His answer of 12.812.8 cm is longer than the 1010 cm hypotenuse, which is impossible — the hypotenuse is the longest side of a right triangle by definition. The result fails before the arithmetic is rechecked.

    Since the hypotenuse is known, subtract:

    b2=10282=10064=36b^2 = 10^2 - 8^2 = 100 - 64 = 36, so b=6b = 6 cm.

    Checking: 62+82=36+64=100=1026^2 + 8^2 = 36 + 64 = 100 = 10^2

Frequently asked questions

What is the Pythagorean theorem?

In a right triangle, a² + b² = c², where a and b are the two shorter sides and c is the longest one. With legs 3 and 4, the hypotenuse is 5.

Which side is c?

Always the hypotenuse — the side opposite the right angle, and always the longest. Putting a leg in c's place gives a wrong answer every time.

How do I find a leg instead of the hypotenuse?

Subtract rather than add. If c and b are known, then a² = c² − b². The hypotenuse is the biggest square, so the others come out of it.

Does it work on any triangle?

No. The theorem needs a right angle. Without one it is false, and the converse holds too — if a² + b² = c² then the triangle must be right-angled.

What is a Pythagorean triple?

Three whole numbers that fit the theorem, like 3-4-5 or 5-12-13. Recognising them saves working, and any multiple of a triple is another triple, so 6-8-10 works as well.

What to learn next

Formulas on this page

Key terms in this lesson

Hypotenuse
The hypotenuse is the side of a right triangle opposite the right angle. It is always the longest side, and it is the c in a² + b² = c².

Standards alignment

This lesson covers the following Common Core State Standards for Mathematics.

  • CCSS.MATH.CONTENT.8.G.B.6GeometryExplain a proof of the Pythagorean Theorem and its converse.
  • CCSS.MATH.CONTENT.8.G.B.7GeometryApply the Pythagorean Theorem to determine unknown side lengths in right triangles in real-world and mathematical problems in two and three dimensions.