Equation (2) is known as the fundamental thermodynamic relation for a closed system in the energy representation, for which the defining state variables are S and V, with respect to which T and P are partial derivatives of U. It is only in the reversible case or for a quasistatic process without composition change that the work done and heat transferred are given by − P d V and T d S.