Skip to content
All apps

Pythagorean theorem (proof)

About this app

A right triangle with squares on all sides; a playable rearrangement proof of a²+b²=c². Sliders for the legs a, b; live a², b², c² and c=√(a²+b²).

The theorem

In a right triangle, the two sides forming the right angle are the legs a and b, and the longest side opposite the right angle is the hypotenuse c. The Pythagorean theorem states a² + b² = c²: the areas of the squares on the legs add up to the area of the square on the hypotenuse. It follows that c = √(a² + b²).

The rearrangement proof

Four identical right triangles are placed inside a square of side a + b. In one arrangement, a tilted square of area c² is left uncovered in the middle; in the other, two squares of area a² and b² remain. The big square and the four triangles are the same in both cases, so the uncovered areas must be equal: a² + b² = c².

What the app shows

Sliders set the legs a and b while the right angle stays fixed. A square stands on each side, and the app shows the side lengths, a², b², c² and the sum a² + b² live. A button plays the rearrangement proof as an animation. With a = 3 and b = 4 you get the well-known 3-4-5 triangle.

Frequently asked questions

What is the Pythagorean theorem?
In a right triangle, a² + b² = c², where a and b are the legs and c is the hypotenuse. The hypotenuse is opposite the right angle and is always the longest side.
How do you calculate the hypotenuse?
Add the squares of the legs and take the square root: c = √(a² + b²). With a = 6 and b = 8, c = √100 = 10. A missing leg follows from a = √(c² − b²).
How can you prove the Pythagorean theorem visually?
Place four identical right triangles inside a square of side a + b. Depending on the arrangement, either one square c² or two squares a² and b² remain uncovered. Since everything else is the same, a² + b² = c².
What does the app show?
It shows a right triangle with squares on all sides whose legs you change with sliders. The square areas are compared live, and a rearrangement proof can be played as an animation.

Subject: School mathematics (Gymnasium)

More from School mathematics (Gymnasium)

A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps