Thermodynamics

Thermodynamics

Definition: The branch of physics that studies heat, work, temperature, and the transfer of energy between systems.

How It Works

  • Thermodynamics tracks energy as it moves between a system (the thing being studied) and its surroundings, in the form of heat and work.
  • Zeroth law: if two systems are each in thermal equilibrium with a third, they’re in thermal equilibrium with each other, this is what makes temperature a well-defined, measurable quantity.
  • First law: energy is conserved. Heat added to a system equals its change in internal energy plus the work it does on its surroundings.
  • Second law: entropy (disorder) in an isolated system never decreases over time, which sets the direction of spontaneous processes and explains why some processes are irreversible.
  • Third law: as temperature approaches absolute zero, the entropy of a perfect crystal approaches a constant minimum, meaning absolute zero itself is unreachable in a finite number of steps.
  • Heat flows spontaneously from hotter to colder objects, never the reverse, without external work being done (like in a refrigerator).
  • Internal energy depends on the microscopic kinetic and potential energy of a system’s particles: temperature is essentially a measure of average molecular kinetic energy.
  • Thermodynamic processes are often categorized by what’s held constant: isothermal (constant temperature), isobaric (constant pressure), isochoric (constant volume), and adiabatic (no heat exchange).

Illustration

Under the Hood

ΔU = Q - W                        (first law of thermodynamics)
ΔS ≥ 0                            (second law, isolated system)
PV = nRT                          (ideal gas law)
η = W_out / Q_in = 1 - (T_cold/T_hot)      (Carnot engine maximum efficiency)
Q = mcΔT                          (heat needed for a temperature change)

Worked Example 1: Heat needed to warm water Given: heat 2.0 kg of water from 20°C to 80°C (specific heat of water c = 4186 J/(kg·°C)). Step 1: apply Q = mcΔT = 2.0 × 4186 × (80 - 20). Step 2: Q = 2.0 × 4186 × 60. Answer: Q = 502,320 J ≈ 502 kJ.

Worked Example 2: First law applied to a gas doing work Given: a gas absorbs 500 J of heat and does 200 J of work expanding against a piston. Step 1: apply ΔU = Q - W = 500 - 200. Answer: ΔU = 300 J, the gas’s internal energy increases by 300 J.

Worked Example 3: Maximum efficiency of a heat engine Given: a heat engine operates between a hot reservoir at 500 K and a cold reservoir at 300 K. Step 1: apply η = 1 - (T_cold/T_hot) = 1 - (300/500). Step 2: η = 1 - 0.6. Answer: η = 0.4, or 40% maximum theoretical efficiency; no real engine operating between these temperatures can exceed this.

Worked Example 4: Gas volume change at constant pressure Given: 2 moles of an ideal gas at 300 K and 1 atm; find its volume (R = 0.0821 L·atm/(mol·K)). Step 1: apply PV = nRT, so V = nRT/P. Step 2: V = (2 × 0.0821 × 300) / 1. Answer: V ≈ 49.3 L.

Worked Example 5: Entropy change for melting ice Given: 1.0 kg of ice melts at 0°C (273 K), absorbing its latent heat of fusion, 334,000 J/kg. Step 1: apply ΔS = Q/T for a reversible phase change at constant temperature. Step 2: ΔS = 334,000 / 273. Answer: ΔS ≈ 1223 J/K, entropy increases as the ordered ice crystal becomes disordered liquid water.

The Four Laws in Practice

  • The zeroth law is why thermometers work at all: a thermometer reaches thermal equilibrium with whatever it touches, then reads the same value as anything else at that equilibrium temperature.
  • The first law rules out perpetual motion machines of the first kind, devices that produce more energy than they consume.
  • The second law rules out perpetual motion machines of the second kind, devices that convert heat entirely into work with no waste, since some energy must always be lost as unusable heat.
  • The third law implies you can get arbitrarily close to absolute zero (-273.15°C) but never fully reach it, a principle actively tested in ultracold atom physics labs.

Why It Matters

  • It governs the design of engines, refrigerators, power plants, and HVAC systems, setting hard efficiency limits no engineering can bypass.
  • Refrigerators and air conditioners work by using external work to force heat to flow from cold to hot, against its natural direction, exactly what the second law says can’t happen spontaneously.
  • It explains why real processes are irreversible: friction, mixing, and heat flow all increase entropy and can’t simply be run backward.
  • Chemical engineers use thermodynamics to predict whether reactions proceed spontaneously and how much useful energy they can extract.
  • Climate science relies on thermodynamic principles to model how energy moves through the atmosphere and oceans.
  • Biological systems, including human metabolism, are governed by thermodynamic constraints on how efficiently chemical energy converts to usable work.
  • Power plant designers choose working fluids and operating temperatures specifically to push real-world efficiency as close as possible to the Carnot limit.

Common Pitfalls

  • Confusing heat and temperature: heat is energy in transit between systems, temperature is a measure of average molecular kinetic energy within a system.
  • Believing the second law forbids order from ever increasing anywhere. It only requires total entropy of an isolated system to not decrease; local order (like a living organism, or a refrigerator) can increase if entropy increases even more elsewhere.
  • Assuming a 100% efficient engine is just a matter of good enough engineering. The Carnot efficiency limit is a hard theoretical ceiling set by the temperatures involved, not a current technology gap.
  • Getting confused about the sign convention in ΔU = Q - W. Different textbooks define W as work done “by” or “on” the system, changing the sign, always check which convention is being used.
  • Thinking entropy is the same as literal messiness. It’s a precise measure of the number of microscopic configurations consistent with a system’s macroscopic state.
  • Forgetting to convert temperature to Kelvin in gas law and efficiency calculations; using Celsius directly produces wrong answers.

Comparison

First LawSecond Law
Core statementEnergy is conservedEntropy never decreases in an isolated system
GovernsEnergy bookkeepingDirection of spontaneous processes
Rules outMachines that create energy from nothingMachines that convert all heat to work with no waste
AnalogyYou can’t get more out than you put inYou can’t break even, some energy is always “lost” as unusable heat
Direction of timeTime-symmetric on its ownGives thermodynamics its “arrow of time”

Example

A car engine converts heat from burning fuel into mechanical work but always releases some heat as waste through the exhaust and radiator, exactly as the second law requires, real engines never reach the theoretical Carnot efficiency limit. Refrigerators use the first law (energy conservation) and external electrical work to pump heat from the cold interior to the warmer kitchen, a process that only works because work is being done, not spontaneously.

History

  • Sadi Carnot analyzed the theoretical limits of heat engine efficiency in 1824, laying the groundwork for the second law before entropy was even formally defined.
  • Rudolf Clausius formalized the concept of entropy in 1865, coining the term and giving the second law its modern mathematical form.
  • James Joule’s experiments in the 1840s established the mechanical equivalent of heat, showing that heat and work are interchangeable forms of energy.
  • Ludwig Boltzmann connected entropy to microscopic statistical mechanics in the 1870s, explaining thermodynamics in terms of countless particle configurations, work that was controversial in his lifetime but is now foundational.

FAQ

Why can’t we build a machine that’s 100% energy efficient? The second law guarantees that some energy in any real process disperses into forms too disordered to fully recover as useful work, typically as low-grade waste heat.

Is entropy the same thing as “chaos” in everyday language? Not exactly. Entropy specifically measures the number of equivalent microscopic arrangements consistent with a system’s observable state; more possible arrangements means higher entropy, not just visual messiness.

How do refrigerators violate the “heat flows from hot to cold” idea? They don’t violate the second law, they use external electrical work to force heat from cold to hot, and that necessary work is exactly what respects the law: heat only moves against its natural direction when something spends energy to make it happen.

Why is absolute zero unreachable? The third law implies that removing the last bit of thermal energy from a system would require an infinite number of steps, each getting closer without ever fully arriving, a limit confirmed by ultracold physics experiments that get extremely close but never reach exactly 0 K.

Why does a bicycle pump get warm when you use it? Rapidly compressing air does work on the gas, and by the first law that work raises the gas’s internal energy, which shows up as an increase in temperature, an everyday example of adiabatic-like heating.

Dig deeper