A reader asks: how do I figure out the volume of soil I need to fill a flowerpot?

A flowerpot is a slightly peculiar shape: it’s not a cone, it’s not a cylinder, it’s somewhere between the two. Luckily, we have a word for such shapes: it’s a frustum of a cone.

The easiest thing to do, of course, is to look up the volume - but unless you know what the shape is called, you’ll struggle to find that the volume of a flowerpot is V=hπ3(R2+Rr+r2) - where R is the radius at one end, r the radius at the other, and h the vertical height.

If you didn’t have an internet handy, you could always turn to the calculus. A flowerpot has a handy axis of rotation - it’s symmetrical about the axis you’d plant a flower through. That means you can use the volume of revolution technique to work it out for yourself.

2-4-6-8, what are we going to integrate? Square the y! Times by π!

You can make a mathematical flowerpot by rotating a line around an axis. If the line starts on the x-axis, you get a cone; if you truncate the line a bit higher up, you get a frustum. In our case, we’re going to let the line go through the points (0,r) and (h,R), so the circles at the end are the right size.

A little bit of juggling gives us the equation of the line we want; its gradient is Rrh and it goes through (0,r), so the equation is y=Rrhx+r.

We need to work out π0hy2dx, which is the formula for volumes of revolution (it’s the limit of the sum of the volumes of infinitesimally thin discs of radius y, and thickness dx, since you ask.) That gives us the monster:

piint_0hleft(fracRrhx+rright)2dx

Now, that’s going to be a bit tedious, even if it boils down to the integral of (kx+c)2. I’m going to let k=Rrh for the moment, just to save on typing.

piint_0hleft(kx+rright)2dx=piint_0hk2x2+2krx+r2dx=pileft\[frac13k2x3+krx2+r2xright\_0^h = \pi \leftfrac13k2h3+krh2+r2hright\]

Phew! Still not very nice-looking, but we’re getting there. It’s all algebra rom here. Let’s put the fraction back in for k:

V=pileft\[frac13frac(Rr)2h2h3+fracRrhrh2+r2hright\]

… and notice that a lot of the hs cancel:

V=pileft\[frac13(Rr)2h+(Rr)rh+r2hright\]

Factor out the h and expand the brackets:

V=hpileft\[frac13(R22rR+r2)+Rrr2+r2right\]

We’re almost there! Obviously the last two terms cancel each other out; I’m also going to take the 13 out of the bracket to give me:

V=frachpi3left\[R22rR+r2+3Rrright\] V=frachpi3left\[R2+rR+r2right\]

How reassuring!

In practise, you can probably ignore the π and the 3 (π3 is about 1.05, so unless you’re doing things very accurately, it’ll be noise.