A simple, exactly solvable problem that exhibits negative temperatures is the following:
Suppose we have a lattice of N magnetic dipoles each of which can either point up or down. We impose a magnetic field, and the resulting energy of the system is given by:
[itex]E = E_0 + K j[/itex]
where [itex]E_0[/itex] is the minimum energy, when all the dipoles point down, and [itex]j[/itex] is the number of dipoles that point up, and [itex]K[/itex] is some constant.
Let's shift the energy so that [itex]E_0 = \frac{K N}{2}[/itex]. So the energy is zero when half the dipoles are pointing up, and half are pointing down. Then the energy just counts the "excess" of spin-up dipoles: [itex]E = (j - \frac{N}{2}) K[/itex]. The number of possible states with energy [itex]E[/itex] is combinatorially given by
[itex]W(E) = \dfrac{N!}{(\frac{N}{2} + \frac{E}{K})! (\frac{N}{2} - \frac{E}{K})!}[/itex]
The entropy [itex]S(E)[/itex] is just given by:
[itex]S(E) = k\ log(W)[/itex]
where [itex]k[/itex] is Boltzmann's constant.
We can use Stirling's approximation to compute the logarithms:
[itex]log(n!) \approx n log(n)[/itex]
Using this, we compute:
[itex]S(E) = -k\ [(\frac{N}{2} + \frac{E}{K})log(\frac{1}{2} + \frac{E}{NK}) + (\frac{N}{2} - \frac{E}{K})log(\frac{1}{2} - \frac{E}{NK})][/itex]
Now, we compute [itex]\dfrac{1}{T} = \dfrac{\partial S}{\partial E}[/itex]
[itex]\dfrac{\partial S}{\partial E} = \dfrac{1}{K} \dfrac{\partial S}{\partial j}[/itex]
[itex]= \dfrac{k}{K}\ log(\dfrac{\frac{N}{2} - \frac{E}{K}}{\frac{N}{2} + \frac{E}{K}})[/itex]
In terms of temperature, we can see:
- When [itex]E \rightarrow -\frac{NK}{2}[/itex], [itex]\dfrac{\partial S}{\partial E} \rightarrow +\infty[/itex], so [itex]T \rightarrow 0+[/itex].
- When [itex]E \rightarrow 0[/itex], [itex]\dfrac{\partial S}{\partial E} \rightarrow 0[/itex], so [itex]T \rightarrow \infty[/itex].
- When [itex]E \rightarrow +\frac{NK}{2}[/itex], [itex]\dfrac{\partial S}{\partial E} \rightarrow -\infty[/itex], so [itex]T \rightarrow 0-[/itex].
So things look kindof normal for small values of [itex]E[/itex]. When [itex]E[/itex] is a minimum, [itex]T \rightarrow[/itex]
absolute zero. As the energy rises, so does [itex]T[/itex] until the point [itex]E = \frac{NK}{2}[/itex]. At this point, the system is
infinitely hot. For [itex]E > \frac{NK}{2}[/itex], the temperature is
negative, meaning in a sense that it is
hotter than infinitely hot.
The behavior of [itex]T[/itex] is actually more sensible if you look at the factor [itex]e^{-\frac{1}{kT}}[/itex]. This quantity rises from [itex]0[/itex] at [itex]E = -\frac{NK}{2}[/itex] to 1 at [itex]E = 0[/itex] to [itex]+\infty[/itex] at [itex]E = +\frac{NK}{2}[/itex]. This factor in statistical mechanics tells the extent to which higher energy levels are occupied, and the larger it is, the "hotter".