Chemical potential

Consider two systems and in a reservoir such that the temperature is constant. The systems are not only in thermal contact but can also exchange particles (diffusive contact). The Helmholtz Free energy is

The total number of particles is constant (). At the minimum and

Definition: chemical potential

In equilibrium . For the particles flow from to .

Internal and total chemical potential

Definition: total chemical potential

The chemcial potential can also be written as

Because and

and

for changes with and we find

Gibbs factor and Gibbs sub

If the system has energy , the probability for occupying this state is given by the Boltzmann factor

If we include the chemical potential aswell and assume that the system and reservoir form a large body with constant energy and constant number of particles .

Gibbs factor

The probability of the system to have energy and particles is

If is the total number of states, . Assume that the reservoir is much bigger than the system.

The difference in entropy is

The Gibbs Factor is the exponential

And the probability of finding the system in state is . is the analogous to the partition function to normalize this probability: .

Definition: Gibbs sum (or Grand sum)

We write The expectation value for a variable is

The expectation vlaue for the number of particles is

Definition: Activity

and is often called fugacity.

For an ideal gas and . We write . The expectation value of the energy is

Because we have

Definition: Grand potential

The total entropy wants to be maximized

We can calculcate this grand potential as follows