Chemistry · Thermodynamics

First Law of Thermodynamics

The first law of thermodynamics is the law of conservation of energy written in the language of a chemical system: the change in internal energy of a system equals the heat absorbed by it plus the work done on it, $\Delta U = q + w$. Built on Joule's adiabatic-work experiments and developed in NCERT Class 11 Unit 5 (§5.1.4–§5.2), this single equation is the master tool from which the behaviour of isothermal, adiabatic, isochoric and isobaric processes is derived. For NEET it is one of the most reliably tested ideas in physical chemistry, appearing as direct $\Delta U$, $q$ and $w$ calculations almost every year.

Internal Energy as a State Function

Every thermodynamic system stores energy — chemical, electrical, mechanical, the translational, vibrational and rotational motion of its molecules, and the energy of its electrons and nuclei. The sum of all these contributions is the internal energy, denoted $U$. NCERT introduces $U$ as the quantity that represents the total energy of a chemical system and that may change when heat flows across the boundary, when work is done, or when matter is exchanged.

The decisive property of $U$ is that it is a state function: its value depends only on the present state of the system, not on the path used to reach that state. Joule established this experimentally between 1840 and 1850. He took an insulated (adiabatic) vessel of water and raised its temperature in two completely different ways — once by churning it with paddles (mechanical work) and once with an immersion heater (electrical work). A given amount of work, no matter how it was delivered, produced the same change of state as measured by the same temperature rise.

That path-independence lets us define internal energy through the adiabatic work required to move between two states: $\Delta U = U_2 - U_1 = w_{ad}$. Because the result is the same for every adiabatic route, $U$ qualifies as a state function, standing alongside the other familiar state functions $p$, $V$ and $T$.

We cannot assign an absolute value to the internal energy of a system; we can only measure changes, $\Delta U$. This distinguishes the thermodynamic property energy from a purely mechanical property such as volume, whose absolute value is unambiguous.

Statement and the Master Equation

In the general case, the state of a system is changed both by doing work on it and by transferring heat. NCERT writes the change in internal energy for this combined case as the central equation of the chapter:

$$\Delta U = q + w \qquad (5.1)$$

For a given change between two fixed states, $q$ and $w$ can each take many values depending on how the change is carried out — they are not state functions. Yet their sum, $q + w = \Delta U$, depends only on the initial and final states. This is the mathematical statement of the first law of thermodynamics. In words, the NCERT and NIOS texts state it identically:

The energy of an isolated system is constant. Energy can neither be created nor destroyed — it only changes from one form to another.

An immediate consequence follows for an isolated system. If neither heat nor work crosses the boundary, $q = 0$ and $w = 0$, so $\Delta U = 0$: the internal energy of an isolated system is conserved. The first law is therefore the law of conservation of energy, made specific to a thermodynamic system.

IUPAC Sign Convention

Because $\Delta U = q + w$ is an equation in signed quantities, getting the signs of $q$ and $w$ right is the single most important skill in applying the first law. NCERT and NIOS both adopt the IUPAC convention for chemical thermodynamics, in which anything that increases the internal energy of the system carries a positive sign.

QuantityPositive (+)Negative (−)Effect on U
Heat, q Heat absorbed by the system from surroundings Heat released by the system to surroundings +q raises U; −q lowers U
Work, w Work done on the system (compression) Work done by the system (expansion) +w raises U; −w lowers U

As a concrete illustration drawn from NIOS, suppose a change absorbs 50 kJ of heat and the system spends 30 kJ doing work on the surroundings. Then $q = +50\ \text{kJ}$ (heat in) and $w = -30\ \text{kJ}$ (work out), so $\Delta U = (+50) + (-30) = +20\ \text{kJ}$. The system gains 20 kJ of internal energy while its surroundings lose the same 20 kJ.

NEET Trap

The old physics convention vs. the IUPAC convention

Older physics books write the first law as $\Delta U = q - w$, where $w$ is the work done by the system. NCERT Chemistry uses the IUPAC form $\Delta U = q + w$, where $w$ is the work done on the system. Both are correct — they merely define $w$ with opposite signs. Mixing the two is the most common source of wrong answers.

In NEET Chemistry always use $\Delta U = q + w$ with $w = -p_{ext}\,\Delta V$. For an expansion ($\Delta V > 0$) this makes $w$ negative, exactly as the convention demands.

Energy Bookkeeping: q and w into the System

The first law is best pictured as an accounting balance for the energy stored inside the system. Two arrows can deposit energy into the store $U$ — a heat arrow $q$ and a work arrow $w$ — and the convention fixes which direction counts as positive.

Energy bookkeeping for the first law: heat and work into the system change its internal energy SYSTEM ΔU = q + w SURROUNDINGS + q (heat in) + w (work on) − w (work by system, expansion)
Figure 1. Energy bookkeeping for $\Delta U = q + w$. Heat absorbed and work done on the system (solid arrows, positive) raise $U$; work done by the system in expansion (dashed arrow, negative) lowers $U$. The internal-energy store registers only the net sum.

The pressure–volume work that a gas does is captured by $w = -p_{ext}\,\Delta V$. The negative sign is what reconciles the mechanics with the IUPAC convention: in a compression $\Delta V = (V_f - V_i)$ is negative, so $w$ comes out positive (work done on the gas), while in an expansion $\Delta V$ is positive, so $w$ is negative (work done by the gas). Substituting this into the first law gives the working form $\Delta U = q - p_{ext}\,\Delta V$, the starting point for analysing each process.

Build the foundation

The terms $q$, $w$ and $U$ are defined in detail in Work, Heat and Internal Energy, including reversible vs. irreversible $pV$-work.

First-Law Form for the Four Processes

The power of $\Delta U = q + w$ is that, by recognising which quantity vanishes in a given process, you collapse the master equation into a simple, memorable form. The four standard processes for an ideal gas each set one term to zero.

ProcessConditionWhat is zeroFirst-law form
Isothermal $T$ constant ($\Delta T = 0$) $\Delta U = 0$ (ideal gas) $q = -w$ (all heat in → work out)
Adiabatic No heat exchange ($q = 0$) $q = 0$ $\Delta U = w_{ad}$
Isochoric $V$ constant ($\Delta V = 0$) $w = 0$ $\Delta U = q_V$
Isobaric $p$ constant neither (use $w = -p\Delta V$) $\Delta U = q_p - p\Delta V$; $\;q_p = \Delta H$

Isothermal process — ΔU = 0

For an ideal gas the internal energy depends only on temperature. Holding $T$ constant means $\Delta T = 0$, so $\Delta U = 0$. The first law then gives $q = -w$: every joule of heat the gas absorbs is delivered as work to the surroundings. For a reversible isothermal expansion of $n$ moles, NCERT derives the work term explicitly as $w_{rev} = -nRT\ln\dfrac{V_f}{V_i} = -2.303\,nRT\log\dfrac{V_f}{V_i}$, and hence $q = -w = 2.303\,nRT\log\dfrac{V_f}{V_i}$.

Adiabatic process — q = 0

An adiabatic process exchanges no heat with the surroundings; the boundary is an adiabatic wall. Setting $q = 0$ in the first law leaves $\Delta U = w_{ad}$. Work done on the gas raises both its internal energy and temperature, while work done by the gas in expansion lowers them — which is exactly why a compressed gas heats up and an expanding one cools.

Isochoric process — w = 0

At constant volume $\Delta V = 0$, so the $pV$-work $w = -p_{ext}\,\Delta V$ vanishes. The first law reduces to $\Delta U = q_V$, where the subscript $V$ records that the heat was exchanged at constant volume. This is the principle behind the bomb calorimeter, in which the heat measured at fixed volume is the internal-energy change of the reaction.

Isobaric process and free expansion

At constant pressure the gas does work $w = -p\,\Delta V$, so $\Delta U = q_p - p\Delta V$; here $q_p$ equals the enthalpy change $\Delta H$, developed in the next section. A special limiting case is free expansion — expansion into a vacuum where $p_{ext} = 0$. No work is done ($w = 0$), and Joule found experimentally that for an ideal gas $q = 0$ as well, so $\Delta U = 0$ and the temperature does not change.

Comparison of the four processes on the energy ledger Isothermal ΔT = 0 ΔU = 0 q = −w Adiabatic q = 0 ΔU = w no heat in/out Isochoric ΔV = 0 ΔU = qₜ w = 0 Isobaric p = const qₚ = ΔH w = −pΔV Starting from ΔU = q + w, set one term to zero
Figure 2. Process comparison. Each process zeroes one term of $\Delta U = q + w$, collapsing the master equation into the simple form shown. Isobaric is the exception: both $q$ and $w$ survive, and $q_p$ is named $\Delta H$.

Relation to Enthalpy at Constant Pressure

Most chemical reactions are carried out in open vessels at constant atmospheric pressure, not at constant volume. The first law tells us that at constant volume the measured heat is $\Delta U$ ($\Delta U = q_V$), but it does not directly give the heat at constant pressure. That gap is exactly why enthalpy is defined.

Enthalpy is the state function $H = U + pV$, so $\Delta H = \Delta U + \Delta(pV)$. At constant pressure $\Delta H = \Delta U + p\,\Delta V$. Substituting the constant-pressure first law $\Delta U = q_p - p\,\Delta V$ gives a clean cancellation:

$$\Delta H = (q_p - p\,\Delta V) + p\,\Delta V = q_p$$

Thus $\Delta H = q_p$: the heat exchanged at constant pressure is the change in enthalpy. This pairs neatly with the constant-volume result $\Delta U = q_V$. For reactions involving gases, the two are linked through $\Delta H = \Delta U + \Delta n_g RT$, where $\Delta n_g$ is the change in the number of moles of gas — the relation NEET tested verbatim in 2023.

NEET Trap

Insulated container does not mean ΔU = 0

A "well-insulated" or "thermos-flask" container only forces $q = 0$ (adiabatic). It does not set $\Delta U = 0$. With $q = 0$, the first law becomes $\Delta U = w = -p_{ext}\,\Delta V$, so an irreversible expansion against a finite external pressure gives a nonzero, negative $\Delta U$. Only an isothermal change of an ideal gas guarantees $\Delta U = 0$.

Read the wording carefully: "insulated" → $q = 0$; "isothermal / constant temperature" → $\Delta U = 0$ (ideal gas). They are not the same.

Worked Examples

Worked Example 1

A system absorbs 701 J of heat from the surroundings and does 394 J of work on the surroundings. Calculate the change in internal energy. (NIOS §9.7-type)

Heat is absorbed, so $q = +701\ \text{J}$. Work is done by the system, so it is negative: $w = -394\ \text{J}$. Applying the first law,

$\Delta U = q + w = (+701) + (-394) = +307\ \text{J}.$

The internal energy increases by 307 J. The gas could not keep all 701 J of the heat it absorbed because it spent 394 J of it pushing back the surroundings.

Worked Example 2

A gas expands 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. Find $\Delta U$ in joules. (NEET 2017)

The container is insulated, so the process is adiabatic and $q = 0$. The first law reduces to $\Delta U = w = -p_{ext}\,\Delta V$.

$\Delta V = 4.50 - 2.50 = 2.00\ \text{L}, \quad w = -2.5 \times 2.00 = -5.0\ \text{L atm}.$

Converting with $1\ \text{L atm} = 101.3\ \text{J} \approx 101\ \text{J}$:

$\Delta U = w = -5.0 \times 101 = -505\ \text{J}.$

The internal energy falls by 505 J — the gas cooled, since it did expansion work with no heat supply. Answer: $-505\ \text{J}$.

Worked Example 3

Two litres of an ideal gas at 10 atm expands isothermally at 25°C into a vacuum until its volume is 10 L. How much heat is absorbed and how much work is done? (NCERT Problem 5.2)

Expansion into a vacuum means $p_{ext} = 0$, so the work is $w = -p_{ext}\,\Delta V = 0$. With no opposing pressure, no work is done. Because the expansion is isothermal for an ideal gas, $\Delta U = 0$, and the first law gives $q = -w = 0$.

Both $q$ and $w$ are zero: no heat is absorbed and no work is done during free expansion of an ideal gas.

Quick Recap

First Law in One Screen

  • First law: $\Delta U = q + w$ — the energy of an isolated system is constant (conservation of energy).
  • $U$ is a state function ($\Delta U$ is path-independent); $q$ and $w$ are not.
  • IUPAC signs: $+q$ = heat into system, $+w$ = work done on system; use $w = -p_{ext}\,\Delta V$.
  • Isothermal (ideal gas): $\Delta U = 0$, so $q = -w$.
  • Adiabatic: $q = 0$, so $\Delta U = w_{ad}$. Isochoric: $w = 0$, so $\Delta U = q_V$.
  • Isobaric: $q_p = \Delta H$; and $\Delta H = \Delta U + \Delta n_g RT$ for gases.
  • Free / adiabatic free expansion of an ideal gas: $q = 0$, $w = 0$, $\Delta T = 0$, $\Delta U = 0$.

NEET PYQ Snapshot — First Law of Thermodynamics

Real NEET questions that turn on $\Delta U = q + w$ and the process-specific simplifications.

NEET 2017

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. +505 J
  2. 1136.25 J
  3. −500 J
  4. −505 J
Answer: (4) −505 J

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

NEET 2020

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

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

Free expansion: $p_{ext} = 0 \Rightarrow w = 0$. Adiabatic $\Rightarrow q = 0$. First law: $\Delta U = q + w = 0$, and since $\Delta U = nC_{V,m}\,\Delta T$, $\Delta T = 0$.

NEET 2021

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

  1. $\Delta U \neq 0,\ \Delta S_{total} = 0$
  2. $\Delta U = 0,\ \Delta S_{total} = 0$
  3. $\Delta U \neq 0,\ \Delta S_{total} \neq 0$
  4. $\Delta U = 0,\ \Delta S_{total} \neq 0$
Answer: (4) ΔU = 0, ΔS₍total₎ ≠ 0

Isothermal ideal gas: $\Delta U = nC_V\Delta T$ with $\Delta T = 0$, so $\Delta U = 0$. An irreversible process is spontaneous, hence $\Delta S_{total} > 0$, i.e. $\neq 0$.

NEET 2023

Which amongst the following options is the correct relation between change in enthalpy and change in internal energy?

  1. $\Delta H + \Delta U = \Delta n_g R$
  2. $\Delta H = \Delta U - \Delta n_g RT$
  3. $\Delta H = \Delta U + \Delta n_g RT$
  4. $\Delta H - \Delta U = -\Delta n_g RT$
Answer: (3) ΔH = ΔU + Δnɢ RT

From $H = U + pV$ and $pV = n_g RT$ at constant $T$, $\Delta H = \Delta U + \Delta(n_g RT) = \Delta U + \Delta n_g RT$ — the gas-phase link from the first law to enthalpy.

NEET 2024

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 cal K⁻¹ mol⁻¹):

  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\dfrac{p_i}{p_f} = -2.303 \times 1 \times 2 \times 298 \times \log\dfrac{20}{10} = -2.303 \times 2 \times 298 \times 0.301 \approx -413.14\ \text{cal}$. Work done by the gas, hence negative.

FAQs — First Law of Thermodynamics

The high-frequency conceptual doubts on $\Delta U = q + w$ for NEET.

What is the first law of thermodynamics in chemistry?

The first law of thermodynamics states that the energy of an isolated system is constant; energy can neither be created nor destroyed. Mathematically, the change in internal energy of a system equals the heat absorbed by the system plus the work done on the system, ΔU = q + w. It is the law of conservation of energy applied to a thermodynamic system.

What is the IUPAC sign convention for q and w?

By the IUPAC convention used in chemical thermodynamics, q is positive when heat is transferred from the surroundings to the system and negative when heat flows out of the system. Work w is positive when work is done on the system (compression) and negative when work is done by the system (expansion). Both positive q and positive w increase the internal energy of the system.

Why is ΔU = 0 for the isothermal expansion of an ideal gas?

For an ideal gas the internal energy depends only on temperature. In an isothermal process the temperature is held constant, so ΔT = 0 and therefore ΔU = 0. Applying the first law, ΔU = q + w gives q = -w, meaning all the heat absorbed by the gas is converted into work done by it. Joule confirmed experimentally that q = 0 for free expansion of an ideal gas into vacuum, where w is also 0.

What is the first-law form for an adiabatic process?

In an adiabatic process there is no heat exchange between the system and the surroundings, so q = 0. The first law then reduces to ΔU = w(ad), the change in internal energy equals the adiabatic work done on the system. Compression on the gas (w positive) raises U and the temperature; expansion by the gas (w negative) lowers U and the temperature.

What happens to the first law during free expansion of an ideal gas?

Free expansion is expansion of a gas into vacuum where the external pressure is zero. No work is done because w = -p(ext)ΔV = 0. If the expansion is also adiabatic, q = 0. The first law then gives ΔU = 0, so for an ideal gas the temperature stays constant (ΔT = 0). This is summarised as q = 0, ΔT = 0 and w = 0 for adiabatic free expansion.

How is the first law related to enthalpy at constant pressure?

At constant volume the first law gives ΔU = q(V), the heat exchanged equals the change in internal energy. At constant pressure, substituting w = -pΔV into ΔU = q + w and using H = U + pV gives ΔH = q(p), the heat exchanged equals the change in enthalpy. Enthalpy is defined precisely so that constant-pressure heat can be measured directly, which is convenient because most reactions occur at atmospheric pressure.