First Law of Thermodynamics
The first law of thermodynamics is the application of the conservation of energy principle to heat and thermodynamic processes:
The change in internal energy of a system is equal to the heat added to the system minus the work done by the system.
Mathematically, ΔU (Change in Internal Energy) = Q (Heat added to or drawn from the system) – W (Work done by the system)