Problem Definition
Square $ABCD$ has side midpoints $E$, $F$, $G$, $H$ on $AB$, $BC$, $CD$, $DA$. The four segments $DE$, $AF$, $BG$ and $CH$ bound a smaller region $IJKL$, shaded below. What fraction of the square is shaded?
The puzzle circulated on Reddit's r/askmath, and it has a surprisingly tidy answer. Three different methods follow.
Solution
Step 1: $IJKL$ Is a Square
Rotating the whole diagram by $90^\circ$ about its center leaves it unchanged, and the four segments are turned into one another. So the four segments are pairwise perpendicular, which gives $IJKL$ four right angles, and the distances between them are all equal, which gives $IJKL$ four equal sides. A quadrilateral with four right angles and four equal sides is a square.
Method 1: Similar Triangles
Let $x = IL$ be the side of the shaded square.
The right triangles $AID$ and $HLD$ share the angle at $D$, so they are similar. Since $H$ is the midpoint of the hypotenuse $AD$, the point $L$ is the midpoint of $DI$, and therefore $DL = IL = x$. The triangles $DLH$ and $AIE$ are congruent by symmetry, so $AI = x$ as well, and $DI = 2x$.
The triangles $DIA$, $AJB$, $BKC$ and $CLD$ are congruent, each with area $\frac{1}{2}(2x)(x) = x^2$. Together with the shaded square, the area of $ABCD$ is
$$4x^2 + x^2 = 5x^2$$Alternatively, $AID$ is a right triangle, so $AD^2 = AI^2 + DI^2 = x^2 + (2x)^2 = 5x^2$, which is again the area of $ABCD$. The shaded fraction is
$$\frac{\text{area}(IJKL)}{\text{area}(ABCD)} = \frac{x^2}{5x^2} = \frac{1}{5}$$Method 2: Parallelogram Area
The quadrilateral $DEBG$ is a parallelogram, and we compute its area in two ways. Let $DG = s$, so that $AD = 2s$ and $AE = s$.
Taking $DG$ as the base, the height is $AD = 2s$, so
$$\text{area}(DEBG) = s \cdot 2s = 2s^2$$Now take $DE$ as the base. It is the hypotenuse of the right triangle $DAE$, so $DE^2 = (2s)^2 + s^2 = 5s^2$ and $DE = s\sqrt{5}$. The segment $LK = x$ is perpendicular to both $DE$ and $BG$, so it is the height on that base:
$$\text{area}(DEBG) = s\sqrt{5} \cdot x$$Equating the two expressions gives $x = \dfrac{2s}{\sqrt{5}}$, so $x^2 = \dfrac{4s^2}{5}$, and
$$\frac{\text{area}(IJKL)}{\text{area}(ABCD)} = \frac{4s^2/5}{(2s)^2} = \frac{1}{5}$$Method 3: Rearranging Areas
There is also an elegant solution that needs no algebra. Besides the shaded square, the four segments cut $ABCD$ into four right trapezoids (green) and four small right triangles (red).
Take the trapezoid $AILH$ and the triangle $DLH$. By the similarity above, $HL = \frac{x}{2}$, so the trapezoid has parallel sides $AI = x$ and $HL = \frac{x}{2}$ and height $IL = x$. The triangle has legs $DL = x$ and $HL = \frac{x}{2}$ and its hypotenuse $DH$ equals the slanted side $AH$ of the trapezoid. Gluing the triangle to the trapezoid along that side gives a square of side $x$, the same size as $IJKL$.
The same holds for the other three pairs, so the square $ABCD$ is made of five squares of the size $IJKL$, and the shaded fraction is clearly $\frac{1}{5}$.
The Result
$$\boxed{\frac{\text{area}(IJKL)}{\text{area}(ABCD)} = \frac{1}{5}}$$Adapted from What Fraction Of The Square Is Shaded? by Presh Talwalkar, Mind Your Decisions (video solution). Related: the square inside the square and a Math StackExchange discussion.