While this has been shown here for reversible changes, it is valid more generally in the absence of chemical reactions or phase transitions, as U can be considered as a thermodynamic state function of the defining state variables S and V :