First law of thermodynamics
The first law of thermodynamics is a statement of the conservation of energy for thermal processes:
Where U is the internal energy of the system, i.e. ignoring the external energy of the system, for example motion of the centre of mass of the system, or the presence of an external field. Q is the net heat entering the system and W is the work done upon the system. represents an inexact differential, indicating that the resulting value depends on the path taken.
For reversible changes, where the system evolves through a succession of equilibrium states, one has:
and for irreversible changes
where is the pressure and is the volume.
For an adiabatic system (i.e. a system in which no heat enters or leaves) then if two bodies of different temperatures are placed in contact and then separated then the sum of the heat within the system is unchanged (see adiabatic process. This is conservation of energy. The first law of thermodynamics does not provide information on the direction of the heat transfer (if any). In other words, the common experience that the hotter object gives heat to the colder object, the direction of heat flow from hot to cold, is left to the second law of thermodynamics.