Leo Lue
Department of Chemical & Process Engineering
University of Strathclyde
Ludwig Boltzmann, who spent much of his life studying statistical mechanics, died in 1906, by his own hand. Paul Ehrenfest, carrying on the work, died similarly in 1933. Now it is our turn to study statistical mechanics. Perhaps it will be wise to approach the subject cautiously.
(Opening lines of "States of Matter", by D.L. Goodstein).
Thermodynamics is a phenomenological theory that describes the properties of systems, and their relationships, when in equilibrium.
First law of thermodynamics: Energy cannot be created or destroyed, but it can transform from one form to another.
Clausius statement: No process is possible whose sole result is the transfer of heat from a body of lower temperature to a body of higher temperature.
Kelvin-Planck statement: No process is possible in which the sole result is the absorption of heat from a reservoir and its complete conversion into work.
first law
second law
combined first and second laws
For general transformations:
For quasi-equilibrium transformation without extracting work:
For quasi-equilibrium transformations:
For \(f(x,y,z)\):
This implies \(S(N,V,E)\) and
For quasi-equilibrium transformations:
This implies \(E(N,V,S)\) and
At equilibrium, \(S(N,V,E)\) and
Mixed partial derivatives:
Maxwell relations:
For general transformations:
For general transformations:
If we do not extract or do work on the system (i.e. \(\delta W'=0\)) and we hold \(E\), \(V\), and \(N\) constant:
For a system at fixed \(N\), \(V\), and \(E\), the entropy is maximized at equilibrium.
\(E(N,V,S)\):
Helmholtz free energy: \(A=E - TS\)
So we find \(A(N,V,T)\).
internal energy: \(E(N,V,S)\)
Helmholtz free energy: \(A(N,V,T)=E-TS\)
Gibbs free energy: \(G(N,T,p)=E+pV-TS=A+pV\)
enthalpy: \(H(N,p,S)=U+pV\)
The free energy represents the maximum work that can be extracted from a transformation if it is spontaneous or the minimum work required to perform a transformation if it is non-spontaneous.
particle systems
Hamiltonian: \(H({\boldsymbol\Gamma})=U({\bf r}_1,\dots{\bf r}_N)+K({\bf p}_1,\dots,{\bf p}_N)\)
Newton's equation of motion
where \(m_\alpha\) is the mass, \({\bf r}_\alpha\) is the position, and \({\bf p}_\alpha\) is the momentum of particle \(\alpha\).
Conservative force:
where \(V({\bf r}_1, {\bf r}_2,\dots,{\bf r}_N)\) is the interaction potential.
Hamiltonian:
Equations of motion:
The Hamiltonian dictates the dynamics (i.e. time evolution) of the system.
We can treat an ensemble of systems flowing around phase space as an incompressible fluid with density \(\rho(\boldsymbol{\Gamma})\), thus it behaves as follows:
where
which should be familiar to you as a simplification of the continuity equation from any fluid flow class you might have had:
This is the foundation of kinetic theory, as from here comes the BBGKY heirarchy and ultimately Boltzmann's/Enskog's equation.
The state of a system is characterized by a function (abstract vector): the wave function. For a system of \(N\) particles:
Probability distribution that the particles are in configuration \({\bf r}_1\), \({\bf r}_2\),… \({\bf r}_N\) is
Hamiltonian:
Time dependent Schrodinger equation:
The Hamiltonian dictates the dynamics (i.e. time evolution) of the system.
Detailed balance: There exists a stationary distribution \(\rho^*({\boldsymbol\Gamma})\) such that
dynamics (discrete states)
trajectory average:
ensemble average
Mathematically, the density of states is given by
where \(\delta E\ll E\).
Volume element in phase space:
where \(h\) is Planck's constant.
God does not play dice. A. Einstein
God does play dice with the universe. All the evidence points to him being an inveterate gambler, who throws the dice on every possible occasion. S. Hawking
You are the omnipotent being of your simulation, so you get to choose:
But are these equivalent? If so, the system is ergodic
A system with fixed \(N\), \(V\), and \(E\) is equally likely to be found in any of its \(\Omega(N,V,E)\) microscopic states. Microstates with the same energy has an equal probability of being occupied.
Consider two subsets of states, \(\Omega_A\) and \(\Omega_B\). A system is more likely to be found in set \(A\) if \(\Omega_A>\Omega_B\).
Therefore \(S(\Omega_A)>S(\Omega_B)\) as \(A\) is more likely, thus \(S\) must be a monotonically increasing function in \(\Omega\).
As states increase multiplicatively, yet entropy is additive, the relationship must be logarithmic.
where \(W=\Omega\), and \(k.=k_B\).
where \(k_B=1.3806503\times10^{-23}\) J K\(^{-1}\) is the Boltzmann constant.
Fundamental equation of thermodynamics:
where \(\beta=1/(k_B\,T)\).
At fixed \(N\), \(V\), and \(E\), \(\Omega(N,V,E)\) is maximized at equilibrium.
Once the density of states \(\Omega(N,V,E)\) is known, all the thermodynamic properties of the system can be determined.
Phase space is so unbelievably big even for small systems it actually "feels" impossible for any trajectory to meaningfully visit all microstates (or come close enough to do so) in finite time.
Practically, in simulation we typically just check averages are converging and hope we are "effectively" ergodic. Like a lot of things in simulation, you presume it might be true but verify as best you can.
There are many techniques for accelerating dynamics past energy barriers and "encourage" good sampling of phase space which you will learn about in your MC lectures. These are also applied more frequently to MD simulations too.