Triangles

The Pythagorean Theorem Proved by Rearranging Four Triangles

Follow a picture proof of a² + b² = c² that slides four right triangles inside a square, with every step in the figure justified.

Key takeaways

  • In a right triangle with legs a and b and hypotenuse c, a² + b² = c².
  • Four copies of the triangle fit inside a square of side a + b in two ways, leaving either c² or a² + b² uncovered.
  • The tilted shape is a square because the two acute angles of a right triangle add to 90°.
  • The same equation drops out of simple algebra on the area of the large square.
  • A second arrangement puts the triangles inside a square of side c, with a small square of side b − a in the middle.

Place four copies of a right triangle inside a large square in two different ways. In one arrangement the uncovered space is a single square built on the hypotenuse. In the other it is two squares built on the legs. The large square and the four triangles are the same both times, so the uncovered areas must be equal: a² + b² = c².

That is the whole idea. The care lies in checking that the uncovered shapes really are squares, which is the part a picture alone cannot promise.

The statement and the setup

A right triangle has one angle of 90°. The two sides forming that angle are the legs, and the side opposite it is the hypotenuse, always the longest. The theorem says that the square on the hypotenuse equals the squares on the two legs added together.

"Square on a side" means a real square region with that side as one edge. The theorem is first a statement about areas, and only then a formula for lengths.

Cut out four identical right triangles with legs a and b. Also draw a square frame whose side is a + b. Both arrangements below happen inside this frame.

First arrangement: one tilted square

Go around the frame and put one triangle in each corner. Orient them so that along every side of the frame you meet a leg of length a followed by a leg of length b, always in the same rotating order. Each side then measures a + b exactly.

The four hypotenuses face inward and enclose a four-sided region. All its sides have length c. But four equal sides only make a rhombus. We still need right angles.

Look at one point on the side of the frame where two triangles touch. Three angles sit along that straight edge: one acute angle α from the first triangle, one corner of the inner region, and the other acute angle β from the second triangle.

α + (inner angle) + β = 180°       angles on a straight line
α + β = 90°                        acute angles of a right triangle
inner angle = 90°

All four inner corners behave the same way. So the uncovered region is a square with side c and area c².

Second arrangement: two smaller squares

Now take the same four triangles out and pair them up. Two triangles joined along their hypotenuses make an a by b rectangle. Place one such rectangle in one corner of the frame and the other in the diagonally opposite corner, with one lying flat and one standing upright.

The two rectangles meet at a single point. What remains uncovered is two squares, one measuring a by a and the other b by b. Their sides come directly from subtraction: (a + b) − b = a and (a + b) − a = b.

Comparing the two

Both pictures start with area (a + b)². Both remove four triangles of the same size. Whatever is left must match.

c² = a² + b²

Same frame, same four triangles
Tilted arrangement One triangle in each corner Hole is one square of side c Uncovered area c² Paired arrangement Triangles form two rectangles Hole is two squares Uncovered area a² + b² VS Tilted arrangement One triangle in each corner Hole is one square of side c Uncovered area c² Paired arrangement Triangles form two rectangles Hole is two squares Uncovered area a² + b²

No formula for the area of a triangle was needed. The argument uses only that moving a shape does not change its area and that areas of non-overlapping pieces add. Those two principles are the basis of what area measures.

The algebra version

You can use just the first picture and count areas. The large square equals the four triangles plus the inner square.

(a + b)² = 4 × (½ab) + c²
a² + 2ab + b² = 2ab + c²
a² + b² = c²

Check it with a = 3, b = 4, c = 5. The frame has side 7 and area 49. Each triangle has area 6, so four take 24. The remainder is 49 − 24 = 25 = 5².

With a = 5, b = 12 and c = 13: the frame has area 289, the triangles take 4 × 30 = 120, and 169 = 13² is left. With a = 8, b = 15 and c = 17: 529 − 240 = 289 = 17².

Sliding from one picture to the other

You can pass between the arrangements without turning a single triangle. Put the frame's lower left corner at (0, 0), so its upper right corner is (a + b, a + b). In the tilted arrangement, the lower left triangle has its leg a along the bottom, and each other corner follows the rotating pattern.

  1. Leave the lower right triangle where it is.
  2. Slide the upper left triangle down and to the right until its hypotenuse meets the hypotenuse of the lower right one. Together they form a rectangle b wide and a tall.
  3. Slide the lower left triangle straight up by a distance a.
  4. Slide the upper right triangle straight left by a distance b. It meets the one you just moved, forming a rectangle a wide and b tall.

The uncovered region is now a square of side a in the lower left and a square of side b in the upper right. Since slides keep every area unchanged and no pieces overlap at the end, the hole has been redistributed, not altered in size.

An animation or a set of card pieces following these four moves makes the equality almost physical.

Folding the triangles inward

Here is a second rearrangement. Start with a square of side c. Lay the four triangles inside it, each with its hypotenuse along one side of the square, all turning the same way.

The triangles do not cover the middle. Along each long leg, a shorter leg of the neighboring triangle takes up length a, leaving a gap of b − a (taking b as the longer leg). The hole is a small square of side b − a.

c² = 4 × (½ab) + (b − a)²
   = 2ab + b² − 2ab + a²
   = a² + b²

For 3, 4, 5 the middle square has area 1, and 24 + 1 = 25. If a = b, the hole shrinks to nothing, and four right isosceles triangles fill the square exactly, giving c² = 2a².

This diagram is closely associated with early Chinese commentary on the Zhoubi Suanjing, usually credited to Zhao Shuang, and with the Indian mathematician Bhaskara II. The popular tale that Bhaskara offered the picture with the single word "Behold!" is a later embellishment and best treated as legend.

Why the details matter

Picture proofs can mislead. In a famous puzzle, pieces of a chessboard seem to rearrange into a rectangle of area 65 from a square of area 64, because slanted edges that look straight are slightly bent. See the 64 equals 65 dissection.

Our proof survives that test because each alignment is justified. The outer sides are straight and measure a + b by construction. The inner angles are 90° by the calculation above. The leftover squares have sides found by subtraction.

Notice also where flatness enters. The fact that α + β = 90° comes from the 180° angle sum of a triangle, which belongs to Euclidean geometry. On a sphere the arrangement does not close up, and the theorem in this form is false there.

Try it with paper

  1. Fold a sheet and cut four right triangles at once so they match. Legs of about 6 cm and 10 cm work well.
  2. Draw a square frame 16 cm on a side.
  3. Arrange the triangles in the corners and trace the tilted hole.
  4. Slide them into two rectangles and trace the two square holes.
  5. Measure: the squares should have areas 36 and 100, and the tilted side should be near √136 ≈ 11.7 cm.

Sliding, not recutting, is what makes the activity persuasive. Use scissors with ordinary care, especially with younger learners.

Putting the result to work

Once proved, the equation finds any one side from the other two.

Hypotenuse. With legs 9 and 12, c² = 81 + 144 = 225, so c = 15.

Leg. With hypotenuse 25 and one leg 7, the other satisfies b² = 625 − 49 = 576, so b = 24.

Irrational answers. Legs of 1 and 2 give c = √5 ≈ 2.236. The tilted square then has area exactly 5, although its side cannot be written as a fraction. The picture handles this without any difficulty, because it speaks about areas.

Whole-number triples. Choose whole numbers m > n > 0 and set the legs to m² − n² and 2mn, with hypotenuse m² + n². The identity (m² − n²)² + (2mn)² = (m² + n²)² can be checked by expanding. Taking m = 2 and n = 1 gives 3, 4, 5. Taking m = 3 and n = 2 gives 5, 12, 13. Taking m = 4 and n = 1 gives 15, 8, 17. Each triple can be cut from squared paper and used in the frame.

Where to go next

The theorem has hundreds of proofs. Euclid's windmill proof moves area from each small square into the large one. Garfield's trapezoid proof uses what amounts to half of our first picture. A proof by similar triangles needs almost no area at all.

The reverse statement, that a² + b² = c² forces a right angle, is a separate result covered in the converse of Pythagoras.

Common questions

Why do all four triangles need to be congruent?

The argument cancels the same four areas from both pictures. If the triangles differed, the sides of the frame would not all equal a + b and the cancellation would fail.

Does the proof work for very thin triangles?

Yes. Nothing assumes a size for a or b beyond being positive. With a = 1 and b = 20, the tilted square is barely tilted, and the equation reads 1 + 400 = c².

Is this a proof or a demonstration?

With the angle calculation and the side lengths justified, it is a proof. Cutting paper without those reasons is a demonstration.

Written for 4Geometry with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 57 articles in Triangles →

Latest news on this topic