Topic 3 of 18

Zeroth law and first law: Thermodynamics Notes

The zeroth law and temperature, the first law as conservation of energy, its equation and its special cases, why U is a state function while q and w are not, and every solved illustration of the first law with full working.

Zeroth law of thermodynamics

The zeroth law, the law of thermal equilibrium, was stated after the first and second laws, but it is placed before them because it gives the logical basis for the idea of temperature.

Zeroth law
If two bodies A and B are each in thermal equilibrium with a third body C, then A and B are in thermal equilibrium with each other.

A thermometer works on this law. Placed in a system, it comes to thermal equilibrium with it and then shows a steady reading.

  • Two bodies at different temperatures in thermal contact move towards the same temperature.
  • Two bodies in thermal equilibrium with a third are in thermal equilibrium with each other.

First law of thermodynamics

Energy cannot be produced without using up energy of some other kind. When some amount of one form appears, an equal amount of another form disappears, so the total energy of the universe stays constant. This is the law of conservation of energy, put forward by Robert Mayer and Helmholtz.

First law
Energy can neither be created nor destroyed, although it may be changed from one form to another. The total energy of the system and the surroundings together stays constant in every physical and chemical process.

Why we believe it

  • The law has no theoretical proof; it rests on experience and has never been found to fail.
  • No perpetual motion machine, one that does work without using energy, has ever been made. If the law were false, such a machine would be possible.
  • Joule's experiments (about 1850) showed that the same amount of work always gives the same amount of heat, however the work is done: about 4.18 J of work for every calorie of heat.
  • In reactions too: 286 kJ of electrical energy is needed to decompose 1 mol of liquid water into and , and the same 286 kJ is released as heat when 1 mol of liquid water forms from them.

The equation of the first law

Internal energy changes in two ways: heat flows in or out, or work is done on or by the system. Start with internal energy . Supply heat q: it becomes . Then do work w on the system: it becomes .

Change in internal energy = heat added to the system + work done on the system.

Special cases

ConditionFirst law becomesMeaning
(isothermal ideal gas, cyclic process)heat absorbed = work done by the system; or heat given out = work done on it
no work, w = 0the whole heat goes into (or comes out of) internal energy
adiabatic, q = 0work on the system raises U; work by it lowers U
expansion against constant Ppart of the heat is spent pushing back the surroundings
constant volume, is the heat at constant volume

U is a state function, q and w are path functions

Take a system from state A to state B by path I and bring it back by path II. If the energy change along I were larger than along II, going round A to B by I and back by II would create energy while returning the system to its starting state. That breaks the first law. So the energy change from A to B is the same on every path: is a state function.

Now take A to B by three different paths on a P-V diagram (a sloping line, a vertical drop then a horizontal line, a wavy curve). The work is the area under each path, and the areas differ, so w depends on the path. Since and is fixed, q depends on the path too. Their sum does not.

A to B by three paths: same , different areas (work)

Points to remember

  • Heat and work appear only during a change of state, and only at the boundary of the system.
  • q is positive when heat is absorbed; w is positive when work is done on the system.
  • Work, heat and energy have the same units, but energy is a property of the system while work and heat are not.
  • For the same expansion, the work done in a reversible isothermal process is greater than in a reversible adiabatic one.
  • 1 cal > 1 J > 1 erg.
  • Work can be turned fully into heat, but heat cannot be turned fully into work in a cycle.

Solved illustrations: first law

Illustration 17

A system is given 50 J of heat and 20 J of work is done on it. Find the change in internal energy.

  1. 1q = +50 J, w = +20 J (work on the system).
  2. 2.
Answer: 70 J
Illustration 18

A system does 10 J of work when 40 J of heat is supplied to it. Find the increase in internal energy.

  1. 1w = -10 J, q = +40 J.
  2. 2.
Answer: 30 J
Illustration 19

A gas occupies 2 L at STP. It is given 300 J of heat and its volume becomes 2.5 L at 1 atm. Find the change in internal energy.

  1. 1Work against a constant 1 atm (irreversible): .
  2. 2.
  3. 3.
Answer: = 249.4 J
Illustration 20

An electric motor produces 16 kJ of mechanical work each second and loses 3 kJ as heat. Find the change in internal energy of the motor and its power supply each second.

  1. 1Energy leaves as work, so w = -16 kJ. Energy leaves as heat, so q = -3 kJ.
  2. 2.
Answer: -19 kJ each second
Illustration 21

An insulated container is divided into two equal parts. One has an ideal gas at P and T; the other is a vacuum. A hole is opened between them. Find (a) and (b) the change in temperature.

  1. 1Insulated: q = 0.
  2. 2The gas expands into a vacuum (free expansion): , so w = 0.
  3. 3.
  4. 4For an ideal gas U depends only on T (for a monatomic gas per mole), so T does not change.
Answer: (a) = 0 (b) no change in temperature
Illustration 22

2.8 g of N2 at 300 K and 20 atm expands isothermally against a constant external pressure of 1 atm. Find , q and w.

  1. 1n = 2.8/28 = 0.1 mol.
  2. 2, .
  3. 3.
  4. 4Isothermal ideal gas: , so .
Answer: = 0, w = -237 J, q = +237 J
Illustration 23

At 27 C, 1 mol of ideal gas is compressed isothermally and reversibly from 20 atm to 100 atm. Find , w and q (R = 2 cal K mol).

  1. 1.
  2. 2, so (work is done on the gas).
  3. 3Isothermal: , so (heat is given out).
Answer: = 0, w = +965.8 cal, q = -965.8 cal
Common mistake
In a compression the work done on the gas is positive and the gas gives out heat. Some printed solutions of Illustration 23 have both signs reversed; check the sign from the direction of change.
Illustration 24

1 mol of ideal gas is heated at constant pressure from 0 C to 100 C. (a) Find the work. (b) If the gas were instead expanded isothermally and reversibly at 0 C from 1 atm, to what final pressure would the maximum work equal the work in (a)?

  1. 1(a) .
  2. 2(b) .
  3. 3, so .
Answer: (a) -831.4 J (b) 0.694 atm
Illustration 25: the cycle ABCA
Illustration 25

1 mol of a monatomic ideal gas goes round a cycle ABCA. A to B: isochoric at , pressure rising from (temperature ) to (temperature ). B to C: isothermal expansion at down to pressure . C to A: isobaric compression at back to . Find (a) the work done by the gas, (b) the heat absorbed in AB and rejected in CA, (c) the heat absorbed in BC, (d) the maximum temperature.

  1. 1Volumes: B to C is isothermal from , so at the volume is . Temperatures: , .
  2. 2AB (isochoric): no work. (absorbed).
  3. 3BC (isothermal): ; work by the gas , and (absorbed).
  4. 4CA (isobaric): work on the gas . (rejected).
  5. 5Net work by the gas , which equals the net heat , as the first law requires for a cycle.
  6. 6Highest temperature: (along BC).
Answer: (a) (b) absorbed in AB, rejected in CA (c) absorbed in BC (d)
Common mistake
Some printed figures of Illustration 25 put C at volume 2V0. Then B (3P0V0) and C (2P0V0) would not be at the same temperature and BC could not be isothermal. With BC isothermal, C must be at 3V0, as used above.
Illustration 26: clockwise rectangle
Illustration 26

An ideal gas goes round a rectangle on a P-V diagram: A (2P, V) to B (2P, 2V) to D (P, 2V) to C (P, V) and back to A. Find the work done on the gas over the cycle: (a) -PV (b) -2PV (c) -PV/2 (d) zero.

  1. 1The net work is the area enclosed: (2P - P)(2V - V) = PV.
  2. 2The cycle runs clockwise (expansion at high pressure, compression at low pressure), so net work is done by the gas: w = -PV.
Answer: (a) -PV
Tip
On a P-V diagram, a clockwise cycle means net work done by the gas (w negative, heat absorbed); an anticlockwise cycle means net work done on the gas.
Illustration 27: the area under ABCD
Illustration 27

An ideal gas goes A to B to C to D: A at (1 m, 1 x Pa) rises in a straight line to B at (3 m, 3 x Pa), stays at 3 x Pa to C at 5 m, then falls in a straight line to D at (6 m, 1 x Pa). Find the net work.

  1. 1The work is minus the whole area under the path from V = 1 to V = 6.
  2. 2Area above the line P = Pa: a trapezium with parallel sides 2 m (B to C) and 5 m (A to D) and height Pa: .
  3. 3Rectangle below it: .
  4. 4Total area J; the gas expands, so .
Answer: J (if the gas were also returned from D to A at Pa, the cycle work would be J)
(a) Illustration 28 (I): circular cycle. (b) Illustration 28 (II): three paths.
Illustration 28

(I) A system goes round a circle on a V-P graph, with V from 10 to 30 L and P from 10 to 30 kPa. Find the heat absorbed. (II) A gas expands from A to B by three paths on a P-V diagram: path 1 sags below the straight line, path 2 is the straight line, path 3 bulges above it. Compare the work , , done by the gas.

  1. 1(I) Cycle: , so = area enclosed. Area .
  2. 2(II) The work done by the gas is the area under each path. Path 3 has the largest area and path 1 the smallest.
Answer: (I) J (II)
Illustration 29

(I) Can the absolute value of internal energy be measured? (II) 1 mol SO2 at 298 K and 1 atm is heated in a closed vessel to 475 K and 4 atm and then cooled back to 298 K and 1 atm. Find . (III) Why is q + w a state function when q and w are not? (IV) Which are properties of state: q, heat capacity, specific heat capacity, , w? (V) When is the heat of reaction equal to the enthalpy change?

  1. 1(I) No: U includes kinds of energy that cannot all be measured; only changes are measured.
  2. 2(II) The gas returns to its initial state, so the change in a state function is zero.
  3. 3(III) , a state function.
  4. 4(IV) q and w depend on the path. Heat capacity, specific heat capacity and the standard enthalpy of reaction depend only on the state.
  5. 5(V) At constant pressure: .
Answer: (I) no (II) zero (III) it equals (IV) heat capacity, specific heat capacity and (V) at constant pressure
Illustration 30

A gas expands from 3 dm to 5 dm against a constant 3 atm. The work is used to heat 10 mol of water at 290 K. Find the final temperature (specific heat of water 4.18 J g K).

  1. 1; 607.8 J goes to the water.
  2. 2Mass of water . .
  3. 3.
Answer: 290.8 K
Illustration 31

Classify as open, closed or isolated: (a) a beaker of boiling water (b) a reaction in a stoppered flask (c) a cup of tea on a table (d) hot water in a perfectly insulated closed container (e) hot coffee in a thermos flask.

Answer: (a) open (b) closed (c) open (d) isolated (e) isolated
Key points
  • Zeroth law: two bodies each in thermal equilibrium with a third are in equilibrium with each other; it is the basis of temperature.
  • First law: energy is conserved; .
  • Isothermal ideal gas or cycle: q = -w. No work: = q. Adiabatic: = w. Constant volume: .
  • is a state function; q and w depend on the path, but q + w does not.
  • On a P-V diagram work is the area under the path; for a cycle it is the enclosed area, done by the gas if the cycle is clockwise.