Steam engine and molecular motion illustrating thermodynamics
Intermediate

Thermodynamics and Statistical Mechanics

PHYS 220

Explore heat, temperature, entropy, and the laws that govern energy transformation. Connect macroscopic thermodynamics to the statistical behavior of atoms and molecules.

Heat, Work, and the Arrow of Time

Thermodynamics is the physics of heat and energy transformation. It tells us why engines cannot be perfectly efficient, why heat flows from hot to cold, and why the universe tends toward disorder. It also connects the world of atoms to the world of temperature and pressure.

Temperature and the Zeroth Law

Temperature is a measure of the average kinetic energy of the particles in a system. Two systems in thermal equilibrium with a third are in thermal equilibrium with each other — this obvious-sounding statement is the Zeroth Law of Thermodynamics, and it defines what temperature measurement means.

The First Law: Energy Conservation

The First Law of Thermodynamics is conservation of energy applied to thermal systems. The internal energy of a system changes by the heat added to it minus the work done by it. Energy is never created or destroyed — it is only transformed.

The Second Law: Entropy

The Second Law is one of the most profound statements in physics. It says that the total entropy of an isolated system can never decrease. Entropy is a measure of disorder, or more precisely, of the number of microscopic arrangements consistent with the macroscopic state.

Heat flows from hot to cold because there are vastly more ways for energy to be spread out than concentrated. The Second Law gives time its direction — it is why you cannot unscramble an egg.

Heat Engines and Refrigerators

A heat engine converts heat into work. The Carnot cycle is the idealized, maximally efficient engine. Its efficiency depends only on the temperatures of the hot and cold reservoirs. No real engine can exceed Carnot efficiency. Refrigerators run heat engines in reverse.

Statistical Mechanics

Statistical mechanics is the microscopic foundation of thermodynamics. Instead of tracking every particle, you calculate the probability of each microscopic state and derive macroscopic properties from these probabilities.

The Boltzmann distribution gives the probability of a system being in a state with a given energy. From it, you can derive the ideal gas law, heat capacities, and many other results. This is one of the most beautiful connections in all of physics — microscopic randomness gives rise to macroscopic order.

The Ideal Gas

The ideal gas is the simplest model of a real gas: point particles with no interactions beyond elastic collisions. The ideal gas law (PV = nRT) follows from simple statistical arguments. Real gases deviate from this, and you will learn how to correct for it.

What you will learn

  • Apply the first law of thermodynamics to calculate work and heat
  • Explain entropy and the second law in terms of microstates
  • Calculate the efficiency of Carnot and other heat cycles
  • Derive the ideal gas law from kinetic theory
  • Use the Maxwell-Boltzmann distribution to find average speeds
  • Define the partition function and use it to derive thermodynamic quantities
  • Explain phase transitions qualitatively

Major topics

Temperature, heat, and thermal equilibriumZeroth law of thermodynamicsFirst law: internal energy and workHeat capacity and specific heatIsothermal, adiabatic, isobaric, and isochoric processesSecond law: entropy and irreversibilityCarnot cycle and efficiencyRefrigerators and heat pumpsThird law of thermodynamicsKinetic theory of gasesMaxwell-Boltzmann speed distributionStatistical mechanics and microstatesBoltzmann factor and partition functionPhase transitions

Why this course matters

Thermodynamics is essential for engineering, chemistry, and materials science. Heat engines power civilization. Understanding entropy is key to understanding chemistry, biology, information theory, and cosmology. The arrow of time itself is a thermodynamic concept.

Course modules

Module 14 lessons

Temperature and Thermal Equilibrium

This module introduces temperature as a measurable sign of thermal equilibrium and a bridge between macroscopic thermodynamics and microscopic motion. Students study the zeroth law, temperature scales, thermometers, thermal expansion, and the main mechanisms of heat transfer.

Open module
Module 24 lessons

First Law of Thermodynamics

This module treats thermodynamics as energy accounting. Students learn internal energy, heat, work, calorimetry, heat capacity, common thermodynamic processes, and enthalpy.

Open module
Module 34 lessons

Second Law and Entropy

This module introduces entropy and the second law as guides to the direction of natural processes. Students study reversible and irreversible change, entropy calculations, and the physical origin of the arrow of time.

Open module
Module 44 lessons

Heat Engines and Refrigerators

This module applies the first and second laws to cyclic devices. Students analyze heat engines, Carnot limits, refrigerators, heat pumps, and real thermodynamic cycles.

Open module
Module 54 lessons

Kinetic Theory of Gases

This module connects macroscopic gas laws to microscopic particle motion. Students derive pressure and temperature from molecular collisions, study speed distributions, and learn the equipartition theorem.

Open module
Module 64 lessons

Statistical Mechanics

This module connects thermodynamics to probability and microscopic states. Students study microstates, macrostates, the Boltzmann factor, partition functions, free energy, and phase transitions.

Open module

Common misconceptions

  • Entropy is just disorder — it is the number of equivalent microstates, a precise mathematical quantity

  • Heat and temperature are the same — temperature is average kinetic energy, heat is energy transferred

  • The second law says things always get more disordered — local order can increase (life exists) as long as total entropy increases

  • Perpetual motion machines are just not invented yet — they are forbidden by fundamental physics

Ask your AI physics guide

AI Physics Chat· Thermodynamics and Statistical Mechanics

Ask anything about Thermodynamics and Statistical Mechanics, or choose a suggested question below.

AI responses are educational and may not be perfectly accurate. Press Enter to send, Shift+Enter for new line.

Related courses