# Excess chemical potential

The excess chemical potential is defined as the difference between the chemical potential of a given species and that of an ideal gas under the same conditions (in particular, at the same pressure, temperature, and composition).[1] The chemical potential of a particle species ${\displaystyle i}$ is therefore given by an ideal part and an excess part.

${\displaystyle \mu _{i}=\mu _{i}^{\text{ideal}}+\mu _{i}^{\text{excess}}}$

Chemical potential of a pure fluid can be estimated by the Widom insertion method.

## Derivation and Measurement

For a system of diameter ${\displaystyle L}$ and volume ${\displaystyle V}$, at constant temperature :${\displaystyle T}$, the classical canonical partition function ${\displaystyle Q(N,V,T)={\frac {V^{N}}{\Lambda ^{dN}N!}}\int _{0}^{1}\ldots \int _{0}^{1}ds^{N}\exp[-\beta U(s^{N};L)]}$ with ${\displaystyle s}$ a scaled coordinate.

Therefore, the free energy is given by

${\displaystyle F(N,V,T)=-k_{B}T\ln Q=-k_{B}T\ln \left({\frac {V^{N}}{\Lambda ^{dN}N!}}\right)-k_{B}T\ln {\int ds^{N}\exp[-\beta U(s^{N};L)]}=}$
${\displaystyle =F_{id}(N,V,T)+F_{ex}(N,V,T)}$

combining the above equation with the definition of chemical potential, ${\displaystyle \mu _{a}=\left({\frac {\partial F}{\partial N_{a}}}\right)_{VT}=\left({\frac {\partial G}{\partial N_{a}}}\right)_{PT}}$,

we get the chemical potential of a sufficiently large system from (and the fact that the smallest allowed change in the particle number is ${\displaystyle \Delta N=1}$)

${\displaystyle \mu ={\frac {-k_{B}T\ln(Q_{N+1}/Q_{N})}{\Delta N}}{\overset {\Delta N=1}{=}}-k_{B}T\ln \left({\frac {V/\Lambda ^{d}}{N+1}}\right)-k_{B}T\ln {\frac {\int ds^{N+1}\exp[-\beta U(s^{N+1})]}{\int ds^{N}\exp[-\beta U(s^{N})]}}=\mu _{id}(\rho )+\mu _{ex}}$

wherein the chemical potential of an ideal gas can be evaluated analytically. Now let's focus on ${\displaystyle \mu _{ex}}$, since the potential energy of an N+1 particle system can be separated into the potential energy of an N particle system and the potential of the excess particle interacting with the N particle system, that is,

${\displaystyle \Delta U\equiv U(s^{N+1})-U(s^{N})}$

and

${\displaystyle \mu _{ex}=-k_{B}T\ln \int ds_{N+1}\langle \exp(-\beta \Delta U)\rangle _{N}}$.

Thus far we converted the excess chemical potential into an ensemble average, and the integral in the above equation can be sampled by the brute force Monte Carlo method.

The calculating of excess chemical potential is not limited to homogeneous systems, but has also been extended to inhomogeneous systems by the Widom insertion method, or other ensembles such as NPT and NVE.

Apparent molar property

## References

1. Frenkel, Daan; Smit, Berend (2001). Understanding Molecular Simulation : from algorithms to applications. San Diego, California: Academic Press. ISBN 0-12-267351-4.