Drag rows, columns, and a distributive split line on a unit-square grid, compare fair-share vs. equal-grouping division with remainders, and test rectangles with the same area or same perimeter.
Drag the corner handle to resize rows × columns or drag the orange split line. Keys: Arrows resize · R 90° turn · D split · G trays/grid.
1. Equal Groups, Arrays & Splitting
Rotating an r × c tile array by 90° turns rows into columns without adding or losing any unit squares, proving r × c = c × r. Splitting columns into b + d shows the distributive law r × (b + d) = (r × b) + (r × d).
2. Two Meanings of Division
Fair sharing deals N counters onto d equal plates (unknown share size). Equal grouping scoops bags of d counters (unknown bag count). Both satisfy d × q + r = N with remainder 0 ≤ r < d.
3. Square Units vs. Fence Units
Area counts inside 1×1 unit squares (no gaps or overlaps); perimeter counts 1-unit edge steps around the outside boundary. With fixed perimeter 2S, area x(S − x) peaks when the rectangle is a square.