# Solution to the Square, Rectangle, and Two Semi-Circles Puzzle +-- {.image} [[SquareRectangleandTwoSemiCircles.png:pic]] > A square, a rectangle and two semicircles. Which shaded area is the larger? =-- ## Solution by [[Pythagoras' Theorem]] +-- {.image} [[SquareRectangleandTwoSemiCirclesLabelled.png:pic]] =-- In the above diagram, the points labelled $O$ and $Q$ are the centres of the upper and lower semi-circles respectively. Let $a$ be the radius of the upper semi-circle and $b$ of the lower. Then $O C$ has length $a$ and $O A$ has length $2 b - a$ so the area of rectangle $A B C O$ is $2 b a - a^2$. Let $c$ be the length of $O F$, which is the side length of the purple square. The length of $O Q$ is $b - a$, so applying [[Pythagoras' theorem]] to triangle $Q O F$ shows that: $$ b^2 = (b - a)^2 + c^2 $$ which rearranges to $c^2 = 2 b a - a^2$. The square and rectangle therefore have the same area. However, the quarter circle cut out from the rectangle has smaller area than the sector cut out from the square, as can be seen in the diagram by completing the smaller circle to a full circle. Therefore the purple area is smaller than the yellow.