The Pizza Theorem: A proof using... calculus?

by greenturtle3141, Nov 9, 2021, 12:28 AM

Reading Difficulty: 3/5
Minimum Prerequisites: Know what an integral is.

You're having a great time at a party with friends. The doorbell rings. It's the pizza delivery! Y'all ordered a big pie.

It's time to cut the pizza. There are $8$ people at the party. Since you're the math guy/girl, they let you divide the pizza. It can't be that hard though, right? Just make 4 equally spaced cuts through the center and you win... So you go ahead and make the cuts.

It's a success! Everyone enjoys the pizza. But then a nervous thought sets in...

Oh no, what if I didn't make the cuts through the exact center??? Did I mess up???


Welp, maybe you did. But for next time, here's a totally different way to do it that will ease all your nerves assuming that you can make cuts at perfect angles!

THEOREM: The red and orange areas here are the same!

https://i.postimg.cc/nh1Qq4tY/image.png

Also, the red, orange, and yellow areas here are the same too!

https://i.postimg.cc/fyWPTjZ2/image.png

In general, to feed $n$ people, follow this procedure:
  1. Pick a random point on the pizza. Let $n$ be the number of people you need to feed.
  2. Make $2n$ full cuts through the point, spaced out at equal angles. This makes $4n$ pieces.
  3. Line up the party members and have them take the slices in some counter-clockwise order. Repeat until the pizza is empty.
  4. ???
  5. Profit!


A proof of this involves the somewhat surprising intersection of two totally different areas of math: Euclidean geometry and calculus.

Let us first step into geometry...

LEMMA 1: Let $ABCD$ be a cyclic, orthodiagonal quadrilateral. Then:
  • We have that $AB^2 + CD^2 = BC^2 + AD^2$.
  • If $R$ is the circumradius, then $AB^2+CD^2 = BC^2+DA^2 = 4R^2$.

[asy]
import olympiad;
pair A,B,C,D;
A = dir(110);
C = dir(-110);
B = dir(170);
D = dir(10);
draw(A--B--C--D--cycle);
draw(A--C);
draw(B--D);
draw(circle((0,0),1));
dot("$A$",A,dir(A));
dot("$B$",B,dir(B));
dot("$C$",C,dir(C));
dot("$D$",D,dir(D));
pair X = extension(A,C,B,D);
dot("$X$",X,NE);
[/asy]

Proof. Let $X$ be the intersection of $AC$ and $BD$. Getting the first claim is not too hard, whereas the second claim is more specific and requires another insight.

Proving the second claim uses a cute trick that I like to call "chord swapping". What happens if we "swap" the chords $AB$ and $AD$?

[asy]
import olympiad;
pair A,B,C,D;
A = dir(110);
C = dir(-110);
B = dir(170);
D = dir(10);
draw(B--C--D--cycle);
draw(A--C,dashed);
draw(A--B,dashed);
draw(A--D,dashed);
draw(circle((0,0),1));
dot("$A$",A,dir(A));
dot("$B$",B,dir(B));
dot("$C$",C,dir(C));
dot("$D$",D,dir(D));
pair A2 = dir(70);
draw(B--A2--D);
dot("$A'$",A2,dir(A2));
[/asy]

By the first claim, we have that $A'B^2 + BC^2 = A'D^2 + CD^2$. Huh, could $\angle A'BC$ be a right angle, so that $A'C$ is actually a diameter? Indeed, observe that:
$$\angle A'BD = \angle ADB = \angle ACB$$So $\angle A'BC = \angle A'BD + \angle DBC = \angle ACB + \angle DBC = 90^\circ$.

Wow! So $A'C$ has to be a diameter. Particularly:
$$A'B^2 + BC^2 = A'C^2 = 4R^2$$$$A'D^2 + CD^2 = A'C^2 = 4R^2$$Substituting back $A'B = AD$ and $A'D = AB$ gives the second claim. $\square$

As a corollary, note that:
$$AX^2+BX^2+CX^2+DX^2 = AB^2+CD^2 = 4R^2$$This is the specific result that we'll need.


Now let us step into calculus...

THEOREM: The Pizza Theorem holds.

Proof. Fix some arbitrary right-angled "cross".

[asy]
import olympiad;
pair A,B,C,D;
A = dir(110);
C = dir(-110);
B = dir(170);
D = dir(10);
draw(A--C);
draw(B--D);
draw(circle((0,0),1));
dot("$A_0$",A,dir(A));
dot("$B_0$",B,dir(B));
dot("$C_0$",C,dir(C));
dot("$D_0$",D,dir(D));
pair X = extension(A,C,B,D);
dot("$X$",X,NE);
[/asy]

If we "rotate" the cross by some angle $\theta$, then a certain amount of area is displaced.

[asy]
import olympiad;
pair A,B,C,D;
A = dir(110);
C = dir(-110);
B = dir(170);
D = dir(10);
pair X = extension(A,C,B,D);
pair A1,B1,C1,D1;
real t = 20;
A1 = intersectionpoints(X--((A-X)*dir(t)*3+X), circle((0,0),1))[0];
B1 = intersectionpoints(X--((B-X)*dir(t)*3+X), circle((0,0),1))[0];
C1 = intersectionpoints(X--((C-X)*dir(t)*3+X), circle((0,0),1))[0];
D1 = intersectionpoints(X--((D-X)*dir(t)*3+X), circle((0,0),1))[0];
fill(A1--X--A..arc((0,0),1,degrees(A),degrees(A1),CCW)--cycle,gray(0.7));
fill(B1--X--B..arc((0,0),1,degrees(B),degrees(B1),CCW)--cycle,gray(0.7));
fill(C1--X--C..arc((0,0),1,degrees(C),degrees(C1),CCW)--cycle,gray(0.7));
fill(D1--X--D..arc((0,0),1,degrees(D),degrees(D1),CCW)--cycle,gray(0.7));
draw(A1--X,dashed);
draw(B1--X,dashed);
draw(C1--X,dashed);
draw(D1--X,dashed);
draw(A--C);
draw(B--D);
draw(circle((0,0),1));
dot("$A(\theta)$",A1,dir(A1));
dot("$B(\theta)$",B1,dir(B1));
dot("$C(\theta)$",C1,dir(C1));
dot("$D(\theta)$",D1,dir(D1));
dot("$A_0$",A,dir(A));
dot("$B_0$",B,dir(B));
dot("$C_0$",C,dir(C));
dot("$D_0$",D,dir(D));
dot("$X$",X,NE);
[/asy]

If we can prove that the shaded area depends only on the radius $R$ and the angle $\theta$, then the theorem is proven. (Exercise: Why?)

We find the area by integration. Let $A(t)$ be the point on the arc between $A_0$ and $A(\theta)$ such that $\angle A_0XA(t) = t$. So, $A(0) = A_0$ and, well, $A(\theta) = A(\theta)$... Define $B(t)$, $C(t)$, and $D(t)$ similarly.

The area of the "$A$"-shaded region is given by the following integral:
$$\int_0^\theta \frac12XA(t)^2\,dt$$Where we identify $XA(t)$ as length. This comes from the formula for finding area in polar integration. Hence the total shaded area is just:
$$\frac12\int_0^\theta XA(t)^2+XB(t)^2+XC(t)^2+XD(t)^2\,dt$$But the segments $XA(t),XB(t),XC(t),XD(t)$ are equally spaced, at angles of $90^\circ$. So by Lemma 1, we have that:
$$XA(t)^2+XB(t)^2+XC(t)^2+XD(t)^2 = 4R^2$$Therefore the area is just $\frac12\int_0^\theta 4R^2\,dt = 2R^2\theta$. This proves the Pizza Theorem. $\square$


Addendum

The Pizza Theorem usually refers to this result, which I will refer to as the "romantic" version because it only involves two:

Theorem (Romantic Pizza Theorem): Pick any point on the pizza and make $2N$ equally-spaced full cuts through some random point, which makes $4N$ slices of pizza. Then alternate slices form exactly half the pizza.

EXERCISE: Why does the previous version of the Pizza Theorem NOT imply this one?

In order to hide the fact that I have no proof of this to give at the moment, I'll leave it as an exercise. :)

Further reading:
http://www.cs.umd.edu/~gasarch/BLOGPAPERS/pizza.pdf
This post has been edited 2 times. Last edited by greenturtle3141, Nov 9, 2021, 3:48 PM

Comment

2 Comments

The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
reminds me of this...

by depsilon0, Nov 9, 2021, 5:21 PM

The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
w8 wth this is so smart

by v4913, Nov 11, 2021, 11:24 AM

Turtle math!

avatar

greenturtle3141
Archives
+ October 2024
Shouts
Submit
  • Can you give some thought to dropping a guide to STS? Just like how you presented your research (in your paper), what your essays were about, etc. Also cool blog!

    by Shreyasharma, Mar 13, 2025, 7:03 PM

  • this is so good

    by purpledonutdragon, Mar 4, 2025, 2:05 PM

  • orz usamts grader

    by Lhaj3, Jan 23, 2025, 7:43 PM

  • Entertaining blog

    by eduD_looC, Dec 31, 2024, 8:57 PM

  • wow really cool stuff

    by kingu, Dec 4, 2024, 1:02 AM

  • Although I had a decent college essay, this isn't really my specialty so I don't really have anything useful to say that isn't already available online.

    by greenturtle3141, Nov 3, 2024, 7:25 PM

  • Could you also make a blog post about college essay writing :skull:

    by Shreyasharma, Nov 2, 2024, 9:04 PM

  • what gold

    by peace09, Oct 15, 2024, 3:39 PM

  • oh lmao, i was confused because of the title initially. thanks! great read

    by OlympusHero, Jul 20, 2024, 5:00 AM

  • It should be under August 2023

    by greenturtle3141, Jul 11, 2024, 11:44 PM

  • does this blog still have the post about your math journey? for some reason i can't find it

    by OlympusHero, Jul 10, 2024, 5:41 PM

  • imagine not tortoise math

    no but seriously really interesting blog

    by fruitmonster97, Apr 2, 2024, 12:39 AM

  • W blog man

    by s12d34, Jan 24, 2024, 11:37 PM

  • very nice blog greenturtle it is very descriptive and fascinating to pay attention to :-D

    by StarLex1, Jan 3, 2024, 3:12 PM

  • orz blog

    by ryanbear, Dec 6, 2023, 9:23 PM

67 shouts
Tags
About Owner
  • Posts: 3554
  • Joined: Oct 14, 2014
Blog Stats
  • Blog created: Oct 23, 2021
  • Total entries: 54
  • Total visits: 40992
  • Total comments: 126
Search Blog
a