Math · Demo 5 of 19

Can two squares fill a bigger one?

a² + b² = c² is the most famous rule in maths. Pour real water between square tanks and see it come true, then try to break it.

Triangle
Turn0°
Corner90°

Controls

Triangle
Square tank on the longest side (c²)Triangle block in the middle; tanks joined at its cornersEach side of the triangle has a square tank of the same depth, so the water in a tank is its area. The tanks are joined at the corners of the triangle, so the water always settles to one level. At the start the two small tanks are full and the big one is empty. A new disc is cut for each triangle and corner angle you pick.

Watch it work

A short film of this machine in action. Watch it, then try the challenges yourself.

What you're seeing

In the middle of the wheel is a triangle. On each of its three sides sits a square tank, and the tanks are joined at the corners of the triangle so water can flow between them.

The two tanks on the short sides start full of water. Turn the wheel half way round and the water pours into the big tank on the longest side. How full will it get?

Try this

0 of 4 solved
  1. Turn the 3 · 4 · 5 wheel half way round (180°). Does the big tank fill exactly?Watch the small tanks empty.
  2. Make the corner 100° and turn it again. What happens?The longest side gets longer.
  3. Now make the corner 80° and turn it. What happens this time?Look at the small tanks at the end.
  4. Pick a different triangle and make the big tank fill exactly, with nothing left over.There's only one corner angle that works.

Why it works

The water in each tank is equal to the area of its square: a × a for one short side, b × b for the other. When the corner is a right angle (90°), those two areas always add up to exactly the big square, c × c. That's the Pythagorean theorem.

Open the corner wider than 90° and the long side gets longer, so its square is too big to fill. Close it tighter and the long side gets shorter, so its square is too small and water is left over. Only the right angle works, for every triangle.

Go deeper AGES 14–16

For any triangle, the long side follows the law of cosines. C is the corner angle between sides a and b:

c² = a² + b² − 2ab × cos C

With your wheel right now (a = 3, b = 4, C = 90°):

a² + b² = 9 + 16 = 25
cos C = 0.000
c² = 25.00

When C = 90°, cos C = 0, the last term disappears and you are left with a² + b² = c². Builders use this backwards: a rope with knots at 3, 4 and 5 units, pulled tight into a triangle, makes a perfect right angle.