Bernoulli Numbers and the Harmonic Oscillator
Azimuth 2024-08-16
I keep wanting to understand Bernoulli numbers more deeply, and people keep telling me stuff that’s fancy when I want to understand things simply. But let me try again.
The Bernoulli numbers can be defined like this:
and if you grind them out, you get
and so on. The pattern is quite strange.
Bernoulli numbers are connected to hundreds of interesting things. For example if you want to figure out a sum like
you can use Bernoulli numbers—indeed Jakob Bernoulli boasted
It took me less than half of a quarter of an hour to find that the tenth powers of the first 1000 numbers being added together will yield the sum
91,409,924,241,424,243,424,241,924,242,500.
For some more mysterious appearances of the Bernoulli numbers, see:
• John Baez, Bernoulli numbers and the J-homomorphism.
But where the hell did this function come from?
If means derivative:
then is a so-called ‘difference operator’:
which you can show using the Taylor series for if is an entire function. So is about derivatives versus differences, and its inverse is about integrals versus sums. This lets you reduce sums like the one above to integrals… if you know your Bernoulli numbers. For details try this:
• John Baez, Bernoulli numbers.
But also shows up when you compute the expected energy of a quantum harmonic oscillator in thermal equilibrium!
Let’s work in units where Planck’s constant and Boltzmann’s constant are 1. Say we have a quantum harmonic oscillator whose allowed energies are etcetera. (Sometimes people add to each of these numbers, but let’s not.) If we compute this oscillator’s average or ‘expected’ energy at temperature and divide it by we get
where
So the quantum harmonic oscillator secretly knows about Bernoulli numbers.
What does this fact really mean??? I don’t know. I once read a book called Triangle of Thought about a conversation between Alain Connes and two other mathematicians, and he vaguely alluded to a fact of this sort, and said it was important.
I forget exactly what Connes said, so I imagine it’s something about how the Todd class in algebraic topology, which is usually defined using the function (whose power series also gives Bernoulli numbers), can be understood using the harmonic oscillator—perhaps because it appears in the Riemann–Roch theorem, which can probably be proved using ideas from quantum field theory (since it’s a special case of the Atiyah–Singer index theorem, which has a quantum proof). But all this erudite stuff is probably a complicated spinoff of the basic ideas, and I’d like to understand the basic ideas first.
By the way, here you can see a calculation of the expected energy of a quantum harmonic oscillator:
• Harmonic oscillator statistics.
And here’s a little sanity check which is rather revealing. I said the expected energy divided by temperature is
where But in the limit the quantum harmonic oscillator should reduce to the classical harmonic oscillator. For that, the expected energy divided by temperature is just 1, since the oscillator has 2 degrees of freedom (position and momentum), and the equipartition theorem, which holds for classical systems with quadratic Hamiltonians, says we should get 1/2 times the number of degrees of freedom. And indeed, it works just as we’d expect:
This limit is also, by definition, the zeroth Bernoulli number. So the zeroth Bernoulli number is telling us the energy over temperature of a quantum harmonic oscillator in the high-temperature limit! This lets us understand the other Bernoulli numbers better. The rest of the Bernoulli numbers are telling us all the ‘low-temperature corrections’ to the oscillator’s energy over temperature:
where .
You can also think of these low-temperature corrections as ‘quantum corrections’. Why? At high temperatures the effects due to the discrete energy levels of the quantum harmonic oscillator become unimportant, because there’s so much energy around that the tiny spacing between these energy levels becomes negligible, and we might as well be dealing with a classical harmonic oscillator. But at low temperatures it becomes important that we’re working with a quantum harmonic oscillator.
I hope that if I think about it a bit harder, I’ll see that we’re using an analogy:
and that Bernoulli numbers arise from comparing the derivative and the difference operator—or comparing the classical harmonic oscillator with its continuous energy spectrum, to the quantum oscillator, with its discretely spaced energy spectrum—or more poetically, the continuous and the discrete!