Second law of thermodynamics Created 2026-09-24 Updated 2026-10-14
For an isolated system, the second law requires . More generally, include all affected surroundings to obtain
Equality describes the reversible limit; irreversible macroscopic processes produce entropy. A closed system can lose entropy by exporting heat, so nondecrease does not apply to that system alone. The Clausius statement of the second law forbids a cyclic device whose sole effect is transferring heat from cold to hot. The Kelvin-Planck statement of the second law forbids a cyclic device whose sole effect is converting heat from one thermal reservoir completely into work. "Sole effect" matters: a refrigerator moves heat from cold to hot by consuming work. [ref]
For direct transfer of from a thermal reservoir at to one at , with no work extracted,
The reverse transfer alone would have negative total entropy change. Both directions conserve energy, but only the hot-to-cold direction is spontaneous. The finite-body example under entropy replaces these constant temperatures by changing ones.
Friction, free expansion and heat transfer across a finite temperature difference all introduce irreversibility. Moving arbitrarily slowly is insufficient if friction remains. A reversible thermodynamic process must permit restoration of both the system and surroundings. This gives engineers a useful ideal benchmark: irreversibility spends an opportunity to obtain work, even though energy itself is conserved. [ref]
Entropy Created 2026-09-24 Updated 2026-10-20
Entropy is an extensive quantity and a state function of an equilibrium system, measured in . Differences between equilibrium states are calculated along a reversible thermodynamic process:
Here heat entering the system is positive and is its absolute thermodynamic temperature. The reversible path used for calculation need not be the path actually taken. Dividing the actual heat by a single temperature generally fails for an irreversible process.
For example, put two rigid bodies, each with constant heat capacity , at and in an otherwise isolated system. Assume each body has a uniform internal temperature, no phase transition occurs, and no work is extracted. Their final thermal equilibrium is at , because the internal energy lost by one equals that gained by the other. Using entropy from heat capacity,
so . One body's entropy decreases while the total increases. [ref]
Figure 1.
Thermal equilibration of two finite bodies conserves energy and increases total entropy
. Details.
In statistical mechanics, Boltzmann's entropy formula counts equally likely microstates compatible with a macrostate; Gibbs entropy handles a specified probability distribution over microstates. If the number of equally likely microstates doubles, entropy increases by . The logarithm makes multiplicative counts additive for independent systems. These are precise statements about states and probabilities, not a universal measure of visible messiness. Calling entropy merely "disorder" obscures the thermal calculation above and hides which microstates are being counted. [ref]
The usefulness of entropy is that measurable heat capacities determine its changes, and the Second law of thermodynamics turns those changes into constraints on processes. It also connects macroscopic measurements to microscopic descriptions without requiring us to track every particle.
Thermal equilibrium Created 2026-09-24 Updated 2026-10-14
Two internally equilibrated systems are in thermal equilibrium if bringing them into contact that permits only heat exchange causes no net heat transfer. In ordinary nonrelativistic thermodynamics without appreciable gravitational temperature shifts, their thermodynamic temperatures are equal. Merely preventing heat transfer with insulation does not establish thermal equilibrium: two insulated bodies can have different temperatures. [ref]
A thermometer illustrates the definition. Its own temperature settles to the object's temperature after thermal contact, provided its effect on the object is negligible. The existing zeroth law of thermodynamics makes this comparison transitive: two objects separately in thermal equilibrium with the same thermometer are in thermal equilibrium with each other. This lets one calibrated scale compare different materials.
Equal temperatures do not imply equal internal energies or equal heat capacities. Nor does thermal equilibrium by itself imply mechanical equilibrium or chemical equilibrium; these require additional allowed exchanges. There is also a distinction between no net exchange in thermal equilibrium and a constant temperature maintained by equal incoming and outgoing heat. The latter can be a steady state with ongoing entropy production. Microscopic exchanges can continue at thermal equilibrium, but their opposing contributions balance on average.
Historically, OpenStax credits the name “zeroth law” to Ralph Fowler in the 1930s: the already numbered laws needed a logically earlier statement about thermal equilibrium. [ref]
Temperature Created 2026-09-24 Updated 2026-10-18
Temperature labels thermal equilibrium: two internally equilibrated bodies have the same temperature when contact permitting only heat exchange produces no net heat transfer. The zeroth law of thermodynamics makes the comparison transitive. If bodies A and B separately reach thermal equilibrium with the same thermometer without appreciably disturbing either body, they agree with each other. This is what lets a gas thermometer compare a metal block with water, despite their different internal energies and heat capacities. Insulation alone makes no such comparison: it can prevent heat transfer between bodies at different temperatures. [ref]
The zeroth law of thermodynamics establishes equality comparisons, but does not choose a numerical scale. Thermodynamic temperature supplies an absolute scale consistent with Carnot's theorem and entropy. For a simple compressible system at thermodynamic equilibrium with fixed particle number and composition,
Here is internal energy, is entropy, and is volume; the second equality assumes the derivative can be inverted. Temperature is a thermodynamic conjugate variable to entropy and belongs to the intensive and extensive thermodynamic quantities as an intensive quantity. Its partial derivative tells us how much internal energy must change per unit change of entropy under the stated constraints. More general systems require their other mechanical and material variables to be held fixed too. [ref]
For an infinitesimal quantity of heat transferred from A to B, with no work or matter exchange, the equilibrium entropy changes give
For ordinary positive temperatures, spontaneous heat transfer from increases total entropy; thermal equilibrium has . This comparison uses changes in entropy, rather than the total internal energy contained in either body. A small hot object can have less internal energy than a large cool one. See entropy maximization under thermal contact for the equilibrium criterion and negative temperature for the special case of bounded energy spectra.
Express absolute thermodynamic temperature in kelvin, and a Celsius reading in degree Celsius:
The offset is exact: corresponds to , and to . Their absolute temperature ratio is ; dividing their Celsius readings gives a different number. Thus gas thermometer pressure ratios and Carnot's theorem require thermodynamic temperature. The modern SI definition of the kelvin fixes the Boltzmann constant ; a reference bath realizes or transfers the scale rather than defining that constant.[ref]
Temperature is not universally the mean kinetic energy of a particle. In a classical, nonrelativistic ideal gas at thermal equilibrium, the equipartition theorem gives the mean translational kinetic energy relative to the gas's bulk motion:
Here is particle mass, its velocity, and the mean flow velocity. In this regime, different particle masses at the same temperature have equal mean translational kinetic energies but different characteristic speeds. A moving gas can also carry bulk kinetic energy without being hotter in its rest frame. Internal molecular modes and quantum statistics require further care; the equipartition theorem has classical assumptions, whereas the equilibrium entropy definition applies more widely. [ref]
Boltzmann constant Created 2026-09-24 Updated 2026-11-05
The Boltzmann constant connects absolute temperature with microscopic energy. In the International System of Units, its value is exactly
The fixed value is part of the definition of the kelvin, rather than an uncertain measured parameter within the present SI.[ref]
The product is a useful energy scale: a level spacing enters a relative Boltzmann factor through . It does not mean that every particle always carries exactly . Under classical equipartition, different active quadratic terms contribute their own averages. Multiplying by the Avogadro constant gives the molar gas constant, connecting single-particle statistical formulas with mole-based thermodynamics.
Decoupled commuting Hamiltonian terms Created 2026-09-24 Updated 2026-11-05
Commuting Hamiltonian terms on separate factors are simultaneously diagonalized by tensor products of their eigenvectors and have additive eigenvalues.
Kronecker product representation of local operators Created 2026-09-24 Updated 2026-09-24
In a product basis, an operator local to one subsystem is represented by its matrix Kronecker the identity on every other subsystem.
Decoupled Fermi oscillators Created 2026-09-24 Updated 2026-11-05
Two decoupled Fermi oscillators have product occupation states and additive energies .
Multiparticle quantum state Created 2026-09-24 Updated 2026-11-05
For distinguishable particles with one-particle Hilbert spaces , the multiparticle state space is . A product state is a tensor product of one-particle states, while a general state is a linear combination of product states.
Projected entangled pair operator Created 2026-09-24 Updated 2026-11-05
A projected entangled pair operator is a higher-dimensional tensor-network operator with physical input and output legs.
Projected entangled pair state Created 2026-09-24 Updated 2026-11-05
A projected entangled pair state generalizes an MPS to higher-dimensional lattices. Cutting a region intersects one virtual bond per boundary edge.
Matrix product operator Created 2026-09-24 Updated 2026-11-05
A matrix product operator contracts a one-dimensional chain of tensors with physical input and output indices.
Matrix product state Created 2026-09-24 Updated 2026-11-05
A matrix product state represents one-dimensional amplitudes as products of finite matrices. Its bond dimension bounds the Schmidt rank across a cut.
Stability interval of the survival-augmented Ricker equilibrium Created 2026-09-24 Updated 2026-10-06
At the positive equilibrium,
The fixed point is strictly linearly stable when
The upper endpoint is also locally asymptotically stable, as the nonlinear stability at the Ricker flip threshold shows; hence the full local asymptotic-stability interval includes that endpoint. The lower endpoint has no positive equilibrium.
Piecewise-exponential survival model Created 2026-09-24 Updated 2026-09-24
A piecewise-exponential model takes the hazard to be constant on fixed time intervals.
Kaplan–Meier estimator Created 2026-09-24 Updated 2026-10-14
At distinct observed event times , let be the risk set size immediately before , and let count events at . The Kaplan–Meier estimator of the survival function is
The empty product is one. Each factor estimates a conditional survival probability among those still observed and event-free; their product joins the successive steps. This is nonparametric statistics: no specified shape for the survival distribution is imposed. Use independent censoring and the appropriate risk sets to interpret the result as an estimate for the intended population.
The Kaplan–Meier estimator is a right-continuous function with downward jumps at event times. Right censoring changes later denominators without causing a jump. A tick on the curve marks right censoring, rather than a failure. For a tied group of events, use the one factor ; subjects right-censored at that recorded time remain in for this factor. The fraction estimates a discrete hazard, not a continuous hazard function in inverse-time units. With no censoring, the factors telescope to the fraction of the original cohort whose observed survival times exceed , the complement of its empirical distribution function.
Edward L. Kaplan and Paul Meier published [ref]. Their paper addresses lifetime estimation when observation ends before failure and explicitly calls attention to the assumption of independence between lifetime and potential observation loss. The date 1958 is the original publication year; the publisher's later online-posting date is not the discovery date.
In his [ref], Kaplan traces Meier's interest to cancer-duration data in 1952 and his own to the lifetimes of vacuum tubes in undersea telephone-cable equipment a year later. The journal encouraged them to combine their manuscripts. The shared mathematical question was how to estimate a survival function when some lifetimes are still running or disappear from observation.
Left truncation Created 2026-09-24 Updated 2026-10-03
Left truncation includes an individual only after survival to a delayed entry time.
Cox proportional-hazards model Created 2026-09-24 Updated 2026-10-14
The Cox model writes with an unspecified baseline hazard.
Competing risks model Created 2026-09-24 Updated 2026-10-07
Interval censoring Created 2026-09-24 Updated 2026-10-03
An event is interval-censored when it is known only to have occurred between two observation times.

There are unlisted articles, also show them or only show them.