Home / Learn / Exam prep / IIT JAM Physics / Lesson 5.2
All lessons

Module 5: Kinetic theory and thermodynamics · Lesson 5.2 · about 40 min

The first law: work, heat and processes

Internal energy, heat and work, the sign convention, and how an ideal gas behaves in isothermal, adiabatic, isobaric, isochoric and polytropic processes, with PV diagrams, cycles, free expansion and the irreversible-process traps JAM sets.

Key points, meanings and formulas on one page: choose "Save as PDF" in the print box.

Module 5 · about 40 minutes. By the end you will be able to keep the books of any process with Q=ΔU+W, read work off a PV diagram, find the heat, work and temperature change for every standard process of an ideal gas, work with polytropic processes and negative heat capacities, and spot when a formula needs the process to be reversible.

Energy is conserved. Heat put into a system either raises its internal energy or leaves as work done on the surroundings.

1. Internal energy, heat and work

A gas has an internal energy U: the total kinetic and potential energy of its molecules. U belongs to the state (pressure, volume, temperature), not to the history. Energy can cross the boundary in two ways:

  • heat Q, flowing because of a temperature difference;
  • work W, a force acting through a distance, for a gas W=∫PdV.
Q=ΔU+Wor, for a small step,dQ=dU+PdV
Q
heat given to the gas (positive when it flows in)
W
work done by the gas on its surroundings (positive when the gas expands)
ΔU
change of internal energy; for an ideal gas ΔU = nCVΔT in any process
Physical meaning
Q and W are energy in transit and depend on the path. Only their difference, ΔU, is fixed by the end states.

Sign warning. Chemists often define W as the work done on the system and write ΔU=Q+W. It is the same law. In every question, first find out which W is meant.

2. Work is an area

On a P–V diagram, W=∫PdV is the area under the path. Going to the right (expansion), the gas does positive work; to the left, negative. Two different paths between the same states have different areas, so different W, and (since ΔU is the same) different Q.

For a cycle, ΔU=0, so the net heat in equals the net work out, which equals the area enclosed. A clockwise cycle (with P up and V to the right) is an engine, W>0; anticlockwise is a refrigerator.

All four processes start at (P₀, V₀). The shaded area is the work. The readout keeps the books Q = ΔU + W; notice that the adiabat is always steeper than the isotherm.

3. The four standard processes of an ideal gas

For n moles of an ideal gas, PV=nRT, ΔU=nCVΔT, and CP−CV=R (Mayer’s relation: at constant pressure the gas also pushes the piston back, which costs an extra R per kelvin per mole).

Process Constant Work by gas W Heat Q ΔU
isochoric V 0 nCVΔT nCVΔT
isobaric P PΔV=nRΔT nCPΔT nCVΔT
isothermal T nRTln⁡(V2/V1) =W 0
adiabatic (reversible) PVγ P1V1−P2V2γ−1=nCV(T1−T2) 0 −W

Deriving the adiabat. With dQ=0: nCVdT=−PdV=−nRTdV/V. So dTT=−RCVdVV=−(γ−1)dVV, which integrates to TVγ−1= constant, and with T∝PV, PVγ= constant. The slope dP/dV=−γP/V is γ times the isotherm’s: the adiabat is steeper, which is why the adiabatic bulk modulus is γP and the isothermal one P.

Worked example (isothermal). One mole at 300 K expands from 10 L to 30 L: W=RTln⁡3=8.314×300×1.0986≈2.74 kJ, all supplied as heat. Using PΔV here is the classic slip: the pressure falls all the way.

Worked example (adiabatic). Air (γ=1.4) at 300 K is compressed to a tenth of its volume: T2=300×100.4≈754 K, hot enough to ignite diesel fuel. The pressure grows by 101.4≈25, not 10.

4. Polytropic processes and negative heat capacity

Many real processes follow PVn= constant for some n: n=0 is isobaric, n=1 isothermal, n=γ adiabatic, n→∞ isochoric. Per mole:

W=R(T1−T2)n−1,C=CV−Rn−1=R(n−γ)(γ−1)(n−1)

For 1<n<γ the heat capacity is negative: the gas absorbs heat yet cools, because it does more work than the heat it takes in.

Worked example. A rigid diatomic gas along PV1.2= const: C=2.5R−R/0.2=−2.5R. Another: the straight line P∝V is n=−1, giving C=CV+R/2.

5. When the formulas need reversibility

Q=ΔU+W always holds. But W=∫PdV with the gas’s own pressure, and PVγ= constant, need the gas to pass through equilibrium states (quasi-static). Three standard situations break this:

  • Free expansion into vacuum: Q=0, W=0, so ΔU=0 and an ideal gas keeps its temperature. It is adiabatic, but PVγ is not constant.
  • Sudden compression against a fixed external pressure Pext: the work done on the gas is PextΔV. More work is done than in the slow compression to the same volume, so the gas ends up hotter.
  • Filling an empty tank from a supply line at T0: the line pushes each parcel in, so each brings its enthalpy CPT0, and the tank ends at γT0.

“An adiabatic process always obeys PVγ= constant.” Only a reversible adiabatic process does. A free expansion is adiabatic and keeps PV constant instead. For a sudden compression, work it out from ΔU=−W with the external pressure, as in the example below.

Worked example (sudden compression). One mole of monatomic gas at 300 K and P0 is squeezed by a constant 4P0. First law: 32R(Tf−T0)=4P0(V0−Vf)=R(4T0−Tf), so Tf=2.2T0=660 K. The reversible route to 4P0 would give only 522 K.

6. Heat capacities, enthalpy and one cycle

Enthalpy H=U+PV is the natural energy at constant pressure: there Q=ΔH. For an ideal gas ΔH=nCPΔT in any process, so in an adiabat ΔH=γΔU.

Worked example (a cycle). One mole of monatomic gas runs round the rectangle (P0,V0)→(2P0,V0)→(2P0,2V0)→(P0,2V0)→(P0,V0). Net work = area =P0V0. Heat goes in only on the first two legs: 32P0V0+52(2P0V0)=6.5P0V0. Efficiency =1/6.5≈15%. Dividing by the net heat instead of the heat taken in is the trap. See many more cycles in fibub’s heat engine cycles tool.

  • Q=ΔU+W with W done by the gas; check the sign convention in every question.
  • U and H are state functions; Q and W depend on the path. For an ideal gas ΔU=nCVΔT for any process.
  • Work is the area under the P–V path; for a cycle it is the enclosed area, positive when clockwise.
  • Isothermal: W=Q=nRTln⁡(V2/V1). Adiabatic: TVγ−1 and PVγ constant, W=nCV(T1−T2).
  • Polytropic PVn: C=CV−R/(n−1), negative for 1<n<γ.
  • PVγ needs a reversible process. For sudden or free processes, use the first law with the external pressure.

Practise: exam questions on this lesson

They start easy and climb to top-rank level. Check each answer, then read the full solution. More on the first law practice page.

Before this: lesson 5.1, kinetic theory, for where CV and γ come from. Next: lesson 5.3, the second law and entropy, which says how much of the heat an engine can turn into work. Going on to GATE? The GATE Physics course builds the same ideas from statistical mechanics in its thermodynamics module.

Check yourself

1An ideal gas is compressed quickly in an insulated cylinder. Taking W as the work done by the gas, which is right?
2From the same starting state, a gas doubles its volume isothermally or adiabatically (both reversible). In which case does it do more work?
3Free expansion of an ideal gas into vacuum: what happens to its temperature?

Sources

  • M. W. Zemansky and R. H. Dittman, Heat and Thermodynamics, 7th ed. (McGraw-Hill, 1997), chapters 3 and 4
  • S. J. Blundell and K. M. Blundell, Concepts in Thermal Physics, 2nd ed. (Oxford, 2010), chapters 11 and 12
  • H. B. Callen, Thermodynamics and an Introduction to Thermostatistics, 2nd ed. (Wiley, 1985), chapter 1
  • IIT JAM Physics syllabus (Kinetic theory and thermodynamics section), published by the organising IIT each year

Your ticks stay in this browser. Save them as a file on the course home.

Updated 2026-11-22. Not affiliated with IIT or the JAM organising institute. Exam pattern as published for recent years: always check the official JAM website before the exam. All questions are original.