Derive the boundary between liquid and a pure solid
At fixed pressure take a liquid ideal solution and immiscible pure solids A and B. Let \(x_i\) be a liquid mole fraction. The liquid potential is \(\mu_i^{l,*}+RT\ln x_i\) where the star denotes the pure liquid at the same temperature. Equilibrium with pure solid \(i\) requires \(\mu_i^{l,*}+RT\ln x_i=\mu_i^{s,*}\). At its pure melting point \(T_{m,i}\) the standard potentials coincide.
Use the Gibbs–Helmholtz identity \(d(\mu/T)/dT=-h/T^2\) at fixed pressure on the pure-phase difference. Assuming the molar enthalpy of fusion stays constant over the temperature interval gives
Cooling a liquid enters a two-phase region when one species first satisfies this equality. As that pure solid forms, material balance forces the remaining liquid composition along its liquidus. Both pure solids can coexist with the liquid only where the two predicted liquid mole fractions sum to one. The isobaric phase rule gives \(F=C-P+1=0\) at this three-phase point.
Read amounts before and after reaching the eutectic
Use model components with \(T_{m,A}=900\) K, \(T_{m,B}=700\) K and fusion enthalpies 14.5 and 10.0 kJ/mol. The eutectic lies at 569.65 K and liquid \(x_B=0.67493\). Start at overall \(z_B=0.40\). Solid A forms first. Just above the eutectic all B resides in the liquid, so its mole-basis amount fraction is \(z_B/x_{B,l}=0.593\) and the remaining 0.407 is already solid A.
At constant pressure the remaining eutectic liquid then converts isothermally into two solids as latent heat leaves. Below the eutectic the final amounts of pure B and A are 0.40 and 0.60 of the total moles. A sufficiently fast quench can supercool the sample or prevent equilibrium phase compositions. A micrograph alone does not locate the equilibrium temperature.
OneSimulation experiment · Where the two liquidus branches meet
Try changing the phase diagram
Change B's melting point or fusion enthalpy, then move the overall composition across the eutectic. Read which solid appears first and use the reported liquid fraction to check the lever rule. The calculation bisects the composition-closure equation and redraws both liquidus branches for each input.
The model assumes an ideal liquid, two immiscible pure solids, constant fusion enthalpies and equilibrium at fixed pressure. Set melting_b and fusion_b (in J/mol) in the OneSimulation notebook below to reproduce a chosen diagram. The composition slider selects a cooling path; it does not change the equilibrium boundaries.
Reproduce with OneSimulation
Change one fusion enthalpy and predict which liquidus moves. OneSimulation solves the monotone composition closure equation. Check the returned composition against each single-component equation before interpreting the figure.
Run the downloaded notebook with OneSimulation, NumPy and Matplotlib installed. The output below was recorded with the displayed calculation.
"""Ideal liquid in equilibrium with two immiscible pure solids."""
import numpy as np
import matplotlib.pyplot as plt
from onesim.numerics.nonlinear.kernels.local_solvers.inversion.bracketed_inverse import bisect_increasing
gas_constant = 8.314462618
melting_a, melting_b = 900.0, 700.0
fusion_a, fusion_b = 14500.0, 10000.0 # J per mol
def liquid_fraction(t, melting, heat):
return np.exp(-heat / gas_constant * (1/t - 1/melting))
def fraction_sum(t):
return liquid_fraction(t, melting_a, fusion_a) + liquid_fraction(t, melting_b, fusion_b)
temperature = float(bisect_increasing(fraction_sum, 1.0, 250., melting_b))
x_b = liquid_fraction(temperature, melting_b, fusion_b)
print(f"Eutectic temperature = {temperature:.2f} K")
print(f"Eutectic liquid mole fraction of B = {x_b:.5f}")
print(f"Composition closure error = {abs(fraction_sum(temperature)-1):.2e}")
ta = np.linspace(temperature, melting_a)
tb = np.linspace(temperature, melting_b)
plt.plot(1-liquid_fraction(ta, melting_a, fusion_a), ta, label="Liquid + solid A boundary")
plt.plot(liquid_fraction(tb, melting_b, fusion_b), tb, label="Liquid + solid B boundary")
plt.axhline(temperature, linestyle=":", color="grey", label="Three-phase temperature")
plt.scatter([x_b], [temperature], color="black")
plt.xlabel("Mole fraction of B")
plt.ylabel("Temperature (K)")
plt.legend()
plt.tight_layout()
plt.savefig("physics-eutectic.png", dpi=160)Computed output
Eutectic temperature = 569.65 K Eutectic liquid mole fraction of B = 0.67493 Composition closure error = 2.22e-16

Expand the solvent equilibrium about its pure transition temperatures
Take a small mole fraction \(x_s\) of nonvolatile solute. For freezing into a pure solvent solid use \(x_A=1-x_s\) and \(\ln(1-x_s)\simeq-x_s\). Expanding the reciprocal temperature around the pure freezing point \(T_f\) gives
For boiling into pure solvent vapour at fixed external pressure the equality is \(\mu_g^*=\mu_l^*+RT\ln x_A\). The entropy difference between vapour and liquid at \(T_b\) is positive. Expanding \(\mu_g^*-\mu_l^*\simeq-(\Delta h_{\rm vap}/T_b)(T-T_b)\) gives the opposite temperature shift.
In the dilute limit \(x_s\simeq m_s M_A\) with solute molality \(m_s\) in mol/kg and solvent molar mass \(M_A\) in kg/mol. For water, \(M_A=0.0180\), \(T_f=273.15\) K, \(\Delta h_{\rm fus}=6.01\) kJ/mol. A 0.10 mol/kg nonelectrolyte gives a freezing-point depression near 0.186 K. Using \(T_b=373.15\) K and \(\Delta h_{\rm vap}=40.7\) kJ/mol gives a boiling-point elevation near 0.051 K.
Recall · Count dissolved particles and choose the stable phases
Dissociation changes particle count. Activities replace simple mole fractions when solutes interact. Solid solubility requires a separate chemical potential for solute in the solid. A shift caused by nucleation delay depends on cooling rate and can be distinguished by comparing heating and cooling scans.
Tutorial on a cooling curve
1 · Follow a B-rich sample
Work through the solution
For \(z_B=0.80\) solid B forms first. Immediately above the eutectic all A remains liquid. The liquid amount is \((1-0.80)/(1-0.67493)=0.615\). A lever rule requires specifying whether compositions are mole or mass fractions.
2 · Estimate the apparent molar mass
Work through the solution
Dissolving 1.00 g of an ideal nonelectrolyte in 0.100 kg of water depresses freezing by 0.186 K. With \(K_f=1.86\) K kg/mol the molality is 0.100 mol/kg, so 0.0100 mol weighs 1.00 g and the molar mass is 100 g/mol.
3 · Check a phase-diagram inference
Work through the solution
A liquid containing only 40% B cannot first precipitate solid B in the model when its liquidus is on the A side. Solids seen after complete equilibrium solidification can contain both A and B even though the first nuclei were solely A. Determine the first phase from the crossing of the cooling path with the liquidus.
For further study see Schroeder, An Introduction to Thermal Physics, sections 5.4–5.5 on phase changes in mixtures and solutions.