# Statistical mechanics

Statistical mechanics is the application of statistics, which includes mathematical tools for dealing with large populations, to the field of Mechanics, which is concerned with the motion of particles or objects when subjected to a force. It provides a framework for relating the microscopic properties of individual atoms and molecules to the macroscopic or bulk properties of materials that can be observed in every day life, therefore explaining thermodynamics as a natural result of statistics and mechanics (classical and quantum). In particular, it can be used to calculate the thermodynamic properties of bulk materials from the spectroscopic data of individual molecules.

At the heart of statistical mechanics is the partition function (see Derivation of the partition function):

where is Boltzmann's constant, is the temperature and reflects each possible energetic state of the system. This is the version for systems which don't allow an exchange of matter. Otherwise, we would have to introduce chemical potentials, μj, j=1,...,n and replace the partition function with

where Nij is the number of jth species particles in the ith configuration. Sometimes, we also have other variables to add to the partition function, one corresponding to each conserved quantity. Most of them, however, can be safely interpreted as chemical potentials. For the rest of this article, we will ignore this complication and pretend chemical potentials don't matter.

The partition function provides a measure of the total number of energetic states available to the system at a given temperature. Similarly,

provides a measure of the number of energetic states of a particular energy that are likely to be occupied at a given temperautre.

Dividing the second equation by the first equation gives the probability of finding the system in a particular energetic state, :

This probability can be used to find the average value, which corresponds to the macroscopic value, of any property, , that depends on the energetic state of the system by using the formula:

where is the average value of property . This equation can be applied to the internal energy, , and pressure, :

Subsequently, these equations can be combined with known thermodynamic relationships between and to arrive at an expression for in terms of only temperature, volume and the partition function. Similar relationships in terms of the partition function can be derived for other thermodynamic properties as shown in the following table.

 Helmholtz free energy: Internal energy: Pressure: Entropy: Gibbs free energy: Enthalpy: Constant Volume Heat Capacity: Constant Pressure Heat Capacity: Chemical potential:

It is often useful to consider the energy of a given molecule to be distributed among a number of modes. For example, translational energy refers to that portion of energy associated with the motion of the center of mass of the molecule. Configurational energy refers to that portion of energy associated with the various attractive and repulsive forces between molecules in a system. The other modes are all considered to be internal to each molecule. They include rotational, vibrational, electronic and nuclear modes. If we assume that each mode is independent (a very questionable assumption!!!!!) the total energy can be expressed as the sum of each of the components:

Where the subscripts t, c, n, e, r, and v correspond to translational, configurational, nuclear, electronic, rotational and vibrational modes, respectively. The relationship in this equation can be substituted into the very first equation to give:

Thus a partition function can be defined for each mode. Simple expressions have been derived relating each of the various modes to various measurable molecular properties, such as the characteristic rotational or vibrational frequencies.

Expressions for the various molecular partition functions are shown in the following table.

 Nuclear Electronic vibrational rotational (linear) rotational (non-linear) Translational Configurational (ideal gas)

These equations can be combined with those in the first table to determine the contribution of a particular energy mode to a thermodynamic property. For example the "rotational pressure" could be determined in this manner. The total pressure could be found by summing the pressure contributions from all of the individual modes, ie: