Inside a square, lines parallel to a side of the square (both horizontal and vertical) are drawn thereby dividing the square into rectangles. The rectangles are alternately colored black and white like a chessboard. Prove that if the total area of the white rectangles is equal to the total area of the black rectangles, then one can cut out the black rectangles and reassemble them into a rectangle.
Solution
1. Assume the top left corner is black: This assumption simplifies the problem without loss of generality because the coloring pattern is symmetric.
2. Define variables for the lengths of black parts: Let be the sum of the lengths of the black parts along the top edge of the square, and let be the sum of the lengths of the black parts along the left edge of the square.
3. Calculate the area of the black parts: The area of the black parts can be calculated by considering the contributions from the black rectangles. The black rectangles along the top edge contribute to the area, and the black rectangles along the bottom edge contribute to the area. Therefore, the total area of the black parts is:
4. Simplify the area expression: Simplify the expression for the total area of the black parts:
5. Set the area of black parts equal to 2: Since the total area of the square is 4 and the areas of the black and white parts are equal, the area of the black parts must be 2:
6. **Solve for and **: Rearrange the equation to isolate the terms involving and :
7. **Determine the possible values for and **: The equation implies that either or .
8. Reassemble the black rectangles:
- If : This means the black parts along the top edge sum to 1. We can cut out the black rectangles and push them horizontally until they touch the next black rectangle, forming horizontal strips of width 1. The heights of these strips sum to 2, forming a rectangle.
- If : This means the black parts along the left edge sum to 1. We can cut out the black rectangles and push them vertically until they touch the next black rectangle, forming vertical strips of width 1. The heights of these strips sum to 2, forming a rectangle. We can then rotate this rectangle by to match the required orientation.