First Law of Thermodynamics

Every time a gas is heated, compressed, or let loose to expand, energy moves — some as heat, some as work — and the first law of thermodynamics is the strict accountant that tracks it all. It is nothing more exotic than the law of conservation of energy, written for chemical and physical systems: the internal energy of a closed system can change only by absorbing or releasing heat, or by having work done on it or by it, and the books must always balance. This single idea, ΔU=q+w\Delta U = q + w, is the foundation on which the rest of Unit V — enthalpy, thermochemistry, Hess's law — is built. Get the sign convention and the work term right here and every later calculation falls into place; get them wrong and every downstream answer inherits the error. This article develops the law from internal energy as a state function, works through the constant-external-pressure case CBSE examiners favour, and drills the sign traps that quietly cost the most marks.

The core insight

For a closed system, the change in internal energy equals the heat absorbed plus the work done on the system, ΔU=q+w\Delta U = q + w, with w=−PextΔVw = -P_{ext}\Delta V for expansion or compression against a constant external pressure.

The core idea

Internal energy is everything the system already owns. UU is the sum of every form of energy stored inside a system — translational, rotational and vibrational motion of molecules, plus the potential energy locked in chemical bonds and intermolecular attractions. It is a state function: its value depends only on the current state (temperature, pressure, composition), never on the path taken to reach it. So ΔU\Delta U for any process is fixed once the initial and final states are fixed, even though the heat and work exchanged along the way can differ with the path.

The law itself is conservation of energy, restricted to a closed system. Energy can transform from one form to another — heat into work, work into internal energy — but the total can neither be created nor destroyed. For a closed system exchanging only heat and work with its surroundings,

ΔU=q+w\Delta U = q + w

where: ΔU\Delta U is the change in internal energy of the system, qq is the heat absorbed by the system, and ww is the work done on the system. This is the NCERT/IUPAC sign convention used throughout CBSE Class 11 Chemistry, and it is worth stating the signs explicitly before doing any calculation:

  • q>0q > 0 when heat flows into the system (endothermic); q<0q < 0 when heat flows out (exothermic).
  • w>0w > 0 when the surroundings do work on the system, such as compression; w<0w < 0 when the system does work on the surroundings, such as expansion.

Expansion work against a constant external pressure. The commonest work term in this chapter is mechanical (pressure-volume) work done when a gas changes volume against a resisting external pressure PextP_{ext}. If the volume changes from V1V_1 to V2V_2, the work done on the system is

w=−Pext(V2−V1)=−PextΔVw = -P_{ext}(V_2 - V_1) = -P_{ext}\Delta V

where: PextP_{ext} is the constant external pressure resisting the gas, and ΔV=V2−V1\Delta V = V_2 - V_1 is the change in volume. The minus sign is not a bookkeeping accident — when the gas expands (ΔV>0\Delta V > 0), it is pushing the surroundings back and spending its own energy to do so, so the system loses energy and ww must come out negative in this convention. When the gas is compressed (ΔV<0\Delta V < 0), the surroundings push the gas, energy flows in, and ww is positive. The figure below shows the energy bookkeeping for a gas that both absorbs heat and expands, so that the two effects — one adding energy, one removing it — combine into a smaller net change in internal energy.

Figure
Energy flow diagram for a system that absorbs heat q entering as a red arrow and does expansion work w leaving as a blue arrow with the resulting change in internal energy delta U shown as a balance in a central box
First law: energy in minus energy out equals the change in internal energy System ΔU = q + w q = +500 J (heat absorbed) w = -300 J (work done on surroundings) Net: ΔU = 500 + (-300) = +200 J Heat in exceeds work out, so internal energy rises even though the gas expands

Special cases worth memorising. Several process types collapse this general equation into simpler forms that examiners test directly:

  • Isochoric (constant volume, ΔV=0\Delta V = 0): w=0w = 0, so ΔU=qv\Delta U = q_v, the heat exchanged at constant volume.
  • Free expansion (into a vacuum, Pext=0P_{ext} = 0): w=−PextΔV=0w = -P_{ext}\Delta V = 0 even though ΔV≠0\Delta V \ne 0, since there is nothing to push against.
  • Adiabatic (no heat exchange, q=0q = 0): ΔU=w\Delta U = w.
  • Isothermal expansion of an ideal gas: since UU depends only on temperature, ΔU=0\Delta U = 0, forcing q=−wq = -w — every joule absorbed converts, joule for joule, into work done by the gas.
Derivation ASolving for work, heat, or internal energy

The goal in every problem of this type is to use ΔU=q+w\Delta U = q + w together with w=−PextΔVw = -P_{ext}\Delta V to find whichever one of qq, ww, or ΔU\Delta U is missing, given the other quantities and the volume change, without slipping on the sign convention or the unit conversion from litres into cubic metres.

Step 1. Identify what is given and asked. Read off PextP_{ext}, the initial and final volumes (or ΔV\Delta V directly), and either qq or a process label (isothermal, adiabatic, constant volume) that already fixes one of the three quantities.

Step 2. Compute ΔV=V2−V1\Delta V = V_2 - V_1 and convert to SI. Since PextP_{ext} is usually in pascals and volume in litres, convert using 1 L=10−3 m31\ \text{L} = 10^{-3}\ \text{m}^3 so the product PextΔVP_{ext}\Delta V comes out directly in joules.

Step 3. Apply w=−PextΔVw = -P_{ext}\Delta V with the correct sign. A positive ΔV\Delta V (expansion) must give negative ww; a negative ΔV\Delta V (compression) must give positive ww. A contradiction here signals an arithmetic error.

Step 4. Substitute into ΔU=q+w\Delta U = q + w and solve for the unknown: q=ΔU−wq = \Delta U - w, or w=ΔU−qw = \Delta U - q, or simply add qq and ww. Report the answer with its sign and state what that sign means physically.

Worked example

Problem: A gas absorbs 500 J of heat and expands against a constant external pressure of 1.0×105 Pa1.0\times10^5\ \text{Pa}, its volume increasing from 2.0 L2.0\ \text{L} to 5.0 L5.0\ \text{L}. Calculate the work done and the change in internal energy of the gas.

Step 1. Find the volume change. ΔV=5.0−2.0=3.0 L=3.0×10−3 m3\Delta V = 5.0 - 2.0 = 3.0\ \text{L} = 3.0\times10^{-3}\ \text{m}^3.

Step 2. Compute the work done on the system. w=−PextΔV=−(1.0×105 Pa)(3.0×10−3 m3)=−300 Jw = -P_{ext}\Delta V = -(1.0\times10^5\ \text{Pa})(3.0\times10^{-3}\ \text{m}^3) = -300\ \text{J}. The negative sign confirms the gas does work on the surroundings as it pushes outward.

Step 3. Apply the first law. With q=+500 Jq = +500\ \text{J} absorbed, ΔU=q+w=500+(−300)=200 J\Delta U = q + w = 500 + (-300) = 200\ \text{J}. The internal energy of the gas increases by 200 J.

Competitive stretch

Problem: The same gas is now compressed back from 5.0 L5.0\ \text{L} to 2.0 L2.0\ \text{L} against the same external pressure, and its internal energy falls by 50 J50\ \text{J}. Find qq for this stage.

Step 1. The volume change reverses: ΔV=2.0−5.0=−3.0×10−3 m3\Delta V = 2.0 - 5.0 = -3.0\times10^{-3}\ \text{m}^3, so w=−PextΔV=+300 Jw = -P_{ext}\Delta V = +300\ \text{J} — positive, since the surroundings now do work on the gas.

Step 2. With ΔU=−50 J\Delta U = -50\ \text{J}, the first law gives q=ΔU−w=−50−300=−350 Jq = \Delta U - w = -50 - 300 = -350\ \text{J}. The gas releases 350 J of heat, even though 300 J of work was done on it, because internal energy still fell overall.

Common traps

  • Sign confusion: NCERT uses ΔU=q+w\Delta U = q + w with ww as work done on the system, while some physics texts use ΔU=q−w\Delta U = q - w with ww done by the system. Always use the NCERT convention here.
  • Forgetting that w=−PextΔVw = -P_{ext}\Delta V uses the external pressure, not the gas's own pressure — the two are equal only for a reversible, quasi-static process.
  • Assuming ΔU=0\Delta U = 0 for every isothermal process — true only for an ideal gas, since only then does UU depend on temperature alone.
  • Treating qq and ww individually as fixed by the initial and final states — only their sum ΔU\Delta U is path-independent.
  • Skipping the litre-to-cubic-metre conversion, which leaves the work term wrong by a factor of 10310^3.

Ask the tutor: Want to practice more sign-convention problems, or see how the first law connects to enthalpy and Hess's law in the next topic — ask the AI tutor for a guided problem set.

Why does NCERT use delta U = q + w instead of the delta U = q - w I have seen in some physics books

Both equations describe the same physics; they differ only in how ww is defined. NCERT and IUPAC define ww as work done on the system, so energy flowing in through work is positive, matching how qq is defined for heat — giving ΔU=q+w\Delta U = q + w. Older physics texts define ww as work done by the system, so an expanding gas has positive ww even though it is losing energy, forcing the minus sign in ΔU=q−w\Delta U = q - w. Stick with the NCERT convention throughout, and you will never need to switch mid-problem.

Is delta U always zero whenever a process happens at constant temperature

No, only for an ideal gas. An ideal gas has no intermolecular attractions, so its internal energy depends solely on molecular kinetic energy, which in turn depends only on temperature — hence constant temperature means constant UU. A real gas or liquid can have internal energy that also depends on volume and pressure through intermolecular forces, so an isothermal process for a real substance need not have ΔU=0\Delta U = 0. Only "ideal gas" plus "isothermal" together license ΔU=0\Delta U = 0.

If work done on the system is positive, why does compressing a gas by hand still feel like I am spending energy

Because you are supplying that energy, and it is going into the gas, not disappearing. When you compress a gas, you push against its pressure and transfer energy into it — exactly the positive work ww in ΔU=q+w\Delta U = q + w. The gas's internal energy rises as a result, unless it simultaneously releases an equal amount as heat. The energy your muscles spend does not vanish; it shows up as increased internal energy of the gas, consistent with the first law being energy conservation applied to a closed system.

Before this

Where this leads