Thermodynamics - heat engines and entropy

Welcome to MindMentor!

Thermodynamics icon

DP Physics

Thermodynamics

Thermodynamics is the study of heat, work, temperature, and their relationship to energy, entropy, and the physical properties of matter and radiation.

While mechanics deals with the motion of objects and forces, thermodynamics examines energy transformations and the fundamental limitations on those transformations. It addresses questions like: Why does heat always flow from hot to cold? Why can't we build a perfect engine? What determines whether a process occurs spontaneously?

Thermodynamics emerged from practical needs—improving steam engines during the Industrial Revolution—but evolved into one of physics' most profound theories with universal applicability.

Thermodynamic Systems

A thermodynamic system is the portion of the universe under study. Everything outside is the surroundings. The boundary separates the system from its surroundings.

Isolated System

No exchange of energy or matter with surroundings.

Example: ideal insulated container (approximation)

Closed System

Energy can cross the boundary, but matter cannot.

Example: sealed piston cylinder

Open System

Both energy and matter can cross the boundary.

Example: boiling water in an open pot

A thermodynamic process describes how a system changes from one equilibrium state to another.

Internal Energy

Definition: The internal energy (U) of a system is the total energy contained within the system, including kinetic energy of particle motion and potential energy of particle interactions.

For an ideal gas (no intermolecular forces), internal energy is purely kinetic:

U = (3/2)nRT

where n is the amount of substance in moles, R is the gas constant, and T is the absolute temperature.

Internal energy is a state function — it depends only on the current state (T, P, V, n), not on how that state was reached.

Change in internal energy: ΔU = U_final - U_initial

ΔU can be positive (energy added to the system) or negative (energy removed from the system).

The First Law of Thermodynamics

ΔU = Q - W

ΔU = change in internal energy (J)
Q = heat transferred to the system (J)
W = work done by the system (J)

Sign conventions (using ΔU = Q - W):

  • Q > 0: heat added to system
  • Q < 0: heat removed from system
  • W > 0: system does work on surroundings (expansion)
  • W < 0: surroundings do work on the system (compression)

This is essentially conservation of energy applied to thermodynamic systems. Energy isn't created or destroyed, only transformed between forms and transferred between systems and their surroundings.

Example: A gas absorbs 500 J of heat and expands, doing 300 J of work on the surroundings. Find ΔU.

ΔU = Q - W = 500 - 300 = 200 J (internal energy increases by 200 J)

Work in Thermodynamics

W = ∫P dV

For constant pressure (isobaric process): W = PΔV

Geometrically, work equals the area under the P-V curve.

Example: A gas at constant pressure 200 kPa expands from 0.5 m³ to 1.2 m³. Calculate the work done by the gas.

W = PΔV = (200,000)(1.2 - 0.5) = (200,000)(0.7) = 140,000 J = 140 kJ

Important Thermodynamic Processes

Isothermal
T constant (ΔT = 0, ΔU = 0 for ideal gas)
PV = constant
Q = W
Adiabatic
Q = 0 (thermally isolated)
ΔU = -W
Compression heats, expansion cools
Isobaric
P constant (ΔP = 0)
W = PΔV
ΔU = Q - PΔV
Isochoric
V constant (ΔV = 0, W = 0)
ΔU = Q
All heat increases internal energy

Specific Heat Capacity

Q = mcΔT (specific heat capacity)

Q = nCΔT (molar specific heat capacity)

For gases, specific heat depends on whether pressure or volume is held constant:

  • C_V (constant volume): Q = nC_VΔT, all energy increases internal energy
  • C_P (constant pressure): Q = nC_PΔT, energy increases internal energy and does expansion work

For ideal gas: C_P = C_V + R

The ratio γ = C_P/C_V is important for adiabatic processes.

  • Monatomic gases (He, Ar): γ = 5/3
  • Diatomic gases (O₂, N₂): γ = 7/5

The Second Law of Thermodynamics

Clausius Statement

Heat cannot spontaneously flow from a colder to a hotter object without external work being done.

Kelvin-Planck Statement

No heat engine can convert heat completely into work with 100% efficiency. Some heat must be exhausted to a cold reservoir.

Entropy Statement

The entropy of an isolated system never decreases; it either increases (irreversible process) or remains constant (reversible process).

The second law explains why many processes are irreversible. You can convert work entirely into heat (rub hands together), but you can't convert heat entirely into work without some heat being wasted.

This establishes a fundamental directionality to natural processes, sometimes called the "arrow of time."

Entropy

ΔS = Q/T (for reversible heat transfer)

SI unit: J/K

Entropy (S) is a measure of the disorder or randomness of a system. More precisely, it quantifies the number of microscopic configurations corresponding to a macroscopic state.

The second law states: ΔS_universe ≥ 0

For isolated systems: ΔS ≥ 0

Examples of entropy increase:

  • Ice melting (ordered crystalline structure → disordered liquid)
  • Gas expanding into a vacuum (concentrated → dispersed)
  • Heat flowing from hot to cold (concentrated energy → dispersed energy)

Heat Engines

A heat engine is a device that converts thermal energy into mechanical work through cyclic processes.

Operating principle:

  • Absorb heat Q_H from hot reservoir (temperature T_H)
  • Convert some heat into work, W
  • Exhaust remaining heat Q_C to cold reservoir (temperature T_C)
  • Return to initial state (cyclic)

Energy conservation: W = Q_H - Q_C

Thermal efficiency: η = W/Q_H = 1 - Q_C/Q_H

Example: A heat engine absorbs 1000 J from a hot reservoir and exhausts 600 J to a cold reservoir. Find efficiency and work output.

W = 1000 - 600 = 400 J

η = 400/1000 = 0.40 = 40%

The Carnot Cycle

η_Carnot = 1 - T_C/T_H

Temperatures must be in Kelvin.

The Carnot engine is a theoretical ideal heat engine operating between two thermal reservoirs with maximum possible efficiency.

The Carnot cycle consists of four reversible processes:

  1. Isothermal expansion at T_H (absorb Q_H)
  2. Adiabatic expansion (temperature drops to T_C)
  3. Isothermal compression at T_C (exhaust Q_C)
  4. Adiabatic compression (temperature rises to T_H)

Example: A Carnot engine operates between 500 K and 300 K. Find the maximum efficiency.

η_Carnot = 1 - 300/500 = 1 - 0.6 = 0.4 = 40%

No engine operating between these temperatures can exceed 40% efficiency.

Refrigerators and Heat Pumps

COP_refrigerator = Q_C/W = Q_C/(Q_H - Q_C)

COP_Carnot = T_C/(T_H - T_C)

A refrigerator is a heat engine running in reverse. Work input removes heat from the cold reservoir and exhausts heat to the hot reservoir.

Higher COP means a more efficient refrigerator (more cooling per unit work).

Heat pumps use the same principle for heating buildings, extracting heat from cold outside air and delivering it inside.

The Third Law of Thermodynamics

S → 0 as T → 0 K

Statement: As the temperature approaches absolute zero, the entropy of a perfect crystal approaches zero.

This establishes an absolute entropy scale and implies absolute zero is unattainable in finite steps (temperatures can approach but never reach 0 K).

Practical Applications

Power plants
Steam turbines operate as heat engines, converting thermal energy into electricity. Typical efficiency 30-40%.
Internal combustion engines
Car engines operate on thermodynamic cycles (Otto cycle, Diesel cycle). Efficiency is typically 20-30%.
Refrigeration
Home refrigerators, air conditioners, and heat pumps all operate on thermodynamic principles.
Climate
Earth's climate system involves enormous heat transfers and thermodynamic cycles.

Why Thermodynamics Matters

Thermodynamics establishes fundamental limits on what's possible. No matter how clever engineering becomes, certain efficiencies cannot be exceeded. These aren't technological limitations — they're laws of nature.

The second law explains why perpetual motion machines are impossible, why we can't extract unlimited work from ocean thermal energy, and why disorder tends to increase.

Understanding thermodynamics is essential for energy engineering, climate science, chemistry, biology, and even information theory and cosmology. It's one of physics' most broadly applicable theories, with principles that have stood unchanged for over 150 years.

Summary of Key Formulas

First Law: ΔU = Q - W
Ideal Gas: U = (3/2)nRT
Isobaric Work: W = PΔV
Heat Capacity: Q = mcΔT
C_P = C_V + R
Entropy: ΔS = Q/T
Engine Efficiency: η = 1 - Q_C/Q_H
Carnot Efficiency: η = 1 - T_C/T_H