What is Statistical Mechanics?
In previous lectures, we have studied how particle positions and momenta evolve in time according to Hamilton’s equations of motion. Of course, when dealing with real systems, we are almost never concerned with the motion of all of the particles in the system and we know that materials can be well-described by simple thermodynamic laws. However, up to this point, you may feel a bit uneasy that we have swept the dynamics of particles under the rug when we discussed thermodynamics. So far, we collected all of the microscopic modes of energy transfer into the heat term and introduced the entropy fundamental relation. From these very simple assumptions we have found that we can derive nearly all of thermodynamics. But what is heat? Or entropy? To answer these questions, we need to study statistical mechanics.
We will see that statistical mechanics is a powerful tool to unite microscopic dynamics with macroscopic theory. Statistical mechanics holds whether the system is classical or quantum mechanical, and has been applied to study systems as diverse as molecular systems, black holes, and bird flocks.
Some Important Definitions
Before we dive into the primary results of statistical mechanics, let’s first set the stage with some important concepts, definitions, and notation.
Dynamical Variables
Recall that a dynamical variable was some variable
We can define the value of
which is just an integral relation for the time average of
Phase Space
The mechanical state of a system is specified by 2f variables; namely, the momentum and generalized coordinates of the
Ensemble Average
Suppose that we allow some 1-D system to evolve over a time
where
Note that this integration occurs over the entire phase space. Furthermore, note that this equation only holds if explicit time dependence of A occurs sufficiently slowly over
Since
is a probability distribution function, so it must normalize to 1. This means that,
must be non-negative so that, .
It is very reasonable to question why we would rewrite our original expression with some new, seemingly not useful function
Statistical Equilibrium
Statistical equilibrium occurs when the change in all measured dynamic variables with respect to time is zero, unless the dynamic variable depends explicitly on time. This implies that at equilibrium
and applying a first-order Taylor expansion on the probability density function gives,
Therefore, the condition of statistical equilibrium is that
Since the previous expression must hold for any choice of
The Statistical Ensemble
The concept of a statistical ensemble was introduced by Gibbs. Let’s suppose that we make
This represents the number of copies in the phase space around the point
Louiville’s Theorem and the Canonical Ensemble
Louiville’s Theorem
Recall the equation of continuity from continuum mechanics. The equation of continuity amounts to writing down a mass balance on a system noting that the total mass of a system is conserved. For some fixed region of space, referred to as a control volume, the number of particles in the control volume at any moment
where
where
where the first two terms related to the specific shape of the control volume go to zero since
Now, the term on the right hand side can be rewritten according to the divergence theorem,
which after plugging into our original expression and rearranging under the integral we obtain,
But since this holds for any
This is an expression for the equation of continuity in continuum mechanics. By analogy, in phase space we have a control volume in 2
We note that
which implies that,
or in other words, that
The Canonical Ensemble
So now the question becomes: how do we express
where C is determined by the normalization condition such that,
The statistical ensemble characterized by a
where all we have done is used new notation for the same integral we introduced earlier when we discussed ensemble averages,
for the given form of
which will allow us to relate the thermodynamic concepts of temperature, entropy, and work to the microscopic expression for
Taking the ensemble average of these quantities gives,
where we have defined two new variables given by,
Taking the total derivative of
We now need to expand the
where
and we also know from our definition of
and rewriting this expression by plugging in for
Now, let’s rewrite these partial derivatives with respect to the integral of the probability density function. This gives,
and taking the derivative of the inside gives,
Similarly,
which is just,
Combining these expressions into our expression for
and finally substituting in our original expression for
Thus, we find that the first term is related to
We choose the constant of proportionality as the Boltzmann constant,
which implies that a functional form for the entropy in terms of classical statistical mechanical variables is,
Also note that we have the relation for
which you may recognize as just the Helmholtz free energy, F, from classical thermodynamics. This gives us an approximate form for the Helmholtz free energy as,
Physical Motivation for the Canonical Ensemble
The previous section gave a definition for
In the canonical ensemble definition for the probability of observing a particle in some volume element around the point
But this means that the temperature of the system must be specified to determine
The last term arises from the interactions between the subsystem
This implies that the interaction between
We now split the subsystem
This approximate independence implies that,
since independent probabilities can be multiplied together to give the total probability. Taking the logarithm of both sides gives,
However, we know from Liouville’s Theorem that
which is precisely the form of the canonical distribution function supposed earlier. You may wonder why we can still apply Liouville’s theorem here since the system in thermal contact is not isolated. The reason for this is that over a small time interval, if the interactions between systems are sufficiently weak, then the system will behave approximately isothermally over that time. If we stitch together a large number of these time intervals, we expect to find the canonical distribution.
Applications of the Canonical Ensemble
We can use the canonical probability distribution to explore many properties of a statistical mechanical system.
The Maxwell-Boltzmann Distribution
One application is to find the distribution of momentum of a particle in a system of
where
which is just the momentum probability density function for a single particle. Proceeding in this way, let’s start with the partition function in the canonical ensemble,
and substituting
We can begin by solving for
which is equal to,
Recognizing that we now just need to take the integral over
which gives,
and finally dividing by
or equivalently,
This is known as the Maxwell-Boltzmann distribution.
The Equipartition Theorem
You may have noticed in previous examples that each quadratic term in positions or momenta contribute a factor of
and computing the canonical ensemble average of
but
which means that,
Now, this result can be trivially generalized to Hamiltonian’s of the form,
to show that
Corrections from Quantum Mechanics
We derived an equation for the Helmholtz energy using classical statistical mechanics for a particle in a box. However, we need to extend this to a general argument and introduce quantum mechanical corrections to the determined equation.
Suppose we have N identical particles (
such that
where the integrals span the 6N-dimensional phase space. Solving this integral we find that,
When we apply this to our equation for the Helmholtz energy, we find that,
Now, we need to look at this function and see if it makes sense according to classical thermodynamics. The first thing to check is if
which gives,
Therefore, we find that
Indistinguishable Particles
In classical mechanics, every particle is distinguishable from every other particle. In fact, we reasoned that we can track the position and velocity of every particle in a system and see how those variables evolve according to Newton’s equations of motion. According to quantum mechanics, however, this can’t be done even in principle! In quantum mechanics, identical particles are fundamentally indistinguishable, and therefore no computation or experiment can ever be devised to distinguish between them. This means that when we perform the integral over phase space when we calculate
Let’s now check if
for which we can apply Sterling’s approximation,
We now make the substitution
which is,
showing that,
for our new expression
The Heisenberg Uncertainty Principle
To this point, we have taken integrals over infinitesimally small regions of the phase space in position and momenta, which violates the uncertainty principle. The uncertainty principle demands that a simultaneous measurement of position and momentum satisfies,
where
assumes that all states inside the infinitesimal box
For
which for
Finally, combining our results from particle indistinguishability and the uncertainty principle gives the correct definition for the canonical partition function,
These corrections essentially amount to preventing over-counting of true quantum states with classical mechanical integrals.
Other Statistical Ensembles
Canonical Ensemble
A canonical ensemble is a collection of systems that have the same values of
where
We then found that we could derive the free energy (Helmholtz for an
and derive important relationships like,
or,
The canonical ensemble describes systems that can exchange heat with the surroundings but not volume or matter. However, the canonical ensemble is just one type of system that is relevant to real systems. It doesn’t take that much imagination to consider a system which can not only exchange heat (and thus equilibrate temperature with its surroundings) but also exchange volume or particles. These ensembles will have different probability density functions, free energies, and mathematical relationships.
The Isothermal-Isobaric Ensemble
The isothermal-isobaric ensemble is the same as a canonical ensemble aside from the pressure being held constant instead of volume. Therefore, we refer to the isothermal-isobaric ensemble as the
which can be related to statistical mechanics through the probability distribution function,
where
which can be interpreted as the volume average of canonical ensembles with weight
The isothermal-isobaric ensemble describes many experiments that are performed at constant temperature and pressure and is useful for determining the equation of state of fluids near atmospheric conditions.
The Grand Canonical Ensemble
The thermodynamic state of a system that is open, or able to exchange particles with its surroundings, is characterized by the grand potential (as an exercise, try the partial Legendre transform
An ensemble of systems having the same values of chemical potential, volume and temperature (
where
The grand canonical ensemble is used in molecular simulations for vapor-liquid equilibria and adsorption processes.
General Rules of Statistical Ensembles
The problem of statistical mechanics amounts to counting - or to find ways to avoid counting - the number of equally probable ways that a system can divide up its energy. The partition function is precisely this number, so if the partition function is known for a given ensemble, we can calculate the free energy and in principle have complete knowledge of system thermodynamics. Thus, if
Additionally, the probability distribution function for a given ensemble can allow us to calculate moments of some dynamic variable according to the equation,
regardless of the ensemble. Although we will not explore any other ensembles in this class, there are many described in the literature that must be considered in certain cases. It is therefore crucial to analyze the physical system that you want to model and determine whether or not a certain ensemble is appropriate for the target application.
References:
[1] Kusaka, Isamu. Statistical Mechanics for Engineers. Cham: Springer International Publishing, 2015.
[2] Hansen, Jean-Pierre, and I. R. McDonald. Theory of Simple Liquids: With Applications to Soft Matter. San Diego: Academic Press, 2013.
[3] Goodstein, David L. States of Matter. Courier Corporation, 2014.