• Practice
  • About 24 min
  • 5 practice questions

Thermodynamic systems, the zeroth and first laws and work done by a gas

Classify thermodynamic systems and equilibria, use state variables and the zeroth law, define internal energy, follow Joule's experiment, apply ΔU = Q − W, find work as ∫P dV and derive Meyer's relation Cp − Cv = R.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Describe open, closed and isolated systems and the kinds of equilibrium.
  • Tell state variables from process quantities, and extensive from intensive variables.
  • State the zeroth law and explain how it defines temperature.
  • Define internal energy and apply the first law ΔU = Q − W with the right signs.
  • Find the work done by a gas as ∫P dV and derive Cp − Cv = R.

Thermodynamics deals with the conversion of heat into work and work into heat. Its laws grew from three centuries of experiments by Boyle, Charles, Bernoulli, Joule, Clausius, Kelvin, Carnot and Helmholtz, and they govern everything from car engines to our own bodies.

Thermodynamic systems

A thermodynamic system is a finite part of the universe, a collection of a very large number of particles described by quantities such as pressure P, volume V and temperature T. Everything else is the surroundings, separated from the system by a boundary. A system may be a solid, liquid, gas or even radiation: a bucket of water with the open air as surroundings, the air in a room with the outside air, a fish in the sea.

Types of thermodynamic system

  • Open
    • Exchanges both matter and energy
    • Example: an open pot of boiling water
  • Closed
    • Exchanges energy but not matter
    • Example: gas in a sealed metal cylinder
  • Isolated
    • Exchanges neither matter nor energy
    • Ideal; approached by a well-insulated closed flask

Equilibrium and state variables

A hot cup of coffee left in a room cools until it reaches room temperature; then there is no net heat flow: the coffee and the air are in thermal equilibrium (same temperature, unchanging). A gas under a loaded piston settles where the gas pushes up exactly as hard as the piston and its load push down: mechanical equilibrium (no unbalanced force). When there is no net chemical reaction between systems in contact, they are in chemical equilibrium. A system in all three is in thermodynamic equilibrium, and its P, V and T then have fixed values.

The equilibrium state is fully described by state variables such as pressure, volume, temperature and internal energy. Heat and work are not state variables: they depend on the process, so they are process variables. Extensive variables depend on the size of the system (volume, total mass, internal energy, heat capacity, entropy); intensive variables do not (temperature, pressure, density, specific heat capacity). An equation of state links the state variables in equilibrium: PV = NkT for an ideal gas, or van der Waals' equation for real gases. Because P, V, T and N are tied together, one cannot be changed alone.

The zeroth law of thermodynamics

Zeroth law: if two systems A and B are each in thermal equilibrium with a third system C, then A and B are in thermal equilibrium with each other. In symbols, if T_A = T_C and T_B = T_C, then T_A = T_B. Temperature is the property that decides whether systems are in thermal equilibrium. This is how a thermometer works: placed under the tongue, it comes into equilibrium with the body, so its reading is the body's temperature.

Internal energy

The internal energy U of a system is the sum of the kinetic and potential energies of all its molecules, measured relative to its centre of mass: U = E_K + E_P. E_K comes from the random translational, rotational and vibrational motion of the molecules; E_P from the forces between them (for example bond energy). The bulk motion of the whole system or its height above the ground does not count: a gas container in a moving train, or one on a shelf, has the same internal energy as an identical one at rest on the floor. In an ideal gas the molecules do not interact, so U is only kinetic and depends only on temperature (and the amount of gas), not on volume. U is a state variable: water heated from 30 °C to 40 °C has the same final U whether it was warmed on a flame or stirred.

Heat flows from higher to lower temperature, not from more to less internal energy. Pour a tumbler of hot water into a bucket of cooler water: the bucket has more internal energy (it is extensive and the bucket holds more water), yet heat flows from the tumbler's water into the bucket's.

Joule's experiment

James Prescott Joule showed that mechanical energy can be turned into internal energy. In his apparatus two masses m fall through a height h, losing potential energy 2mgh, and turn a paddle wheel in an insulated container of water; friction between the paddles and the water raises its temperature. He found that the same rise in temperature is produced by 4.186 J of work as by 1 calorie of heating: 1 cal = 4.186 J, called the mechanical equivalent of heat (strictly, of internal energy). Before Joule, heat was thought of as a fluid called caloric. A food calorie is 1 kcal = 4186 J.

Worked example 1: Joule-type paddle wheel

Two 10 kg masses fall 2.0 m, twenty times over, turning a paddle in 1.0 kg of water (g = 9.8 m s⁻²). Step 1: work done = 20 × 2 × mgh = 20 × 2 × 10 × 9.8 × 2.0 = 7840 J. Step 2: if all of it becomes internal energy of the water, ΔT = W/(ms) = 7840/(1.0 × 4186) = 1.9 K.

The first law of thermodynamics

The first law of thermodynamics is the law of conservation of energy, including heat: the change in internal energy of a system equals the heat supplied to it minus the work done by it on the surroundings: ΔU = Q − W. Sign convention: Q is positive when the system gains heat and negative when it loses heat; W is positive when work is done by the system and negative when work is done on it. Heat in and work done on the system raise U; heat out and work done by the system lower it. (Some books write ΔU = Q + W, taking work done on the system as positive; either convention works if used consistently.) The first law applies to solids and liquids as well as gases.

Worked example 2: using the signs

(a) A gas receives 500 J of heat and does 200 J of work on a piston: ΔU = 500 − 200 = +300 J. (b) A person stirs water, doing 20 kJ of work on it, while 6.0 kJ of heat escapes to the surroundings. W = −20 kJ (work done on the system) and Q = −6.0 kJ (heat lost), so ΔU = −6.0 − (−20) = +14 kJ: the water's internal energy rises. (c) While jogging, your body does 500 kJ of work and gives off 230 kJ of heat: ΔU = −230 − 500 = −730 kJ, which is made up from the food you eat.

Quasi-static processes and work done by a gas

If a heavy block is dropped onto a piston, the gas is thrown out of equilibrium: the pressure near the piston differs from elsewhere and P, T and U have no single values until it settles. A quasi-static process is one carried out so slowly (for example by adding sand to the piston grain by grain) that the system is always practically in thermal, mechanical and chemical equilibrium, so the equation of state holds at every stage.

When a gas at pressure P pushes a piston of area A out through dx, the force on the piston is F = PA and the work done is dW = F dx = PA dx = P dV. For a change from V_i to V_f: W = ∫ P dV from V_i to V_f. W is positive when the gas expands and negative when it is compressed. P stays inside the integral, because it may change during the process; it must be expressed through the equation of state before integrating. On a PV diagram (pressure against volume), the area under the curve is the work done; its shape depends on the process.

Specific heats of a gas and Meyer's relation

A gas has two specific heat capacities. At constant volume (s_v, or molar C_v) no work is done, so all the heat raises U. At constant pressure (s_p, or C_p) the gas expands as it warms, so part of the heat does work: more heat is needed for the same rise, and s_p > s_v. At constant volume Q = μC_vΔT = ΔU, so C_v = (1/μ) dU/dT; since U and T are state variables, dU = μC_v dT holds for any process of an ideal gas.

Meyer's relation. Heat μ moles of ideal gas at constant pressure through dT: Q = μC_p dT, ΔU = μC_v dT and W = P dV. First law: μC_p dT = μC_v dT + P dV. From PV = μRT at constant P, P dV = μR dT. So μC_p dT = μC_v dT + μR dT, giving C_p − C_v = R. The ratio γ = C_p/C_v (greater than 1) is the adiabatic exponent: for example γ = 1.4 for air and 5/3 for a monatomic gas such as helium.

Worked example 3: constant pressure versus constant volume

(a) A gas at a constant 2.0 × 10⁵ Pa expands from 2.0 L to 5.0 L: W = PΔV = 2.0 × 10⁵ × 3.0 × 10⁻³ = 600 J. (b) Two moles of a gas with C_v = 20.8 J mol⁻¹ K⁻¹ are heated by 10 K. At constant volume: Q = μC_vΔT = 2 × 20.8 × 10 = 416 J. At constant pressure, C_p = C_v + R = 29.1 J mol⁻¹ K⁻¹, so Q = 2 × 29.1 × 10 = 582 J. The extra 166 J is the work of expansion, μRΔT = 2 × 8.314 × 10 = 166 J.

Zeroth law → temperature. First law: ΔU = Q − W (Q > 0 heat in; W > 0 work by the system). W = ∫P dV = area under the PV curve. dU = μC_v dT; C_p − C_v = R; γ = C_p/C_v.

Key takeaways

  • Thermodynamic equilibrium means thermal, mechanical and chemical equilibrium together.
  • P, V, T and U are state variables; Q and W depend on the process.
  • Internal energy is molecular kinetic plus potential energy; for an ideal gas it depends on T only.
  • First law: ΔU = Q − W, with careful signs.
  • Work by a gas is the area under its PV curve; C_p − C_v = R.

Check your understanding

  1. 1. The zeroth law of thermodynamics leads directly to the idea of:

    1. temperature
    2. internal energy
    3. entropy
    4. work
    Show answer

    Answer: A. If A and B are each in thermal equilibrium with C, they are in equilibrium with each other. The common property they share is temperature, which is why the zeroth law makes thermometers possible.

  2. 2. A gas absorbs 400 J of heat and does 150 J of work on its surroundings. The change in its internal energy is:

    1. 550 J
    2. −250 J
    3. 250 J
    4. −550 J
    Show answer

    Answer: C. ΔU = Q − W with Q = +400 J (heat gained) and W = +150 J (work done by the gas). ΔU = 400 − 150 = 250 J.

  3. 3. Which of these is an intensive variable?

    1. Volume
    2. Temperature
    3. Internal energy
    4. Total mass
    Show answer

    Answer: B. Temperature does not depend on the size of the system: half a bucket of water at 30 °C is still at 30 °C. Volume, internal energy and mass all scale with the amount of matter, so they are extensive.

  4. 4. For an ideal gas, Meyer's relation is:

    1. C_p + C_v = R
    2. C_p/C_v = R
    3. C_v − C_p = R
    4. C_p − C_v = R
    Show answer

    Answer: D. At constant pressure part of the heat does work P dV = μR dT, so μC_p dT = μC_v dT + μR dT, giving C_p − C_v = R.

  5. 5. A gas expands at a constant pressure of 1.0 × 10⁵ Pa from 1.0 L to 3.0 L. The work done by the gas is:

    1. 2.0 × 10⁵ J
    2. 20 J
    3. 200 J
    4. 300 J
    Show answer

    Answer: C. W = PΔV = 1.0 × 10⁵ × (3.0 − 1.0) × 10⁻³ m³ = 1.0 × 10⁵ × 2.0 × 10⁻³ = 200 J. Remember 1 L = 10⁻³ m³.

Privacy · Terms · Refunds · Delivery