🎯⭐ INTERACTIVE LESSON

Laws of Thermodynamics

Learn step-by-step with interactive practice!

Loading lesson...

Laws of Thermodynamics - Complete Interactive Lesson

Part 1: Internal Energy & Work

🔥 Internal Energy & Work Done by a Gas

Part 1 of 7 — The Energy of Molecules

Thermodynamics connects heat, work, and internal energy. Before we state the laws, we need to understand what these quantities mean and how gases do work.

Internal Energy (UU)

The internal energy of an ideal gas is the total kinetic energy of all its molecules:

U=32nRT(monatomic ideal gas)U = \frac{3}{2} n R T \quad \text{(monatomic ideal gas)}

Key facts:

  • UU depends only on temperature for an ideal gas
  • If TT increases → UU increases
  • If TT stays constant → ΔU=0\Delta U = 0
  • UU is a state variable — it depends only on the current state, not on how the gas got there

Change in Internal Energy

ΔU=32nRΔT\Delta U = \frac{3}{2} n R \Delta T

For any process where TT doesn't change (isothermal): ΔU=0\Delta U = 0.

For any process where TT rises: ΔU>0\Delta U > 0.

Work Done by a Gas

When a gas expands, it pushes on its surroundings and does positive work. When a gas is compressed, work is done on the gas (negative work by gas).

Isobaric Process (Constant Pressure)

W=PΔVW = P \Delta V

where ΔV=VfVi\Delta V = V_f - V_i.

Sign Conventions

SituationΔV\Delta VWWMeaning
Gas expands>0> 0>0> 0Gas does work ON surroundings
Gas compresses<0< 0<0< 0Surroundings do work ON gas
Volume constant=0= 0=0= 0No work done

PV Diagram Preview

On a Pressure vs. Volume (PV) diagram, the work equals the area under the curve between the initial and final states.

  • Moving right on the PV diagram → expansion → W>0W > 0
  • Moving left → compression → W<0W < 0

Sign Convention Check

PV Diagram Concepts 📊

Work Calculation Drill 🔧

All processes are isobaric (constant pressure). Give magnitude and correct sign.

  1. P=100P = 100 kPa, gas expands from 3.0 L to 8.0 L. Work by gas (in J)?
  2. P=250P = 250 kPa, gas compresses from 10.0 L to 4.0 L. Work by gas (in J)?
  3. A gas at 150 kPa does 450 J of work while expanding. What is ΔV\Delta V (in L)?

Part 2: First Law of Thermodynamics

⚡ The First Law of Thermodynamics

Part 2 of 7 — Energy Conservation for Thermal Systems

The First Law is simply conservation of energy applied to thermodynamic systems. It connects heat, work, and internal energy in one powerful equation.

The First Law

ΔU=QW\Delta U = Q - W

or equivalently:

Q=ΔU+WQ = \Delta U + W

where:

  • ΔU\Delta U = change in internal energy of the gas
  • QQ = heat added to the gas (positive if heat flows IN)
  • WW = work done by the gas (positive if gas expands)

What It Says

The heat added to a system goes into two places: increasing internal energy and doing work.

If you add 500 J of heat and the gas does 200 J of work expanding, then ΔU=500200=300\Delta U = 500 - 200 = 300 J goes into raising the temperature.

Sign Summary

QuantityPositive means...Negative means...
QQHeat flows INTO gasHeat flows OUT of gas
WWGas expands (does work on surroundings)Gas compressed (work done on gas)
ΔU\Delta UTemperature increasesTemperature decreases

First Law Applied to Special Processes

1. Isothermal Process (TT = constant)

  • ΔU=0\Delta U = 0 (internal energy depends only on TT)
  • Q=WQ = W
  • All heat added is converted to work (or vice versa)

2. Adiabatic Process (Q=0Q = 0, no heat exchange)

  • ΔU=W\Delta U = -W
  • If the gas expands (W>0W > 0): ΔU<0\Delta U < 0 → temperature drops
  • If the gas compresses (W<0W < 0): ΔU>0\Delta U > 0 → temperature rises

3. Isochoric (Isovolumetric) Process (VV = constant)

  • W=0W = 0 (no volume change → no work)
  • ΔU=Q\Delta U = Q
  • All heat goes directly into changing internal energy (temperature)

4. Isobaric Process (PP = constant)

  • W=PΔVW = P\Delta V
  • ΔU=QPΔV\Delta U = Q - P\Delta V
  • Heat goes into both internal energy AND work

Process Identification 🔍

First Law Application

First Law Drill 🔧

Apply ΔU=QW\Delta U = Q - W to each scenario.

  1. Q=1200Q = 1200 J, W=500W = 500 J. Find ΔU\Delta U (in J).
  2. A gas does 300 J of work while its internal energy decreases by 100 J. Find QQ (in J).
  3. An adiabatic compression does 600 J of work on the gas (W=600W = -600 J by the gas). Find ΔU\Delta U (in J).

Part 3: PV Diagrams

📊 PV Diagrams Deep Dive

Part 3 of 7 — Reading Work from Graphs

PV diagrams are the essential tool for analyzing thermodynamic processes. The area under the curve tells you the work, and the direction of the cycle tells you whether you have an engine or a refrigerator.

Work = Area Under the Curve

On a PV diagram, work done by the gas during any process equals the area under the path from ViV_i to VfV_f:

W=ViVfPdV=area under curveW = \int_{V_i}^{V_f} P\,dV = \text{area under curve}

Different Processes on PV Diagrams

ProcessPV ShapeWork
Isobaric (PP = const)Horizontal lineW=PΔVW = P\Delta V (rectangle)
Isochoric (VV = const)Vertical lineW=0W = 0 (no area)
Isothermal (TT = const)Curved (hyperbola: PV=nRTPV = nRT)Area under curve
Adiabatic (Q=0Q = 0)Steeper curve than isothermalArea under curve

The Adiabatic Curve

An adiabat is steeper than an isotherm passing through the same point because PVγ=constPV^\gamma = \text{const} (where γ>1\gamma > 1) drops off faster than PV=constPV = \text{const}.

Thermodynamic Cycles

A cycle returns the gas to its original state, so ΔUcycle=0\Delta U_{\text{cycle}} = 0.

From the First Law for a complete cycle:

Qnet=WnetQ_{\text{net}} = W_{\text{net}}

Net Work = Enclosed Area

The net work done in a cycle equals the area enclosed by the cycle on a PV diagram.

Direction Matters!

DirectionNameNet WorkEnergy Flow
ClockwiseHeat engineWnet>0W_{\text{net}} > 0 (work OUT)Converts heat to work
CounterclockwiseRefrigerator/heat pumpWnet<0W_{\text{net}} < 0 (work IN)Uses work to move heat

How to Calculate Net Work for a Cycle

  1. Find the area enclosed by the cycle
  2. If clockwise → W>0W > 0
  3. If counterclockwise → W<0W < 0

For rectangular cycles: Wnet=ΔP×ΔVW_{\text{net}} = \Delta P \times \Delta V

Cycle Direction Quiz 🔄

PV Diagram Reading 📈

PV Diagram Calculation Drill 📊

  1. An isobaric expansion at P=150P = 150 kPa from V=2.0V = 2.0 L to V=6.0V = 6.0 L. Work done by gas (in J)?

  2. A rectangular clockwise cycle with ΔP=100\Delta P = 100 kPa and ΔV=5.0\Delta V = 5.0 L. Net work per cycle (in J)?

  3. A gas completes a clockwise cycle with net work = 400 J. If QH=1000Q_H = 1000 J of heat is absorbed from the hot reservoir, how much heat QCQ_C is rejected to the cold reservoir (in J)?

Match the Process to Its PV Shape 🎯

Part 4: Heat Engines & Efficiency

🏭 Heat Engines & Efficiency

Part 4 of 7 — Turning Heat into Work

A heat engine absorbs heat from a hot reservoir, converts some of it to useful work, and dumps the rest into a cold reservoir. No engine can convert ALL heat to work — this is one of the most profound results in physics.

How a Heat Engine Works

Every heat engine operates between two thermal reservoirs:

  1. Hot reservoir (temperature THT_H): supplies heat QHQ_H to the engine
  2. Cold reservoir (temperature TCT_C): receives waste heat QCQ_C from the engine
  3. Net work output: Wnet=QHQCW_{\text{net}} = Q_H - Q_C

Energy Conservation (First Law for a Cycle)

Since ΔU=0\Delta U = 0 for a complete cycle:

QH=Wnet+QCQ_H = W_{\text{net}} + Q_C

Efficiency

The thermal efficiency measures what fraction of input heat becomes useful work:

e=WnetQH=QHQCQH=1QCQHe = \frac{W_{\text{net}}}{Q_H} = \frac{Q_H - Q_C}{Q_H} = 1 - \frac{Q_C}{Q_H}

Efficiency is always between 0 and 1 (or 0% and 100%).

Since QC>0Q_C > 0 (you must dump some waste heat), efficiency is always less than 100%.

The Carnot Engine

The Carnot engine is a theoretical engine that achieves the maximum possible efficiency between two given temperatures. It consists of two isothermal and two adiabatic processes.

Carnot Efficiency

eCarnot=1TCTHe_{\text{Carnot}} = 1 - \frac{T_C}{T_H}

where temperatures must be in Kelvin.

Key Facts About Carnot Efficiency

  • No real engine can exceed Carnot efficiency
  • eCarnote_{\text{Carnot}} increases when THT_H increases or TCT_C decreases
  • eCarnot=1e_{\text{Carnot}} = 1 (100%) only if TC=0T_C = 0 K — impossible to reach!
  • Real engines have friction, turbulence, and other irreversibilities, so ereal<eCarnote_{\text{real}} < e_{\text{Carnot}}

Why 100% Efficiency is Impossible

The Second Law (coming in Part 5) forbids converting heat entirely into work in a cyclic process. There must always be waste heat QC>0Q_C > 0. This is a fundamental limit of nature, not an engineering limitation.

Efficiency Concepts 🔍

Carnot Limit ⚠️

Efficiency Calculation Drill 🔧

  1. A heat engine absorbs QH=2000Q_H = 2000 J and does W=600W = 600 J of work. What is the efficiency (in %)?

  2. What is the Carnot efficiency of an engine operating between TH=500T_H = 500 K and TC=200T_C = 200 K (in %)?

  3. A Carnot engine operates between 800 K and 200 K. If it absorbs 1000 J per cycle, how much work does it produce (in J)?

Part 5: Second Law & Entropy

🌌 The Second Law & Entropy

Part 5 of 7 — Nature's Arrow of Time

The Second Law of Thermodynamics tells us which processes can happen spontaneously and which cannot. It introduces entropy, a measure of disorder that always increases in the universe.

The Second Law of Thermodynamics

There are several equivalent statements of the Second Law:

Clausius Statement

Heat cannot spontaneously flow from a cold object to a hot object without external work being done.

Kelvin-Planck Statement

No cyclic process can convert heat entirely into work (there must always be waste heat).

Entropy Statement

The total entropy of an isolated system can never decrease; it can only increase or remain the same.

ΔSuniverse0\Delta S_{\text{universe}} \geq 0

All three statements are equivalent — if one is violated, all are violated.

Entropy (SS)

Entropy is a measure of the number of microscopic arrangements (microstates) consistent with the macroscopic state. More microstates → higher entropy → more "disorder."

Entropy Change

For a reversible process at constant temperature:

ΔS=QT\Delta S = \frac{Q}{T}

where TT is in Kelvin and QQ is the heat transferred.

Key Properties

  • Entropy is a state variable (path-independent for the system)
  • Units: J/K
  • Adding heat to a system increases its entropy
  • Removing heat decreases its entropy
  • Spontaneous processes always increase the total entropy of the universe

Reversible vs. Irreversible Processes

TypeΔSuniverse\Delta S_{\text{universe}}Example
Reversible=0= 0Ideal Carnot cycle
Irreversible>0> 0Friction, free expansion, heat conduction across ΔT\Delta T

All real processes are irreversible → entropy of the universe always increases.

Heat Death of the Universe

If entropy always increases, the universe will eventually reach a state of maximum entropy — uniform temperature everywhere, no energy gradients, no ability to do work. This is called the "heat death" of the universe.

Second Law Concepts 🔍

Entropy Calculations 📐

Entropy Change Drill 🔧

Use ΔS=Q/T\Delta S = Q/T (with TT in Kelvin).

  1. 600 J of heat is added to a reservoir at 300 K. What is ΔS\Delta S of the reservoir (in J/K)?

  2. 800 J of heat flows from a 400 K reservoir to a 200 K reservoir. What is ΔSuniverse\Delta S_{\text{universe}} (in J/K)?

  3. A Carnot engine absorbs 2000 J at 500 K and rejects heat at 250 K. How much heat is rejected QCQ_C (in J)?

Part 6: Refrigerators & Heat Pumps

❄️ Refrigerators & Heat Pumps

Part 6 of 7 — Running a Heat Engine in Reverse

A refrigerator is essentially a heat engine running backward: instead of using heat to produce work, it uses work to move heat from cold to hot. Heat pumps use the same principle to heat buildings efficiently.

How a Refrigerator Works

A refrigerator uses work input to extract heat from a cold reservoir (inside the fridge) and dump it into a hot reservoir (the kitchen):

  1. Cold reservoir (TCT_C): heat QCQ_C is absorbed from the cold interior
  2. Work input (WW): electrical energy drives the compressor
  3. Hot reservoir (THT_H): heat QHQ_H is released into the room

Energy Conservation

QH=QC+WQ_H = Q_C + W

The heat expelled into the room is MORE than the heat removed from inside — that's why the back of your fridge feels warm!

Coefficient of Performance (COP) — Refrigerator

For a refrigerator, we want to maximize cooling per unit of work:

COPfridge=QCW=QCQHQC\text{COP}_{\text{fridge}} = \frac{Q_C}{W} = \frac{Q_C}{Q_H - Q_C}

Note: COP can be greater than 1 (unlike efficiency). A typical fridge has COP ≈ 3–5, meaning each joule of work removes 3–5 joules of heat.

Maximum COP (Carnot Refrigerator)

COPCarnot, fridge=TCTHTC\text{COP}_{\text{Carnot, fridge}} = \frac{T_C}{T_H - T_C}

Heat Pumps

A heat pump is the same device as a refrigerator, but the goal is reversed: we want to heat the hot reservoir (the building) by extracting heat from the cold reservoir (outside air).

COP — Heat Pump

COPheat pump=QHW=QHQHQC\text{COP}_{\text{heat pump}} = \frac{Q_H}{W} = \frac{Q_H}{Q_H - Q_C}

Maximum COP (Carnot Heat Pump)

COPCarnot, HP=THTHTC\text{COP}_{\text{Carnot, HP}} = \frac{T_H}{T_H - T_C}

Useful Relationship

COPheat pump=COPfridge+1\text{COP}_{\text{heat pump}} = \text{COP}_{\text{fridge}} + 1

This makes sense: QH/W=QC/W+W/W=QC/W+1Q_H/W = Q_C/W + W/W = Q_C/W + 1.

Real-World Applications

  • Air conditioners: refrigerators that cool indoor air
  • Heat pumps: heat buildings by extracting heat from outdoor air (even cold air has thermal energy!)
  • Geothermal heat pumps: use the stable ground temperature as a reservoir — very efficient
  • A heat pump with COP = 4 delivers 4 kW of heating for every 1 kW of electricity — far better than a space heater (COP = 1)

Refrigerator & Heat Pump Concepts 🔍

Engine vs. Refrigerator ⚖️

COP Calculation Drill 🔧

  1. A refrigerator removes 600 J from the cold reservoir using 200 J of work. What is its COP?

  2. What is the maximum COP of a refrigerator operating between TC=250T_C = 250 K and TH=300T_H = 300 K?

  3. A Carnot heat pump operates between TC=270T_C = 270 K and TH=300T_H = 300 K. What is its COP?

Part 7: Synthesis & AP Review

🎯 Synthesis & AP Review

Part 7 of 7 — Putting It All Together

Let's compare all four thermodynamic processes, review PV diagram analysis, and tackle the kinds of problems you'll see on the AP Physics 2 exam.

The Four Processes — Complete Comparison

ProcessConstantWWΔU\Delta UQQPV Shape
IsobaricPPPΔVP\Delta VQPΔVQ - P\Delta VΔU+PΔV\Delta U + P\Delta VHorizontal line
IsochoricVV00QQΔU\Delta UVertical line
IsothermalTTQQ00WWHyperbola (PV=constPV = \text{const})
AdiabaticQ=0Q = 0ΔU-\Delta UW-W00Steep curve (PVγ=constPV^\gamma = \text{const})

Quick Decision Guide

  • Temperature doesn't change? → IsothermalΔU=0\Delta U = 0
  • No heat exchange? → AdiabaticQ=0Q = 0
  • Volume doesn't change? → IsochoricW=0W = 0
  • Pressure doesn't change? → IsobaricW=PΔVW = P\Delta V

Complete Cycle

For any complete cycle: ΔU=0\Delta U = 0, so Qnet=Wnet=enclosed area on PV diagramQ_{\text{net}} = W_{\text{net}} = \text{enclosed area on PV diagram}.

Common AP Mistakes to Avoid

❌ Mistake 1: Using °C in Carnot efficiency

Carnot efficiency requires Kelvin: e=1TC/THe = 1 - T_C/T_H. Always convert: T(K)=T(°C)+273T(K) = T(°C) + 273.

❌ Mistake 2: Confusing WW sign conventions

Some textbooks define WW as work done ON the gas. AP Physics 2 typically uses WW = work done BY the gas. Check which convention the problem uses!

❌ Mistake 3: Thinking ΔU=0\Delta U = 0 means TT is constant

For an ideal gas, ΔU=0ΔT=0\Delta U = 0 \Leftrightarrow \Delta T = 0 (true). But this is specific to ideal gases.

❌ Mistake 4: Assuming adiabatic = isothermal

Adiabatic (Q=0Q = 0) means no heat exchange. Isothermal (ΔT=0\Delta T = 0) means constant temperature. An adiabatic expansion causes temperature to DROP.

❌ Mistake 5: Forgetting that COP > 1 is normal

Unlike efficiency (always < 1), COP of a refrigerator or heat pump can exceed 1. A COP of 5 does not violate any law.

❌ Mistake 6: Confusing engine efficiency with refrigerator COP

Engine: e=W/QH<1e = W/Q_H < 1. Fridge: COP=QC/W\text{COP} = Q_C/W (can be > 1). They measure different things.

Process Identification Mastery 🔍

AP-Style Analysis 📝

Process Property Match 🎯

For each scenario, identify the correct result.

Final Mastery Drill 🏆

  1. A Carnot engine operates between 600 K and 300 K with QH=1200Q_H = 1200 J. Find the work output WW (in J).

  2. A refrigerator has COP = 4 and does 150 J of work per cycle. How much heat is removed from the cold reservoir QCQ_C (in J)?

  3. 900 J of heat flows irreversibly from a 450 K reservoir to a 300 K reservoir. Find ΔSuniverse\Delta S_{\text{universe}} (in J/K).