At fixed particle number, the differential of the internal energy identifies and . Equality of continuous mixed partial derivatives gives the first Maxwell relation:
For the enthalpy, . Thus , , and the same argument gives the enthalpy Maxwell relation
The smoothness and independent thermodynamic coordinates are understood within a single phase.