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 ()
The internal energy of an ideal gas is the total kinetic energy of all its molecules:
Key facts:
- depends only on temperature for an ideal gas
- If increases → increases
- If stays constant →
- is a state variable — it depends only on the current state, not on how the gas got there
Change in Internal Energy
For any process where doesn't change (isothermal): .
For any process where rises: .
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)
where .
Sign Conventions
| Situation | Meaning | ||
|---|---|---|---|
| Gas expands | Gas does work ON surroundings | ||
| Gas compresses | Surroundings do work ON gas | ||
| Volume constant | No 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 →
- Moving left → compression →
Sign Convention Check ✅
PV Diagram Concepts 📊
Work Calculation Drill 🔧
All processes are isobaric (constant pressure). Give magnitude and correct sign.
- kPa, gas expands from 3.0 L to 8.0 L. Work by gas (in J)?
- kPa, gas compresses from 10.0 L to 4.0 L. Work by gas (in J)?
- A gas at 150 kPa does 450 J of work while expanding. What is (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
or equivalently:
where:
- = change in internal energy of the gas
- = heat added to the gas (positive if heat flows IN)
- = 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 J goes into raising the temperature.
Sign Summary
| Quantity | Positive means... | Negative means... |
|---|---|---|
| Heat flows INTO gas | Heat flows OUT of gas | |
| Gas expands (does work on surroundings) | Gas compressed (work done on gas) | |
| Temperature increases | Temperature decreases |
First Law Applied to Special Processes
1. Isothermal Process ( = constant)
- (internal energy depends only on )
- All heat added is converted to work (or vice versa)
2. Adiabatic Process (, no heat exchange)
- If the gas expands (): → temperature drops
- If the gas compresses (): → temperature rises
3. Isochoric (Isovolumetric) Process ( = constant)
- (no volume change → no work)
- All heat goes directly into changing internal energy (temperature)
4. Isobaric Process ( = constant)
- Heat goes into both internal energy AND work
Process Identification 🔍
First Law Application ⚡
First Law Drill 🔧
Apply to each scenario.
- J, J. Find (in J).
- A gas does 300 J of work while its internal energy decreases by 100 J. Find (in J).
- An adiabatic compression does 600 J of work on the gas ( J by the gas). Find (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 to :
Different Processes on PV Diagrams
| Process | PV Shape | Work |
|---|---|---|
| Isobaric ( = const) | Horizontal line | (rectangle) |
| Isochoric ( = const) | Vertical line | (no area) |
| Isothermal ( = const) | Curved (hyperbola: ) | Area under curve |
| Adiabatic () | Steeper curve than isothermal | Area under curve |
The Adiabatic Curve
An adiabat is steeper than an isotherm passing through the same point because (where ) drops off faster than .
Thermodynamic Cycles
A cycle returns the gas to its original state, so .
From the First Law for a complete cycle:
Net Work = Enclosed Area
The net work done in a cycle equals the area enclosed by the cycle on a PV diagram.
Direction Matters!
| Direction | Name | Net Work | Energy Flow |
|---|---|---|---|
| Clockwise | Heat engine | (work OUT) | Converts heat to work |
| Counterclockwise | Refrigerator/heat pump | (work IN) | Uses work to move heat |
How to Calculate Net Work for a Cycle
- Find the area enclosed by the cycle
- If clockwise →
- If counterclockwise →
For rectangular cycles:
Cycle Direction Quiz 🔄
PV Diagram Reading 📈
PV Diagram Calculation Drill 📊
-
An isobaric expansion at kPa from L to L. Work done by gas (in J)?
-
A rectangular clockwise cycle with kPa and L. Net work per cycle (in J)?
-
A gas completes a clockwise cycle with net work = 400 J. If J of heat is absorbed from the hot reservoir, how much heat 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:
- Hot reservoir (temperature ): supplies heat to the engine
- Cold reservoir (temperature ): receives waste heat from the engine
- Net work output:
Energy Conservation (First Law for a Cycle)
Since for a complete cycle:
Efficiency
The thermal efficiency measures what fraction of input heat becomes useful work:
Efficiency is always between 0 and 1 (or 0% and 100%).
Since (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
where temperatures must be in Kelvin.
Key Facts About Carnot Efficiency
- No real engine can exceed Carnot efficiency
- increases when increases or decreases
- (100%) only if K — impossible to reach!
- Real engines have friction, turbulence, and other irreversibilities, so
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 . This is a fundamental limit of nature, not an engineering limitation.
Efficiency Concepts 🔍
Carnot Limit ⚠️
Efficiency Calculation Drill 🔧
-
A heat engine absorbs J and does J of work. What is the efficiency (in %)?
-
What is the Carnot efficiency of an engine operating between K and K (in %)?
-
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.
All three statements are equivalent — if one is violated, all are violated.
Entropy ()
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:
where is in Kelvin and 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 | Example | |
|---|---|---|
| Reversible | Ideal Carnot cycle | |
| Irreversible | Friction, free expansion, heat conduction across |
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 (with in Kelvin).
-
600 J of heat is added to a reservoir at 300 K. What is of the reservoir (in J/K)?
-
800 J of heat flows from a 400 K reservoir to a 200 K reservoir. What is (in J/K)?
-
A Carnot engine absorbs 2000 J at 500 K and rejects heat at 250 K. How much heat is rejected (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):
- Cold reservoir (): heat is absorbed from the cold interior
- Work input (): electrical energy drives the compressor
- Hot reservoir (): heat is released into the room
Energy Conservation
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:
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)
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
Maximum COP (Carnot Heat Pump)
Useful Relationship
This makes sense: .
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 🔧
-
A refrigerator removes 600 J from the cold reservoir using 200 J of work. What is its COP?
-
What is the maximum COP of a refrigerator operating between K and K?
-
A Carnot heat pump operates between K and 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
| Process | Constant | PV Shape | |||
|---|---|---|---|---|---|
| Isobaric | Horizontal line | ||||
| Isochoric | Vertical line | ||||
| Isothermal | Hyperbola () | ||||
| Adiabatic | Steep curve () |
Quick Decision Guide
- Temperature doesn't change? → Isothermal →
- No heat exchange? → Adiabatic →
- Volume doesn't change? → Isochoric →
- Pressure doesn't change? → Isobaric →
Complete Cycle
For any complete cycle: , so .
Common AP Mistakes to Avoid
❌ Mistake 1: Using °C in Carnot efficiency
Carnot efficiency requires Kelvin: . Always convert: .
❌ Mistake 2: Confusing sign conventions
Some textbooks define as work done ON the gas. AP Physics 2 typically uses = work done BY the gas. Check which convention the problem uses!
❌ Mistake 3: Thinking means is constant
For an ideal gas, (true). But this is specific to ideal gases.
❌ Mistake 4: Assuming adiabatic = isothermal
Adiabatic () means no heat exchange. Isothermal () 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: . Fridge: (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 🏆
-
A Carnot engine operates between 600 K and 300 K with J. Find the work output (in J).
-
A refrigerator has COP = 4 and does 150 J of work per cycle. How much heat is removed from the cold reservoir (in J)?
-
900 J of heat flows irreversibly from a 450 K reservoir to a 300 K reservoir. Find (in J/K).