Part II: Thermodynamics & Equations of State

Mixtures & Solutions

A rigorous treatment of ideal and non-ideal mixtures: Raoult's law, colligative properties, Henry's law, regular solution theory, and their applications to distillation, osmotic processes, and phase equilibria

1. Introduction — Ideal and Non-Ideal Mixtures

A mixture is a system containing two or more chemical species. When we dissolve a solute in a solvent, or combine two miscible liquids, the thermodynamic properties of the resulting solution depend on the nature and strength of the intermolecular interactions between the components. The central quantity governing mixture behavior is the chemical potential \(\mu_i\), which determines how the Gibbs energy changes when species \(i\) is added to the system.

Ideal Mixtures

In an ideal mixture, the intermolecular interactions between unlike molecules (A–B) are identical to those between like molecules (A–A and B–B). The enthalpy of mixing is exactly zero: \(\Delta H_{\text{mix}} = 0\). The only driving force for mixing is the entropy increase associated with the increased number of accessible microstates.

Examples: benzene + toluene, hexane + heptane — structurally similar molecules with nearly identical intermolecular forces.

Non-Ideal Mixtures

Real solutions exhibit deviations from ideal behavior because A–B interactions differ from A–A and B–B interactions. Positive deviations (\(\Delta H_{\text{mix}} > 0\)) occur when A–B interactions are weaker; negative deviations (\(\Delta H_{\text{mix}} < 0\)) when A–B interactions are stronger.

Positive: ethanol + hexane. Negative: chloroform + acetone (hydrogen bonding between unlike molecules).

The thermodynamic framework for mixtures relies on partial molar quantities. For any extensive property \(Y\) (volume, entropy, Gibbs energy), the partial molar quantity of component \(i\) is:

\(\bar{Y}_i = \left(\frac{\partial Y}{\partial n_i}\right)_{T,P,n_{j \neq i}}\)

The partial molar Gibbs energy is precisely the chemical potential: \(\bar{G}_i = \mu_i\).

For an ideal gas mixture, the chemical potential of component \(i\) is:

\(\mu_i^{\text{ig}}(T,P) = \mu_i^{\circ}(T) + RT \ln\left(\frac{P_i}{P^{\circ}}\right) = \mu_i^{\circ}(T) + RT \ln\left(\frac{y_i P}{P^{\circ}}\right)\)

where \(y_i\) is the mole fraction in the gas phase, \(P_i = y_i P\) is the partial pressure, and \(\mu_i^{\circ}(T)\) is the standard chemical potential at pressure \(P^{\circ}\).

2. Derivation: Raoult's Law and Ideal Solutions

Raoult's law follows directly from requiring thermodynamic equilibrium between liquid and vapor phases. At equilibrium, the chemical potential of each component must be equal in both phases:

\(\mu_i^{\text{liquid}}(T,P) = \mu_i^{\text{vapor}}(T,P)\)

For the vapor phase (treated as ideal gas), the chemical potential is:

\(\mu_i^{\text{vapor}} = \mu_i^{*,\text{vapor}}(T) + RT \ln\left(\frac{P_i}{P_i^*}\right)\)

where \(P_i^*\) is the vapor pressure of pure component \(i\) at temperature \(T\). For the liquid phase of an ideal solution, we define the chemical potential using the convention that intermolecular interactions are identical for all species:

\(\mu_i^{\text{liquid}} = \mu_i^{*,\text{liquid}}(T,P) + RT \ln x_i\)

where \(x_i\) is the mole fraction in the liquid phase and \(\mu_i^{*,\text{liquid}}\) is the chemical potential of pure liquid \(i\). For the pure component (\(x_i = 1\)), liquid-vapor equilibrium gives \(\mu_i^{*,\text{liquid}} = \mu_i^{*,\text{vapor}}\). Substituting the equilibrium condition:

\(\mu_i^{*,\text{liquid}} + RT \ln x_i = \mu_i^{*,\text{vapor}} + RT \ln\left(\frac{P_i}{P_i^*}\right)\)

\(RT \ln x_i = RT \ln\left(\frac{P_i}{P_i^*}\right)\)

\(\boxed{P_i = x_i \, P_i^*}\)

Raoult's Law: The partial vapor pressure of each component equals its mole fraction times the vapor pressure of the pure component.

Thermodynamics of Ideal Mixing

For \(n\) moles of an ideal solution, the Gibbs energy of mixing is obtained by comparing the Gibbs energy of the mixture with that of the separated pure components:

\(\Delta G_{\text{mix}} = G_{\text{mixture}} - \sum_i n_i \mu_i^* = \sum_i n_i (\mu_i - \mu_i^*)\)

\(\Delta G_{\text{mix}} = \sum_i n_i RT \ln x_i = nRT \sum_i x_i \ln x_i\)

Since \(0 < x_i < 1\), each \(\ln x_i < 0\), so \(\Delta G_{\text{mix}} < 0\): mixing is always spontaneous for ideal solutions. The entropy, enthalpy, and volume of mixing follow:

\(\Delta S_{\text{mix}} = -\left(\frac{\partial \Delta G_{\text{mix}}}{\partial T}\right)_P = -nR \sum_i x_i \ln x_i > 0\)

\(\Delta H_{\text{mix}} = \Delta G_{\text{mix}} + T\Delta S_{\text{mix}} = nRT\sum_i x_i \ln x_i + T\left(-nR\sum_i x_i \ln x_i\right) = 0\)

\(\Delta V_{\text{mix}} = \left(\frac{\partial \Delta G_{\text{mix}}}{\partial P}\right)_T = 0\)

Key Result: Ideal Solution Properties

  • \(\Delta G_{\text{mix}} = nRT \sum_i x_i \ln x_i < 0\) — mixing always spontaneous
  • \(\Delta S_{\text{mix}} = -nR \sum_i x_i \ln x_i > 0\) — entropy always increases
  • \(\Delta H_{\text{mix}} = 0\) — no heat released or absorbed
  • \(\Delta V_{\text{mix}} = 0\) — no volume change on mixing

3. Derivation: Colligative Properties

Colligative properties depend only on the number of solute particles, not their identity. They arise because the solute lowers the chemical potential of the solvent in the liquid phase. We consider a dilute solution with solvent (1) and non-volatile solute (2).

The chemical potential of the solvent in the solution is:

\(\mu_1^{\text{soln}}(T,P) = \mu_1^*(T,P) + RT \ln x_1 \approx \mu_1^*(T,P) - RT\,x_2\)

Using \(\ln x_1 = \ln(1 - x_2) \approx -x_2\) for dilute solutions (\(x_2 \ll 1\)).

Boiling Point Elevation

At the boiling point, the liquid solvent and vapor are in equilibrium:\(\mu_1^{\text{soln}}(T_b) = \mu_1^{\text{vapor}}(T_b)\). For the pure solvent, this equilibrium occurs at \(T_b^*\) where \(\mu_1^*(T_b^*) = \mu_1^{\text{vapor}}(T_b^*)\). The solute lowers \(\mu_1^{\text{soln}}\), so a higher temperature is needed to reach equilibrium with the vapor. Starting from:

\(\mu_1^*(T_b) + RT_b \ln x_1 = \mu_1^{\text{vapor}}(T_b)\)

Using the Gibbs-Helmholtz equation \(\frac{\partial(\mu/T)}{\partial T}\bigg|_P = -\frac{\bar{H}}{T^2}\) and integrating from \(T_b^*\) to \(T_b = T_b^* + \Delta T_b\):

\(\ln x_1 = \frac{\Delta H_{\text{vap}}}{R}\left(\frac{1}{T_b^*} - \frac{1}{T_b}\right) \approx \frac{\Delta H_{\text{vap}} \, \Delta T_b}{R \, (T_b^*)^2}\)

Substituting \(\ln x_1 \approx -x_2\) and converting mole fraction to molality \(m = \frac{x_2}{(1 - x_2) M_1 / 1000} \approx \frac{1000 \, x_2}{M_1}\):

\(\boxed{\Delta T_b = K_b \, m \quad \text{where} \quad K_b = \frac{R \, (T_b^*)^2 \, M_1}{1000 \, \Delta H_{\text{vap}}}}\)

\(M_1\) is the molar mass of the solvent (g/mol), \(m\) is the molality (mol/kg). For water: \(K_b = 0.512\) K·kg/mol.

Freezing Point Depression

By an analogous derivation, equating the chemical potential of the solvent in solution with that of the pure solid solvent at the freezing point:

\(\ln x_1 = -\frac{\Delta H_{\text{fus}}}{R}\left(\frac{1}{T_f^*} - \frac{1}{T_f}\right) \approx -\frac{\Delta H_{\text{fus}} \, \Delta T_f}{R \, (T_f^*)^2}\)

\(\boxed{\Delta T_f = K_f \, m \quad \text{where} \quad K_f = \frac{R \, (T_f^*)^2 \, M_1}{1000 \, \Delta H_{\text{fus}}}}\)

For water: \(K_f = 1.86\) K·kg/mol. Note \(K_f > K_b\) because \(\Delta H_{\text{fus}} < \Delta H_{\text{vap}}\).

Osmotic Pressure

Consider a solution separated from pure solvent by a semipermeable membrane (permeable only to the solvent). At equilibrium, the chemical potential of the solvent must be equal on both sides. The pressure on the solution side exceeds that on the pure solvent side by the osmotic pressure \(\pi\):

\(\mu_1^*(T, P + \pi) = \mu_1^*(T, P) + RT \ln x_1\)

Using \(\left(\frac{\partial \mu}{\partial P}\right)_T = \bar{V}_1 \approx V_1^*\) (molar volume of pure solvent):

\(V_1^* \, \pi = -RT \ln x_1 \approx RT \, x_2\)

For a dilute solution, \(x_2 \approx n_2/n_1\) and \(n_1 V_1^* \approx V\) (total volume):

\(\boxed{\pi = \frac{n_2}{V} RT = M \, RT}\)

van't Hoff equation: \(M = n_2/V\) is the molar concentration of solute. This has the same form as the ideal gas law!

4. Derivation: Henry's Law and Dilute Solutions

Raoult's law describes the behavior of the solvent in a dilute solution (as \(x_1 \to 1\)). The solute, however, experiences a very different molecular environment — it is surrounded almost entirely by solvent molecules. Henry's law describes the solute behavior in this limit.

Consider component 2 (solute) at very low concentration (\(x_2 \to 0\)). Each solute molecule is surrounded by solvent molecules, so the effective interaction it experiences is the A–B interaction, not the B–B interaction. The chemical potential of the solute in the liquid is:

\(\mu_2^{\text{soln}}(T,P) = \mu_2^{\dagger}(T,P) + RT \ln x_2\)

where \(\mu_2^{\dagger}\) is a reference chemical potential that accounts for the solute-solvent interactions (different from the pure component \(\mu_2^*\)).

Equating with the vapor phase chemical potential at equilibrium:

\(\mu_2^{\dagger} + RT \ln x_2 = \mu_2^{\text{vapor},\circ} + RT \ln\left(\frac{P_2}{P^{\circ}}\right)\)

\(P_2 = x_2 \, \exp\left(\frac{\mu_2^{\dagger} - \mu_2^{\text{vapor},\circ}}{RT}\right) \cdot P^{\circ}\)

\(\boxed{P_2 = K_H \, x_2}\)

Henry's law: The Henry's law constant \(K_H = P^{\circ} \exp\left(\frac{\mu_2^{\dagger} - \mu_2^{\text{vapor},\circ}}{RT}\right)\) encodes the strength of the solute-solvent interaction.

The key distinction: Raoult's law uses \(P_2^*\) (vapor pressure of pure solute), while Henry's law uses \(K_H\) (which depends on the solute-solvent interaction). If A–B interactions are weaker than B–B interactions, \(K_H > P_2^*\) (positive deviation). If A–B interactions are stronger, \(K_H < P_2^*\) (negative deviation).

Activity Coefficients

For non-ideal solutions, we introduce the activity \(a_i\) and activity coefficient \(\gamma_i\) to account for deviations from ideal behavior:

\(\mu_i = \mu_i^* + RT \ln a_i \quad \text{where} \quad a_i = \gamma_i \, x_i\)

\(\gamma_i = \frac{a_i}{x_i}\)

For an ideal solution, \(\gamma_i = 1\) for all components. Raoult's law convention:\(\gamma_i \to 1\) as \(x_i \to 1\). Henry's law convention:\(\gamma_i^H \to 1\) as \(x_i \to 0\).

The modified Raoult's law incorporating activity coefficients is:

\(P_i = \gamma_i \, x_i \, P_i^*\)

The Gibbs-Duhem equation constrains activity coefficients. At constant \(T\) and \(P\), for a binary mixture:

\(x_1 \, d\ln\gamma_1 + x_2 \, d\ln\gamma_2 = 0\)

5. Derivation: Regular Solution Theory

Regular solution theory, developed by Joel Hildebrand, provides the simplest model for non-ideal mixtures. It assumes that the excess entropy of mixing is zero (\(\Delta S^E = 0\)), so all non-ideality comes from a non-zero enthalpy of mixing. The molecules are assumed to mix randomly (as in an ideal solution), but with different interaction energies.

Consider a binary mixture of \(N\) total molecules with \(N_1 = x_1 N\) of type 1 and \(N_2 = x_2 N\) of type 2, each having coordination number \(z\). Let \(\epsilon_{11}\), \(\epsilon_{22}\), and \(\epsilon_{12}\) be the pairwise interaction energies. In a random mixture, the number of each type of pair is:

\(N_{11} = \frac{z N}{2} x_1^2, \quad N_{22} = \frac{z N}{2} x_2^2, \quad N_{12} = z N \, x_1 x_2\)

The total interaction energy of the mixture is:

\(U_{\text{mix}} = N_{11}\epsilon_{11} + N_{22}\epsilon_{22} + N_{12}\epsilon_{12}\)

The energy of the unmixed pure components is:

\(U_{\text{pure}} = \frac{zN}{2}\left(x_1 \epsilon_{11} + x_2 \epsilon_{22}\right)\)

The enthalpy of mixing (at constant pressure, approximately equal to the energy of mixing for condensed phases) is:

\(\Delta H_{\text{mix}} = U_{\text{mix}} - U_{\text{pure}} = \frac{zN}{2}\left(\epsilon_{12} - \frac{\epsilon_{11} + \epsilon_{22}}{2}\right) \cdot 2x_1 x_2\)

\(\Delta H_{\text{mix}} = n \, w \, x_1 x_2\)

where the interaction parameter is \(w = z N_A \left(\epsilon_{12} - \frac{\epsilon_{11} + \epsilon_{22}}{2}\right)\).

Since the excess entropy is zero for a regular solution, the Gibbs energy of mixing is:

\(\boxed{\Delta G_{\text{mix}} = nRT\left(x_1 \ln x_1 + x_2 \ln x_2\right) + n \, w \, x_1 x_2}\)

The first term is the ideal entropy contribution; the second is the excess enthalpy.

Phase Separation and Critical Solution Temperature

When the interaction parameter \(w\) is sufficiently positive (A–B repulsion), the system can lower its Gibbs energy by separating into two phases. The stability criterion requires the second derivative of \(\Delta G_{\text{mix}}\) to be positive:

\(\frac{\partial^2 \Delta G_{\text{mix}}}{\partial x_1^2} = nRT\left(\frac{1}{x_1} + \frac{1}{x_2}\right) - 2nw\)

The minimum of this expression occurs at \(x_1 = x_2 = 1/2\), where it equals \(n(4RT - 2w)\). The system becomes unstable when this is negative:

\(\boxed{w > 2RT \quad \Longrightarrow \quad \text{Phase separation occurs}}\)

The upper critical solution temperature (UCST) is \(T_c = w / 2R\). Below this temperature, the mixture separates into two phases.

The activity coefficients in regular solution theory follow from \(\ln \gamma_i = \frac{w}{RT} x_j^2\), which is the Margules one-parameter model. The two-parameter Margules model allows asymmetry:

\(\ln \gamma_1 = x_2^2 \left[A_{12} + 2(A_{21} - A_{12}) x_1\right]\)

\(\ln \gamma_2 = x_1^2 \left[A_{21} + 2(A_{12} - A_{21}) x_2\right]\)

6. Applications

Distillation

Distillation exploits the difference in composition between liquid and vapor phases at equilibrium. For a binary ideal mixture, the vapor is enriched in the more volatile component. The McCabe-Thiele method uses the equilibrium curve (from Raoult's law) and operating lines to determine the number of theoretical plates needed for separation.

Azeotropes present a fundamental limit: at the azeotropic composition, liquid and vapor have the same composition, so simple distillation cannot achieve further separation. Examples: ethanol-water (95.6% ethanol at 78.1°C), HCl-water.

Osmotic Pressure in Biology

Osmotic pressure is critical in biology. Cell membranes act as semipermeable barriers. Red blood cells in a hypotonic solution swell and lyse; in hypertonic solution they crenate. Isotonic saline (0.9% NaCl, \(\pi \approx 7.7\) atm) maintains cellular integrity.

Reverse osmosis (applying \(P > \pi\)) is used for desalination. Seawater has \(\pi \approx 27\) atm, requiring pressures of 50–80 atm for efficient desalination.

Azeotropes

A minimum-boiling azeotrope occurs when positive deviations from Raoult's law are large enough that the total pressure exceeds both pure component pressures. The mixture boils at a lower temperature than either pure component.

A maximum-boiling azeotrope arises from strong negative deviations (e.g., HNO\(_3\)–water at 68.4% HNO\(_3\)). The excess A–B attraction stabilizes the liquid, requiring more energy to vaporize.

Polymer Solutions (Flory-Huggins)

For polymer solutions, the entropy of mixing is drastically reduced because a polymer chain occupies many lattice sites. The Flory-Huggins theory gives:

\(\frac{\Delta G_{\text{mix}}}{NkT} = \frac{\phi_1}{r_1}\ln\phi_1 + \frac{\phi_2}{r_2}\ln\phi_2 + \chi\,\phi_1\phi_2\)

where \(\phi_i\) are volume fractions, \(r_i\) are the number of segments, and \(\chi\) is the Flory-Huggins interaction parameter. For a polymer (\(r_2 \gg 1\)), the critical point shifts to very low polymer concentrations.

7. Historical Context

William Henry (1803)

The English chemist William Henry published his law describing the solubility of gases in liquids, showing that the amount of dissolved gas is proportional to its partial pressure above the liquid. His work provided the first quantitative description of gas-liquid equilibria and remains essential in fields from carbonated beverage production to blood gas physiology.

François-Marie Raoult (1887)

Raoult, a French chemist, systematically measured the vapor pressure lowering of solvents upon addition of non-volatile solutes. His meticulous experiments with hundreds of solute-solvent combinations established the empirical law that bears his name. Raoult's work provided a practical method for determining molecular weights of dissolved substances.

Jacobus Henricus van't Hoff (1887)

Van't Hoff derived the osmotic pressure equation \(\pi V = nRT\) by analogy with the ideal gas law. He showed that dissolved molecules exert osmotic pressure just as gas molecules exert gas pressure. This work earned him the first Nobel Prize in Chemistry (1901). His insight unified the thermodynamics of solutions with the kinetic theory of gases.

Joel Hildebrand (1916–1970)

Hildebrand developed regular solution theory over decades of work at UC Berkeley. He introduced the solubility parameter \(\delta = \sqrt{\Delta U_{\text{vap}}/V_m}\) to predict miscibility: substances with similar \(\delta\) values tend to be miscible. His 1936 book “Solubility of Non-Electrolytes” became the standard reference for solution thermodynamics.

8. Python Simulation — T-x Phase Diagram

The following simulation plots a temperature-composition (T-x) phase diagram for a binary mixture, showing the liquid (bubble) and vapor (dew) curves. It includes both the ideal case (Raoult's law) and a non-ideal case with a minimum-boiling azeotrope using the one-parameter Margules model for activity coefficients.

Python
script.py158 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server

9. Fortran Simulation — Colligative Properties

The following Fortran program computes the boiling point elevation, freezing point depression, and osmotic pressure for various solute concentrations in water. It uses the fundamental equations derived in Section 3 with accurate thermodynamic data for water as the solvent.

Python
script.py161 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server