Equations representing phase changes