Thermodynamics

Class 11 · Physics

Thermal Equilibrium & the First Law

Thermodynamics is the branch of physics that deals with heat, work and the conversion of one into the other. Unlike kinetic theory, which looks at individual molecules, thermodynamics describes a system using a few large-scale measurable quantities. A thermodynamic system is the definite quantity of matter (often a gas) chosen for study; everything outside it is the surroundings, and the two are separated by a real or imaginary boundary.

The state of a system is fixed by its state variables — pressure PP, volume VV, temperature TT and amount of substance nn. These describe the condition of the gas, not how it got there. For an ideal gas they are linked by the equation of state PV=nRTPV=nRT.

  • Thermal equilibrium: two systems in contact are in thermal equilibrium when there is no net flow of heat between them, i.e. they are at the same temperature.
  • Zeroth law of thermodynamics: if system A is in thermal equilibrium with system C, and B is also in equilibrium with C, then A and B are in equilibrium with each other. This law defines temperature as the property that decides the direction of heat flow and lets a thermometer (C) compare two bodies.

Internal energy (UU) is the total energy stored inside a system — the sum of the kinetic and potential energies of all its molecules. For an ideal gas it depends only on temperature, so UU rises when TT rises. Internal energy is a state function: its change ΔU\Delta U depends only on the initial and final states, not on the path taken.

Heat (ΔQ\Delta Q) is energy transferred because of a temperature difference, and work (ΔW\Delta W) is energy transferred by a force moving through a distance. Both are path-dependent (not state functions). When a gas expands by a small volume dVdV against pressure PP, the work done by the gas is dW=P dVdW=P\,dV, so over a finite change:

  • W=∫V1V2P dVW=\int_{V_1}^{V_2} P\,dV — equal to the area under the PP–VV curve.
  • Work done by the gas (expansion) is positive; work done on the gas (compression) is negative.

The first law of thermodynamics is simply the law of conservation of energy applied to heat: the heat supplied to a system goes partly to raise its internal energy and partly to do external work:

  • ΔQ=ΔU+ΔW\Delta Q=\Delta U+\Delta W.
  • Sign convention: ΔQ\Delta Q is positive when heat is added to the system; ΔW\Delta W is positive when work is done by the system; ΔU\Delta U is positive when the temperature rises.

The first law tells us energy cannot be created or destroyed, but it does not say in which direction a process will go — that is the job of the second law.

First law: heat splits into internal energy and work done by the gasFirst Law: dQ = dU + dWGas (U)dWdQ inPVW = area under P-V

Worked examples

Example 1.A gas absorbs 200 J of heat and does 80 J of work on its surroundings. Find the change in its internal energy.
  1. Step 1: Use the first law ΔQ=ΔU+ΔW\Delta Q=\Delta U+\Delta W, so ΔU=ΔQ−ΔW\Delta U=\Delta Q-\Delta W.
  2. Step 2: Substitute ΔQ=+200 J\Delta Q=+200\ \text{J} (heat added) and ΔW=+80 J\Delta W=+80\ \text{J} (work by gas): ΔU=200−80\Delta U=200-80.
  3. Step 3: Compute: ΔU=120 J\Delta U=120\ \text{J}.

Answer: ΔU=120 J\Delta U=120\ \text{J} (internal energy increases).

Example 2.150 J of work is done on a gas while it releases 100 J of heat. Find the change in internal energy.
  1. Step 1: Apply ΔU=ΔQ−ΔW\Delta U=\Delta Q-\Delta W with correct signs.
  2. Step 2: Heat is released, so ΔQ=−100 J\Delta Q=-100\ \text{J}; work is done on the gas, so ΔW=−150 J\Delta W=-150\ \text{J}.
  3. Step 3: Compute: ΔU=(−100)−(−150)=+50 J\Delta U=(-100)-(-150)=+50\ \text{J}.

Answer: ΔU=+50 J\Delta U=+50\ \text{J} (internal energy increases).

Example 3.A gas expands at a constant pressure of 2×105 Pa2\times10^{5}\ \text{Pa} from a volume of 1×10−3 m31\times10^{-3}\ \text{m}^3 to 3×10−3 m33\times10^{-3}\ \text{m}^3. Find the work done by the gas.
  1. Step 1: At constant pressure W=P(V2−V1)W=P(V_2-V_1).
  2. Step 2: Substitute: W=2×105×(3×10−3−1×10−3)=2×105×2×10−3W=2\times10^{5}\times(3\times10^{-3}-1\times10^{-3})=2\times10^{5}\times2\times10^{-3}.
  3. Step 3: Compute: W=400 JW=400\ \text{J}.

Answer: W=400 JW=400\ \text{J} (done by the gas).

Example 4.In a cyclic process a gas returns to its initial state. If it absorbs 500 J of heat during the cycle, how much net work does it do?
  1. Step 1: In a cyclic process the system returns to its starting state, so ΔU=0\Delta U=0 (internal energy is a state function).
  2. Step 2: From the first law ΔQ=ΔU+ΔW=0+ΔW\Delta Q=\Delta U+\Delta W=0+\Delta W.
  3. Step 3: Therefore ΔW=ΔQ=500 J\Delta W=\Delta Q=500\ \text{J}.

Answer: Net work done =500 J=500\ \text{J}.

Example 5.When 1 g of water at 100 °C turns into steam it absorbs 2256 J of heat. The work done in expansion is 169 J. Find the increase in internal energy.
  1. Step 1: Use ΔU=ΔQ−ΔW\Delta U=\Delta Q-\Delta W.
  2. Step 2: Substitute ΔQ=+2256 J\Delta Q=+2256\ \text{J} and ΔW=+169 J\Delta W=+169\ \text{J}: ΔU=2256−169\Delta U=2256-169.
  3. Step 3: Compute: ΔU=2087 J\Delta U=2087\ \text{J}.

Answer: ΔU=2087 J\Delta U=2087\ \text{J}.

Example 6.A system is taken from state A to state B by two paths. Along path 1, ΔQ=80 J\Delta Q=80\ \text{J} and ΔW=30 J\Delta W=30\ \text{J}. Along path 2 the work done is 10 J10\ \text{J}. Find the heat absorbed along path 2.
  1. Step 1: ΔU\Delta U depends only on the states A and B, so it is the same for both paths.
  2. Step 2: Path 1: ΔU=ΔQ−ΔW=80−30=50 J\Delta U=\Delta Q-\Delta W=80-30=50\ \text{J}.
  3. Step 3: Path 2: ΔQ=ΔU+ΔW=50+10=60 J\Delta Q=\Delta U+\Delta W=50+10=60\ \text{J}.

Answer: Heat absorbed along path 2 =60 J=60\ \text{J}.

Remember

  • A thermodynamic system is described by state variables PP, VV, TT, nn linked for an ideal gas by PV=nRTPV=nRT.
  • Zeroth law: bodies in thermal equilibrium with a third body are in equilibrium with each other — this defines temperature.
  • Internal energy UU is a state function; for an ideal gas it depends only on temperature.
  • Heat ΔQ\Delta Q and work ΔW\Delta W are path-dependent; work done by a gas is W=∫P dVW=\int P\,dV = area under the PP–VV curve.
  • First law: ΔQ=ΔU+ΔW\Delta Q=\Delta U+\Delta W — conservation of energy; ΔQ\Delta Q positive if heat added, ΔW\Delta W positive if work done by the gas.

Check yourself

4 questions

  1. 1. The first law of thermodynamics is a statement of the conservation of:
  2. 2. Which of the following is a state function?
  3. 3. The zeroth law of thermodynamics introduces the concept of:
  4. 4. The work done by a gas during expansion equals:

Thermodynamic Processes

A thermodynamic process is the way a system passes from one state to another. By holding one quantity fixed we obtain four important reversible processes, each with its own PP–VV signature and its own form of the work done W=∫P dVW=\int P\,dV.

1. Isothermal process (constant temperature). The gas is kept at a fixed temperature, usually by surrounding it with a heat reservoir and changing the volume slowly. Since TT is constant, for an ideal gas ΔU=0\Delta U=0, and the first law gives ΔQ=ΔW\Delta Q=\Delta W — all the heat goes into work (or all the work removes heat).

  • It obeys Boyle's law PV=constantPV=\text{constant}, so the PP–VV curve is a hyperbola (isotherm).
  • Work done: W=nRTln⁡ ⁣(V2V1)=2.303 nRTlog⁡10 ⁣(V2V1)W=nRT\ln\!\left(\frac{V_2}{V_1}\right)=2.303\,nRT\log_{10}\!\left(\frac{V_2}{V_1}\right).

2. Adiabatic process (no heat exchange). The system is thermally insulated, so ΔQ=0\Delta Q=0. The first law then gives ΔW=−ΔU\Delta W=-\Delta U — the gas does work entirely at the cost of its internal energy, so an adiabatic expansion cools the gas and a compression heats it.

  • It obeys PVγ=constPV^\gamma=\text{const} and TVγ−1=constTV^{\gamma-1}=\text{const}, where γ=CpCv\gamma=\frac{C_p}{C_v}.
  • The adiabatic curve is steeper than the isotherm on a PP–VV diagram.
  • Work done: W=P1V1−P2V2γ−1=nR(T1−T2)γ−1W=\frac{P_1V_1-P_2V_2}{\gamma-1}=\frac{nR(T_1-T_2)}{\gamma-1}.

3. Isobaric process (constant pressure). The pressure is held fixed while the volume changes (e.g. a gas heated under a free piston).

  • Work done: W=P(V2−V1)=nR(T2−T1)W=P(V_2-V_1)=nR(T_2-T_1).
  • Heat supplied: ΔQ=nCp ΔT\Delta Q=nC_p\,\Delta T, using the molar specific heat at constant pressure.

4. Isochoric process (constant volume). The volume is fixed, so dV=0dV=0 and the gas does no work: W=0W=0. All the heat raises the internal energy: ΔQ=ΔU=nCv ΔT\Delta Q=\Delta U=nC_v\,\Delta T.

Specific heats and Mayer's relation. A gas has two principal molar specific heats: CvC_v (at constant volume) and CpC_p (at constant pressure). Heating at constant pressure needs extra heat to do expansion work, so Cp>CvC_p>C_v. The first law applied to one mole gives Mayer's relation:

  • Cp−Cv=RC_p-C_v=R (with R=8.314 J mol−1K−1R=8.314\ \text{J}\,\text{mol}^{-1}\text{K}^{-1}).
  • Their ratio is the adiabatic exponent γ=CpCv\gamma=\frac{C_p}{C_v}: about 1.671.67 for monatomic and 1.401.40 for diatomic gases.
P–V diagram: isothermal (gentle) versus adiabatic (steeper) expansionPV(P1,V1)Isothermal PV=constAdiabatic PV^g=constV1

Worked examples

Example 1.Two moles of an ideal gas expand isothermally at 300 K from a volume VV to 2V2V. Find the work done. (Take R=8.314 J mol−1K−1R=8.314\ \text{J}\,\text{mol}^{-1}\text{K}^{-1}.)
  1. Step 1: Isothermal work W=nRTln⁡ ⁣(V2V1)W=nRT\ln\!\left(\frac{V_2}{V_1}\right).
  2. Step 2: Substitute n=2n=2, T=300T=300, V2V1=2\frac{V_2}{V_1}=2: W=2×8.314×300×ln⁡2W=2\times8.314\times300\times\ln 2.
  3. Step 3: With ln⁡2=0.693\ln 2=0.693: W=4988.4×0.693≈3457 JW=4988.4\times0.693\approx3457\ \text{J}.

Answer: W≈3.46×103 JW\approx3.46\times10^{3}\ \text{J}.

Example 2.In an isothermal expansion a gas does 500 J of work. How much heat is absorbed by the gas?
  1. Step 1: For an isothermal process TT is constant, so ΔU=0\Delta U=0.
  2. Step 2: First law: ΔQ=ΔU+ΔW=0+ΔW\Delta Q=\Delta U+\Delta W=0+\Delta W.
  3. Step 3: Therefore ΔQ=ΔW=500 J\Delta Q=\Delta W=500\ \text{J}.

Answer: ΔQ=500 J\Delta Q=500\ \text{J} (all the absorbed heat becomes work).

Example 3.The specific heat of a gas at constant volume is Cv=20.8 J mol−1K−1C_v=20.8\ \text{J}\,\text{mol}^{-1}\text{K}^{-1}. Find CpC_p and γ\gamma. (Take R=8.314 J mol−1K−1R=8.314\ \text{J}\,\text{mol}^{-1}\text{K}^{-1}.)
  1. Step 1: By Mayer's relation Cp=Cv+RC_p=C_v+R.
  2. Step 2: Substitute: Cp=20.8+8.314=29.1 J mol−1K−1C_p=20.8+8.314=29.1\ \text{J}\,\text{mol}^{-1}\text{K}^{-1}.
  3. Step 3: γ=CpCv=29.120.8≈1.40\gamma=\frac{C_p}{C_v}=\frac{29.1}{20.8}\approx1.40 (a diatomic gas).

Answer: Cp≈29.1 J mol−1K−1C_p\approx29.1\ \text{J}\,\text{mol}^{-1}\text{K}^{-1}, γ≈1.40\gamma\approx1.40.

Example 4.A gas at P1=8×105 PaP_1=8\times10^{5}\ \text{Pa}, V1=2×10−3 m3V_1=2\times10^{-3}\ \text{m}^3 expands adiabatically to P2=1×105 PaP_2=1\times10^{5}\ \text{Pa}, V2=8×10−3 m3V_2=8\times10^{-3}\ \text{m}^3. Take γ=1.4\gamma=1.4. Find the work done by the gas.
  1. Step 1: Adiabatic work W=P1V1−P2V2γ−1W=\frac{P_1V_1-P_2V_2}{\gamma-1}.
  2. Step 2: P1V1=8×105×2×10−3=1600 JP_1V_1=8\times10^{5}\times2\times10^{-3}=1600\ \text{J}; P2V2=1×105×8×10−3=800 JP_2V_2=1\times10^{5}\times8\times10^{-3}=800\ \text{J}.
  3. Step 3: W=1600−8001.4−1=8000.4=2000 JW=\frac{1600-800}{1.4-1}=\frac{800}{0.4}=2000\ \text{J}.

Answer: W=2000 JW=2000\ \text{J}.

Example 5.A gas expands at a constant pressure of 1.5×105 Pa1.5\times10^{5}\ \text{Pa} and absorbs 1200 J of heat. Its volume increases by 4×10−3 m34\times10^{-3}\ \text{m}^3. Find the change in internal energy.
  1. Step 1: Isobaric work W=P ΔV=1.5×105×4×10−3=600 JW=P\,\Delta V=1.5\times10^{5}\times4\times10^{-3}=600\ \text{J}.
  2. Step 2: First law: ΔU=ΔQ−ΔW=1200−600\Delta U=\Delta Q-\Delta W=1200-600.
  3. Step 3: Compute: ΔU=600 J\Delta U=600\ \text{J}.

Answer: ΔU=600 J\Delta U=600\ \text{J}.

Example 6.Air (γ=1.4\gamma=1.4) at 27 ∘C27\ ^\circ\text{C} is compressed adiabatically to one-eighth of its volume. Find the final temperature.
  1. Step 1: For an adiabatic change TVγ−1=constTV^{\gamma-1}=\text{const}, so T2=T1(V1V2)γ−1T_2=T_1\left(\frac{V_1}{V_2}\right)^{\gamma-1}.
  2. Step 2: T1=300 KT_1=300\ \text{K}, V1V2=8\frac{V_1}{V_2}=8, γ−1=0.4\gamma-1=0.4: T2=300×80.4T_2=300\times8^{0.4}.
  3. Step 3: 80.4=2.2978^{0.4}=2.297, so T2=300×2.297≈689 KT_2=300\times2.297\approx689\ \text{K}.

Answer: T2≈689 K  (≈416 ∘C)T_2\approx689\ \text{K}\;(\approx416\ ^\circ\text{C}).

Remember

  • Isothermal (TT const): ΔU=0\Delta U=0, ΔQ=ΔW\Delta Q=\Delta W, PV=PV= const, W=nRTln⁡ ⁣(V2V1)W=nRT\ln\!\left(\frac{V_2}{V_1}\right).
  • Adiabatic (ΔQ=0\Delta Q=0): ΔW=−ΔU\Delta W=-\Delta U, PVγ=PV^\gamma= const, TVγ−1=TV^{\gamma-1}= const, W=P1V1−P2V2γ−1W=\frac{P_1V_1-P_2V_2}{\gamma-1}.
  • Isobaric (PP const): W=P ΔV=nR ΔTW=P\,\Delta V=nR\,\Delta T, heat ΔQ=nCp ΔT\Delta Q=nC_p\,\Delta T.
  • Isochoric (VV const): W=0W=0, ΔQ=ΔU=nCv ΔT\Delta Q=\Delta U=nC_v\,\Delta T.
  • Mayer's relation Cp−Cv=RC_p-C_v=R and γ=CpCv\gamma=\frac{C_p}{C_v} (≈1.67\approx1.67 monatomic, 1.401.40 diatomic); adiabatic curve is steeper than the isotherm.

Check yourself

4 questions

  1. 1. In an isothermal process the change in internal energy of an ideal gas is:
  2. 2. An adiabatic process obeys the relation:
  3. 3. In which process is the work done by the gas zero?
  4. 4. Mayer's relation between the molar specific heats is:

Second Law, Heat Engines & Refrigerators

The first law says energy is conserved, but it allows processes that never actually happen — heat flowing from a cold body to a hot one, or a single reservoir's heat being turned fully into work. The second law of thermodynamics rules these out by fixing the natural direction of thermal processes. It has two equivalent classic statements:

  • Kelvin–Planck statement: it is impossible to build an engine that, working in a cycle, takes heat from a single reservoir and converts all of it into work. Some heat must always be rejected.
  • Clausius statement: heat cannot flow on its own from a colder body to a hotter body; external work must be done to make this happen.

A heat engine is a device that converts heat into work in a repeating cycle. It absorbs heat Q1Q_1 from a hot source (at T1T_1), converts part of it into useful work WW, and rejects the remainder Q2Q_2 to a cold sink (at T2T_2). By energy conservation W=Q1−Q2W=Q_1-Q_2, and the efficiency is the fraction of input heat turned into work:

  • η=WQ1=Q1−Q2Q1=1−Q2Q1\eta=\frac{W}{Q_1}=\frac{Q_1-Q_2}{Q_1}=1-\frac{Q_2}{Q_1}.
  • Since Q2>0Q_2>0 always (Kelvin–Planck), η<1\eta<1: no engine can be 100% efficient.

The Carnot engine is an ideal, reversible engine and is the most efficient engine possible between two given temperatures. Its cycle has four reversible steps: isothermal expansion (heat Q1Q_1 in at T1T_1), adiabatic expansion (cooling to T2T_2), isothermal compression (heat Q2Q_2 out at T2T_2) and adiabatic compression (back to start). For the Carnot cycle the heat ratio equals the temperature ratio, so:

  • ηCarnot=1−T2T1\eta_{Carnot}=1-\frac{T_2}{T_1}, with temperatures in kelvin.
  • Efficiency rises as the source gets hotter or the sink gets colder; η=1\eta=1 only if T2=0 KT_2=0\ \text{K}, which is unattainable.

A refrigerator (or heat pump) is a heat engine run in reverse. Using external work WW, it extracts heat Q2Q_2 from a cold region (inside the fridge, at T2T_2) and dumps Q1=Q2+WQ_1=Q_2+W into the warmer room (at T1T_1). Its performance is measured by the coefficient of performance (COP), the heat removed per unit work:

  • β=Q2W=Q2Q1−Q2\beta=\frac{Q_2}{W}=\frac{Q_2}{Q_1-Q_2}.
  • For an ideal (Carnot) refrigerator β=T2T1−T2\beta=\frac{T_2}{T_1-T_2}.
  • Unlike efficiency, the COP can be greater than 1 — that is why a refrigerator can move more heat than the work it consumes.
Heat engine: Q1 from the source, work W out, Q2 rejected to the sinkHot source T1EngineetaCold sink T2Q1Q2W = Q1 - Q2eta = 1 - Q2/Q1= 1 - T2/T1

Worked examples

Example 1.A Carnot engine works between a source at 500 K and a sink at 300 K. Find its efficiency.
  1. Step 1: Use η=1−T2T1\eta=1-\frac{T_2}{T_1} with temperatures in kelvin.
  2. Step 2: Substitute: η=1−300500=1−0.6\eta=1-\frac{300}{500}=1-0.6.
  3. Step 3: Compute: η=0.4=40%\eta=0.4=40\%.

Answer: η=40%\eta=40\%.

Example 2.A heat engine absorbs 1000 J from a source and rejects 700 J to the sink in each cycle. Find the work done and the efficiency.
  1. Step 1: Work done W=Q1−Q2=1000−700=300 JW=Q_1-Q_2=1000-700=300\ \text{J}.
  2. Step 2: Efficiency η=1−Q2Q1=1−7001000\eta=1-\frac{Q_2}{Q_1}=1-\frac{700}{1000}.
  3. Step 3: Compute: η=0.30=30%\eta=0.30=30\%.

Answer: W=300 JW=300\ \text{J}, η=30%\eta=30\%.

Example 3.A Carnot engine has an efficiency of 50% when the sink is at 300 K. Find the temperature of the source.
  1. Step 1: η=1−T2T1\eta=1-\frac{T_2}{T_1}, so T2T1=1−η=1−0.5=0.5\frac{T_2}{T_1}=1-\eta=1-0.5=0.5.
  2. Step 2: Therefore T1=T20.5=3000.5T_1=\frac{T_2}{0.5}=\frac{300}{0.5}.
  3. Step 3: Compute: T1=600 KT_1=600\ \text{K}.

Answer: T1=600 KT_1=600\ \text{K}.

Example 4.A refrigerator extracts 240 J of heat from its interior while consuming 60 J of electrical work in each cycle. Find its coefficient of performance and the heat rejected to the room.
  1. Step 1: COP β=Q2W=24060=4\beta=\frac{Q_2}{W}=\frac{240}{60}=4.
  2. Step 2: Heat rejected Q1=Q2+W=240+60Q_1=Q_2+W=240+60.
  3. Step 3: Compute: Q1=300 JQ_1=300\ \text{J}.

Answer: β=4\beta=4; heat rejected Q1=300 JQ_1=300\ \text{J}.

Example 5.An ideal refrigerator maintains its interior at 250 K while the room is at 300 K. Find its coefficient of performance.
  1. Step 1: For an ideal (Carnot) refrigerator β=T2T1−T2\beta=\frac{T_2}{T_1-T_2}.
  2. Step 2: Substitute T2=250 KT_2=250\ \text{K}, T1=300 KT_1=300\ \text{K}: β=250300−250=25050\beta=\frac{250}{300-250}=\frac{250}{50}.
  3. Step 3: Compute: β=5\beta=5.

Answer: β=5\beta=5.

Example 6.A Carnot engine takes 2000 J of heat from a source at 400 K and rejects heat to a sink at 300 K. Find the work done per cycle.
  1. Step 1: Carnot efficiency η=1−T2T1=1−300400=0.25\eta=1-\frac{T_2}{T_1}=1-\frac{300}{400}=0.25.
  2. Step 2: Work done W=η Q1=0.25×2000W=\eta\,Q_1=0.25\times2000.
  3. Step 3: Compute: W=500 JW=500\ \text{J} (and rejected heat Q2=Q1−W=1500 JQ_2=Q_1-W=1500\ \text{J}).

Answer: W=500 JW=500\ \text{J}.

Remember

  • Second law fixes the direction of heat flow: Kelvin–Planck (no engine fully converts heat from one reservoir to work) and Clausius (heat does not flow cold→hot by itself).
  • Heat engine: absorbs Q1Q_1, rejects Q2Q_2, does work W=Q1−Q2W=Q_1-Q_2; efficiency η=1−Q2Q1<1\eta=1-\frac{Q_2}{Q_1}<1.
  • Carnot engine is the most efficient reversible engine: η=1−T2T1\eta=1-\frac{T_2}{T_1} (temperatures in kelvin).
  • Carnot efficiency rises with a hotter source or colder sink; η=1\eta=1 only if T2=0 KT_2=0\ \text{K}, which is unattainable.
  • Refrigerator (engine in reverse): COP β=Q2W=Q2Q1−Q2\beta=\frac{Q_2}{W}=\frac{Q_2}{Q_1-Q_2}; ideal β=T2T1−T2\beta=\frac{T_2}{T_1-T_2}, which can exceed 1.

Check yourself

4 questions

  1. 1. The Kelvin–Planck statement of the second law says it is impossible to:
  2. 2. The efficiency of a Carnot engine working between T1T_1 and T2T_2 is:
  3. 3. The efficiency of any heat engine is always:
  4. 4. The coefficient of performance of an ideal refrigerator is:

Tests

Thermodynamics: Class 11 Physics Lesson | GrowQR