Skip to content
ISEGORIABenjamin Haire

ISEGORIA / MATH ENCYCLOPEDIA

Thermodynamics: energy, work, and entropy

PV paths, reversible limits, and entropy flow.

Before you begin: Algebra and energy

Predict, manipulate, then check your reasoning against the example and question. Graphs illustrate the mathematics; they do not replace a proof.

1. PV diagrams and the Carnot cycle

One mole of a monatomic ideal gas starts at V₁ = 1 L and pressure P₁. Choose a process and drag the gold end point: the curve is the exact path, and the shaded area under it is the work W = ∫P dV, positive for expansion and negative for compression. Compare how much work the same change of volume gives at constant pressure, at constant temperature and with no heat flow. The Carnot cycle joins two isotherms and two adiabats; the area it encloses is the net work, and its efficiency is 1 − Tc/Th.

Worked example. Isothermal expansion from 1 L to 3 L at P₁ = 2 bar does W = P₁V₁ ln 3 ≈ 220 J, and the same amount of heat flows in because ΔU = 0.

Watch out. The path matters: work and heat are not state functions, but internal energy is. The curves assume slow, reversible processes and γ = 5/3.

Which quantity is path-dependent here?

Work and heat, unlike internal energy.

Reference: MIT OpenCourseWare · Thermodynamics

2. Entropy and reversibility

A body with heat capacity C is heated from Tc to Th, either by touching one reservoir at Th (N = 1, a sudden jump) or through N reservoirs at evenly spaced temperatures. In the left graph the area under the body’s 1/T curve is its entropy gain, and the area under the staircase is the entropy the reservoirs lose. The orange slivers between them are the entropy generated. Add reservoirs and watch the slivers, and the total ΔS_univ, shrink toward zero: the reversible limit.

Worked example. Heating 1 kJ/K from 300 K to 600 K with one reservoir at 600 K gives ΔS_univ = 1000(ln 2 − 1/2) ≈ 193 J/K.

Watch out. A reversible process is an ideal limit, not a fast practical operation.

What direction is irreversible entropy production?

It is nonnegative for the universe.

Reference: MIT OpenCourseWare · Thermodynamics

3. Equation of state

Change the amount, temperature and volume of an ideal gas and read the pressure. On the left, the number of molecules follows n, the box width follows V and their speed follows √T. On the right, the gold point sits on the isotherm for this temperature; drag it to change the volume. The shaded rectangle from the origin to the point has area PV, which stays equal to nRT anywhere on the isotherm.

Worked example. One mole at 300 K in 25 L has P = nRT/V ≈ 99.8 kPa, close to one atmosphere. Doubling T at fixed n and V doubles P.

Watch out. Real gases deviate near phase transitions and high density.

Which variables are intensive?

Temperature and pressure; n and V scale with system size.

Reference: MIT OpenCourseWare · Thermodynamics

Continue exploring

Linear algebra: the geometry of transformationsFourier analysis: functions made of wavesDynamical systems: stability and chaosOptimization: the geometry of the best choiceProbability: learning from uncertaintyGroup theory: symmetry as algebraAlgebraic topology: detecting holesNumerical analysis: when computation misleadsNumber theory: patterns in the integersGraph theory: routes, trees, and networksPartial differential equations: fields in motionInformation theory: uncertainty and codesCalculus of variations: paths and principlesClassical mechanics: motion and forcesElectromagnetism: fields and inductionOptics: rays, waves, and colourQuantum mechanics: amplitudes and spinComplex analysis: maps, residues, and harmonic fieldsFluid dynamics: flow, pressure, and vorticityStatistics and inference: signals in dataSpecial relativity: space, time, and lightDifferential geometry: curvature and shapeStatistical mechanics: microstates and temperatureMeasure theory: size, approximation, and convergenceMarkov chains: transition, stationarity, and absorptionDifferential forms: circulation, curl, and pullbacksGeneral relativity: curvature, clocks, and lightFunctional analysis: norms, projections, and operatorsPlasma physics: screening, orbits, and wavesLie groups and Lie algebras: continuous symmetryHamiltonian mechanics: phase space and its geometryStochastic processes: Brownian motion and noiseSolid-state physics: waves in a crystalControl theory: feedback, poles, and stabilityLogic and computability: what can be computedHyperbolic geometry: where parallels multiplyRigid-body dynamics: spinning, tumbling, precessingElliptic curves: geometry that addsAtomic physics: orbitals and spectraQuaternions: rotation as multiplicationPush-forward and pullback: integrating through a mapKnot theory: telling tangles apartFractal geometry: dimension between the integersQuantum information: entanglement and its limitsCosmology: the expanding universeCellular automata: computation from local rulesComplex systems: order from many simple partsGalois theory: the symmetry of equationsMagnetism and the Ising model: order from alignmentOscillators and escapements: how a watch keeps timeGears and mechanisms: transmitting motion exactlyQuartz resonators: a crystal that keeps timeLoudspeakers: the moving-coil driverFilters and crossovers: splitting sound between driversRoom acoustics: the room is part of the speakerWavelets: zooming in on a signalLaser physics: light that copies itselfRepresentation theory: groups acting as matricesSemiconductor physics: bands, doping, junctions

Back to the math encyclopedia