Formula

Pythagorean theorem

Also written: a squared plus b squared equals c squared · pythagoras · hypotenuse formula

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

In a right triangle, the squares of the two shorter sides add to the square of the longest. The letter c is always the hypotenuse.

What each part means

a,ba, b
the legs — the two sides meeting at the right angle
cc
the hypotenuse, opposite the right angle and always the longest side

When to use it

A right triangle has two known sides and one missing. Also for the distance between two points, and for checking whether a corner is square.

It is a statement about areas

Draw a real square on each side of the triangle. The theorem says the two smaller squares hold exactly as much area as the big one.

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

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

Which side is c

Always the hypotenuse: opposite the right angle, and always the longest side.

The practical test is size. If one known side is longer than the other, it is cc and the calculation subtracts. If both known sides are shorter than the missing one, they are aa and bb and the calculation adds.

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

Rearranged

c=a2+b2a=c2b2c = \sqrt{a^2 + b^2} \qquad a = \sqrt{c^2 - b^2}

Do not forget the square root. The theorem gives the square of the side, and one step always remains.

Triples worth recognising

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 another triple — 6,8,106, 8, 10 and 9,12,159, 12, 15 are the 3,4,53, 4, 5 triangle scaled. Scaling multiplies every side alike, so the relationship survives.

The converse is true too

If a triangle’s sides satisfy a2+b2=c2a^2 + b^2 = c^2, the triangle must be right-angled. That is how a builder checks a corner: measure 33 along one wall, 44 along the other, and confirm the diagonal is exactly 55.

The signature error

Adding when you should subtract gives a leg longer than the hypotenuse, which is impossible for a right triangle. The answer fails on inspection, before any arithmetic is rechecked. See the Pythagorean theorem.

Lessons that teach this

Related