The Pythagorean theorem says that in a right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides. If the legs are aa and bb and the hypotenuse is cc, then

a2+b2=c2a^2 + b^2 = c^2

Use this formula only when the triangle has a right angle. The hypotenuse is the side opposite that right angle, and it is always the longest side.

What the formula means

The theorem is easier to remember if you think in areas, not just side lengths. Build a square on each side of a right triangle. The area of the square on side cc matches the combined areas of the squares on sides aa and bb.

That is why the side lengths are squared. The theorem is comparing square areas, which is why the relationship is a2+b2=c2a^2 + b^2 = c^2 instead of a+b=ca + b = c.

Why the Pythagorean theorem is true

One classic proof starts with a large square of side length a+ba + b. Put four identical right triangles inside it so that their hypotenuses form a smaller inner square.

The large square has area

(a+b)2(a+b)^2

The four triangles together have area

4(12ab)=2ab4 \left( \frac{1}{2}ab \right) = 2ab

The inner square has side length cc, so its area is

c2c^2

Since the large square is made of those four triangles plus the inner square,

(a+b)2=2ab+c2(a+b)^2 = 2ab + c^2

Expand and simplify:

a2+2ab+b2=2ab+c2a^2 + 2ab + b^2 = 2ab + c^2 a2+b2=c2a^2 + b^2 = c^2

Worked example: find the hypotenuse

Suppose a right triangle has legs 66 and 88. To find the hypotenuse cc, substitute those values into the theorem:

62+82=c26^2 + 8^2 = c^2 36+64=c236 + 64 = c^2 100=c2100 = c^2 c=10c = 10

So the hypotenuse is 1010. That answer makes sense because the hypotenuse should be longer than either leg.

Common mistakes with a2+b2=c2a^2 + b^2 = c^2

The most common mistake is using the theorem on a triangle that is not right. The formula needs a 9090^\circ angle.

Another mistake is putting the wrong side in place of cc. The hypotenuse is always opposite the right angle, and it is always the longest side.

Students also sometimes stop too early. If you get c2=100c^2 = 100, the side length is c=10c = 10, not 100100.

Some students also mix up a2+b2=c2a^2 + b^2 = c^2 with (a+b)2=c2(a+b)^2 = c^2. Those are not the same expression.

When to use the Pythagorean theorem

Use the theorem when two lengths meet at a right angle and you need the direct distance across from that angle. Common cases include the diagonal of a rectangle, the straight-line distance between two points, and basic construction or surveying layouts.

It is also useful for checking whether a triangle is right. If side lengths of a triangle satisfy a2+b2=c2a^2 + b^2 = c^2 with cc as the longest side, then the triangle is a right triangle.

Try a similar problem

Try your own version with legs 55 and 1212. If you get 1313, you set the problem up correctly.

If you want a useful next step, explore a similar problem with the Distance Formula to see how the same idea works on the coordinate plane.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →