1.7.13 · D3Thermodynamics

Worked examples — First law of thermodynamics — dU = dQ − dW, sign conventions

2,588 words12 min readBack to topic

Before anything, recall the only three quantities and one rule we use everywhere on this page.

Recall The one rule (from the parent)

  • = heat added to the gas ( in, out).
  • = work done by the gas ( when it expands, when compressed).
  • = change in internal energy ( = hotter for an ideal gas). Everything below is just plugging into this, being careful with the two signs.

The scenario matrix

The First Law has exactly two inputs that carry a sign: heat and work . Each can be positive, negative, or zero. That is a grid — the complete universe of cases. Below, each cell names the physical situation and points to the example that nails it.

(gas expands) (fixed volume) (gas compressed)
(heat in) Ex 1 — heat in, work out Ex 3 — isochoric heating Ex 2 — heat in and squeezed
(adiabatic) Ex 5 — adiabatic expansion Ex 6 — degenerate: free expansion Ex 4 — adiabatic compression
(heat out) Ex 7 — heat out yet expands Ex 3 (variant) Ex 8 — both signs negative

Two more cells that don't fit the 3×3 grid but must be shown:

  • Special-shape work — isobaric ( directly), isothermal (). → Ex 9
  • Word problem / exam twist — a cyclic process where over a full loop. → Ex 10

The figure below is the same grid drawn as a picture — memorise the diagonal (top-left to bottom-right) as "the boring cases where and push opposite ways."

Figure — First law of thermodynamics — dU = dQ − dW, sign conventions

The examples

Cell — heat in, gas pushes out

Cell — heat in AND squeezed

Cell — fixed volume (isochoric)

Cell — adiabatic compression

Cell — adiabatic expansion

Degenerate cell — free expansion into vacuum

Cell — the surprising one: heat OUT yet gas EXPANDS

Cell — both negative

Special-shape work — isobaric then isothermal

The figure shows the isobaric case as a rectangle whose area is the work.

Figure — First law of thermodynamics — dU = dQ − dW, sign conventions

Word problem / exam twist — a full cycle


Recall check

Recall Match the cell to the outcome

Adiabatic expansion — does the gas heat or cool? ::: Cools; so . Free expansion of an ideal gas — what is ? ::: Zero; , . Isochoric process — which term vanishes? ::: , so . Full cycle — what is ? ::: Zero, because is a state function. Compression with heat loss (Ex 8) — sign of ? ::: J; compression added more than heat removed.


Connections