where U is the internal energy, δ δ Q is the energy added as heat, and δ δ W is the work done on the system. The second law of thermodynamics for a reversible process yields δ δ Q = T d S . In case of a reversible change, the work done can be expressed as δ δ W = − − p d V (ignoring electrical and other non- PV work) and so: