Thermodynamics · Part 14 of 30

The first law, heat engines and heat pumps

Intermediate 17 min

Internal energy, heat and work, p–V diagrams, engine efficiency and the Carnot limit, and why heat pumps deliver more heat than they use.

What you will learn

  • You can apply the first law of thermodynamics with consistent sign conventions.
  • You can read work from a p–V diagram and describe isothermal, adiabatic, isobaric and isochoric processes.
  • You can calculate engine efficiency, the Carnot limit and a heat pump's coefficient of performance.

Before this: The ideal gas and kinetic theory

Energy bookkeeping for heat

Steam engines started the industrial revolution long before anyone understood why they worked. Thermodynamics grew out of the question "how much work can you get from heat?" Its first law is conservation of energy including heat; its second law (next lesson) says why you can never turn all heat into work.

Key points

  • First law: ΔU = Q − W (Q = heat added to the system, W = work done by the system).
  • Work by a gas: W = area under the curve in a p–V diagram (W = p·ΔV at constant pressure).
  • Processes: isothermal (T const), adiabatic (Q = 0), isobaric (p const), isochoric (V const).
  • Engine efficiency η = W / Q_hot; the Carnot limit η_max = 1 − T_cold / T_hot (kelvin).
  • Heat pumps move heat: COP = Q_hot / W, typically 3–4 for heating buildings.
A cut-away steam engine and a heat pump moving warmth from cold air into a house

Internal energy, heat and work

A system's internal energy U is the total kinetic and potential energy of its particles. You can change it in two ways: add heat Q (energy flowing because of a temperature difference) or let it do work W (e.g. a gas pushing a piston). The first law:

ΔU = Q − W

(Some books, especially chemistry ones, write ΔU = Q + W with W the work done on the system — same physics, different sign convention.)

Example. A gas absorbs 500 J of heat and does 200 J of work pushing a piston. Its internal energy rises by 300 J.

p–V diagrams

Plot a gas's pressure against its volume. When the gas expands, it does work equal to the area under the curve. At constant pressure W = p·ΔV: a gas at 200 kPa expanding by 0.010 m³ does 2.0 kJ of work.

Four standard processes for an ideal gas:

  • Isochoric (constant volume): no work; all heat changes U.
  • Isobaric (constant pressure): W = p·ΔV.
  • Isothermal (constant T): ΔU = 0, so Q = W = nRT·ln(V₂/V₁).
  • Adiabatic (no heat exchange, Q = 0): W = −ΔU. Compressing air quickly heats it — a bicycle pump gets warm, and a diesel engine ignites fuel purely by compression.
p–V diagram of a four-stage cycle: two isotherms and two adiabats enclose an area that equals the net work per cycle
Net work per cycle = enclosed area
A small steam engine with a flame below a boiler turning a flywheel

Heat engines

A heat engine runs in a cycle: takes heat Q_hot from a hot source, turns part of it into work W and dumps the rest, Q_cold, into a cold sink. Its efficiency:

η = W / Q_hot = 1 − Q_cold / Q_hot

Sadi Carnot showed in 1824 that no engine working between two temperatures can beat the ideal reversible cycle:

η_Carnot = 1 − T_cold / T_hot (in kelvin)

A steam turbine with steam at 600 °C (873 K) and cooling water at 30 °C (303 K) can reach at most 65 %. Real coal plants manage about 35–45 %; combined-cycle gas plants, which use the hot exhaust of a gas turbine to drive a steam cycle, exceed 60 %. Car petrol engines average 20–30 % in everyday driving.

Heat pumps: running the engine backwards

A heat pump (and a refrigerator) uses work to move heat from cold to hot. A refrigerant evaporates in the cold outdoor coil (absorbing heat even at −10 °C), a compressor raises its pressure and temperature, and it condenses in the indoor unit, releasing heat. Its performance is measured by the coefficient of performance:

COP_heating = Q_hot / W, with the ideal limit T_hot / (T_hot − T_cold).

For 35 °C floor heating and 0 °C outside, the Carnot limit is 308/35 ≈ 8.8; real air-source heat pumps achieve about 3–4 averaged over a season. So 1 kWh of electricity delivers 3–4 kWh of heat — the other 2–3 kWh come from the outdoor air. This does not break energy conservation: the heat pump moves energy rather than creating it. Lower flow temperatures (big radiators, floor heating) raise the COP, which is why installers care so much about them.

Flashcards

Question: State the first law of thermodynamics.
Answer: ΔU = Q − W: internal energy rises by the heat added minus the work done by the system.
Question: What is the work in a p–V diagram?
Answer: The area under the process curve (net work of a cycle = enclosed area).
Question: Carnot efficiency between 500 K and 300 K?
Answer: 1 − 300/500 = 40 %.
Question: What does a heat pump COP of 3.5 mean?
Answer: It delivers 3.5 kWh of heat for every 1 kWh of electricity.

Check yourself

Think about your answer, then open it. In the app the quiz is interactive, earns points and brings back what you missed.

  1. A gas receives 800 J of heat and does 300 J of work. Change in internal energy?

    Show the answer

    500 J

    ΔU = Q − W = 800 − 300 = 500 J.

    Source: OpenStax University Physics Vol. 2, 3.3

  2. Maximum (Carnot) efficiency of an engine between 800 K and 300 K?

    Show the answer

    62.5 % (± 0.1 %)

    1 − 300/800 = 0.625 = 62.5 %.

    Source: OpenStax University Physics Vol. 2, 4.5

  3. Match the process with what stays constant.

    Show the answer

    Isothermal = temperature; Isobaric = pressure; Isochoric = volume; Adiabatic = no heat exchange

    These are the four standard ideal-gas processes.

    Source: OpenStax University Physics Vol. 2, 3.4

  4. A heat pump with COP 4 delivers 12 kWh of heat. How much electricity does it use?

    Show the answer

    3 kWh (± 0.01 kWh)

    W = Q_hot / COP = 12 / 4 = 3 kWh; 9 kWh came from outside air.

    Source: US DOE, heat pump systems

Sources

Facts checked on 2026-11-30. Skillgrove lessons are free learning material — no certificate and no accreditation.