# Activity coefficient

In thermodynamics, an activity coefficient is a factor used to account for deviation of a mixture of chemical substances from ideal behaviour. In an ideal mixture, the microscopic interactions between each pair of chemical species are the same (or macroscopically equivalent, the enthalpy change of solution and volume variation in mixing is zero) and, as a result, properties of the mixtures can be expressed directly in terms of simple concentrations or partial pressures of the substances present e.g. Raoult's law. Deviations from ideality are accommodated by modifying the concentration by an activity coefficient. Analogously, expressions involving gases can be adjusted for non-ideality by scaling partial pressures by a fugacity coefficient.
The concept of activity coefficient is closely linked to that of activity in chemistry.

## Thermodynamic definition

The chemical potential, $\mu _{\mathrm {B} }$, of a substance B in an ideal mixture of liquids or an ideal solution is given by
    $\mu _{\mathrm {B} }=\mu _{\mathrm {B} }^{\ominus }+RT\ln x_{\mathrm {B} }\,$,
where μ$^o$ $_B$ is the chemical potential of a pure substance $\mathrm {B}$, and $x_{\mathrm {B} }$ is the mole fraction of the substance in the mixture.
This is generalised to include non-ideal behavior by writing
    $\mu _{\mathrm {B} }=\mu _{\mathrm {B} }^{\ominus }+RT\ln a_{\mathrm {B} }\,$
when $a_{\mathrm {B} }$ is the activity of the substance in the mixture,
    $a_{\mathrm {B} }=x_{\mathrm {B} }\gamma _{\mathrm {B} }$,
where $\gamma _{\mathrm {B} }$ is the activity coefficient, which may itself depend on $x_{\mathrm {B} }$. As $\gamma _{\mathrm {B} }$ approaches 1, the substance behaves as if it were ideal. For instance, if $\gamma _{\mathrm {B} }$ ≈ 1, then Raoult's law is accurate. For $\gamma _{\mathrm {B} }$ > 1 and $\gamma _{\mathrm {B} }$ < 1, substance B shows positive and negative deviation from Raoult's law, respectively. A positive deviation implies that substance B is more volatile.
In many cases, as $x_{\mathrm {B} }$ goes to zero, the activity coefficient of substance B approaches a constant; this relationship is Henry's law for the solvent. These relationships are related to each other through the Gibbs–Duhem equation. Note that in general activity coefficients are dimensionless.
In detail: Raoult's law states that the partial pressure of component B is related to its vapor pressure (saturation pressure) and its mole fraction $x_{\mathrm {B} }$ in the liquid phase,
    $p_{\mathrm {B} }=x_{\mathrm {B} }\gamma _{\mathrm {B} }p_{\mathrm {B} }^{\sigma }\;,$
with the convention $\lim _{x_{\mathrm {B} }\to 1}\gamma _{\mathrm {B} }=1\;.$ In other words: Pure liquids represent the ideal case.
At infinite dilution, the activity coefficient approaches its limiting value, $\gamma _{\mathrm {B} }$$^∞$. Comparison with Henry's law,
    $p_{\mathrm {B} }=K_{\mathrm {H,B} }x_{\mathrm {B} }\quad {\text{for}}\quad x_{\mathrm {B} }\to 0\;,$
immediately gives
    $K_{\mathrm {H,B} }=p_{\mathrm {B} }^{\sigma }\gamma _{\mathrm {B} }^{\infty }\;.$
In other words: The compound shows nonideal behavior in the dilute case.
The above definition of the activity coefficient is impractical if the compound does not exist as a pure liquid. This is often the case for electrolytes or biochemical compounds. In such cases, a different definition is used that considers infinite dilution as the ideal state:
    $\gamma _{\mathrm {B} }^{\dagger }\equiv \gamma _{\mathrm {B} }/\gamma _{\mathrm {B} }^{\infty }$
with $\lim _{x_{\mathrm {B} }\to 0}\gamma _{\mathrm {B} }^{\dagger }=1\;,$ and
    $\mu _{\mathrm {B} }=\underbrace {\mu _{\mathrm {B} }^{\ominus }+RT\ln \gamma _{\mathrm {B} }^{\infty }} _{\mu _{\mathrm {B} }^{\ominus \dagger }}+RT\ln \left(x_{\mathrm {B} }\gamma _{\mathrm {B} }^{\dagger }\right)$
The $^{\dagger }$ symbol has been used here to distinguish between the two kinds of activity coefficients. Usually it is omitted, as it is clear from the context which kind is meant. But there are cases where both kinds of activity coefficients are needed and may even appear in the same equation, e.g., for solutions of salts in (water + alcohol) mixtures. This is sometimes a source of errors.
Modifying mole fractions or concentrations by activity coefficients gives the effective activities of the components, and hence allows expressions such as Raoult's law and equilibrium constants to be applied to both ideal and non-ideal mixtures.

### Ionic solutions

Knowledge of activity coefficients is particularly important in the context of electrochemistry since the behaviour of electrolyte solutions is often far from ideal, even starting at low densities due to the effects of the ionic atmosphere. Additionally, they are particularly important in the context of soil chemistry due to the low volumes of solvent and, consequently, the high concentration of electrolytes.
For solution of substances which ionize in solution the activity coefficients of the cation and anion cannot be experimentally determined independently of each other because solution properties depend on both ions. Single ion activity coefficients must be linked to the activity coefficient of the dissolved electrolyte as if undissociated. In this case a mean stoichiometric activity coefficient of the dissolved electrolyte, γ$_±$, is used. It is called stoichiometric because it expresses both the deviation from the ideality of the solution and the incomplete ionic dissociation of the ionic compound which occurs especially with the increase of its concentration.
For a 1:1 electrolyte, such as NaCl it is given by the following:
    $\gamma _{\pm }={\sqrt {\gamma _{+}\gamma _{-}}}$
where $\gamma _{\mathrm {+} }$ and $\gamma _{\mathrm {-} }$ are the activity coefficients of the cation and anion respectively.
More generally, the mean activity coefficient of a compound of formula $A_{\mathrm {p} }B_{\mathrm {q} }$ is given by
    $\gamma _{\pm }={\sqrt[{p+q}]{\gamma _{\mathrm {A} }^{p}\gamma _{\mathrm {B} }^{q}}}.$
The prevailing view that single ion activity coefficients are unmeasurable independently, or perhaps even physically meaningless, has its roots in the work of Guggenheim in the late 1920s. In this view, the partitioning of the physical electrochemical potentials into an activity contribution and a Galvani potential contribution is arbitrary, thus nonidealities in ion activities can be remapped to nonidealities in Galvani potential and vice versa. Nevertheless, certain products of activities (such as $\gamma _{\pm }$) reflect a charge-neutral stoichiometry that is anyway insensitive to this partitioning, so these products are physically meaningful even if the single-ion activities are not. However, chemists have never been able to give up the idea of single ion activities, and by implication single ion activity coefficients. For example, pH is defined as the negative logarithm of the hydrogen ion activity. If the prevailing view on the physical meaning and measurability of single ion activities is correct then defining pH as the negative logarithm of the hydrogen ion activity places the quantity squarely in the unmeasurable category. Recognizing this logical difficulty, International Union of Pure and Applied Chemistry (IUPAC) states that the activity-based definition of pH is a notional definition only. Despite the prevailing negative view on the measurability of single ion coefficients, the concept of single ion activities continues to be discussed in the literature.

## Experimental determination of activity coefficients

Activity coefficients may be determined experimentally by making measurements on non-ideal mixtures. Use may be made of Raoult's law or Henry's law to provide a value for an ideal mixture against which the experimental value may be compared to obtain the activity coefficient. Other colligative properties, such as osmotic pressure may also be used.

### Radiochemical methods

Activity coefficients can be determined by radiochemical methods.

### At infinite dilution

Activity coefficients for binary mixtures are often reported at the infinite dilution of each component. Because activity coefficient models simplify at infinite dilution, such empirical values can be used to estimate interaction energies. Examples are given for water:
Binary solutions with water :
| X | γ$_x$$^∞$ (K) | γ$_W$$^∞$ (K) |
| Ethanol | 4.3800 (283.15) | 3.2800 (298.15) |
| Acetone | | 6.0200 (307.85) |

## Theoretical calculation of activity coefficients

Activity coefficients of electrolyte solutions may be calculated theoretically, using the Debye–Hückel equation or extensions such as the Davies equation, Pitzer equations or TCPC model. Specific ion interaction theory (SIT) may also be used.
For non-electrolyte solutions correlative methods such as UNIQUAC, NRTL, MOSCED or UNIFAC may be employed, provided fitted component-specific or model parameters are available. COSMO-RS is a theoretical method which is less dependent on model parameters as required information is obtained from quantum mechanics calculations specific to each molecule (sigma profiles) combined with a statistical thermodynamics treatment of surface segments.
For uncharged species, the activity coefficient γ$_0$ mostly follows a salting-out model:
    $\log _{10}(\gamma _{0})=bI$
This simple model predicts activities of many species (dissolved undissociated gases such as CO$_2$, H$_2$S, NH$_3$, undissociated acids and bases) to high ionic strengths (up to 5 mol/kg). The value of the constant b for CO$_2$ is 0.11 at 10 °C and 0.20 at 330 °C.
For water as solvent, the activity a$_w$ can be calculated using:
    $\ln(a_{\mathrm {w} })={\frac {-\nu b}{55.51}}\varphi$
where ν is the number of ions produced from the dissociation of one molecule of the dissolved salt, b is the molality of the salt dissolved in water, φ is the osmotic coefficient of water, and the constant 55.51 represents the molality of water. In the above equation, the activity of a solvent (here water) is represented as inversely proportional to the number of particles of salt versus that of the solvent.

### Link to ionic diameter

The ionic activity coefficient is connected to the ionic diameter by the formula obtained from Debye–Hückel theory of electrolytes:
    $\log(\gamma _{i})=-{\frac {Az_{i}^{2}{\sqrt {I}}}{1+Ba{\sqrt {I}}}}$
where A and B are constants, z$_i$ is the valence number of the ion, and I is ionic strength.

### Concentrated ionic solutions

Ionic activity coefficients can be calculated theoretically, for example by using the Debye–Hückel equation. The theoretical equation can be tested by combining the calculated single-ion activity coefficients to give mean values which can be compared to experimental values.

#### Stokes–Robinson model

For concentrated ionic solutions the hydration of ions must be taken into consideration, as done by Stokes and Robinson in their hydration model from 1948. The activity coefficient of the electrolyte is split into electric and statistical components by E. Glueckauf who modifies the Robinson–Stokes model.
The statistical part includes hydration index number h, the number of ions from the dissociation and the ratio r between the apparent molar volume of the electrolyte and the molar volume of water and molality b.
Concentrated solution statistical part of the activity coefficient is:
    $\ln \gamma _{s}={\frac {h-\nu }{\nu }}\ln \left(1+{\frac {br}{55.5}}\right)-{\frac {h}{\nu }}\ln \left(1-{\frac {br}{55.5}}\right)+{\frac {br(r+h-\nu )}{55.5\left(1+{\frac {br}{55.5}}\right)}}$
The Stokes–Robinson model has been analyzed and improved by other investigators. The problem with this widely accepted idea that electrolyte activity coefficients are driven at higher concentrations by changes in hydration is that water activities are completely dependent on the concentration of the ions themselves, as imposed by a thermodynamic relationship called the Gibbs-Duhem equation. This means that the activity coefficients and the corresponding water activities are linked together fundamentally, regardless of molecular-level hypotheses. Due to this high correlation, such hypotheses are not independent enough to be satisfactorily tested.

#### Ion trios

The rise in activity coefficients found with most aqueous strong electrolyte systems can be explained by increasing electrostatic repulsions between ions of the same charge which are forced together as the available space between them decreases. In this way, the initial attractions between cations and anions at the low concentrations described by Debye and Hueckel are progressively overcome. It has been proposed that these electrostatic repulsions take place predominantly through the formation of so-called ion trios in which two ions of like charge interact, on average and at distance, with the same counterion as well as with each other. This model accurately reproduces the experimental patterns of activity and osmotic coefficients exhibited by numerous 3-ion aqueous electrolyte mixtures.

## Dependence on state parameters

The derivative of an activity coefficient with respect to temperature is related to excess molar enthalpy by
    ${\bar {H}}_{i}^{\mathsf {E}}=-RT^{2}{\frac {\partial }{\partial T}}\ln(\gamma _{i})$
Similarly, the derivative of an activity coefficient with respect to pressure can be related to excess molar volume.
    ${\bar {V}}_{i}^{\mathsf {E}}=RT{\frac {\partial }{\partial P}}\ln(\gamma _{i})$

## Application to chemical equilibrium

At equilibrium, the sum of the chemical potentials of the reactants is equal to the sum of the chemical potentials of the products. The Gibbs free energy change for the reactions, Δ$_r$G, is equal to the difference between these sums and therefore, at equilibrium, is equal to zero. Thus, for an equilibrium such as
    $\alpha _{\mathrm {A} }+\beta _{\mathrm {B} }=\sigma _{\mathrm {S} }+\tau _{\mathrm {T} },$
    $\Delta _{\mathrm {r} }G=\sigma \mu _{\mathrm {S} }+\tau \mu _{\mathrm {T} }-(\alpha \mu _{\mathrm {A} }+\beta \mu _{\mathrm {B} })=0\,$
Substitute in the expressions for the chemical potential of each reactant:
    $\Delta _{\mathrm {r} }G=\sigma \mu _{S}^{\ominus }+\sigma RT\ln a_{\mathrm {S} }+\tau \mu _{\mathrm {T} }^{\ominus }+\tau RT\ln a_{\mathrm {T} }-(\alpha \mu _{\mathrm {A} }^{\ominus }+\alpha RT\ln a_{\mathrm {A} }+\beta \mu _{\mathrm {B} }^{\ominus }+\beta RT\ln a_{\mathrm {B} })=0$
Upon rearrangement this expression becomes
    $\Delta _{\mathrm {r} }G=\left(\sigma \mu _{\mathrm {S} }^{\ominus }+\tau \mu _{\mathrm {T} }^{\ominus }-\alpha \mu _{\mathrm {A} }^{\ominus }-\beta \mu _{\mathrm {B} }^{\ominus }\right)+RT\ln {\frac {a_{\mathrm {S} }^{\sigma }a_{\mathrm {T} }^{\tau }}{a_{\mathrm {A} }^{\alpha }a_{\mathrm {B} }^{\beta }}}=0$
The sum σμ$^o$ $_S$ + τμ$^o$ $_T$ − αμ$^o$ $_A$ − βμ$^o$ $_B$ is the standard free energy change for the reaction, $\Delta _{\mathrm {r} }G^{\ominus }$.
Therefore,
    $\Delta _{r}G^{\ominus }=-RT\ln K$
where K is the equilibrium constant. Note that activities and equilibrium constants are dimensionless numbers.
This derivation serves two purposes. It shows the relationship between standard free energy change and equilibrium constant. It also shows that an equilibrium constant is defined as a quotient of activities. In practical terms this is inconvenient. When each activity is replaced by the product of a concentration and an activity coefficient, the equilibrium constant is defined as
    $K={\frac {[\mathrm {S} ]^{\sigma }[\mathrm {T} ]^{\tau }}{[\mathrm {A} ]^{\alpha }[\mathrm {B} ]^{\beta }}}\times {\frac {\gamma _{\mathrm {S} }^{\sigma }\gamma _{\mathrm {T} }^{\tau }}{\gamma _{\mathrm {A} }^{\alpha }\gamma _{\mathrm {B} }^{\beta }}}$
where [S] denotes the concentration of S, etc. In practice equilibrium constants are determined in a medium such that the quotient of activity coefficients is constant and can be ignored, leading to the usual expression
    $K={\frac {[\mathrm {S} ]^{\sigma }[\mathrm {T} ]^{\tau }}{[\mathrm {A} ]^{\alpha }[\mathrm {B} ]^{\beta }}}$
which applies under the conditions that the activity quotient has a particular (constant) value.