• Practice
  • About 17 min
  • 5 practice questions

Laws of thermodynamics and heat engines

Apply the first law ΔU = Q − W to gas processes and compute the efficiency of a heat engine.

If something looks wrong, please tell us.

Thermodynamics tracks energy as heat and work. The first law is simply conservation of energy, and the second law tells us why no engine can turn all heat into work.

The laws

  • Zeroth law: if A and B are each in thermal equilibrium with C, then A and B are in equilibrium with each other (this defines temperature).
  • First law: ΔU = Q − W, where Q is heat added to the gas and W is work done by the gas.
  • Second law (Kelvin-Planck): no engine working in a cycle can convert all the heat it absorbs into work. Heat does not flow by itself from a cold body to a hot one.
  • Ideal gas: PV = nRT with R = 8.314 J/mol K, and T in kelvin.
Special processes of an ideal gas
ProcessConditionConsequence
IsothermalT constantΔU = 0, so Q = W
IsochoricV constantW = 0, so Q = ΔU
IsobaricP constantW = PΔV
AdiabaticNo heat exchangeQ = 0, so W = −ΔU

A heat engine takes Q₁ from a hot reservoir at T₁, does work W and rejects Q₂ to a cold reservoir at T₂. Efficiency η = W/Q₁ = 1 − Q₂/Q₁. For the ideal Carnot engine, η = 1 − T₂/T₁ with temperatures in kelvin.

Worked examples

Example 1. A gas absorbs 500 J of heat and does 200 J of work. ΔU = 500 − 200 = 300 J.

Example 2. A gas expands at a constant pressure of 10⁵ Pa and its volume increases by 2 × 10⁻³ m³. W = PΔV = 10⁵ × 2 × 10⁻³ = 200 J.

Example 3. A Carnot engine works between 500 K and 300 K. η = 1 − 300/500 = 0.4 = 40%. If it takes 1000 J from the source, it does 400 J of work and rejects 600 J.

Example 4. The volume of one mole of ideal gas at 300 K and 10⁵ Pa: V = nRT/P = 1 × 8.314 × 300/10⁵ = 0.0249 m³ = 24.9 litres.

ΔU = Q − W. Isothermal: ΔU = 0. Adiabatic: Q = 0. Carnot efficiency = 1 − T₂/T₁ (in kelvin). No engine is 100% efficient.

— Remember

Key takeaways

  • First law is conservation of energy; keep the signs of Q and W consistent.
  • Always convert °C to kelvin in efficiency and gas-law problems.
  • Efficiency is limited by the temperatures of the reservoirs and is always below 100%.

Check your understanding

  1. 1. 300 J of heat is supplied to a gas kept at constant volume. What is the change in its internal energy?

    1. Zero
    2. −300 J
    3. 300 J
    4. 150 J
    Show answer

    Answer: C. Isochoric process: W = 0, so ΔU = Q − W = 300 J.

  2. 2. A gas expands at a constant pressure of 2 × 10⁵ Pa and its volume increases by 1.5 × 10⁻³ m³. How much work does it do?

    1. 3000 J
    2. 30 J
    3. 133 J
    4. 300 J
    Show answer

    Answer: D. W = P ΔV = 2 × 10⁵ Pa × 1.5 × 10⁻³ m³ = 300 J.

  3. 3. A Carnot engine works between 227 °C and 77 °C. What is its efficiency?

    1. 66%
    2. 30%
    3. 70%
    4. 34%
    Show answer

    Answer: B. T₁ = 500 K and T₂ = 350 K. η = 1 − 350/500 = 0.3 = 30%. Using Celsius (1 − 77/227) gives the wrong 66%.

  4. 4. What volume do 2 mol of an ideal gas occupy at 300 K and 10⁵ Pa? (R = 8.314 J/mol K)

    1. About 49.9 litres
    2. About 24.9 litres
    3. About 4.99 litres
    4. About 499 litres
    Show answer

    Answer: A. V = nRT/P = 2 × 8.314 × 300 ÷ 10⁵ = 4988.4 ÷ 10⁵ ≈ 0.0499 m³ ≈ 49.9 litres.

  5. 5. A gas expands adiabatically and does 120 J of work. What is the change in its internal energy?

    1. −120 J, and the gas cools
    2. +120 J, and the gas warms
    3. Zero, and the temperature stays the same
    4. −120 J, and the gas warms
    Show answer

    Answer: A. Adiabatic: Q = 0, so ΔU = −W = −120 J. Internal energy falls, so the temperature falls.

Privacy · Terms · Refunds · Delivery