30% off your first 3 months

Get the deal

The Pythagorean theorem

In a right triangle, the two shorter sides a and b and the longest side c (the hypotenuse, across from the right angle) always fit a2+b2=c2a^2 + b^2 = c^2.

Guide 4 of 7
A right triangle with sides 3, 4 and 5, with a square drawn on each side. The square on the side of 3 has area 9, the one on the side of 4 has area 16, and the big square on the long side, shaded blue, has area 25: 9 plus 16 is 25.
3² + 4² = 5². The squares on the two short sides fill the square on the long side: 9 + 16 = 25.

Why it works. Draw a square on each side of a right triangle. The two smaller squares together always have exactly the area of the biggest one: here 9+16=259 + 16 = 25. That is all a2+b2=c2a^2 + b^2 = c^2 says, and it holds only when the angle between a and b is 90∘90^\circ.


Move it yourself

Change the two short sides: the two small squares always add up to the big one.

A right triangle with sides 3, 4 and 5, with a square drawn on each side. The square on the side of 3 has area 9, the one on the side of 4 has area 16, and the big square on the long side, shaded blue, has area 25: 9 plus 16 is 25.

Your turn

A right triangle has a hypotenuse of 10 and one side of 6. How long is the other side?

Or just show the answer

88

The 10 is the hypotenuse, so subtract: b2=102−62=100−36=64b^2 = 10^2 - 6^2 = 100 - 36 = 64, and b=64=8b = \sqrt{64} = 8.


Watch out for

  • Mistake 1. Struck through: (5 + 12)^2 = 289; written over it: 5^2 + 12^2 = 169.

    Adding the sides before squaring: (5+12)2=289(5 + 12)^2 = 289.

    Square each side first, then add: 52+122=1695^2 + 12^2 = 169.

  • Mistake 2. Struck through: c = 169; written over it: c = √{169} = 13.

    Forgetting the square root: answering 169.

    169 is c2c^2. The side is 169=13\sqrt{169} = 13.

  • Mistake 3. Struck through: b^2 = 13^2 + 5^2; written over it: b^2 = 13^2 − 5^2.

    Adding when the missing side is a short one: b2=132+52b^2 = 13^2 + 5^2.

    For a short side, subtract: b2=132−52=144b^2 = 13^2 - 5^2 = 144, so b=12b = 12.


Stuck on your own homework?

Open DuckyHelper and say it out loud. It sees your screen, so it works through your own problem with you and draws it, like the board above.

“Which side is the hypotenuse here? Help me set up a squared plus b squared.”

Plus is $14 a month for your first 3 months. DuckyHelper is an app for Mac (Apple silicon, macOS 14 or later), Windows and Linux.


Read the whole guide as text

In a right triangle, the two shorter sides a and b and the longest side c (the hypotenuse, across from the right angle) always fit a2+b2=c2a^2 + b^2 = c^2. To find the hypotenuse, square the two short sides, add them and take the square root. To find a short side, subtract instead: b2=c2−a2b^2 = c^2 - a^2. It works only for right triangles.

Worked example

A ladder reaches 12 feet up a wall, and its foot is 5 feet from the wall. How long is the ladder?

  1. The wall and the ground meet at a right angle, so the ladder is the hypotenuse, c.
    52+122=c25^2 + 12^2 = c^2
  2. Square and add.
    25+144=16925 + 144 = 169
  3. Take the square root. A length is positive.
    c=169=13c = \sqrt{169} = 13

Answer: The ladder is 1313 feet long

Geometry: all 7 guides
Questions and jobs

Do anything

Ask it a question or hand it a job, in any app.

Doing jobs for you is in the Mac app. Asking works on Mac, Windows and Linux.