Then, for the fictive case of a reversible process, d U can be written in terms of exact differentials. One may imagine reversible changes, such that there is at each instant negligible departure from thermodynamic equilibrium within the system and between system and surroundings. Then, mechanical work is given by δW = − P d V and the quantity of heat added can be expressed as δQ = T d S. For these conditions