Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Dissection lab

Cut shapes into pieces and watch them rearrange: triangle and parallelogram to rectangle, rectangle or any triangle to a square, and Pythagoras' squares.

How to use it

  1. Choose a dissection and type the sizes (any unit). For a triangle, give its three sides.
  2. Press Cut it. The coloured pieces sit inside the starting shape (grey dashed outline).
  3. Press Play, or drag the slider, to slide and turn every piece into the new shape (dark dashed outline). Pieces only move and turn: they are never stretched or flipped over.
  4. The table shows that the pieces have exactly the area of the shape you started with.

Keyboard

TabMove between the boxes, buttons and slider
Arrow keys on the sliderMove the pieces step by step

Tips

  • Triangle to rectangle explains the area formula: the rectangle has the same base and half the height, so the area is base × height ÷ 2.
  • Try a long thin triangle or rectangle: the lab first halves the rectangle and stacks the halves until it is no more than four times as long as it is wide, so you get more pieces.
  • The Pythagoras dissection works for any right triangle: try legs 5 and 12, or 1 and 1.
  • Print the shape, cut it out of card along the lines and try it by hand.

About this tool

Any two polygons with the same area can be cut into a finite number of pieces that rearrange from one into the other (the Wallace-Bolyai-Gerwien theorem, proved in the 1800s). The lab shows the classic steps of the proof: a triangle becomes a rectangle by cutting along the line halfway up and turning the two top corners down; a rectangle becomes a square with a sliding cut from one corner towards the point at the square’s height, as long as it is at most four times as long as it is wide.

For triangle to square, every piece of the first dissection is clipped against the cuts of the second, and the two motions are combined. The Pythagoras dissection cuts the square on the hypotenuse into three pieces that fill the squares on the two legs side by side.

The tests check, with a separately written Python point sampler, that the pieces cover the starting shape and the finished shape exactly once with no gaps or overlaps, that every piece only moves and turns, and that the areas match.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product