A sheet cake cut into rectangular slices, with frosting visible on the corner pieces and edge pieces.

Wu’s 1998 Puzzle Answer Shows Why Corner Slices Get More Frosting

User avatar placeholder
Written by Seth Sebastian

2026-11-21

External media is paused. Its provider may receive your IP address and use cookies when loaded.

Cutting a sheet cake into equal rectangles does not give every guest equal frosting. Corner pieces carry more frosted edge than center pieces. Christopher of Magnify walked through a geometric method that solves this problem.

If you enjoy seeing everyday kitchen work rethought with careful geometry, Ingeniously Designed Japanese Cooking Tools for Kitchens shows how thoughtful form improves simple cutting tasks.

The method traces to ZhenChao Wu, then a computer science graduate student at Northeastern University. In 1998, Wu submitted a solution to an IBM Research Ponder This puzzle on the same subject.

Square cakes: equal bases, equal shares

For a square cake, the solution uses wedges that all meet at the center. Each wedge is a triangle with the same height, which is half the length of a side. If the bases are equal, the areas are equal.

Good cake cutting also spreads the frosting along the sides evenly. Each guest gets the same top frosting and the same side frosting.

Rectangular cakes: a center line and two kinds of pieces

A rectangle is harder. The cutter draws a line through the center that stops short of both ends. Pieces then fall into two groups. Some are triangles with a base on a short side and a point at the end of the line. Others are trapezoids with one base on the long edge and the other base on a section of the center line.

For a 6 by 12 inch sheet cake, the center line starts 4 inches from the left edge and ends 4 inches from the right edge. For a cake measuring H by L, the line starts a distance of HL/(H+L) from each end. Its length is L(L-H)/(H+L).

Each guest receives 1/N of the cake’s perimeter, meaning the total length of its outer edge. A guest may get part of a triangle and part of a trapezoid, and the method still works. The key is that each piece’s area divided by its perimeter share is the same constant.

For the whole cake, that ratio is LH divided by 2(L+H). The left triangle’s area is one half times H times LH/(L+H). It covers H units of perimeter, which gives the same ratio. Because every piece shares this ratio, each guest gets 1/N of the cake and 1/N of the frosting on top and sides.

Wu’s second method needs no calculation

Wu offered a second solution. On a sheet cake, draw a diagonal from the upper-left corner to the lower-right corner. From the lower-left corner, draw a 45-degree line that crosses the diagonal at point A. From the upper-right corner, draw another 45-degree line that crosses the diagonal at point B.

Point A sits the same distance from the left side and the bottom, which is LH/(L+H). Point B sits the same distance from the right side and the bottom. Cut triangles with bases on the left side or bottom, meeting at A. Cut the rest with bases on the right side or top, meeting at B.

Each guest again receives 1/N of the perimeter, and the same area-to-perimeter argument applies. The IBM puzzle write-up notes that this version needs no calculation at all.

Sheet cake shares: what the puzzle rewards

Readers sent other ideas. Some suggested scraping off all the frosting first. Another proposed cutting the cake into 4N pieces, giving each diner one triangle from each side. A third suggested running the cake through a food processor on the “liquefy” setting. The puzzle editors called the food processor idea “thinking outside the box” rather than “cheating.” Their stance shows how the puzzle treats the difference between a clever answer and a loophole.

For a design-minded look at the kitchen objects that sit beside a cake knife, Aarke’s Kitchen Essentials Made Timeless Design Pieces offers a stylish companion read.

The 1998 solutions rest on one rule. Give each guest an equal length of edge, and the top and side frosting follow. The geometry does the rest.

A sheet cake cut into rectangular slices, with frosting visible on the corner pieces and edge pieces.

H/T laughingsquid.com

Frequently asked questions

Why do corner pieces of a sheet cake get more frosting?

Corner pieces carry more frosted edge than center pieces when a sheet cake is cut into equal rectangles. This means equal-sized cuts do not give every guest an equal share of frosting.

How does Wu’s method split a rectangular sheet cake fairly among guests?

The cutter draws a center line that stops short of both ends, creating triangles and trapezoids. Each guest receives 1/N of the cake’s perimeter, and because each piece’s area divided by its perimeter share is the same constant, every guest also gets 1/N of the top and side frosting.

How do you cut a square cake so every guest gets equal frosting?

The solution uses wedges that all meet at the center of the square cake. Each wedge has the same height, half the length of a side, so equal bases produce equal areas and equal shares of top and side frosting.

Did the food processor idea count as a valid answer to the cake puzzle?

The puzzle editors called the food processor idea “thinking outside the box” rather than “cheating.” Their stance showed how the puzzle distinguishes a clever answer from a loophole.

Menu