Common-tangent construction (source code)

= Common-tangent construction
{wiki}

Two compositions coexist when one straight line is tangent to the free-energy density at both compositions. Equality of its slope gives equal chemical potentials, and equality of its intercept gives equal pressures.