Internal Energy as a State Function
When a chemical system loses or gains energy, we describe it through a single quantity that sums every form of energy it holds — chemical, electrical, mechanical and all others. In thermodynamics this total is called the internal energy, denoted $U$. According to NCERT §5.1.4, the internal energy of a system can change when heat passes into or out of it, when work is done on or by it, or when matter enters or leaves it.
To see why $U$ behaves as a state function, consider an adiabatic system — water enclosed in a thermos flask whose walls forbid heat exchange. Take the gas or water in state A at temperature $T_A$ with internal energy $U_A$. We can raise it to state B at $T_B$ in two distinct ways: by doing 1 kJ of mechanical work (churning with paddles), or by doing 1 kJ of electrical work (an immersion rod). Joule's experiments between 1840 and 1850 established that the same amount of adiabatic work produces the same change of state — the same temperature rise — irrespective of the path.
This path-independence is precisely what defines a state function. The adiabatic work needed to move between two states equals the difference in internal energy:
$$\Delta U = U_2 - U_1 = w_\text{ad}$$
You cannot measure absolute internal energy
Unlike volume, the internal energy of a system has no measurable absolute value. There is a real difference between the character of a thermodynamic property like energy and a mechanical property like volume. We can only ever determine the change, $\Delta U$, between two states.
Always work with $\Delta U$, never with $U$ itself. Questions asking for "the internal energy of the gas" are testing whether you know only changes are accessible.
Other familiar state functions are volume $V$, pressure $p$ and temperature $T$. If a system is taken from $25\,^\circ\text{C}$ to $35\,^\circ\text{C}$, the change is $+10\,^\circ\text{C}$ whether it is heated directly or cooled first and then warmed. Because state functions depend only on the present state and not on history, their changes are route-independent — a property we exploit constantly in the first law of thermodynamics.
Heat and Work: Two Currencies of Energy
A closed system has only two channels through which energy crosses its boundary. The first is work; the second is heat, $q$ — the energy exchanged as a result of a temperature difference between system and surroundings.
Suppose we reproduce the same change of state as before, but now through thermally conducting walls instead of an adiabatic wall. Water at $T_A$ in a copper container is enclosed in a large reservoir at $T_B$. Energy now flows as heat, and the heat absorbed can be measured from the temperature difference $T_B - T_A$. When no work is done at constant volume, the entire internal-energy change is accounted for by heat:
$$\Delta U = q \quad (\text{at constant volume, } w = 0)$$
Combining both channels gives the general statement. For a change of state brought about by both work and heat:
$$\Delta U = q + w \tag{5.1}$$
Here is the deep point: $q$ and $w$ individually depend on how the change is carried out — they are path functions — yet their sum $q + w = \Delta U$ depends only on the initial and final states. This equation is the mathematical statement of the first law of thermodynamics, the law of conservation of energy: the energy of an isolated system is constant.
The IUPAC Sign Convention
Signs in thermodynamics are not arbitrary — they encode the direction in which energy flows. NCERT chemistry follows the IUPAC convention throughout, and getting it wrong is the single most common error in NEET numericals.
| Quantity | Sign is positive when… | Sign is negative when… | Effect on $\Delta U$ |
|---|---|---|---|
| Work, $w$ | work is done on the system (e.g. compression) | work is done by the system (e.g. expansion) | $+w$ raises $U$; $-w$ lowers $U$ |
| Heat, $q$ | heat is absorbed by the system from surroundings | heat is released by the system to surroundings | $+q$ raises $U$; $-q$ lowers $U$ |
In words: energy added to the system is positive, energy leaving is negative. The internal energy of the system increases when work is done on it ($w_\text{ad}$ positive) and decreases when the system does work. Likewise, $q$ is positive when heat is transferred from surroundings to system and negative when heat flows the other way.
Chemistry and physics use opposite work signs
Earlier texts (and many physics books still) assign a negative sign when work is done on the system and a positive sign when work is done by the system — the reverse of IUPAC. NCERT chemistry uses the IUPAC convention, so the first law is written $\Delta U = q + w$, not $\Delta U = q - w$.
In chemistry: work done on the system is $+$. In physics' older convention, expansion work (done by the gas) is $+$. Use $\Delta U = q + w$ for every NEET chemistry problem.
Pressure-Volume Work
In chemistry the work that matters most is mechanical pressure-volume work — the work associated with a change in volume against an external pressure. Consider one mole of an ideal gas in a cylinder fitted with a frictionless piston of cross-sectional area $A$. Let the external pressure be $p_\text{ext}$ and let the piston move a distance $l$.
Force on the piston is $p_\text{ext} \cdot A$, and the volume change is $\Delta V = l \times A = (V_f - V_i)$. The work done on the system is force times distance:
$$w = p_\text{ext} \cdot A \cdot l = -p_\text{ext}\,\Delta V = -p_\text{ext}(V_f - V_i) \tag{5.2}$$
The negative sign is what makes the result obey the IUPAC convention. During compression, $(V_f - V_i)$ is negative, so $-p_\text{ext}\Delta V$ is positive — correctly signalling that work is done on the gas. During expansion, $\Delta V$ is positive, so $w$ is negative — work is done by the gas. The sign emerges automatically from the geometry.
If the external pressure is not constant but changes in a series of finite steps, the work done is summed over all steps as $-\sum p\,\Delta V$. In the limit of infinitesimal steps — where $p_\text{ext}$ at each stage is always infinitesimally different from the gas pressure — the sum becomes an integral, which is the route to reversible work.
Reversible vs Irreversible Work
A reversible process is one carried out so that it could, at any moment, be reversed by an infinitesimal change. It proceeds infinitely slowly through a continuous series of near-equilibrium states, with the system and surroundings always in near balance. Any process that is not reversible — for instance expansion against a single fixed external pressure — is an irreversible process.
For a reversible change we set $p_\text{ext} = (p_\text{in} \pm \mathrm{d}p)$, and since $\mathrm{d}p \cdot \mathrm{d}V$ is negligibly small, the work integrates as:
$$w_\text{rev} = -\int_{V_i}^{V_f} p_\text{in}\,\mathrm{d}V \tag{5.4}$$
Substituting the ideal gas relation $p = nRT/V$ and holding $T$ constant (isothermal) gives the reversible isothermal work expression:
$$w_\text{rev} = -nRT\ln\frac{V_f}{V_i} = -2.303\,nRT\log\frac{V_f}{V_i} \tag{5.5}$$
| Process | Work expression | Comment |
|---|---|---|
| Irreversible (constant $p_\text{ext}$) | $w = -p_\text{ext}(V_f - V_i)$ | Gas pushes against one fixed pressure |
| Reversible isothermal | $w = -2.303\,nRT\log\dfrac{V_f}{V_i}$ | Maximum work; $p_\text{ext} \approx p_\text{gas}$ throughout |
| Free expansion ($p_\text{ext} = 0$) | $w = 0$ | No opposing pressure; reversible or not |
| Constant volume ($\Delta V = 0$) | $w = 0,\ \Delta U = q_V$ | No PV work possible |
Once $q$ and $w$ are signed correctly, they slot straight into the first law of thermodynamics to give $\Delta U$ for any process.
Worked Examples
The clearest way to see the difference between irreversible and reversible work is to expand the same gas between the same two volumes by both routes and compare the magnitudes.
Two litres of an ideal gas at $25\,^\circ\text{C}$ expands isothermally against a constant external pressure of $1\ \text{atm}$ until its total volume is $10\ \text{L}$. Find the work done by the gas.
For an irreversible change against constant external pressure, use equation (5.2):
$$w = -p_\text{ext}(V_f - V_i) = -1\ \text{atm} \times (10 - 2)\ \text{L} = -8\ \text{L atm}$$
The magnitude of work done is $8\ \text{L atm}$, and the negative sign confirms the gas does work on the surroundings. Since the process is isothermal for an ideal gas, $\Delta U = 0$ and $q = -w = +8\ \text{L atm}$ — the heat absorbed equals the work done.
Now conduct the same expansion of $1\ \text{mol}$ of the ideal gas from $2\ \text{L}$ to $10\ \text{L}$ at $25\,^\circ\text{C}$ reversibly. Find the work done. (Take $R = 0.08206\ \text{L atm K}^{-1}\text{mol}^{-1}$.)
For a reversible isothermal change, use equation (5.5):
$$w = -2.303\,nRT\log\frac{V_f}{V_i}$$
$$w = -2.303 \times 1 \times 0.08206 \times 298 \times \log\frac{10}{2}$$
With $\log 5 = 0.699$, this gives $w = -2.303 \times 0.08206 \times 298 \times 0.699 \approx -39.4\ \text{L atm}$. The reversible path extracts roughly $39\ \text{L atm}$ of work against only $8\ \text{L atm}$ irreversibly — confirming that reversible work is the maximum work between two states.
Reversible work magnitude always exceeds irreversible
For an expansion between fixed volumes, $|w_\text{rev}| > |w_\text{irr}|$ — the gas does more work reversibly because it pushes against the maximum opposing pressure at every step. NEET frequently tests this through "which p-V curve shows maximum work" questions, where the answer is the curve enclosing the greatest area.
Work done = area under the p-V curve. Larger enclosed area = more work. The reversible isotherm always wins for a given expansion.
Free and Isothermal Expansion
Free expansion is the expansion of a gas into a vacuum, where $p_\text{ext} = 0$. Putting $p_\text{ext} = 0$ into $w = -p_\text{ext}\Delta V$ immediately gives $w = 0$ — and this holds whether the process is reversible or irreversible, because there is simply no opposing pressure to do work against.
For the isothermal free expansion of an ideal gas, Joule showed experimentally that $q = 0$ as well. The first law then forces:
$$\Delta U = q + w = 0 + 0 = 0$$
For an isothermal change that is not free, the temperature is constant so $\Delta U = 0$ still holds for an ideal gas, but now heat and work are non-zero and exactly cancel. NCERT §5.2.1 summarises both cases:
| Isothermal change | Relation |
|---|---|
| Irreversible | $q = -w = p_\text{ext}(V_f - V_i)$ |
| Reversible | $q = -w = 2.303\,nRT\log\dfrac{V_f}{V_i}$ |
| Adiabatic (any) | $q = 0,\ \Delta U = w_\text{ad}$ |
The pattern to internalise: in an isothermal expansion all the heat absorbed is paid out as work done by the gas; in an adiabatic change, with $q = 0$, the work comes entirely at the expense of internal energy. These special cases are the workhorses of NEET numericals on this chapter.
Why work and heat are path functions
A subtle but examinable idea hides inside equation 5.1. Although $\Delta U$ between two fixed states is fixed, the split of that change between $q$ and $w$ is not. Take a gas from state $i$ to state $f$: do it reversibly and you obtain one pair of $(q, w)$ values; do it irreversibly against a low constant pressure and you obtain a different pair — yet $q + w = \Delta U$ comes out identical both times.
This is exactly why $q$ and $w$ are called path functions: their individual values depend on the route, not merely on the endpoints. The two worked examples above demonstrate this concretely — the same $2\ \text{L} \to 10\ \text{L}$ expansion delivered $8\ \text{L atm}$ of work irreversibly but about $39\ \text{L atm}$ reversibly, and the heat absorbed adjusted to match in each case so that $\Delta U$ stayed zero. State functions ($U$, $H$, $V$, $p$, $T$) are written as differences; path functions ($q$, $w$) are reported only for a specified process.
Do not call q and w state functions
A frequent assertion-reason trap states that "since $\Delta U$ is a state function, $q$ and $w$ must be too." This is false. The sum $q + w$ is path-independent, but each term separately depends on the path. Only their algebraic sum is a state function.
State function: $U$, $H$, $V$, $p$, $T$. Path function: $q$, $w$. The first law makes the sum $q + w$ behave like a state function.
Work, heat and internal energy at a glance
- Internal energy $U$ is a state function; only its change $\Delta U$ is measurable, never its absolute value.
- First law: $\Delta U = q + w$. Work and heat are path functions, but their sum is path-independent.
- IUPAC signs: work done on the system is $+$; heat absorbed by the system is $+$.
- Pressure-volume work: $w = -p_\text{ext}\,\Delta V$ for an irreversible change; the negative sign enforces the convention.
- Reversible isothermal work: $w = -2.303\,nRT\log(V_f/V_i)$ — the maximum work between two volumes.
- Free expansion ($p_\text{ext} = 0$): $w = 0$ always; for an ideal gas $q = 0$ and $\Delta U = 0$.