The Space of Physical Frameworks (Part 2)
Azimuth 2024-09-08
I’m trying to work out how classical statistical mechanics can reduce to thermodynamics in a certain limit. I sketched out the game plan in Part 1 but there are a lot of details to hammer out. While I’m doing this, let me stall for time by explaining more precisely what I mean by ‘thermodynamics’. Thermodynamics is a big subject, but I mean something more precise and limited in scope.
Thermostatic systems
A lot of what we call ‘thermodynamics’, or more precisely ‘classical thermodynamics’, has nothing to do with dynamics. It’s really about systems in equilibrium, not changing, so it actually deserves to be called ‘thermostatics’. Here’s one attempt to formalize a core idea:
Definition. A thermostatic system is a convex space together with a concave function We call the space of states, and call the entropy of the state
There’s a lot packed into this definition:
- The general concept of convex space: it’s roughly a set where you can take convex combinations of points like where
- How we make into a convex space: it’s pretty obvious, except that beats in convex combinations, like
- What’s a ‘concave’ function : it’s a function with
for
To see all the details spelled out with lots of examples, try this:
• John Baez, Owen Lynch and Joe Moeller, Compositional thermostatics, J. Math. Phys. 64 (2023) 023304. (Blog articles here.)
We actually defined a category of thermostatic systems and maps between them.
What you can do with a thermostatic system
For now I will only consider thermostatic systems where made into a convex set in the usual way. The idea here is that a state is solely determined by its energy which is some nonnegative number. I’m trying to keep things as simple as possible, and generalize later only if my overall plan actually works.
Here’s what people do in this very simple setting. Our thermostatic system is a concave function
describing the entropy of our system when it has energy But often entropy is also a strictly increasing function of energy, with as In this case, it’s impossible for a system to literally maximize entropy. What it does instead is maximize ‘entropy minus how much it spends on energy’ — just as you might try to maximize the pleasure you get from eating doughnuts minus your displeasure at spending money. Thus, if is the ‘cost’ of energy, our system tries to maximize
The rough intuition you should have is this. When it’s hot, energy is cheap and our system’s energy can afford to be high. When it’s cold, energy costs a lot and our system will not let its energy get too high.
If as a function of is differentiable and has a maximum, the maximum must occur at a point where
or
Physically, the cost is the reciprocal of a quantity called temperature:
So, should be called inverse temperature, and our derivative formula says
Temperature is more familiar, but the math will work better for us if we use the inverse temperature.
Suppose we have a system maximizing for some value of The maximum value of is called free entropy and denoted In short:
This way of defining in terms of is called a Legendre–Fenchel transform, though conventions vary about the precise definition of this transform, and also its name. Since I’m lazy, I’ll just call it the Legendre transform.
The great thing about Legendre transforms is that if a function is convex and lower semicontinuous, when you take its Legendre transform twice you get that function back! This is part of the Fenchel–Moreau theorem. So under these conditions we automatically get another formula that looks very much like the one we’ve just seen:
When is differentiable and has a maximum as a function of this maximum must occur at a point where
or
Summary
Starting from a thermostatic system we get a beautifully symmetrical pair of relations:
When is differentiable and the supremum at left is achieved at some unique energy then
at this value of and this formula lets us compute the inverse temperature as a function of Similarly, when is differentiable and the supremum at right is achieved at some unique then
at this value of and this formula lets us compute as a function of
When we describe a thermostatic system as a limit of classical statistical mechanical systems, these are the formulas we’d like to see emerge in the limit!
Appendix: free energy
If you’ve never heard of ‘free entropy’, you may be relieved to hear it’s a repackaging of the more familiar concept of ‘free energy’. The free energy or more specifically the Helmholtz free energy, is related to the free entropy by
We could rewrite all the formulas above in terms of temperature and free energy instead of inverse temperature and free entropy. We’d get formulas that are more familiar to students of thermodynamics, yet less systematic and symmetrical if we are trying to study thermostatic systems using Legendre transforms. Showing you these would only be helpful to die-hard fans of thermodynamics. The rest of you would only become more confused. So I won’t do it!