Stating the Theorem

Introduction

Welcome back to Foundations of the Pythagorean Theorem! This is lesson four of five, so the finish line is close. In the first three lessons, you learned to spot a right triangle by its 90°90° angle, label its sides as legs and hypotenuse, and see that a2a^2, b2b^2, and c2c^2 represent the areas of squares built on those sides.

Today, all of those ideas come together in one powerful equation: the Pythagorean theorem. By the end of this lesson, you will be able to state the theorem as a2+b2=c2a^2 + b^2 = c^2 and confidently assign aa, bb, and cc to the correct sides of any right triangle, no matter how it is oriented.

A Surprising Pattern

In the previous lesson, we built three squares on the sides of a 3‑4‑5 right triangle and found their areas: 99, 1616, and 2525. Let's do a little arithmetic with the two smaller areas:

9+16=259 + 16 = 25

The two leg‑square areas add up exactly to the hypotenuse‑square area. Could this be a lucky coincidence? Let's test a completely different right triangle before drawing any conclusions.

Testing With Another Triangle

Consider a right triangle whose legs measure 55 and 1212 and whose hypotenuse measures 1313. Building a square on each side gives:

SideLengthArea of square
Leg aa5552=255^2 = 25
Leg bb1212122=14412^2 = 144
Hypotenuse cc1313132=16913^2 = 169

Adding the two leg‑square areas:

25+144=16925 + 144 = 169

It happens again — the two smaller squares combine to equal the larger square. This is not a coincidence. It is a rule that holds for every right triangle, and it has a famous name.

The Pythagorean Theorem

Here is the statement in plain words: In any right triangle, the sum of the squares of the two legs equals the square of the hypotenuse. Written as an equation:

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

where:

  • aa and bb are the lengths of the two legs (the sides that form the right angle),
  • cc is the length of the hypotenuse (the side opposite the right angle).
Right triangle with legs labeled a and b and hypotenuse labeled c

Notice that the equation is really a statement about areas: the two smaller square‑areas on the legs add up to the larger square‑area on the hypotenuse — exactly the visual picture from the previous lesson. This single relationship appears everywhere, from computing the diagonal of a TV screen to figuring out how long a ramp needs to be.

Assigning a², b², and c² Correctly

The most important step when using the theorem is deciding which side is cc. Here is a reliable two‑step method:

  1. Find the right angle — look for the small square symbol at the vertex.
  2. Identify the hypotenuse — it is the side directly opposite that right angle. Label it cc.

Once cc is settled, the remaining two sides are the legs. You can call either one aa and the other bb because addition is commutative: a2+b2a^2 + b^2 gives the same result as b2+a2b^2 + a^2. The key rule is simple: the hypotenuse must always go on the cc side of the equation.

Using Different Letters

Not every triangle you encounter will use the letters aa, bb, cc. Suppose a right triangle has sides labeled pp, qq, and rr, with rr opposite the right angle. Then rr plays the role of the hypotenuse, and the theorem becomes:

p2+q2=r2p^2 + q^2 = r^2

The same logic applies in real life. Imagine a carpenter measuring two walls that meet at a right angle: one wall is ww feet long and the other is hh feet long. The diagonal distance dd across the floor satisfies w2+h2=d2w^2 + h^2 = d^2. The letter names change, but the pattern stays the same: the hypotenuse stands alone on one side of the equals sign, and the two legs share the other side.

Any Orientation, Same Rule

A right triangle can sit on any side or be flipped in any direction. The orientation never changes which side is the hypotenuse — always start from the right angle:

  • If the right angle sits at the bottom‑left, the hypotenuse stretches from the top vertex to the bottom‑right.
  • If the right angle is at the top, the hypotenuse runs along the bottom.
  • If the right angle is on the right, the hypotenuse is the side on the left.
Three right triangles in different orientations, each with c opposite the right angle

No matter how the triangle is drawn, the process is identical: locate the 90°90° angle, look across to the opposite side, and call that side cc. Everything else follows naturally.

A Common Mistake to Avoid

The single most frequent error is accidentally placing a leg on the cc side of the equation. This typically happens when the triangle is drawn in an unfamiliar orientation and the longest‑looking side is not carefully checked against the right angle.

For example, picture a right triangle tipped so the hypotenuse lies flat along the bottom. A quick glance might tempt you to assign cc to a side on the left or right just because it appears tall. The fix is always the same: go back to the right‑angle marker. The side directly across from that small square is the hypotenuse — full stop. Build the habit of checking the marker first, and this mistake disappears.

Conclusion and Next Steps

In this lesson, we stated the Pythagorean theorem: for every right triangle, a2+b2=c2a^2 + b^2 = c^2, where aa and bb are the legs and cc is the hypotenuse. We confirmed the pattern with two different triangles, practiced identifying the hypotenuse under varying letter names and orientations, and connected the equation back to the area relationship from the previous lesson.

Up next, the practice exercises will challenge you to fill in the verbal form of the theorem, match triangles to their correct equations, and write Pythagorean equations from diagrams turned in all sorts of directions. Time to put this theorem to work!

Sign up

Join the 1M+ learners on CodeSignal

Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal