Docsity

Partition Function-Computational Physics-Lecture Slides, Slides of Computational Physics

Toggle sidebar
bg1
Partition function
Equilibrium statistical mechanics is based upon the idea of a
partition function which contains all of the essential information
about the system under consideration. The general form for the
partition function for a classical system is
where H is the Hamiltonian for the system, T is the temperature,
and kB is the Boltzmann constant.
•The sum in Equation is over all possible states of the system and
thus depends upon the size of the system and the number of
degrees of freedom for each particle.
)/exp( TkZ B
statesall
Η
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download Partition Function-Computational Physics-Lecture Slides and more Slides Computational Physics in PDF only on Docsity!

Partition function

Equilibrium statistical mechanics is based upon the idea of a partition function which contains all of the essential information about the system under consideration. The general form for the partition function for a classical system is

where H is the Hamiltonian for the system, T is the temperature, and kB is the Boltzmann constant.

  • The sum in Equation is over all possible states of the system and thus depends upon the size of the system and the number of degrees of freedom for each particle.

Z exp( / kBT )

allstates

 (^)   Η

Partition function

  • For systems consisting of only a few interacting particles the partition function can be written down exactly with the consequence that the properties of the system can be calculated in closed form. Example:
  • Let us consider a system with N particles each of which has only two states, e.g. a non-interacting Ising model in an external magnetic field H, and which has the Hamiltonian

H kBT H kBT N Z  e ^ /^  e  /

where σ i = ± 1. The partition function for this system is simply

i

H H  i

Partition Function

Problem 2.

Work out the average magnetization per spin, using Eqn. (2.3). for a system of N non-interacting Ising spins in an external magnetic field.

Solution:

M = - ( I /N)∂F/∂H,

F = - kBT lnZ = - kBT N ln { exp(-H/kBT) + exp(+H/kBT) }

Then after a few math operations we get

M = tanh(H/kBT)

Partition Function

  • There are also a few examples where it is possible to extract exact results for very large systems of interacting particles,
  • but in general the partition function cannot be evaluated exactly.
  • Even enumerating the terms in the partition function on a computer can be a daunting task.
  • Even if we have only 10000 interacting particles, a very small fraction of Avogadro's number, with only
  • two possible states per particle, the partition function would contain 2^10000 terms!
  • The probability of any particular state of the system is also determined by the partition function. Thus, the probability that the system is in jth state is given by:
Z

P e (^ )/ kB^ T

 H ^ where system is in the^ H(μ)^ is the Hamiltonian when the μth state.

Free Energy

  • It is possible to make a direct connection between the partition function and thermodynamic quantities and we shall now briefly review these relationships.
  • The free energy of a system can be determined from the partition function from F = - kBT lnZ (2.5)
  • Where T is the temperature and Z is the partition function.
  • This relation then provides the connection between statistical mechanics and thermodynamics.

Internal Energy

  • The internal energy of a system can be obtained from the free energy via U = - T^2 ∂(F/T)/∂T (2.6)
  • By the use of a partial derivative we imply here that F will depend upon other variables as well, e.g. the magnetic field H in the above example, which are held constant in above equation.
  • This also means that if the internal energy of a system can be measured, the free energy can be extracted by appropriate integration, assuming, of course, that the free energy is known at some reference temperature.
  • Using above equation we can easily determine the temperature dependence of the internal energy for the non-interacting Ising model, and this is also shown in Fig. 2.1.

Thermodynamic potentials & corresponding ensembles

  • The internal energy is expressed as a function of the extensive variables S, V, N, etc.
  • There are situations when it is appropriate to replace some of these variables by their conjugate intensive variables;
  • and for this purpose additional thermodynamic potentials can be defined by suitable Legendre transforms of the internal energy;
  • in terms of liquid - gas variables such relations are given by: F = U - TS. (2.9a) H= U+pV, (2.9b) G = U - TS + pV, (2.9c)
  • where F is the Helmholtz free energy, H is the enthalpy, and G is the Gibbs free energy.

Thermodynamic potentials & corresponding ensembles

  • Similar expressions can be derived using other thermodynamic variables, e.g. magnetic variables.
  • The free energy is important since it is a minimum in equilibrium when T and V are held constant, while G is a minimum when T and p are held fixed.
  • Moreover, the difference in free energy between any two states does not depend on the path between the states.

Thus, in Fig. 2.2 we consider two points in the p- T plane. Two different paths which connect points 1 and 2 are shown; the difference in free energy between these two points is identical for both paths, i.e.

Ensembles

  • In the first two cases the number of particles is held constant;
  • if the number of particles is allowed to fluctuate the ensemble is called the 'grand canonical‘ ensemble.
  • Systems are often held at fixed values of intensive variables, such as temperature, pressure, etc. Then the conjugate extensive variables, energy, volume, etc. will fluctuate with time;
  • indeed these fluctuations will actually be observed during Monte Carlo simulations.