Chemistry · Thermodynamics

Work, Heat & Internal Energy

Internal energy is the total energy stored in a chemical system, and a system exchanges it with its surroundings in exactly two currencies — work and heat. Following NCERT Class 11 Unit 5 (§5.1.4 and §5.2.1), this note develops internal energy as a state function, fixes the IUPAC sign convention, and derives pressure-volume work for irreversible, reversible isothermal and free expansions. These ideas underpin the first law and recur in NEET as numerical work problems and sign-convention traps.

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}$$

NEET Trap

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.

QuantitySign 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.

NEET Trap

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.

p-V work schematic: reversible vs irreversible expansion Pressure on the vertical axis, volume on the horizontal axis. A smooth reversible isothermal curve from initial to final state, with the larger shaded area beneath it, compared to a low constant external pressure giving a smaller rectangular irreversible area. p V p_ext (const, low) reversible isotherm i f V_i V_f w (reversible) w (irreversible)
Figure 1. The magnitude of expansion work is the area under the p-V curve. The reversible isothermal path (teal) hugs the gas pressure at every step and encloses a larger area than expansion against a single low constant external pressure (amber). Reversible work is the maximum work obtainable between $V_i$ and $V_f$.

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}$$

ProcessWork expressionComment
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
Build on this

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.

Worked Example 1 — Irreversible isothermal expansion

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.

Worked Example 2 — Reversible isothermal expansion

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.

NEET Trap

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$$

Free expansion into vacuum A two-chamber vessel: the left chamber filled with gas, the right chamber a vacuum, separated by a valve. When the valve opens the gas fills both chambers with no external pressure and no work done. gas vacuum valve closed valve open gas fills both p_ext = 0 → w = 0, q = 0, ΔU = 0
Figure 2. In free expansion the gas expands into a vacuum against zero external pressure. With $p_\text{ext} = 0$ no work is done; for an ideal gas $q = 0$ too, so $\Delta U = 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 changeRelation
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.

NEET Trap

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.

Quick Recap

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$.

NEET PYQ Snapshot — Work, Heat & Internal Energy

Real NEET questions on PV work, sign conventions and free/isothermal expansion.

NEET 2024 · Q.98

The work done during reversible isothermal expansion of one mole of hydrogen gas at 25°C from a pressure of 20 atmosphere to 10 atmosphere is (Given $R = 2.0\ \text{cal K}^{-1}\text{mol}^{-1}$)

  1. 0 calorie
  2. −413.14 calories
  3. 413.14 calories
  4. 100 calories
Answer: (2) −413.14 calories

Reversible isothermal: $w = -2.303\,nRT\log(p_i/p_f) = -2.303 \times 1 \times 2.0 \times 298 \times \log(20/10) = -2.303 \times 596 \times 0.3010 \approx -413\ \text{cal}$. Negative sign = work done by the gas.

NEET 2020 · Q.176

The correct option for free expansion of an ideal gas under adiabatic condition is:

  1. $q = 0,\ \Delta T < 0$ and $w > 0$
  2. $q < 0,\ \Delta T = 0$ and $w = 0$
  3. $q > 0,\ \Delta T > 0$ and $w > 0$
  4. $q = 0,\ \Delta T = 0$ and $w = 0$
Answer: (4) $q = 0,\ \Delta T = 0,\ w = 0$

Free expansion: $p_\text{ext} = 0 \Rightarrow w = 0$. Adiabatic $\Rightarrow q = 0$. Then $\Delta U = q + w = 0$, and since $\Delta U = nC_{v}\Delta T$, $\Delta T = 0$.

NEET 2017 · Q.33

A gas is allowed to expand in a well insulated container against a constant external pressure of 2.5 atm from an initial volume of 2.50 L to a final volume of 4.50 L. The change in internal energy $\Delta U$ of the gas in joules will be (1 L atm ≈ 101.3 J):

  1. +505 J
  2. 1136.25 J
  3. −500 J
  4. −505 J
Answer: (4) −505 J

Insulated $\Rightarrow q = 0$, so $\Delta U = w = -p_\text{ext}\Delta V = -2.5 \times (4.50 - 2.50) = -5\ \text{L atm} = -5 \times 101 \approx -505\ \text{J}$.

NEET 2022 · Q.64

Which of the following p-V curve represents maximum work done?

Answer: (1)

Work done in any thermodynamic process equals the area under the p-V graph. The curve enclosing the greatest area represents the maximum work done.

NEET 2021 · Q.86

For irreversible expansion of an ideal gas under isothermal condition, the correct option is:

  1. $\Delta U \neq 0,\ \Delta S_\text{total} = 0$
  2. $\Delta U = 0,\ \Delta S_\text{total} = 0$
  3. $\Delta U \neq 0,\ \Delta S_\text{total} \neq 0$
  4. $\Delta U = 0,\ \Delta S_\text{total} \neq 0$
Answer: (4) $\Delta U = 0,\ \Delta S_\text{total} \neq 0$

Isothermal $\Rightarrow \Delta T = 0$, and $\Delta U = nC_v\Delta T = 0$. An irreversible process is spontaneous, so $\Delta S_\text{total} > 0$, i.e. $\Delta S_\text{total} \neq 0$.

FAQs — Work, Heat & Internal Energy

Common conceptual doubts on internal energy, sign conventions and PV work.

Why is internal energy called a state function?
Internal energy U is a state function because its change depends only on the initial and final states of the system, not on the path taken between them. Joule's experiments showed that a given amount of adiabatic work produces the same change of state — the same temperature rise — whether the work is mechanical (churning) or electrical (immersion rod). Since the change in U is path-independent, U is characteristic of the state of the system and is therefore a state function.
What is the IUPAC sign convention for work and heat?
By IUPAC convention in chemical thermodynamics, work done ON the system is positive (the internal energy increases) and work done BY the system is negative. Similarly, heat absorbed BY the system from the surroundings is positive and heat released by the system is negative. This is why the pressure-volume work expression carries a negative sign: w = -p_ext ΔV. Older physics texts used the opposite sign for work, but the IUPAC convention is used throughout NCERT chemistry.
Why does pressure-volume work have a negative sign in w = -p_ext ΔV?
The negative sign is required to make w consistent with the IUPAC convention. During compression, ΔV = (Vf - Vi) is negative, and a negative external pressure times a negative volume change gives a positive w — correctly indicating that work is done on the system. During expansion, ΔV is positive, so w comes out negative, indicating work is done by the system. The sign therefore encodes the direction of energy transfer automatically.
Why is no work done in the free expansion of an ideal gas?
Free expansion is expansion of a gas into a vacuum, where the external pressure p_ext = 0. Since the pressure-volume work is w = -p_ext ΔV, setting p_ext = 0 gives w = 0, regardless of whether the process is reversible or irreversible. For an ideal gas this expansion is also isothermal with q = 0, so by the first law ΔU = q + w = 0.
Why is reversible isothermal work greater in magnitude than irreversible work?
In a reversible isothermal expansion the external pressure is kept infinitesimally smaller than the gas pressure at every stage, so the gas pushes against the maximum possible opposing pressure throughout. This makes the area under the p-V curve — and hence the magnitude of work done by the gas — a maximum. In an irreversible expansion against a single low constant external pressure, the gas pushes against a smaller opposing pressure, the area under the curve is smaller, and so less work is done. Reversible work is the maximum work obtainable between two given states.
How are work and heat related for an isothermal expansion of an ideal gas?
For an isothermal expansion of an ideal gas, the temperature is constant so ΔU = 0, and the first law gives q = -w. For a reversible isothermal change q = -w = 2.303 nRT log(Vf/Vi), and for an irreversible isothermal change against constant external pressure q = -w = p_ext(Vf - Vi). All the heat absorbed by the gas is converted into the work done by the gas.