Even-Dimensional Balls
Posted by John Baez
Some of the oddballs on the -Café are interested in odd-dimensional balls, but here’s a nice thing about even-dimensional balls: the volume of the -dimensional ball of radius is
Dillon Berger pointed out that summing up over all we get
It looks nice. But what does it mean?
First, why is it true?
We can show the volume of the -dimensional ball of radius is inductively. How? It’s enough to show that the volume of the unit -ball is times the volume of the unit -ball. Wikipedia gives a proof, and Greg Egan recently summarized the argument in a couple of tweets.
The idea is to map the unit -ball to the unit disk in the plane via a projection . Imagine a -ball hovering over a disk! I can’t draw it, because the first interesting example is 4-dimensional. But imagine it.
The points over any point in the disk at distance from the origin form a -ball of radius . We can get the volume of the -ball by integrating the volumes of these -balls over the disk.
That’s the idea. The rest is just calculus. Let the volume of the unit -ball be . We do the integral using polar coordinates:
Make the substitution , so . Some minus signs and 2’s cancel and we get
as desired!
So that’s simple enough: since we get
And maybe that’s all that needs to be said. But suppose we follow Dillon Berger and sum the volumes of all even-dimensional balls of radius . We get
This looks cute, but what does it mean?
It seems odd to sum the volumes of shapes that have different dimensions. But we do it in classical statistical mechanics when considering a system of particles with a variable numbers of particles: a so-called ‘grand canonical ensemble’, like an open container of gas, where molecules can flow in and out.
If we have a single classical harmonic oscillator, with momentum and position , its energy is
where I’m choosing units that get rid of distracting constants.
If we impose the constraint that the energy is for some number , the state of the oscillator is described by a point with
This is a point in the disk of radius .
Now suppose we have an arbitrary collection of such oscillators—and we don’t know how many there are! Then the state of the system is described first by a natural number , the number of oscillators, and then momenta and positions obeying
In other words, it’s a point in the union of all even-dimensional balls of radius .
Physicists would call this union the ‘phase space’ of our collection of oscillators. Its volume is the sum of the volumes of the balls:
Actually physicists would include the constants that I’m hiding, and this is actually somewhat interesting. For example, to make the area 2-form dimensionless, they divide it by Planck’s ‘quantum of action’. This is what allows them to add up volumes of balls (or other symplectic manifolds) of different dimensions and get something that doesn’t break the rules of dimensional analysis. But this also brings Planck’s constant into a question of classical statistical mechanics—a surprise, but a surprise that’s well-known among experts: it shows up in computations such as the entropy of an ideal gas.
And indeed, entropy is exactly what I’m interested in now! Why would a physicist care about the volume of phase space for a collection of arbitrarily many oscillators with total energy ? Here’s why: if all we know about this collection of oscillators is that it’s energy is , its entropy is just the logarithm of this phase space volume! So, it’s
Nice!
Physicists will not like how I tucked all the constants under the rug, getting a formula for entropy that’s missing things like Boltzmann’s constant and Planck’s constant, as well as the mass of the particles in our harmonic oscillators, and their spring constant. I leave it as a challenge to restore all these constants correctly. I suspect that the will get eaten by the hiding in Planck’s constant . This I know: we will get something proportional to , but with units of entropy.
This is what I’ve got so far. It’s not yet a new proof that the volumes of all even-dimensional balls of radius sum to
but rather a physical interpretation of this fact. Maybe someone can keep the ball rolling….
Re: Even-Dimensional Balls
This is a bit of a diversion that’s orthogonal to the physical interpretation, but the basic formula generalises in a nice way to the -norm.
The volume of a ball in under the -norm is:
This formula comes from “Volumes of Generalized Unit Balls” by Xianfu Wang, Mathematics Magazine Vol. 78, No. 5 (Dec., 2005), pp. 390-395, via Anand Sarwate and John D Cook.
We then have:
and hence:
If you put and take out the factor of , this includes the fact that the sum of the volumes of the -dimensional simplices where orthogonal edges of length meet at one vertex is just .