Can You Fairly Cut the Birthday Cake?
This Week's Fiddler
Let's orient the cake such that it spans 20 inches right of the origin along the x-axis and 10 inches above the origin along the y-axis.
We can then find a center point with cuts at , , and such that the areas are equal. There are two equally sized trapezoids formed, each with an area of , and one triangle of area . Setting the areas equal, we find that , hence .
Checking our work, we note that the total cake is square inches, and each piece comes out to square inches, which is correct. Thus one valid solution would be...
Answer: Cake oriented from 0 in. to 20 in. along the x-axis and 0 in. to 10 in. along the y-axis. Center of cut at (10 in., 10/3 in.), piece boundaries at (0 in., 10 in.), (20 in., 10 in.), and (10 in., 0 in.).
Extra Credit
We note that after we determine a center , we only need to determine one of the cuts; the other two cuts are predetermined to be 20 inches away along the perimeter in either direction. Additionally, we can consider one cut on one of the long sides, as (aside from the boundary cases) will always have exactly one cut. Let's say is where we perform the cut along the x-axis.
If , then the shapes are as follows: , , and .
An example, where :
Full interactive Desmos visualization will be below!
As we know each piece should have an area of , we can derive three equations. The first two pieces are quadrilaterals that can be split into two triangles, while the third piece is a pentagon which can be split into two trapezoids.
SymPy code for solving the linear equation:
import sympy
x, y, t = sympy.symbols('x y t')
eqs = [
sympy.Eq(400, 3 * ((20 - t) * y + t * (20 - x))),
sympy.Eq(400, 3 * ((10 - t) * (20 - x) + (10 + t) * (10 - y))),
sympy.Eq(200, 3 * (y * (t + x) / 2 + (10 - y) * (10 - t + x) / 2)),
]
print(sympy.solve(eqs))
Output:
[{x: 5*(3*t**2 - 30*t + 200)/(t**2 - 10*t + 100), y: 5*(3*t**2 - 50*t + 400)/(3*(t**2 - 10*t + 100))}]
Now we have a parametric equation of one half of the locus, which looks like this when plotted.
We observe that strictly decreases as increases, and there is a point of reflection about . Thus, with a few integrals, we can find the area of the locus.
If we assign and , then we can say the area under for the top half of the arc is . Note that we integrate from to to go rightwards with and get a positive area. We can then subtract this with . Finally, we double the area to account for the reflection of the locus not captured by this arc (i.e., the case when ).
Hence, the area:
We find that .
So:
And:
Making the total area:
...or about 7.88 square inches.
Animated Desmos visualization of valid cuts! (only from to )
Answer: 25/81*(8*sqrt(3)*pi-18)
square inches (about 7.88 sq. in.)