Pizza Maths and Pi
My local Domino's is having one of its ubiquitous deals, with a small 9 inch pizza at £10, a medium 11.5 inch at £12 and a large 13.5 inch at £14.99. If you are feeding two people, it seems natural to think that two smalls would give you more pizza than one large, and that a large would have to be twice as wide as a small to match them. In fact a large is only one and a half times as wide as a small, yet it gives you more pizza than two smalls put together, and it costs £5 less.
- Small 9 inch: £10.00 for 64 square inches, which is 15.7p per square inch
- Medium 11.5 inch: £12.00 for 104 square inches, which is 11.6p per square inch
- Large 13.5 inch: £14.99 for 143 square inches, which is 10.5p per square inch
At first glance two smalls feel like the better buy, because two of anything sounds like more than one. The catch is that a pizza grows in two directions at once. A large is one and a half times as wide as a small and also one and a half times as tall, so it holds 1.5 × 1.5 = 2.25 times as much pizza, which makes it worth two and a quarter smalls. Looked at another way, the first £10 of the large's price buys you a small's worth, and the other £4.99 buys the next one and a quarter smalls. That's like getting a second small at half price with a quarter of a small thrown in for nothing. I'm not saying you have to eat more pizza than you want, but if you're buying for two, the large is far better value.
Those areas come from a formula that a lot of people remember from school even if they never use it: the area of a circle is pi r squared, written πr². It got me thinking about why the formula uses the radius, which is half the width of the circle, rather than the diameter. With a square or a rectangle we just multiply the width by the height and nothing gets halved, so where does the half come from? Taking the formula apart answers that, because each piece of it makes sense once you can see where it comes from.
What π is
π is a number, about 3.14, and it comes from measuring circles. If you wrap a piece of string round the edge of any circle, whether it is a pizza, a plate or a wheel, and then lay the string straight next to the diameter (the distance across the middle), the string is always just over three times as long. That ratio is the same for every circle of every size, and π is the name for it. The crust of the 13.5 inch large is therefore 3.14 × 13.5, or about 42.4 inches long. This is why π can appear in the area formula at all, because, as the slices below show, the length of the crust is part of the area sum.
Squares first
Before going back to the circle, think about the box the pizza comes in. The area of any rectangle is its width times its height, which most people already know: a rug 2 metres by 3 metres covers 6 square metres, and nothing gets halved along the way. A pizza box is square, so its width and height are the same number, and multiplying a number by itself is all that squared means. The box for the large is 13.5 by 13.5 inches, which can be written as 13.5², and it covers 182.25 square inches.
The pizza fits just inside that box, touching the middle of each side, but it leaves the corners empty, so its area must be less than 182.25 square inches. To find out how much less, we need a way of turning the round pizza into a shape that can be measured with width times height.
Turning the pizza into a rectangle
The picture at the top shows how. Cut the pizza into slices, then lay them in a row with the points alternately up and down, so that each slice fits snugly against the next. Together they make a shape that is very nearly a rectangle, and the more slices you cut, the straighter its edges get. With endlessly many thin slices it would be a perfect rectangle.
Look at how tall that rectangle is. Each slice runs from the centre of the pizza to the crust, so the rectangle is only as tall as one slice, which is half the height of the whole pizza. Half the width of a circle is its radius, and that is why the formula uses the radius rather than the diameter. The halving is not an extra step you have to remember, because it comes from the simple fact that a slice only reaches from the middle to the edge.
Now look at how long it is. Half the slices have their crust along the top and the other half have it along the bottom, so the top edge is half the crust. The whole crust is π times the diameter, and half of the diameter is the radius, so the top edge is π × r long.
So the rectangle is r tall and π × r long, and like any other rectangle its area is width times height, which is π × r × r. Since r times r is r squared, that gives πr². For the large the radius is 6.75 inches, so its area is 3.14 × 6.75 × 6.75, which comes to about 143 square inches.
The circle formula is really this: area = half the perimeter × the radius. The rectangle made from the slices shows it, because it is half the crust long and one radius tall, and π only comes into it because the perimeter of a circle is π times the diameter.
A square can be worked out the same way, as long as its "radius" is measured from the centre to the middle of a side rather than to a corner. Take a square with 30 cm sides. Its perimeter is 120 cm, so half of it is 60 cm, and the distance from its centre to the middle of a side is 15 cm. Multiply them and you get 60 × 15 = 900 cm², exactly the same as 30 × 30. Cut the square from its centre to each corner, lay the four slices point up and point down, and they make a rectangle 60 cm long and 15 cm tall.
Nobody bothers doing a square that way, because width times height is quicker. A circle has no straight sides to multiply, though, so its area has to go through its perimeter, and that is how π ends up in the formula.
