Skip to content

← Grade 12 Physics

First Law of Thermodynamics

Unit 4 · CDC textbook pages 77–95

Hide the stories, facts, photos, activities and interactives, for revising before an exam
In this unit 16 sections
  1. 4.1 Introduction
  2. 4.2 Thermodynamic system
  3. 4.3 Thermodynamic variables (thermodynamic coordinates)
  4. 4.4 Work done
  5. 4.5 Positive and negative work
  6. 4.6 Work done during the expansion of a gas
  7. 4.7 Indicator diagram
  8. 4.8 Internal energy and latent heat
  9. 4.9 First law of thermodynamics
  10. 4.10 Specific heat capacity of a gas
  11. 4.11 Thermodynamic processes
  12. 4.12 Adiabatic process
  13. 4.13 Isobaric and isochoric processes
  14. 4.14 Reversible process
  15. 4.15 Irreversible process
  16. Exercise

Pump up a bicycle tyre and feel the end of the pump: it gets warm. Press the button of a can of spray deodorant for a few seconds and the can turns cold in your hand. Leave a pressure cooker on the stove with its weight in place and the pressure inside climbs, though nothing is pushed into it but heat. In each case heat, work and the energy stored inside a gas are trading places.

This unit keeps the accounts of that trade. Its main rule, the first law of thermodynamics, is the law of conservation of energy written for heat engines: the heat you give a gas either stays inside it or comes out as work. With it you will see why squeezing a gas fast heats it, why a gas has two specific heat capacities, how to find the work a gas does from the area under a graph, and why the curve of a fast expansion is steeper than that of a slow one. The next unit asks the question this one can’t answer: why can no engine turn all its heat into work?

4.1 Introduction

Thermodynamics is the branch of physics that deals with heat, work and the energy stored in matter, and with how they turn into one another. The word joins two Greek words: thermē, heat, and dynamis, power. It was born in the 1800s from a very practical question: how much work can a steam engine get from a tonne of coal?

The idea that work and heat are two forms of the same thing, energy, and can be changed into each other at a fixed rate, was proved by measurement in the 1840s, above all by the English brewer and physicist James Prescott Joule (Section 4.8). Thermodynamics has four laws:

  • the zeroth law: two bodies each in thermal equilibrium with a third are in thermal equilibrium with each other. It makes temperature something that can be measured (Grade 11, Unit 9);
  • the first law, this unit: energy is conserved, with heat counted as a form of energy;
  • the second law, Unit 5: heat flows by itself only from hot to cold, and no engine can turn all its heat into work;
  • the third law: absolute zero can be approached but never reached.

The first law says that the total energy of an isolated system stays constant. It brings in the three ideas of this unit, heat, work and internal energy, and it is the starting point for the study of gases, heat engines, refrigerators and many chemical and biological processes, down to what your body does with the dal bhat you eat.

A black-and-white photograph of Maria Goeppert Mayer, a woman with short wavy hair, smiling
Figure 4.1 Maria Goeppert Mayer, who explained the “magic numbers” of nuclei, and with her husband wrote a textbook on the physics of heat. Photo: Nobel foundation, Public domain

4.2 Thermodynamic system

To keep accounts of energy you first have to say whose energy you are counting. A thermodynamic system is the particular part of matter or region of space we choose to study, separated from everything else by a boundary, real or imagined. Everything outside the boundary is the surroundings. The system together with its surroundings is sometimes called the universe.

A system is described by its large-scale (macroscopic) properties: its pressure, volume and temperature. It can interact with its surroundings in two ways: by exchanging energy (as heat or as work), and by exchanging matter. That gives three types of system (Figure 4.2):

  1. Open system: exchanges both matter and energy with its surroundings. Example: water boiling in an open pot. Heat comes in from the flame, and steam (matter) leaves.
  2. Closed system: exchanges energy but not matter. Example: a gas shut in a cylinder with a conducting wall and a movable piston. Heat can pass through the wall and the gas can do work on the piston, but no gas gets in or out. A pressure cooker with its weight in place is closed too, until the weight lifts and lets steam out.
  3. Isolated system: exchanges neither energy nor matter. Example: hot water in a closed, insulated vacuum flask. No real system is perfectly isolated (a flask’s tea does cool overnight), but a good flask comes close for a few hours.
steamworkheathotteaopenmatter ✓energy ✓closedmatter ✗energy ✓isolatedmatter ✗energy ✗
Figure 4.2 The three kinds of system. An open pot on a flame takes in heat and lets steam out: matter and energy both cross its boundary. Gas in a cylinder with a piston can take in heat and push the piston, but no gas leaves. A stoppered vacuum flask lets neither through.

A sealed bottle of cold cold-drink is left on a table on a hot day. As a thermodynamic system, it is:

Pick an answer to see why.

4.3 Thermodynamic variables (thermodynamic coordinates)

When a system has settled down, so that nothing in it changes any more with time, it is in thermodynamic equilibrium: the same temperature everywhere (thermal equilibrium), no unbalanced forces, so the same pressure everywhere (mechanical equilibrium), and no chemical change going on. Its state can then be described by a few measurable quantities, the thermodynamic variables (or coordinates). They let us describe the system, and predict how it will behave.

They are of two kinds:

  1. State variables (state functions) have a definite value in each equilibrium state, whatever happened to the system before: pressure, volume, temperature, internal energy, entropy (Unit 5) and enthalpy (chemistry’s heat content, U+PV U + PV ). A change in a state variable depends only on the starting and ending states.
  2. Process variables describe something that happens during a change, and have no value in a state: work and heat. How much work is done or heat given depends on the path taken between the states.

An everyday picture: the height of the summit of Phulchoki above the Godavari road head is a state variable; it is the same whichever trail you take. The distance you walk and the sweat you lose are process variables: they depend on the trail. A gas “contains” internal energy, but it doesn’t “contain” heat or work, any more than a hiker contains the trail.

Which of these is not a state variable?

Pick an answer to see why.

4.4 Work done

In mechanics, a force does work when its point of application moves: W=Fs W = Fs (Grade 11, Unit 5). In thermodynamics, the force usually comes from a pressure, and the movement is a change of volume: a gas pushing a piston out, or the air pushing a balloon’s skin in. Work done is energy transferred because a force acts on a system and the system’s boundary moves.

Work in thermodynamics is a path function: how much is done depends on the path the system takes from its first state to its last, not just on those two states (Section 4.7 shows why).

4.5 Positive and negative work

The work that matters is the work done by the system on its surroundings, and its sign is chosen so:

  • Positive work (work done by the system): the system pushes its surroundings back. Example: a gas expanding and pushing a piston out, or the air in a bursting balloon pushing the room’s air away. The gas gives energy to the surroundings.
  • Negative work (work done on the system): the surroundings push the system in. Example: a gas being compressed by a piston, as in a bicycle pump. The surroundings give energy to the gas.

For a gas: expansion, dV>0 dV > 0 , work done by the gas positive; compression, dV<0 dV < 0 , work done by the gas negative.

4.6 Work done during the expansion of a gas

Take a gas in a cylinder closed by a piston of cross-sectional area A A , which is light and moves without friction (Figure 4.3). The gas, at pressure P P , pushes on the piston with a force

F=PA F = PA

Let the gas expand from its first state (P1,V1) (P_1, V_1) to its last (P2,V2) (P_2, V_2) . Over a very small part of the expansion the piston moves out a tiny distance dx dx , so little that the pressure stays P P during it.

F = PAgas, pressure PdxdV = A dxpiston, area Aold position dashed
Figure 4.3 Gas at pressure P P pushes a piston of area A A with force F=PA F = PA . As the piston moves out a small distance dx dx , the gas’s volume grows by dV=A dx dV = A\,dx , the shaded slice.
  1. The small work done by the gas is force × distance: dW=F dx=PA dx dW = F\,dx = PA\,dx .
  2. The piston sweeps out a volume A dx A\,dx , which is the gas’s increase in volume: dV=A dx dV = A\,dx .
  3. So

dW=P dV \boxed{dW = P\,dV}

  1. The total work done by the gas in the whole expansion is the sum of all these small pieces:

W=∫V1V2P dV \boxed{W = \int_{V_1}^{V_2} P\,dV}

To do the sum, you must know how P P changes with V V along the way, and that depends on the process: the pressure might stay the same, fall slowly (gas kept warm) or fall fast (gas cooling). Only if the pressure stays constant is it simply W=P(V2−V1)=P ΔV W = P(V_2 - V_1) = P\,\Delta V .

4.7 Indicator diagram

An indicator diagram is a graph of the pressure of the working gas against its volume (a P–V diagram) as it expands or is compressed. The name comes from the steam age: in the 1790s James Watt’s assistant John Southern made an “indicator”, a pencil moved up and down by the pressure in an engine’s cylinder while a card moved sideways with the piston, so that the engine drew its own P–V diagram as it ran. Engineers still use such diagrams to see how well an engine or a refrigerator works, and to find faults.

Features of an indicator diagram:

  • i.Volume is plotted across (the x-axis) and pressure up (the y-axis).
  • ii.The shape of the curve shows the kind of process (isothermal, adiabatic, isobaric, isochoric: Sections 4.11–4.13).
  • iii.The area under the curve is the work done in that process; for a cycle, a closed loop, the area enclosed by the loop is the net work done in one cycle.

Why the area? Let a gas expand from A(P1,V1) A(P_1, V_1) to B(P2,V2) B(P_2, V_2) along the curve AB (Figure 4.4). Cut the process into many tiny steps, like EF, in which the volume grows from V V to V+dV V + dV while the pressure stays about P P .

OPVABEFHGDCV₁V₂dVP
Figure 4.4 An indicator diagram: a gas expands from A to B. Under the small step EF, the thin strip EFGH has height P P and width dV dV : its area, P dV P\,dV , is the work done in that step. All such strips together fill the area ABCD under the curve.
  1. The strip under EF is (very nearly) a rectangle EFGH, with height EH≈FG=P EH \approx FG = P and width HG=dV HG = dV .
  2. Its area is EH×HG=P dV EH \times HG = P\,dV , which is the work done in going from E(P,V) E(P, V) to F(P,V+dV) F(P, V + dV) .
  3. Adding all the strips from A to B, the total work done is the total area:

W=∫V1V2P dV=area ABCD under the curve AB W = \int_{V_1}^{V_2} P\,dV = \text{area ABCD under the curve AB}

Work depends on the path. Two different curves between the same points A and B have different areas under them, so the gas does different amounts of work. That is what we meant by saying work is a path function. The widget shows it.

Try it

Same start, same end, different paths

A monatomic gas goes from state A (1 L, 300 kPa) to state B (3 L, 150 kPa) by three different paths. Choose a path, and compare the work (the shaded area), the change in internal energy and the heat taken in.

100200300123P (kPa)V (L)ABW = 600 J
Path:
Work done by the gas, W
600 J
Change in internal energy, ΔU
+225 J
Heat taken in, Q = ΔU + W
825 J

The gas expands first, at the high pressure, then cools at constant volume: the most work, 600 J, so it needs the most heat, 825 J.

Two things to notice in the widget. The work is different for each path, but the change in internal energy, ΔU \Delta U , is always the same: it depends only on A and B. The heat taken in is the work plus ΔU \Delta U (the first law, Section 4.9), so it depends on the path too.

Cycles. If the gas goes round a closed loop and returns to its first state, it does work on the parts of the loop where it expands (the area under the upper curve, positive) and has work done on it where it is compressed (the area under the lower curve, negative). What is left is the area enclosed by the loop. Going round clockwise on a P–V diagram, the expansion happens at the higher pressure, so the net work done by the gas is positive: this is what an engine does. Going round anticlockwise, the net work is negative: work is done on the gas, as in a refrigerator.

OP (atm)V (L)ABCD123425
Figure 4.5 For Example 4.1: one mole of a gas goes round the rectangle ABCDA.
OP (N/m²)V (L)ABCED1424
Figure 4.6 For Example 4.2: the triangular cycle ABC, traced A → B → C → A.

A gas is taken round a cycle that appears as a loop traced anticlockwise on a P–V diagram. Over one cycle, the net work done by the gas is:

Pick an answer to see why.

4.8 Internal energy and latent heat

The molecules of every body are in constant random motion, so they have kinetic energy. In a gas, their average kinetic energy depends only on the temperature: 12mcrms2=32kBT \tfrac12 m c_\text{rms}^2 = \tfrac32 k_BT (Grade 11, Unit 13). The molecules also attract one another, so they have potential energy, which depends on how far apart they are, and so on the volume.

The internal energy U U of a system is the sum of the kinetic and potential energies of all its molecules, measured in the system’s own frame (the motion of the whole body, like a gas in a moving bus, doesn’t count). It depends on the temperature (through the kinetic energy) and the volume (through the potential energy): U=f(V,T) U = f(V, T) .

Internal energy is a state function: it has one value in each state, whatever path the system took to get there. So when a system goes round a cycle and returns to its first state, its change in internal energy is zero.

Internal energy and latent heat

Internal energy can’t be read off an instrument, as a speed or a height can: we can only measure how it changes. In that sense it is hidden, latent, energy. That is where latent heat goes. When ice melts at 0 °C, or water boils at 100 °C, heat goes in but the temperature doesn’t rise: the molecules’ kinetic energy doesn’t change. The heat does work against the molecules’ attraction, pulling them apart, and so raises their potential energy. The internal energy of a substance is therefore least in its solid state and greatest as a gas, at the same temperature.

The internal energy of a system changes in two ways: when heat flows in or out, and when work is done by or on it. Of the heat given to a system, part raises its internal energy and the rest is used to do work on the surroundings:

change in internal energy (dU)=heat supplied (dQ)−work done by the system (dW) \text{change in internal energy } (dU) = \text{heat supplied } (dQ) - \text{work done by the system } (dW)

If the process happens without any exchange of heat (dQ=0 dQ = 0 ), then

dU=− dW dU = -\,dW

The work is done at the expense of the internal energy: a gas that expands without being heated cools, and a gas compressed without losing heat warms up. The bicycle pump’s warm end and the deodorant can’s cold one are both this equation.

Internal energy of an ideal gas

In an ideal gas the molecules don’t attract one another, so their potential energy is zero, and the internal energy is the kinetic energy alone. That depends only on the temperature, so the internal energy of an ideal gas depends on its temperature only, not on its volume or pressure. For n n moles of a monatomic ideal gas, whose molecules only move from place to place,

U=32nRT U = \tfrac32 nRT

(Section 4.10 shows what changes for molecules that can also spin.)

Internal energy of a real gas

In a real gas the molecules do attract one another (weakly, but not negligibly), so its internal energy is kinetic plus potential energy. The kinetic part depends on the temperature, the potential part on the volume (how far apart the molecules are), so the internal energy of a real gas depends on both its temperature and its volume.

The mechanical equivalent of heat

Rub your palms together hard and they warm up: work becomes heat. Before Joule, heat was measured in calories (the heat that warms 1 g of water by 1 °C) and work in joules, as if they were different things. If work W W is completely turned into heat H H , then W∝H W \propto H , so

W=JH W = JH

where J J is Joule’s mechanical equivalent of heat, the work that makes one unit of heat: J=4.18 J = 4.18 J/cal ≈ 4.2 J/cal (today the calorie is defined as exactly 4.184 J). It holds only when all the work becomes heat, or all the heat becomes work. Since heat is energy, it is now measured in joules like any other energy, and then J=1 J = 1 : the equation simply says W=H W = H .

A museum display of Joule's apparatus: a copper can with a brass paddle wheel on an upright spindle standing in it, its fixed vanes and moving paddles interleaved
Figure 4.7 A replica of Joule’s paddle-wheel apparatus in the Science and Industry Museum, Manchester. In use the can is full of water and closed; strings from falling weights spin the spindle, the paddles churn the water between the fixed vanes, and the water warms up. Photo: Chris Allen, CC BY-SA 2.0

4.9 First law of thermodynamics

The first law of thermodynamics is the law of conservation of energy for processes that involve heat. When an amount of heat dQ dQ is given to a system, it can raise the system’s internal energy (dU dU ), or let the system do external work (dW dW ), or both, and nothing is lost:

dQ=dU+dW(4.1) \boxed{dQ = dU + dW} \tag{4.1}

For a gas whose only work is pushing its boundary out, dW=P dV dW = P\,dV :

dQ=dU+P dV(4.2) \boxed{dQ = dU + P\,dV} \tag{4.2}

For a whole process, Q=ΔU+W Q = \Delta U + W . The signs are the key:

Quantity Positive when Negative when
Q Q heat flows into the system heat flows out
ΔU \Delta U internal energy rises (an ideal gas warms up) it falls (an ideal gas cools)
W W the system does work (it expands) work is done on it (it is compressed)

In words: heat in = rise in stored energy + work out. The first law is the bookkeeping used for heat engines, refrigerators, the weather, chemical reactions and living bodies.

A gas absorbs 500 J of heat and does 200 J of work on its surroundings. Its internal energy:

Pick an answer to see why.

Limitations of the first law

The first law only says that energy is conserved. It is silent on several things we see every day:

  • i.It doesn’t say which way heat flows. By the first law alone, heat could just as well flow from a cold body to a hot one, if the energies balanced; it never does.
  • ii.It doesn’t give the conditions under which heat can be turned into work.
  • iii.It treats heat and work as freely exchangeable, but they are not equally so: work can be turned completely into heat (the hands rubbed together), while heat can never be turned completely into work by an engine running in a cycle.
  • iv.It doesn’t say how much of the heat an engine takes in can become work: the limit to the efficiency of a heat engine.

The second law of thermodynamics (Unit 5) was brought in to answer these.

4.10 Specific heat capacity of a gas

For solids and liquids (Grade 11, Unit 11) the heat needed to warm 1 kg by 1 K is a fixed number for each substance. For a gas it isn’t: it depends on how the gas is heated, whether it is allowed to expand, because a gas that expands does work. For gases we usually count the amount of gas in moles, and use molar specific heat capacities instead of the specific heat capacity per unit mass (the principal specific heat capacity).

The molar specific heat capacity of a gas is the heat needed to raise the temperature of one mole of it by one degree Celsius (one kelvin):

C=dQn dT C = \frac{dQ}{n\,dT}

where dQ dQ is the heat supplied to n n moles and dT dT the rise in temperature. Its SI unit is J/(mol K).

A gas can be heated in many ways, and each gives a different heat capacity. Two are standard:

  1. Molar specific heat capacity at constant volume, CV C_V : the heat needed to raise the temperature of one mole of gas by 1 K at constant volume.

CV=dQVn dT C_V = \frac{dQ_V}{n\,dT}

The gas is heated in a closed rigid container. It can’t expand, so it does no work: all the heat goes into its internal energy.

  1. Molar specific heat capacity at constant pressure, CP C_P : the heat needed to raise the temperature of one mole of gas by 1 K at constant pressure.

CP=dQPn dT C_P = \frac{dQ_P}{n\,dT}

The gas is heated in a cylinder with a free piston, so it expands as it warms, keeping its pressure the same. Its internal energy rises by the same amount as before, and it does work pushing the piston out, so it needs more heat.

Mayer’s relation: CP−CV=R C_P - C_V = R

  1. At constant volume no work is done (dV=0 dV = 0 ), so for one mole the first law gives dQV=dU dQ_V = dU , that is,

dU=CV dT dU = C_V\,dT

The internal energy of an ideal gas depends only on its temperature, so any process that changes its temperature by dT dT changes its internal energy by this same CV dT C_V\,dT , however it happens.

  1. At constant pressure, heating one mole by dT dT :

dQP=dU+P dV⇒CP dT=CV dT+P dV dQ_P = dU + P\,dV \quad\Rightarrow\quad C_P\,dT = C_V\,dT + P\,dV

  1. For one mole of ideal gas PV=RT PV = RT . At constant P P , a change dT dT in temperature makes a change dV dV in volume with

P dV=R dT P\,dV = R\,dT

  1. Putting this into step 2: CP dT=CV dT+R dT C_P\,dT = C_V\,dT + R\,dT . Dividing by dT dT :

CP−CV=R \boxed{C_P - C_V = R}

This is Mayer’s relation (also spelled Meyer’s). The extra heat needed at constant pressure, per mole per kelvin, is exactly the work the gas does as it expands, R R = 8.31 J. So CP C_P is always greater than CV C_V .

For the principal specific heat capacities (per unit mass), divide by the molar mass M M : cP=CP/M c_P = C_P/M and cV=CV/M c_V = C_V/M , so

CPM−CVM=RM⇒cP−cV=r(4.3) \frac{C_P}{M} - \frac{C_V}{M} = \frac{R}{M} \quad\Rightarrow\quad \boxed{c_P - c_V = r} \tag{4.3}

where r=R/M r = R/M is the gas constant per unit mass (for air, r r = 8.31 ÷ 0.029 = 287 J/(kg K)).

Why is CP C_P greater than CV C_V ?

When a gas is heated at constant volume, all the heat raises its internal energy, and so its temperature. When it is heated at constant pressure, it expands and does work on its surroundings, which takes extra energy. So more heat is needed for the same rise in temperature at constant pressure than at constant volume.

Degrees of freedom, specific heat capacity and γ

The degrees of freedom of a body are the number of independent coordinates needed to describe its motion completely. In thermodynamics, they are the number of independent ways in which a molecule can store energy. There are three kinds (Figure 4.8):

  • Translational: moving from place to place, along x, y and z. Every molecule has these 3.
  • Rotational: spinning. A linear molecule (all its atoms in a line, like N₂, O₂, CO₂) has 2: it can spin about the two axes across it, but spinning about its own length stores almost no energy. A non-linear molecule (like H₂O or CH₄) has 3. A single atom has none that count.
  • Vibrational: the atoms moving towards and away from one another, as if joined by springs. Each way of vibrating (each mode) counts 2, one for its kinetic energy and one for its potential energy. They come into play only at high temperatures.
xyzone atom3 movingf = 3two atoms3 moving + 2 spinsf = 5bent, three3 + 3 spinsf = 6
Figure 4.8 The ways a molecule can store energy. A single atom can only move along x, y and z (3 degrees of freedom). A two-atom molecule can also spin about two axes across it (5). A bent three-atom molecule can spin about three axes (6). Spinning a dumbbell about its own length stores almost no energy, so it isn’t counted.

The law of equipartition of energy (from the kinetic theory) says that in thermal equilibrium the energy is shared equally among all the degrees of freedom: each gets, on average, 12kBT \tfrac12 k_BT per molecule, or 12RT \tfrac12 RT per mole. (The 32RT \tfrac32 RT of Grade 11’s kinetic theory is 3×12RT 3 \times \tfrac12 RT , the three translational degrees of freedom.) For a gas whose molecules have f f degrees of freedom:

  1. Internal energy of one mole: U=f2RT U = \dfrac{f}{2}RT .
  2. CV=dUdT=f2R C_V = \dfrac{dU}{dT} = \dfrac{f}{2}R .
  3. CP=CV+R=(f2+1)R C_P = C_V + R = \left(\dfrac{f}{2} + 1\right)R .
  4. The ratio of the molar heat capacities (the adiabatic index), γ \gamma :

γ=CPCV=(f/2+1)R(f/2)R=1+2f \boxed{\gamma = \frac{C_P}{C_V} = \frac{(f/2 + 1)R}{(f/2)R} = 1 + \frac{2}{f}}

Gas Example f f CV C_V CP C_P γ \gamma
monatomic He, Ne, Ar 3 32R \tfrac32 R = 12.5 J/(mol K) 52R \tfrac52 R = 20.8 J/(mol K) 53 \tfrac53 = 1.67
diatomic (translation and rotation) H₂, N₂, O₂, air 5 52R \tfrac52 R = 20.8 J/(mol K) 72R \tfrac72 R = 29.1 J/(mol K) 75 \tfrac75 = 1.40
non-linear polyatomic H₂O vapor, CH₄ 6 3R 3R = 24.9 J/(mol K) 4R 4R = 33.3 J/(mol K) 43 \tfrac43 = 1.33

So the more degrees of freedom, the smaller γ, always between 1 and 5/3. Measured values agree well: helium and argon 1.67, nitrogen, oxygen and air 1.40, steam about 1.33. Carbon dioxide (linear, f=5 f = 5 from translation and rotation) measures about 1.29 at room temperature, lower than 1.40, because some of its vibrations have already begun to take up energy.

For a diatomic ideal gas at room temperature, γ is:

Pick an answer to see why.

4.11 Thermodynamic processes

A thermodynamic process is any change of a system from one equilibrium state to another, in which energy is exchanged with the surroundings as heat, work or both, so that its state variables (pressure, volume, temperature, internal energy) take new values.

A process is like a journey. Where you start and where you finish don’t fix how much fuel you use: a short steep road and a long gentle one use different amounts. In the same way, the heat and work exchanged depend on how the system gets from one state to the other. The study of these processes is what explains how heat engines and refrigerators work.

To draw a process as a line on a P–V diagram, every point along it must be an equilibrium state, with one pressure and one temperature throughout the gas. Such a process, slow enough to pass through equilibrium states all the way, is called quasi-static. The four standard processes below are each named for the quantity they hold constant.

Isothermal process (constant temperature)

An isothermal process is one in which the temperature of the system stays constant throughout, while it expands or is compressed and heat flows in or out to keep the temperature steady. For that the gas must be in a container with thin, well-conducting walls, in contact with a large body at a steady temperature (a heat reservoir), and the change must be slow, so that heat has time to flow. Examples: the slow expansion or compression of a gas in a metal cylinder standing in a large water bath; melting and boiling, which also happen at a steady temperature.

Let n n moles of an ideal gas change isothermally from A(P1,V1) A(P_1, V_1) to B(P2,V2) B(P_2, V_2) . By the first law,

dQ=dU+dW=nCV dT+P dV=0+P dV=P dV[ dT=0 ] dQ = dU + dW = nC_V\,dT + P\,dV = 0 + P\,dV = P\,dV \qquad [\,dT = 0\,]

The internal energy doesn’t change (it depends only on T T ), so all the heat given to the gas comes out as work. In an isothermal expansion the gas takes in heat equal to the work it does; in an isothermal compression it gives out heat equal to the work done on it.

From the equation of state, PV=nRT PV = nRT . With T T constant, nRT nRT is constant, so

PV=constant,P1V1=P2V2 \boxed{PV = \text{constant}}, \qquad P_1V_1 = P_2V_2

which is Boyle’s law. This is the equation of state for an isothermal process. Each temperature gives its own curve, a rectangular hyperbola, called an isotherm; a hotter isotherm lies farther from the axes (Figure 4.9).

OPVT₁T₂T₃T₃ > T₂ > T₁
Figure 4.9 Isotherms of an ideal gas at three temperatures, T3>T2>T1 T_3 > T_2 > T_1 . Each is a curve PV= PV = constant; the hotter, the farther out.

Work done during an isothermal expansion

Let n n moles of ideal gas expand isothermally at temperature T T from (P1,V1) (P_1, V_1) to (P2,V2) (P_2, V_2) (Figure 4.10).

  1. In a small expansion dV dV , the pressure stays about P P : dW=P dV dW = P\,dV .
  2. The total work is

W=∫V1V2P dV(4.4) W = \int_{V_1}^{V_2} P\,dV \tag{4.4}

  1. From PV=nRT PV = nRT , P=nRTV P = \dfrac{nRT}{V} , and nRT nRT is constant, so it comes out of the integral:

W=∫V1V2nRTV dV=nRT∫V1V2dVV=nRT[ln⁡V]V1V2=nRT(ln⁡V2−ln⁡V1) W = \int_{V_1}^{V_2} \frac{nRT}{V}\,dV = nRT\int_{V_1}^{V_2}\frac{dV}{V} = nRT\Big[\ln V\Big]_{V_1}^{V_2} = nRT(\ln V_2 - \ln V_1)

  1. So

W=nRTln⁡V2V1 \boxed{W = nRT\ln\frac{V_2}{V_1}}

where ln is the natural logarithm (to base e). For one mole, W=RTln⁡V2V1 W = RT\ln\dfrac{V_2}{V_1} .

  1. Since P1V1=P2V2 P_1V_1 = P_2V_2 , V2V1=P1P2 \dfrac{V_2}{V_1} = \dfrac{P_1}{P_2} , so also

W=nRTln⁡P1P2 \boxed{W = nRT\ln\frac{P_1}{P_2}}

With common logarithms, ln⁡x=2.303log⁡10x \ln x = 2.303\log_{10} x : W=2.303 nRTlog⁡10V2V1 W = 2.303\,nRT\log_{10}\dfrac{V_2}{V_1} .

OPVP₁P₂V₁V₂ABW = nRT ln(V₂/V₁)
Figure 4.10 Isothermal expansion from A(P1,V1) A(P_1, V_1) to B(P2,V2) B(P_2, V_2) . The shaded area under the isotherm is the work done by the gas, nRTln⁡(V2/V1) nRT\ln(V_2/V_1) .

4.12 Adiabatic process

An adiabatic process is one in which no heat is exchanged between the system and its surroundings, while its pressure, volume and temperature change because work is done by or on it. (Adiabatic is Greek for “not passable”.) It needs either a perfectly insulated container, or a change so fast that heat has no time to flow. Examples: the sudden bursting of a vehicle’s tyre or of a balloon; the expansion of the hot gases in a petrol engine’s cylinder; the squeezing and stretching of air as sound passes through it; air rising and sinking over mountains.

By the first law, with dQ=0 dQ = 0 :

dQ=dU+P dV⇒0=nCV dT+P dV⇒P dV=− nCV dT(4.5) dQ = dU + P\,dV \quad\Rightarrow\quad 0 = nC_V\,dT + P\,dV \quad\Rightarrow\quad P\,dV = -\,nC_V\,dT \tag{4.5}

The work is done at the expense of the internal energy. Over the whole process, W=∫P dV=− nCV(T2−T1) W = \int P\,dV = -\,nC_V(T_2 - T_1) :

  • In an adiabatic expansion (W>0 W > 0 ), T2<T1 T_2 < T_1 : the gas cools.
  • In an adiabatic compression (W<0 W < 0 ), T2>T1 T_2 > T_1 : the gas heats up.

Equation of state for an adiabatic process

Let n n moles of ideal gas expand adiabatically from (P1,V1,T1) (P_1, V_1, T_1) to (P2,V2,T2) (P_2, V_2, T_2) . Take a small step in which the volume and temperature change by dV dV and dT dT , at nearly constant pressure P P .

  1. First law, with dQ=0 dQ = 0 :

nCV dT+P dV=0(4.6) nC_V\,dT + P\,dV = 0 \tag{4.6}

  1. Differentiate the ideal gas equation PV=nRT PV = nRT : P dV+V dP=nR dT P\,dV + V\,dP = nR\,dT , so

dT=P dV+V dPnR(4.7) dT = \frac{P\,dV + V\,dP}{nR} \tag{4.7}

  1. Put (4.7) into (4.6):

nCV(P dV+V dPnR)+P dV=0 nC_V\left(\frac{P\,dV + V\,dP}{nR}\right) + P\,dV = 0

  1. Multiply by R R and collect the P dV P\,dV terms:

CVP dV+CVV dP+RP dV=0⇒(CV+R)P dV+CVV dP=0 C_V P\,dV + C_V V\,dP + R P\,dV = 0 \quad\Rightarrow\quad (C_V + R)P\,dV + C_V V\,dP = 0

  1. By Mayer’s relation CV+R=CP C_V + R = C_P :

CPP dV+CVV dP=0 C_P P\,dV + C_V V\,dP = 0

  1. Divide by CVPV C_V PV and write γ=CP/CV \gamma = C_P/C_V :

γdVV+dPP=0 \gamma\frac{dV}{V} + \frac{dP}{P} = 0

  1. Integrate both sides:

γln⁡V+ln⁡P=constant⇒ln⁡Vγ+ln⁡P=constant⇒ln⁡(PVγ)=constant \gamma\ln V + \ln P = \text{constant} \quad\Rightarrow\quad \ln V^\gamma + \ln P = \text{constant} \quad\Rightarrow\quad \ln(PV^\gamma) = \text{constant}

  1. So

PVγ=constant,P1V1γ=P2V2γ(4.8) \boxed{PV^\gamma = \text{constant}}, \qquad P_1V_1^\gamma = P_2V_2^\gamma \tag{4.8}

This is the equation of state for an adiabatic process. Using P=nRT/V P = nRT/V , it can also be written with the temperature:

TVγ−1=constant,T1V1γ−1=T2V2γ−1 TV^{\gamma - 1} = \text{constant}, \qquad T_1V_1^{\gamma - 1} = T_2V_2^{\gamma - 1}

and, using V=nRT/P V = nRT/P ,

TγPγ−1=constant,T1γP1γ−1=T2γP2γ−1 \frac{T^\gamma}{P^{\gamma - 1}} = \text{constant}, \qquad \frac{T_1^\gamma}{P_1^{\gamma - 1}} = \frac{T_2^\gamma}{P_2^{\gamma - 1}}

OPV12V₁V₂isothermaladiabatic
Figure 4.11 An adiabatic expansion from state 1 (P1,V1,T1) (P_1, V_1, T_1) to state 2 (P2,V2,T2) (P_2, V_2, T_2) , along PVγ= PV^\gamma = constant, with the isotherm through state 1 dashed for comparison. The adiabat falls more steeply: the gas cools as it expands.

Work done during an adiabatic process

Let n n moles of ideal gas with ratio γ \gamma expand adiabatically from (P1,V1,T1) (P_1, V_1, T_1) to (P2,V2,T2) (P_2, V_2, T_2) .

  1. The work done is W=∫V1V2P dV W = \displaystyle\int_{V_1}^{V_2} P\,dV .
  2. Along the adiabat PVγ=K PV^\gamma = K (a constant), so P=KVγ P = \dfrac{K}{V^\gamma} :

W=∫V1V2KVγ dV=K∫V1V2V−γ dV=K[V1−γ1−γ]V1V2=K1−γ(V21−γ−V11−γ) W = \int_{V_1}^{V_2} \frac{K}{V^\gamma}\,dV = K\int_{V_1}^{V_2} V^{-\gamma}\,dV = K\left[\frac{V^{1 - \gamma}}{1 - \gamma}\right]_{V_1}^{V_2} = \frac{K}{1 - \gamma}\left(V_2^{1 - \gamma} - V_1^{1 - \gamma}\right)

  1. Change the sign of both factors:

W=1γ−1(KV11−γ−KV21−γ) W = \frac{1}{\gamma - 1}\left(KV_1^{1 - \gamma} - KV_2^{1 - \gamma}\right)

  1. Put K=P1V1γ K = P_1V_1^\gamma in the first term and K=P2V2γ K = P_2V_2^\gamma in the second (they are equal): KV11−γ=P1V1γV11−γ=P1V1 KV_1^{1-\gamma} = P_1V_1^\gamma V_1^{1-\gamma} = P_1V_1 , and likewise for state 2. So

W=P1V1−P2V2γ−1(4.9) \boxed{W = \frac{P_1V_1 - P_2V_2}{\gamma - 1}} \tag{4.9}

  1. With P1V1=nRT1 P_1V_1 = nRT_1 and P2V2=nRT2 P_2V_2 = nRT_2 :

W=nR(T1−T2)γ−1(4.10) \boxed{W = \frac{nR(T_1 - T_2)}{\gamma - 1}} \tag{4.10}

The work done in an adiabatic process depends only on the first and last temperatures. A quicker way to the same result: W=−ΔU=−nCV(T2−T1)=nCV(T1−T2) W = -\Delta U = -nC_V(T_2 - T_1) = nC_V(T_1 - T_2) , and from CP−CV=R C_P - C_V = R and CP=γCV C_P = \gamma C_V , CV=Rγ−1 C_V = \dfrac{R}{\gamma - 1} .

The adiabat is steeper than the isotherm

At any point, the slope of an adiabatic curve is γ times the slope of the isothermal curve through the same point, so the adiabat is the steeper of the two (γ > 1) (Figure 4.11).

  1. Isothermal: PV= PV = constant. Differentiate: P dV+V dP=0 P\,dV + V\,dP = 0 , so the slope is

(dPdV)iso=−PV \left(\frac{dP}{dV}\right)_\text{iso} = -\frac{P}{V}

  1. Adiabatic: PVγ= PV^\gamma = constant. Differentiate: γPVγ−1 dV+Vγ dP=0 \gamma PV^{\gamma - 1}\,dV + V^\gamma\,dP = 0 . Divide by Vγ V^\gamma : γPV dV+dP=0 \gamma\dfrac{P}{V}\,dV + dP = 0 , so

(dPdV)adia=−γPV \left(\frac{dP}{dV}\right)_\text{adia} = -\gamma\frac{P}{V}

  1. So

(dPdV)adia=γ(dPdV)iso \boxed{\left(\frac{dP}{dV}\right)_\text{adia} = \gamma\left(\frac{dP}{dV}\right)_\text{iso}}

Physically: in an adiabatic expansion the pressure falls for two reasons, the gas spreading out (as in the isothermal case) and the gas cooling, so it falls faster. In a compression it rises faster, because the gas also heats up.

Try it

Squeeze it slowly, or squeeze it fast

Air in a cylinder starts at 2 L, 100 kPa and 27 °C. Use the slider to compress or expand it, either slowly in a water bath (isothermal) or fast, with no time for heat to flow (adiabatic). Watch the temperature, and where the energy goes.

2004006001234P (kPa)V (L)isotherm−500100200°C
Temperature
27 °C
Pressure
200 kPa
Work done by the air, W
−139 J
Heat taken in, Q
−139 J
Change in internal energy, ΔU
0 J

Squeezed slowly in a water bath, the air stays at 27 °C: the 139 J of work done on it leaves as heat into the bath.

An ideal gas is compressed adiabatically to half its volume. Its temperature:

Pick an answer to see why.

4.13 Isobaric and isochoric processes

Isobaric process (constant pressure)

An isobaric process is one in which the pressure of the system stays constant throughout, while heat is given to it or taken from it; its volume, temperature and internal energy change. Examples: heating or cooling a gas in a cylinder with a freely moving piston (the piston’s weight and the air above keep the pressure steady); boiling water in an open pot, or melting ice, at atmospheric pressure; much of what happens in the atmosphere.

It is carried out in a container that can expand. By the first law, dQ=dU+dW dQ = dU + dW : part of the heat raises the internal energy (and the temperature), and the rest is used to do external work.

For n n moles of ideal gas going from V1 V_1 to V2 V_2 at pressure P P :

W=P(V2−V1)=nR(T2−T1),ΔU=nCV(T2−T1),Q=nCP(T2−T1) W = P(V_2 - V_1) = nR(T_2 - T_1), \qquad \Delta U = nC_V(T_2 - T_1), \qquad Q = nC_P(T_2 - T_1)

and V1T1=V2T2 \dfrac{V_1}{T_1} = \dfrac{V_2}{T_2} (Charles’s law). On a P–V diagram it is a horizontal line, and the work is the rectangle under it (Figure 4.12).

PVPViVfexpansionWPVPViVfcompressionW
Figure 4.12 Isobaric processes are horizontal lines. In an expansion from Vi V_i to Vf V_f (left), the gas does work P(Vf−Vi) P(V_f - V_i) , the shaded rectangle; in a compression (right), the same area is work done on the gas.

Isochoric process (constant volume)

An isochoric (or isometric) process is one in which the volume stays constant throughout, while the pressure, temperature and internal energy change. Examples: heating a gas in a closed rigid container; the burning of a fuel–air mixture in a sealed chamber, as in a petrol engine at the instant of the spark (Unit 5); a pressure cooker heating up with its weight in place, until the weight lifts.

It is carried out in a container that can’t expand. With no change of volume, the system does no work, and all the heat supplied goes into its internal energy:

W=0,Q=ΔU=nCV(T2−T1),P1T1=P2T2 W = 0, \qquad Q = \Delta U = nC_V(T_2 - T_1), \qquad \frac{P_1}{T_1} = \frac{P_2}{T_2}

On a P–V diagram it is a vertical line, with no area under it (Figure 4.13).

OPVifPiPfVW = 0
Figure 4.13 An isochoric process is a vertical line: the pressure changes from Pi P_i to Pf P_f at the same volume. There is no area under it, so no work is done.
An aluminium pressure cooker on a table, its lid beside it with the weight sitting on the steam vent
Figure 4.14 A pressure cooker of the kind used in kitchens all over Nepal. Until its weight lifts, the water and steam inside are heated at constant volume: the heat goes into the internal energy, and the pressure rises, which raises the boiling point (Grade 11, Unit 11). Photo: Cantons-de-l'Est, CC BY-SA 4.0

The four processes compared

Process Constant Equation of state Work done by the gas, W W Heat in, Q Q ΔU \Delta U
isothermal T T PV= PV = constant nRTln⁡V2V1 nRT\ln\dfrac{V_2}{V_1} Q=W Q = W 0
adiabatic no heat flow PVγ= PV^\gamma = constant nR(T1−T2)γ−1 \dfrac{nR(T_1 - T_2)}{\gamma - 1} 0 −W -W
isobaric P P VT= \dfrac{V}{T} = constant P(V2−V1) P(V_2 - V_1) nCP ΔT nC_P\,\Delta T nCV ΔT nC_V\,\Delta T
isochoric V V PT= \dfrac{P}{T} = constant 0 nCV ΔT nC_V\,\Delta T Q Q

4.14 Reversible process

A reversible process is one that can be run backwards so that the system and its surroundings both return exactly to their first states, leaving no change anywhere. At every step, a tiny change in the conditions (pressure a whisker higher instead of lower) would send it the other way. It is an idealization: no real process is perfectly reversible, but some come close. Examples: a very slow, frictionless expansion or compression of a gas; the slow isothermal and adiabatic changes of Section 4.11–4.12; the swing of a pendulum with no friction or air resistance (motion under conservative forces only).

OPVifforwardand backwork = area
Figure 4.15 A reversible expansion from i i to f f passes through equilibrium states, so it can be drawn as a curve and retraced exactly in reverse. The area under it is the work done.

Conditions for a reversible process:

  1. It must be carried out infinitely slowly (quasi-statically).
  2. No energy may be dissipated (turned into waste heat) during it.
  3. The system and its surroundings must be in thermodynamic equilibrium with each other at every step: the same temperature where heat flows, the same pressure where the boundary moves.
  4. There must be no dissipative forces: no friction, viscosity, electrical resistance or the like.

4.15 Irreversible process

An irreversible process is one that can’t be retraced: once it has happened, the system and its surroundings can’t both be returned to their first states. It brings a permanent change, with energy dissipated as waste heat and an increase in entropy (Unit 5). Examples: the rusting of iron; the decay of dead leaves; heat produced by friction; heat flowing from a hot cup of tea to the air; gas rushing out of a burst tyre; mixing milk into tea. Almost all processes in nature are irreversible.

During a fast, irreversible change the gas is not in equilibrium: it swirls, one part is hotter or at a higher pressure than another, so it has no single pressure or temperature. Only its first and last states can be marked on a P–V diagram, and the change between them can’t be drawn as a curve (Figure 4.16).

OPV12irreversible:no curvereversible
Figure 4.16 An irreversible change from state 1 to state 2 (dotted) passes through states that are not in equilibrium, so it has no curve on the P–V diagram and can’t be retraced. A reversible process between the same states (solid) could be.

Which of these processes is closest to reversible?

Pick an answer to see why.

Exercise

Choose the correct option

  1. Which of the following is not a type of thermodynamic system?

Pick an answer to see why.

  1. The first law of thermodynamics is a statement of the conservation of:

Pick an answer to see why.

  1. If a gas expands adiabatically, which of these statements is true?

Pick an answer to see why.

  1. In an isothermal process, which of the following remains constant?

The textbook’s fourth option, “internal energy”, also stays constant in an isothermal process of an ideal gas, so the question had two right answers; it is replaced below.

Pick an answer to see why.

  1. Which of these correctly relates the molar heat capacities at constant pressure and at constant volume?

Pick an answer to see why.

  1. A gas undergoes an isochoric (constant volume) process. The work done during it is:

Pick an answer to see why.

  1. A gas expands isothermally at 300 K from 2 L to 6 L. If the work done is W=nRTln⁡(Vf/Vi) W = nRT\ln(V_f/V_i) , the work done is:

Pick an answer to see why.

  1. A gas undergoes an adiabatic compression. What happens to its temperature?

Pick an answer to see why.

  1. A gas at 27 °C, kept at that temperature, expands from 1 L to 4 L against a constant external pressure of 2 atm. The work done by the gas is closest to:

The textbook’s options (1384 J, 1725 J, 1845 J, 2100 J) don’t include the answer, 608 J, so the book’s numbers don’t work; the options below are corrected.

Pick an answer to see why.

  1. 2 moles of an ideal gas (γ = 1.4) are compressed adiabatically from 5 L to 1 L. If the first temperature is 300 K, the final temperature is:

None of the textbook’s options (750 K, 820 K, 900 K, 1050 K) is right: the answer is 571 K, so the book’s numbers don’t work. The options below are corrected.

Pick an answer to see why.

  1. A gas expands so that PV1.4= PV^{1.4} = constant. Its first pressure and volume are 2 atm and 3 L. The final pressure when its volume becomes 6 L is:

The textbook’s nearest option is 0.78 atm, but the answer is 0.76 atm; the option is corrected below.

Pick an answer to see why.

Answer these questions

12.
  • a.Define a thermodynamic system. Give one example of each type, and differentiate between open, closed and isolated systems with examples.
  • b.How does work done on the system differ from work done by the system?
  • c.A gas at a pressure of 2×105 2 \times 10^5 Pa and a volume of 0.01 m³ expands isobarically to 0.03 m³. Find the work done.
  • d.Define an indicator diagram and explain how the work done by an expanding gas can be found from it.
Hint
Answer
13.
  • a.Explain the concept of internal energy and its relation with heat and work. What does the equation dU=−dW dU = -dW signify? How does the internal energy of a real gas differ from that of an ideal gas?
  • b.Calculate the change in internal energy of 2 moles of a monatomic ideal gas whose temperature changes from 300 K to 500 K. (CV=32R C_V = \tfrac32 R )
Answer
14.
  • a.State and explain the first law of thermodynamics. Discuss its significance.
  • b.Does it follow the law of conservation of energy?
  • c.A gas absorbs 600 J of heat and does 150 J of work. Find the change in its internal energy.
  • d.List the limitations of the first law of thermodynamics.
Answer
15.
  • a.Why does a gas have two specific heat capacities?
  • b.Derive Mayer’s relation, CP−CV=R C_P - C_V = R .
  • c.Why is CP C_P always greater than CV C_V ?
  • d.If CP=29.1 C_P = 29.1 J/(mol K) and CV=20.8 C_V = 20.8 J/(mol K), find the gas constant R R and γ.
Answer
16.
  • a.Explain the isothermal, adiabatic, isobaric and isochoric processes with the help of P–V diagrams.
  • b.Differentiate between the types of thermodynamic process, and compare their P–V diagrams.
Answer
17.
  • a.Define an adiabatic process. Derive the equation PVγ= PV^\gamma = constant.
  • b.In an adiabatic expansion, a gas does 1200 J of work. Find the change in its internal energy.
  • c.Find the final temperature and the work done when 1 mole of ideal gas expands adiabatically from 1 L to 5 L. Take γ = 1.4, T1=300 T_1 = 300 K, R=8.314 R = 8.314 J/(mol K).
Hint
Answer
18.
  • a.Derive expressions for the work done in isothermal and adiabatic processes.
  • b.A gas expands isothermally from 2 L to 8 L at a temperature of 300 K. Calculate the work done. (R=8.314 R = 8.314 J/(mol K), n=1 n = 1 mol)
Answer
19.
  • a.Define the heat capacity ratio (γ).
  • b.How does γ vary with the atomicity of a gas? Explain using degrees of freedom.
  • c.Differentiate between reversible and irreversible processes.
Answer

A companion to your textbook, not a replacement for it: study from the book your school uses, and where the two differ, follow your teacher. Found a mistake? Please tell us.