First law of thermodynamics
When you add heat to a gas, that heat either raises the gas's internal energy (the total energy of its molecules) or is used by the gas to do work on its surroundings as it expands. Energy is never created or destroyed, so the heat added equals the increase in internal energy plus the work done .
Formulas
When to use it
Use it when a gas gains or loses heat while it expands or is compressed and you need to find the heat, the work or the change in internal energy.
Worked example
A gas absorbs 500 J of heat and does 200 J of work on its surroundings as it expands. Plugging into gives . So , and the internal energy increases by 300 J.
Common mistake
When a gas is compressed and work is done on it, is negative, but many students plug it in as positive. If a gas absorbs 100 J of heat while 50 J of work is done on it, , so .