English:Thermodynamics

Thermodynamics
Introduction
Thermodynamics is the study of energy, heat, work, entropy, equilibrium, and the macroscopic laws that constrain physical and chemical change. It provides a common language for Physics, Chemistry, Materials science, Mechanical engineering, Chemical engineering, and many areas of biology and Earth science. In this university-level aiMOOC, you will learn to model systems, apply the laws of thermodynamics, derive useful relations, evaluate processes and cycles, and connect macroscopic behavior with microscopic statistical ideas.
A central strength of thermodynamics is that it does not require complete knowledge of every molecule. Instead, it describes a system by measurable state variables such as temperature, pressure, volume, composition, internal energy, and entropy. The laws then tell you which transformations are possible, how energy is conserved, and why real processes have a preferred direction.

The diagram above emphasizes the idea of a system boundary. Before solving any thermodynamics problem, identify what belongs to the system, what belongs to the surroundings, and which transfers can cross the boundary.
Learning Objectives
By the end of this aiMOOC, you should be able to explain and apply the zeroth, first, second, and third laws of thermodynamics; distinguish state functions from process quantities; formulate energy and entropy balances for closed and open systems; use equations of state and property relations; analyze ideal-gas processes and thermodynamic cycles; calculate changes in thermodynamic potentials; derive and use Maxwell relations; interpret phase equilibria; connect entropy with probability; and assess engineering systems using efficiency, coefficient of performance, and exergy concepts.
Thermodynamic Systems, States, and Properties
Systems and Boundaries
A closed system contains a fixed amount of matter. Energy may cross its boundary as heat or work, but mass does not. An open system, often analyzed as a Control volume, permits both mass and energy transfer. An isolated system exchanges neither matter nor energy with its surroundings.


The distinction matters because the mathematical form of an energy or entropy balance depends on whether mass crosses the boundary. A turbine, compressor, nozzle, heat exchanger, and pump are commonly modeled as open systems, while a sealed piston-cylinder is often modeled as a closed system.
State Variables and Equilibrium
A macroscopic state is specified by a sufficient set of thermodynamic properties. Common intensive properties include temperature , pressure , and density. Common extensive properties include volume , internal energy , entropy , and particle number . Dividing an extensive property by mass or amount of substance gives a specific or molar property.
A system is in thermodynamic equilibrium when there are no unbalanced macroscopic driving forces for change. Thermal equilibrium requires uniform temperature in the absence of heat flow; mechanical equilibrium requires no unbalanced pressure forces; and chemical equilibrium requires no net tendency for composition to change.
State Functions and Path Functions
A state function depends only on the current equilibrium state, not on the path used to reach it. Internal energy, enthalpy, entropy, Helmholtz free energy, and Gibbs free energy are state functions. Heat and work are process quantities: their values depend on the path. For this reason, infinitesimal heat and work are often written with inexact differentials, and , whereas state variables use exact differentials such as and .
The Zeroth Law and Temperature
The zeroth law of thermodynamics states that if system A is in thermal equilibrium with system C, and system B is also in thermal equilibrium with system C, then A and B are in thermal equilibrium with each other. This transitive relation makes temperature a meaningful state variable and underlies the operation of thermometers.
Temperature is not simply "stored heat." It is a state property that determines the direction of spontaneous heat transfer between systems brought into thermal contact. Heat flows spontaneously from higher temperature to lower temperature until thermal equilibrium is reached, provided no other coupled effects reverse the net transfer.
The First Law: Conservation of Energy
Closed-System Energy Balance
The first law of thermodynamics expresses conservation of energy. With the convention that is heat added to the system and is work done by the system, a closed system obeys
,
where total energy may include internal, kinetic, and potential contributions. If changes in kinetic and potential energy are negligible, this becomes
.
Boundary work for a quasi-static compression or expansion is
,
and for a mechanically reversible path the external pressure equals the system pressure at the boundary.
Enthalpy and Constant-Pressure Processes
Enthalpy is defined by
.
It is especially convenient for flow processes and many constant-pressure transformations. For a simple compressible closed system doing only pressure-volume work, heating at constant pressure gives when kinetic and potential energy changes are negligible.
Heat capacities describe how energy changes with temperature. For one mole,
and
.
For an ideal gas, on a molar basis.
Steady-Flow Energy Balance
For a steady open system with one or more inlet and outlet streams,
.
Here is shaft work output, is specific enthalpy, is speed, and is elevation. This balance is a powerful starting point for turbines, compressors, pumps, nozzles, and heat exchangers.
Equations of State and Ideal-Gas Processes
An equation of state connects equilibrium state variables. The ideal-gas equation is
.
It is an approximation that becomes increasingly accurate for many gases at low density and sufficiently high temperature relative to condensation conditions. Real gases require more detailed equations of state or tabulated property data when intermolecular effects are important.
For an ideal gas, internal energy and enthalpy depend only on temperature. Useful reversible processes include:
- Isothermal process: At constant temperature, an ideal gas has , so heat added equals work done by the gas.
- Isochoric process: At constant volume, boundary work is zero.
- Isobaric process: At constant pressure, boundary work is .
- Adiabatic process: With no heat transfer, ; for a reversible ideal-gas process with constant heat capacities, .
A pressure-volume diagram is useful because the area under a quasi-static process curve represents boundary work, while the enclosed area of a cycle represents net work.
The Second Law and Entropy
The first law states that energy is conserved, but it does not determine the direction of spontaneous change. The second law of thermodynamics introduces entropy and constrains energy conversion.
For a closed system, an entropy balance can be written as
,
where is the boundary temperature at which heat crosses and is entropy generation. A reversible process has ; an irreversible process has .
Common sources of irreversibility include heat transfer across a finite temperature difference, friction, viscous dissipation, mixing, electrical resistance, unrestrained expansion, chemical reaction away from equilibrium, and mass transfer across finite chemical-potential differences.
Clausius Inequality and Reversibility
For any cycle,
,
with equality for a reversible cycle. This Clausius inequality motivates entropy as a state function and provides a rigorous test of reversibility.
A reversible process is an ideal limit that can be reversed by an infinitesimal change while leaving no net change in system plus surroundings. Real processes are irreversible, but reversible models establish upper bounds on work output or lower bounds on work input.
Heat Engines, Refrigerators, and the Carnot Limit
A heat engine receives heat from a hot reservoir, rejects heat to a cold reservoir, and produces net work . Its thermal efficiency is
.

The reversible Carnot cycle operating between absolute temperatures and has the maximum possible heat-engine efficiency for those reservoir temperatures:
.
No real heat engine operating only between the same two reservoirs can exceed this value.


A refrigerator moves heat from a low-temperature region to a high-temperature region using work input. Its coefficient of performance is . A heat pump is evaluated by . Coefficients of performance can exceed one because they compare heat transfer with work input rather than representing a fraction of energy converted into work.
Thermodynamic Potentials
Thermodynamic potentials reorganize the fundamental energy relation for different experimental constraints. For a simple compressible multicomponent system,
,
where is the chemical potential of component .
The principal potentials are:
- Internal energy: , naturally expressed in variables .
- Enthalpy: , with .
- Helmholtz free energy: , with .
- Gibbs free energy: , with .
At fixed temperature and volume, equilibrium minimizes the Helmholtz free energy for a closed system under the usual constraints. At fixed temperature and pressure, equilibrium minimizes Gibbs free energy. These criteria are central to chemical reactions, phase transformations, electrochemistry, and materials science.
Maxwell Relations and Thermodynamic Identities
Because thermodynamic potentials are state functions with exact differentials, equality of mixed second derivatives generates Maxwell relations. Important examples include
,
,
,
and
.
These relations convert difficult-to-measure entropy derivatives into derivatives involving pressure, volume, and temperature.

Phase Equilibrium and Chemical Potential
The chemical potential is the change in an appropriate thermodynamic potential when the amount of one component changes. For phase equilibrium, each component must have the same chemical potential in every coexisting phase. This criterion explains melting, boiling, condensation, dissolution, and phase separation.
For a pure substance, the slope of a phase-coexistence line follows the Clapeyron equation:
.
The Gibbs phase rule for a nonreactive equilibrium system is
,
where is the number of thermodynamic degrees of freedom, is the number of components, and is the number of phases.

The water phase diagram shows solid, liquid, and vapor regions together with the triple point and critical point. The negative slope of the ordinary ice-liquid coexistence line reflects the fact that liquid water is denser than ordinary ice near the melting point.
The Third Law and Absolute Entropy
The third law of thermodynamics is commonly stated by assigning zero entropy to a perfect crystal at absolute zero when it has a unique ground state. It provides a reference that allows absolute entropies to be calculated from heat-capacity data and phase-transition contributions.
Absolute zero cannot be reached by a finite sequence of ordinary thermodynamic operations. At very low temperatures, quantum effects become essential and classical approximations often fail.
Statistical Interpretation of Thermodynamics
Statistical mechanics connects macroscopic thermodynamics with microscopic states. In Boltzmann's formulation,
,
where is Boltzmann's constant and is the number of accessible microstates consistent with the macroscopic constraints. A macrostate with overwhelmingly more compatible microstates is overwhelmingly more probable, which helps explain the observed direction of spontaneous processes.
In the canonical ensemble, the probability of a microstate with energy is
,
where and is the partition function. The Helmholtz free energy is related to the partition function by .
This microscopic perspective does not replace the macroscopic laws; it explains why those laws emerge with extraordinary reliability for systems containing huge numbers of particles.
Exergy and Engineering Performance
Energy is conserved, but not all energy has equal capacity to produce useful work. Exergy measures the maximum useful work obtainable as a system comes to equilibrium with a specified environment. Irreversibility destroys exergy. For a process referenced to an environment at temperature , the Gouy-Stodola relation gives
.
Exergy analysis complements ordinary energy analysis by identifying where useful work potential is lost. It is therefore valuable in the design of power plants, refrigeration systems, heat pumps, industrial processes, and energy-conversion technologies.
Problem-Solving Strategy
A reliable thermodynamics solution is built from modeling choices before algebra. First define the system and boundary. Then identify the initial and final states, relevant assumptions, and sign convention. Choose the appropriate conservation laws and property relations. Keep track of units and absolute temperatures. Finally, test whether the result is physically plausible by checking signs, limiting cases, efficiencies, entropy generation, and consistency with the second law.
For engineering calculations, state every idealization explicitly. Examples include steady state, negligible kinetic energy, negligible potential energy, adiabatic operation, ideal-gas behavior, incompressible liquid behavior, or internally reversible operation. A numerical answer without a clear model is not a complete thermodynamic argument.
Interactive Tasks
Quiz: Test Your Knowledge
Which quantity is a state function? (Internal energy) (!Heat) (!Boundary work) (!Shaft work)
What does the zeroth law establish conceptually? (Temperature as a consistent measure of thermal equilibrium) (!Entropy as a conserved quantity) (!Heat as a state function) (!Work as independent of path)
Using the sign convention that work done by the system is positive, which equation represents the first law for a closed system with negligible kinetic and potential energy changes? (Delta U equals Q minus W) (!Delta U equals Q plus W) (!Delta U equals W minus Q) (!Delta U equals zero for every process)
What must be true for entropy generation in an irreversible process? (It is positive) (!It is negative) (!It is always zero) (!It equals the heat transfer)
Which cycle sets the maximum heat-engine efficiency between two fixed reservoir temperatures? (Carnot cycle) (!Otto cycle) (!Rankine cycle) (!Brayton cycle)
Which potential is minimized at equilibrium for a closed system at fixed temperature and pressure under the usual constraints? (Gibbs free energy) (!Enthalpy) (!Internal energy) (!Heat capacity)
What condition characterizes phase equilibrium for a component present in two phases? (Equal chemical potential in both phases) (!Equal density in both phases) (!Equal specific volume in both phases) (!Equal heat capacity in both phases)
What does the area enclosed by a quasi-static cycle on a pressure-volume diagram represent? (Net boundary work) (!Total entropy) (!Absolute temperature) (!Chemical potential)
For an ideal gas, on which variable does internal energy depend? (Temperature) (!Pressure alone) (!Volume alone) (!Entropy alone)
What does exergy destruction measure directly through the Gouy-Stodola relation? (Useful work potential lost through irreversibility) (!Total energy destroyed) (!Mass lost from a control volume) (!Heat capacity lost during cooling)
Memory Game
| Zeroth law | Transitive condition for thermal equilibrium |
| Enthalpy | Internal energy plus pressure-volume product |
| Entropy generation | Measure that is nonnegative for real processes |
| Carnot efficiency | Reversible upper limit for a heat engine between two reservoirs |
| Chemical potential | Partial-molar driving quantity for matter transfer and reaction |
| Exergy | Maximum useful work relative to a specified environment |
Drag and Drop
| Match the correct terms. | Topic |
|---|---|
| Closed system | Fixed amount of matter with possible energy transfer |
| Open system | Matter and energy may cross the boundary |
| Reversible process | Ideal limiting process with zero entropy generation |
| Gibbs free energy | Equilibrium criterion at fixed temperature and pressure |
| Clapeyron equation | Slope of a pure-substance phase boundary |
...
Crossword Puzzle
| Entropy | Which state function quantifies thermodynamic dispersal and appears in the second law? |
| Enthalpy | Which state function equals internal energy plus pressure times volume? |
| Isothermal | What one-word adjective describes a process at constant temperature? |
| Adiabatic | What one-word adjective describes a process with no heat transfer? |
| Reversible | What ideal process has zero entropy generation? |
| Equilibrium | What state has no unbalanced macroscopic thermodynamic driving force? |
LearningApps
Cloze Text
Open-Ended Tasks
Easy
- System boundary sketch: Draw a labeled system-and-surroundings diagram for a household refrigerator and identify every important mass, heat, and work transfer.
- Thermodynamic vocabulary map: Create a concept map that connects state, property, equilibrium, process, heat, work, internal energy, and entropy using your own short explanations.
- Temperature observation: Record temperature changes in a safe everyday heating or cooling process and explain where thermal equilibrium is approached and which simplifications your interpretation assumes.
- Energy conversion photo essay: Produce a short photo essay showing four real devices that convert or transfer energy and classify each device as best modeled by a closed or open system.
Standard
- Calorimetry investigation: Design and carry out a safe calorimetry experiment, estimate an energy transfer from your measurements, and discuss heat loss as a source of uncertainty.
- Ideal gas process analysis: Choose an isothermal, isobaric, isochoric, or reversible adiabatic ideal-gas process, derive the relevant work and energy relations, and visualize the path on a pressure-volume diagram.
- Heat engine comparison: Compare two real heat-engine technologies, estimate realistic and Carnot-limit efficiencies from documented temperature ranges, and explain the gap using irreversibilities.
- Thermodynamics interview: Interview an engineer, chemist, physicist, or laboratory technician about how thermodynamic constraints shape a real design or experimental decision, then summarize the connection to at least two laws.
Advanced
- Entropy generation audit: Analyze an engineering process such as throttling, mixing, heat exchange, or compression and develop an entropy balance that identifies the dominant source of irreversibility.
- Phase equilibrium project: Use reliable property data to investigate a pure-substance or binary phase equilibrium, construct or interpret a phase diagram, and explain the role of chemical potential.
- Thermodynamic potential derivation: Starting from the fundamental relation for internal energy, derive the differentials of enthalpy, Helmholtz free energy, and Gibbs free energy and obtain at least two Maxwell relations.
- Exergy design study: Evaluate an energy-conversion system from an exergy perspective, propose one redesign that reduces exergy destruction, and defend the trade-off with physical reasoning and quantitative estimates.
Learning Assessment
- Energy balance transfer problem: Analyze an unfamiliar open-system device from a schematic, construct a complete steady-flow energy balance, justify neglected terms, and determine an unknown heat or work transfer.
- Second law critique: Evaluate a proposed heat engine or refrigerator claim, test it against first-law and second-law constraints, and explain precisely whether and why the claim is physically possible.
- Entropy reasoning: Compare two different paths between the same equilibrium states and determine which quantities are path dependent, which state changes must agree, and where entropy generation enters.
- Free energy application: Given qualitative or quantitative data for a chemical or phase transformation, use Gibbs free energy and chemical potential to predict the direction of spontaneous change and the equilibrium condition.
- Thermodynamic identity derivation: Use a selected thermodynamic potential to derive a Maxwell relation and then show how it can replace an entropy derivative with measurable pressure-volume-temperature data.
- Integrated design challenge: Design a conceptual thermal system that meets a stated performance target, estimate its reversible limit, identify realistic irreversibilities, and propose evidence-based improvements.
Evidence of Learning
Knowledge: You can explain the meaning and scope of the four thermodynamic laws, distinguish energy conservation from entropy production, and relate equilibrium to thermodynamic potentials.
Skills: You can define systems and control volumes, construct energy and entropy balances, use equations of state, calculate process quantities, derive thermodynamic identities, interpret phase diagrams, and assess the physical plausibility of results.
Products: Strong evidence may include annotated system diagrams, derivations, laboratory reports, pressure-volume or temperature-entropy plots, phase-equilibrium analyses, computational notebooks, design reports, explanatory videos, and oral presentations.
Transfer: You can apply thermodynamic reasoning to unfamiliar technologies and natural processes, recognize hidden assumptions, compare reversible limits with real performance, and explain how entropy generation and exergy destruction guide better design.
OERs on the Topic
Linked Learning Areas
aiMOOC Projects
NEWSLernweltNOAH fragen