Thermodynamics in Depth: Zeroth Law, Work, Heat Capacities, Cycles and Entropy

The existing thermodynamics chapter gives the first and second laws and the four basic processes. This chapter fills what the syllabus names beyond them: the zeroth law and temperature scales, state and path functions, work as the area under a P–V curve for every process, molar heat capacities and the degrees-of-freedom formula, the polytropic family PVˣ = constant, engines and refrigerators with numbers, and entropy as a worked quantity. Every number is checked by script.
Overview

1. The Zeroth Law, Temperature, State and Path Functions

1 min read · 2 parts

The zeroth law says: if system A is in thermal equilibrium with C, and B is in thermal equilibrium with C, then A and B are in thermal equilibrium with each other. It is the reason a thermometer works at all: the thermometer is the third body C, and the law guarantees that “the same reading” means “no net heat flow between the two”. It also defines temperature as the property that is equal for systems in thermal equilibrium. The scales are linked by °F = (9/5)°C + 32 and K = °C + 273.15 (273 is used in numerical work). The two scales °C and °F read the same at −40.

State functions and path functions
QuantityKindWhy
Internal energy U, temperature T, pressure P, volume V, entropy SState functionDepends only on the present state, so its change depends only on the end states
Heat Q and work WPath functionDifferent routes between the same two states give different Q and W

The first law is ΔU = Q − W, with Q positive when heat flows into the gas and W positive when the gas does work on its surroundings. Q and W separately depend on the path, but their difference does not. Over a complete cycle the gas returns to its starting state, so ΔU = 0 and Q = W for the cycle.

⚠️ The sign convention that changes between subjects
Physics books write ΔU = Q − W with W the work done BY the gas. Many chemistry books write ΔU = q + w with w the work done ON the gas. The two are the same law with opposite sign for work. Read the first line of the question to see which is in use before substituting.

The zeroth law says: if system A is in thermal equilibrium with C, and B is in thermal equilibrium with C, then A and B are in thermal equilibrium with each other. It is the reason a…

2. Work in Every Process: the Area Under the P–V Curve

2 min read · 4 parts

Work done by a gas is W = ∫P dV, the area under the process curve on a P–V diagram, positive when the volume grows. The area is the whole method: for a straight-line path a trapezoid, for a rectangle a product, for a closed cycle the enclosed area, taken as positive for a clockwise loop (net work done by the gas).

Work, heat and internal energy for n moles of an ideal gas
ProcessWΔUQ
Isochoric (V constant)0nC_vΔTnC_vΔT
Isobaric (P constant)PΔV = nRΔTnC_vΔTnC_pΔT
Isothermal (T constant)nRT ln(V₂/V₁)0= W
Adiabatic (Q = 0)(P₁V₁ − P₂V₂)/(γ − 1) = nR(T₁ − T₂)/(γ − 1)nC_vΔT0

Worked. One mole of an ideal gas at 300 K expands isothermally to twice its volume: W = RT ln 2 = 8.314 × 300 × 0.693 = 1,729 J, and the same heat flows in because ΔU = 0 for an isothermal ideal-gas change. A common slip is to use W = PΔV here, which is only for constant pressure.

Free expansion (a gas rushing into an evacuated container, with the whole assembly insulated) has Q = 0 and W = 0 because the gas pushes against nothing, so ΔU = 0. For an ideal gas the temperature is therefore unchanged. It is irreversible and is not an isothermal curve, although it starts and ends at the same T.

Free expansion versus isothermal expansion
Free expansion
  • Gas pushes against nothing
  • Q = 0, W = 0, ΔU = 0
  • Irreversible; not an isothermal curve
Isothermal, 1 mol at 300 K to twice V
  • Gas does work on its surroundings
  • W = RT ln 2 = 1,729 J, ΔU = 0
  • The same 1,729 J of heat flows in
Both start and end at the same T, yet they are different processes.

Work done by a gas is W = ∫P dV, the area under the process curve on a P–V diagram, positive when the volume grows. The area is the whole method: for a straight-line path a trapezoid, for a…

3. Molar Heat Capacities, Degrees of Freedom and Adiabats

1 min read · 2 parts

At constant volume all the heat raises the internal energy, so C_v = (f/2)R for f quadratic energy terms (degrees of freedom). At constant pressure the gas also does work, giving Mayer’s relation C_p − C_v = R. The ratio is γ = C_p/C_v = 1 + 2/f.

Heat capacities by molecule type (room temperature)
GasfC_vC_pγ
Monatomic (He, Ar)33R/25R/25/3 = 1.67
Diatomic, rigid (N₂, O₂, H₂)55R/27R/27/5 = 1.40
Diatomic with vibration (high T)77R/29R/29/7 = 1.29
Non-linear polyatomic (rigid)63R4R4/3 = 1.33

For a reversible adiabatic change of an ideal gas, PVᵞ = constant, TVᵞ⁻¹ = constant and T P⁽¹⁻ᵞ⁾/ᵞ = constant. On a P–V diagram an adiabat is steeper than an isotherm through the same point by the factor γ. Worked. Air (γ = 1.4) at 300 K is compressed adiabatically to one-eighth of its volume: T₂ = 300 × 8^0.4 = 689 K. Rapid compression heats a gas, which is why a bicycle pump barrel warms and why a diesel engine needs no spark plug.

🧠 Which heat capacity, which process
ΔU = nC_vΔT is true for every process of an ideal gas, because U depends only on T. Q = nC_vΔT belongs only to the constant-volume path, and Q = nC_pΔT only to the constant-pressure path. Write ΔU first, find W from the area, and let Q = ΔU + W do the rest.

At constant volume all the heat raises the internal energy, so C_v = (f/2)R for f quadratic energy terms (degrees of freedom). At constant pressure the gas also does work, giving Mayer’s…

4. Worked First-Law Numbers and the Polytropic Family

1 min read · 3 parts

Worked (isobaric). Two moles of a monatomic gas are heated at constant pressure from 300 K to 400 K. ΔU = 2 × (3/2) × 8.314 × 100 = 2,494 J; Q = 2 × (5/2) × 8.314 × 100 = 4,157 J; W = nRΔT = 1,663 J. Check: 2,494 + 1,663 = 4,157 J. For a monatomic gas the fractions of Q that become ΔU and W are always 3/5 and 2/5, and for a rigid diatomic gas 5/7 and 2/7.

A polytropic process obeys PVˣ = constant. Its molar heat capacity is C = C_v + R/(1 − x). The special cases are the check: x = 0 gives C_p (isobaric), x = 1 gives an infinite C (isothermal: heat flows with no temperature change), x = γ gives C = 0 (adiabatic) and x → ∞ gives C_v (isochoric). The work done is W = (P₁V₁ − P₂V₂)/(x − 1), which is the adiabatic formula with γ replaced by x.

The polytropic index and what it describes
x in PVˣ = constProcessMolar heat capacity
0IsobaricC_p
1IsothermalInfinite
γAdiabatic0
±∞IsochoricC_v
2 mol monatomic gas, 300 K to 400 K at constant P
  1. Write ΔU = nC_vΔT first2 × (3/2) × 8.314 × 100 = 2,494 J
  2. Find WnRΔT = 1,663 J
  3. Q = ΔU + W4,157 J = nC_pΔT

Worked (isobaric). Two moles of a monatomic gas are heated at constant pressure from 300 K to 400 K. ΔU = 2 × (3/2) × 8.314 × 100 = 2,494 J; Q = 2 × (5/2) × 8.314 × 100 = 4,157 J; W = nRΔT…

5. Cycles, Engines, Refrigerators and Entropy

2 min read · 2 parts

A heat engine takes Q₁ from a hot reservoir, does work W and rejects Q₂ to a cold one, so W = Q₁ − Q₂ and the efficiency is η = W/Q₁ = 1 − Q₂/Q₁. The Carnot engine, two isotherms joined by two adiabats and reversible, has the largest efficiency between two temperatures: η = 1 − T₂/T₁ (kelvin). Worked. Between 500 K and 300 K, η = 40%; if the engine absorbs 2,000 J it does 800 J of work and rejects 1,200 J.

A refrigerator runs the cycle backwards. Its coefficient of performance is COP = Q₂/W = T₂/(T₁ − T₂) for the ideal case. Between a room at 300 K and a cold space at 270 K, COP = 270/30 = 9: every joule of work removes 9 J of heat from the cold space. The COP is above 1 and grows as the two temperatures come closer.

The second law is stated two ways. Kelvin–Planck: no cyclic engine can convert all the heat it takes from one reservoir into work. Clausius: heat does not flow by itself from cold to hot. Both say that η = 1 is impossible. Entropy gives the same law a number: dS = dQ_rev/T, and the entropy of an isolated system never decreases. Worked. Melting 1 kg of ice at 273 K takes mL = 3.34 × 10⁵ J, so ΔS = 3.34 × 10⁵/273 = 1,223 J/K, positive because the liquid is the more disordered state.

⚠️ Efficiency in celsius
The Carnot formula needs absolute temperatures. Putting 227 °C and 27 °C into 1 − T₂/T₁ gives 1 − 27/227 = 88%, while the correct 1 − 300/500 = 40%. Convert to kelvin before dividing, every time.
Carnot engine versus ideal refrigerator
Engine, 500 K and 300 K
  • η = 1 − T₂/T₁
  • 40%: always below 1
  • Takes 2,000 J: 800 J work, 1,200 J rejected
Refrigerator, 300 K and 270 K
  • COP = T₂/(T₁ − T₂)
  • 9: above 1
  • Each joule of work removes 9 J

A heat engine takes Q₁ from a hot reservoir, does work W and rejects Q₂ to a cold one, so W = Q₁ − Q₂ and the efficiency is η = W/Q₁ = 1 − Q₂/Q₁. The Carnot engine, two isotherms joined by…

Key takeaways

  • The zeroth law is what makes temperature, and a thermometer, meaningful; °C and °F agree at −40.
  • ΔU = Q − W with W the work done by the gas; ΔU = nC_vΔT for every ideal-gas process, and Q = W over a full cycle.
  • C_v = fR/2, C_p = C_v + R and γ = 1 + 2/f; adiabats obey PVᵞ, TVᵞ⁻¹ and are γ times steeper than isotherms.
  • The polytropic heat capacity C = C_v + R/(1 − x) reproduces all four basic processes as special cases.
  • Carnot η = 1 − T₂/T₁ and ideal COP = T₂/(T₁ − T₂), both in kelvin; η = 1 is forbidden and entropy of an isolated system never falls.

Practice questions (24)

Attempt each one before opening the answer. Every explanation names the tempting wrong option as well as the right one, because that is where marks are lost.

  1. Two systems are each in thermal equilibrium with a third. The zeroth law then says that the two systems:

    1. Are in thermal equilibrium with each other
    2. Must have equal internal energy
    3. Must have equal pressure
    4. Exchange heat until their volumes are equal
    Show answer

    Answer: A — Are in thermal equilibrium with each other

    The zeroth law defines thermal equilibrium as transitive, which is what lets a thermometer compare two bodies. It says nothing about equal energy, pressure or volume: two gases at the same temperature can have all three different.
  2. At which temperature do the Celsius and Fahrenheit scales give the same reading?

    1. −40
    2. 0
    3. 40
    4. −273
    Show answer

    Answer: A — −40

    Setting C = (9/5)C + 32 gives −(4/5)C = 32, so C = −40. At 0 and at −273 the two scales are far apart (32 °F and about −459 °F).
  3. One mole of an ideal gas at 300 K expands isothermally to twice its volume. The work done by the gas is nearly (R = 8.314 J/mol K, ln 2 = 0.693):

    1. 1,729 J
    2. 2,494 J
    3. 8,314 J
    4. 0
    Show answer

    Answer: A — 1,729 J

    W = RT ln(V₂/V₁) = 8.314 × 300 × 0.693 = 1,729 J. Zero would be the change in internal energy, not the work, and 2,494 J is the ΔU of a different (isobaric) process of the same size.
Show the other 21 questions
  1. The ratio C_p/C_v for a gas whose molecules have f = 5 quadratic energy terms is:

    1. 7/5
    2. 5/3
    3. 4/3
    4. 9/7
    Show answer

    Answer: A — 7/5

    γ = 1 + 2/f = 1 + 2/5 = 7/5. The value 5/3 belongs to f = 3 (monatomic) and 4/3 to f = 6 (non-linear polyatomic).
  2. Two moles of a monatomic ideal gas are heated at constant pressure from 300 K to 400 K. The heat absorbed is nearly:

    1. 4,157 J
    2. 2,494 J
    3. 1,663 J
    4. 8,314 J
    Show answer

    Answer: A — 4,157 J

    Q = nC_pΔT = 2 × (5/2)R × 100 = 4,157 J. The 2,494 J is only the internal-energy change and 1,663 J only the work; the heat is their sum.
  3. Air (γ = 1.4) at 300 K is compressed adiabatically to one-eighth of its volume. The final temperature is nearly (8^0.4 = 2.30):

    1. 689 K
    2. 2,400 K
    3. 300 K
    4. 150 K
    Show answer

    Answer: A — 689 K

    TVᵞ⁻¹ is constant, so T₂ = T₁(V₁/V₂)^0.4 = 300 × 8^0.4 = 689 K. Using the exponent 1.4 instead of γ − 1 = 0.4 would give an absurd 5,500 K, and T cannot fall on compression with no heat loss.
  4. In a polytropic process PV² = constant for a monatomic ideal gas, the molar heat capacity C = C_v + R/(1 − x) equals:

    1. R/2
    2. 3R/2
    3. −R
    4. 5R/2
    Show answer

    Answer: A — R/2

    With x = 2 and C_v = 3R/2, C = 3R/2 + R/(1 − 2) = 3R/2 − R = R/2. The answer 5R/2 would be the isobaric value (x = 0), and 3R/2 the isochoric.
  5. A Carnot engine works between 500 K and 300 K and absorbs 2,000 J per cycle. The heat rejected per cycle is:

    1. 1,200 J
    2. 800 J
    3. 2,000 J
    4. 400 J
    Show answer

    Answer: A — 1,200 J

    η = 1 − 300/500 = 0.4, so W = 800 J and Q₂ = 2,000 − 800 = 1,200 J. The 800 J is the work, not the rejected heat.
  6. An ideal refrigerator operates between 270 K (inside) and 300 K (room). Its coefficient of performance is:

    1. 9
    2. 10
    3. 0.1
    4. 0.9
    Show answer

    Answer: A — 9

    COP = T₂/(T₁ − T₂) = 270/30 = 9. The inverse 1/9 would be the work per joule of cooling, and 10 would be 300/30, using the wrong reservoir temperature.
  7. A gas expands freely into a vacuum inside an insulated container. For the gas:

    1. Q = 0, W = 0 and ΔU = 0
    2. Q = 0 and ΔU < 0
    3. W > 0 and ΔU < 0
    4. ΔS = 0
    Show answer

    Answer: A — Q = 0, W = 0 and ΔU = 0

    The gas pushes against no pressure, so W = 0; the insulation gives Q = 0, and the first law makes ΔU = 0. Its entropy rises, because the process is irreversible, so ΔS = 0 is wrong.
  8. Normal human body temperature is 98.6 °F. In degrees Celsius this is:

    1. 37 °C
    2. 42 °C
    3. 66.6 °C
    4. 30 °C
    Show answer

    Answer: A — 37 °C

    °C = (°F − 32) × 5/9 = (98.6 − 32) × 5/9 = 37 °C. 66.6 simply subtracts 32 without the 5/9 scale factor; the two scales have different degree sizes.
  9. The work done by a gas in an isochoric (constant-volume) process is:

    1. Zero
    2. PΔV
    3. nRΔT
    4. Equal to the heat absorbed
    Show answer

    Answer: A — Zero

    W = ∫P dV = 0 because dV = 0, so all the heat goes into internal energy: Q = ΔU. "Equal to the heat absorbed" describes the isothermal process of an ideal gas.
  10. When a gas is compressed adiabatically, its temperature:

    1. Rises, because work done on the gas increases its internal energy
    2. Falls, because the volume decreases
    3. Remains constant
    4. Rises, because heat flows in
    Show answer

    Answer: A — Rises, because work done on the gas increases its internal energy

    With Q = 0 the first law gives ΔU = −W, and W is negative (work done on the gas), so ΔU > 0 and T rises. No heat enters in an adiabatic process, which rules out the last option.
  11. A Carnot engine works between 600 K and 300 K. Its efficiency is:

    1. 50 %
    2. 100 %
    3. 200 %
    4. 25 %
    Show answer

    Answer: A — 50 %

    η = 1 − T_c/T_h = 1 − 300/600 = 50 %. Using the difference over the lower temperature (300/300 = 100 %) gives the impossible figure that no engine can reach.
  12. For a spontaneous process in an isolated system, the entropy of the system:

    1. Never decreases
    2. Always decreases
    3. Remains constant for every process
    4. Equals the heat absorbed
    Show answer

    Answer: A — Never decreases

    The second law: ΔS ≥ 0 for an isolated system, with equality only for reversible processes. Entropy can fall in a part of a system (a refrigerator's interior) only when more is generated elsewhere.
  13. A gas undergoes a cycle that appears on a P–V diagram as a right-angled triangle of height ΔP = 2 × 10⁵ Pa and base ΔV = 2 × 10⁻³ m³, traversed clockwise. The net work done by the gas per cycle is:

    1. 200 J
    2. 400 J
    3. 100 J
    4. 0
    Show answer

    Answer: A — 200 J

    Net work = ½ × base × height = ½ × 2 × 10⁻³ × 2 × 10⁵ = 200 J. 400 J takes the full rectangle ΔPΔV, forgetting the ½ of a triangle; zero would be the answer only if the net heat were zero.
  14. One mole of a rigid diatomic ideal gas is heated at constant pressure through 50 K (R = 8.314 J mol⁻¹ K⁻¹). The heat absorbed is closest to:

    1. 1455 J
    2. 1039 J
    3. 416 J
    4. 2078 J
    Show answer

    Answer: A — 1455 J

    Q = nC_pΔT = 1 × (7/2)(8.314)(50) = 1455 J. 1039 J = C_vΔT (5R/2) is the constant-volume value; 416 J is the work alone, RΔT.
  15. One mole of a monatomic ideal gas expands adiabatically and cools from 400 K to 300 K (R = 8.314 J mol⁻¹ K⁻¹). The work done by the gas is closest to:

    1. 1247 J
    2. 2078 J
    3. 831 J
    4. 0
    Show answer

    Answer: A — 1247 J

    With Q = 0, W = −ΔU = nC_v(T₁ − T₂) = 1 × 1.5 × 8.314 × 100 ≈ 1247 J. 2078 J would use C_p, appropriate to constant pressure; zero ignores that the gas pays for the work from its own internal energy.
  16. A heat pump operating reversibly between a cold reservoir at 270 K and a room at 300 K has a coefficient of performance (heating) of:

    1. 10
    2. 9
    3. 0.1
    4. 1.1
    Show answer

    Answer: A — 10

    COP_heating = T_h/(T_h − T_c) = 300/30 = 10, exactly one more than the refrigerator COP of 9 for the same temperatures. 9 is the cooling COP, T_c/(T_h − T_c).
  17. P: For an isothermal process in an ideal gas ΔU = 0. Q: A gas cools when it expands adiabatically. R: The specific heat of a gas at constant pressure is smaller than at constant volume. S: The Kelvin–Planck statement forbids a heat engine from converting all heat absorbed into work in a cycle. Which are correct?

    1. P, Q and S
    2. P, Q and R
    3. Q and R only
    4. P and S only
    Show answer

    Answer: A — P, Q and S

    P, Q and S are correct. R is false: C_p = C_v + R > C_v because at constant pressure part of the heat also does expansion work.
  18. The latent heat of fusion of ice is 334 J g⁻¹. The entropy change when 100 g of ice melts reversibly at 273.15 K is closest to:

    1. +122 J K⁻¹
    2. +33400 J K⁻¹
    3. −122 J K⁻¹
    4. 0
    Show answer

    Answer: A — +122 J K⁻¹

    ΔS = Q/T = 100 × 334/273.15 ≈ +122 J K⁻¹; heat is absorbed at constant temperature, so the entropy rises as the ordered solid becomes liquid. A negative sign would belong to freezing; zero is the answer for no heat exchange.
  19. An ideal Otto engine has a compression ratio of 8 and γ = 1.4 for its working gas (8⁻⁰·⁴ = 0.435). Its efficiency is ____ % (one decimal place).

    Numerical answer — type the value.

    Show answer

    Answer: 56.5

    η = 1 − 1/r^(γ−1) = 1 − 8⁻⁰·⁴ = 1 − 0.435 = 0.565, i.e. 56.5 %. Using the exponent γ (1 − 8⁻¹·⁴ = 0.945) instead of γ − 1 gives an absurdly high value; real engines reach only about 25–30 % because of friction and incomplete combustion.
  20. A Carnot engine works between 500 K (source) and 300 K (sink). Its efficiency is to be improved either by lowering the sink temperature by 50 K or by raising the source temperature by 50 K. The better option and the resulting efficiency are:

    1. Lower the sink; η = 50 %
    2. Raise the source; η = 45.5 %
    3. Lower the sink; η = 45.5 %
    4. Both give the same η = 40 %
    Show answer

    Answer: A — Lower the sink; η = 50 %

    Lowering the sink: η = 1 − 250/500 = 50 %. Raising the source: η = 1 − 300/550 = 45.5 %. The sink change helps more because η = 1 − T_c/T_h falls linearly with T_c (a change of 50/500 = 10 percentage points) whereas T_h appears in the denominator. Starting efficiency is 40 %; the options mixing the two results are the tempting errors.
  21. 1 kg of water at 20 °C is mixed with 1 kg of water at 80 °C in an insulated vessel (c = 4200 J kg⁻¹ K⁻¹). The total entropy change of the water is ____ J K⁻¹ (nearest whole number).

    Numerical answer — type the value.

    Show answer

    Answer: 36

    Final temperature = 50 °C = 323.15 K. ΔS = mc[ln(323.15/293.15) + ln(323.15/353.15)] = 4200(0.0974 − 0.0888) ≈ +36 J K⁻¹. A positive value is the signature of an irreversible process. The wrong shortcut ΔS = mc ΔT/T_mean, or taking the entropy as zero because the heat lost equals the heat gained, misses this.