Statistical Thermodynamics and Rate Theories/Derivation of thermodynamic functions and variables from partition functions

Variables of the Canonical Ensemble Edit

The Canonical Ensemble partition function depends on variables including the composition (N), volume (V) and temperature (T) of a given system, where the above partition function equation is still valid with  .

The partition function of the canonical ensemble is defined as the sum over all states of a particular system involving each states respective energies, and represented by the following equation,


In this equation,   represents the Boltzmann Constant with a value of  , T represents the temperature in kelvin and   is the energy at state j.

Internal Energy Edit

The partition function can also be related to all state functions from classical thermodynamics, such as U, A, G and S. The ensemble average of the internal energy in a given system is the thermodynamic equivalent to internal energy, as stated by the Gibbs postulate, and defined by,


Where the variable Q here represents the partition function term. For a canonical ensemble, the internal energy can be derived from the above equation by considering the derivative of Q with respect to T,


Rearranging this resulting equation for   yields,


and from the Gibbs Postulate,


Helmholtz Energy Edit

The Helmholtz Energy, or Helmholtz Free Energy, of a Canonical Ensemble represents the amount of work and energy obtainable by a certain closed system under constant concentration, volume and temperature. The expression for A utilizes both the internal energy and entropy of the system, and is derived by,


Where A is the Helmholtz Energy term, U represents the internal energy and S represents the entropy of the system being studied. Substituting the per-determined values for the canonical ensemble,




Q represents the partition function for this particular system, and is proportional to the absolute free energy. Thus, an increase in   will occur with an increase in the number of total accessible states, and a more negative free energy.

Entropy Edit

The Gibbs definition of Entropy is described by,


where   represents the Probability of being in state i and described by the weight of the state divided by the sum of all possible weights, such as,


and thus large probabilities of multiple states correlate with large values of S. By using the above Gibbs definition, the entropy of a Canonical Ensemble (NVT) can be derived, in terms of Q, to yield the following expression,


The value of Q in this equation can also be represented as  , where q is equivalent to the partition function of the molecules, with N representing the number of molecules, in the system.

The partition function is also represented by the denominator of the probability term for a certain state, given by the following,


Chemical potential Edit

The Chemical Potential, μ, represents the change in the Helmholtz free energy when an additional particle is added to the canonical ensemble system. A heterogeneous system represents a system containing more than one type of gas and the expression for the chemical potential here is μi, where i represents each differing species. This term is derived from Helmholtz free energy, A, with respect to number of molecules for a certain species i. Thus,


And utilizing the above Helmholtz expression, the following can be derived,







This definition helps describe the change in the Helmholtz free energy with a changing system composition, such as a reaction forming and/or consuming certain molecules in a system.

Heat Capacity Edit

In this section, we will complete the deviation of heat capacity in terms of the partition function Q.


According to the Gibbs postulate, the ensemble average is equal to the average internal energy, U


Substitute equation for partition function into ensemble average.


  , which is the Boltzmann's Constant.

Now substituting   you get,


 , which is the heat capacity.

To find the equation of heat capacity using Statistical Mechanics we first have to differentiate the ensemble average with respect to  .


Therefore, the equation of heat capacity with respect to the partition function Q is,