Equilibrium Between Phases of Matter: Supplemental Text for Materials Science and High-Pressure Geophysics