Entropy as a State Function
Melt an ice cube slowly on a warm plate, or crush it irreversibly between your palms. Either way, the entropy change of the water is exactly the same. This is not a coincidence. It reflects the fact that entropy is a state function. This is a property fixed entirely by the current state of a system. It has no memory of how that state was reached. This idea matters because it turns the abstract Clausius definition of entropy into a genuinely usable tool. If entropy only depended on the messy details of a real, irreversible process, we could never calculate it. Most real processes are irreversible, and their heat exchanges are hard to track. Because entropy is path-independent, we are free to invent any convenient reversible path between the same two states. We can then integrate along that path instead. This article proves that defines a true state function. It shows why around any cycle. It then demonstrates the practical payoff. This means replacing irreversible paths with reversible substitutes for real calculations.
- Entropy is a state function: depends only on initial and final states, never on the path taken.
- The proof rests on the Clausius inequality applied to a full thermodynamic cycle, forcing .
- Because is an exact differential, can be computed along ANY convenient reversible path, even to describe an irreversible change.
- For an irreversible process, you must construct a reversible path between the same endpoints — you cannot integrate along the irreversible path itself.
- Path-independence is what lets tabulated standard entropies exist and be added and subtracted like any other state function.
- Key idea: entropy's path-independence converts an abstract inequality into a calculable, tabulable state function.
Because for every reversible cycle, the quantity is a mathematically exact differential; integrating it between two states always gives the same value regardless of the connecting path, which is precisely the defining property of a state function, so entropy can be assigned to a state itself rather than to a process.
The physical picture
A state function is any property whose value depends only on the current pressure, temperature, and composition of a system — not on its history. Internal energy and enthalpy are familiar examples: you can heat a gas then compress it, or compress it then heat it, and reach the same final either way. Work and heat are the opposite kind of quantity, path functions, because the amount of work done depends on exactly how a process is carried out, even between fixed endpoints. The question for entropy is which category it belongs to. The Clausius inequality states that for any process,
with equality holding only for a reversible process. This inequality alone does not prove is a state function; it only defines a lower bound built from a path-dependent quantity, heat. The proof that entropy is nonetheless path-independent requires examining what happens when a system is taken around a closed cycle using only reversible steps, returning exactly to its starting state. Picture a system carried from state A to state B by reversible path 1, then back from B to A by a different reversible path 2. Because the whole loop is reversible, the Clausius inequality applies with equality at every point, and integrating around the full closed loop must give zero — a consequence of Carnot's theorem for reversible cycles operating between varying temperatures. If the integral of around every closed reversible loop vanishes, then the integral from A to B cannot depend on which reversible path was used: any two reversible routes between the same two states must give the same value, since together they would otherwise form a nonzero loop integral.
The second, equally important consequence is practical. Suppose the real process from A to B is irreversible — a free expansion, a spontaneous mixing, an exothermic reaction running to completion. Because is a state function, for that irreversible change equals for any reversible path connecting the same two endpoints. You are never obligated to compute along the actual, irreversible trajectory — indeed you generally cannot, because is not even equal to pointwise. Instead you design a convenient reversible substitute: isothermal reversible expansion, reversible heating at constant pressure, reversible phase change at the transition temperature, and integrate along that imagined path.
The core relations
where: is the heat exchanged along a reversible path connecting infinitesimally close states, is the absolute temperature at which that exchange occurs.
where: the loop integral runs over any complete reversible cycle, the vanishing value shows is an exact differential.
where: is path-independent even though itself is path-dependent.
where: the left side is the actual entropy change of the system for a real irreversible process, computed by substituting any convenient reversible path with the same endpoints.
Goal. Show that the loop integral of vanishes for an arbitrary reversible cycle, and that this forces between any two states to be independent of the reversible path chosen.
Step 1: Decompose an arbitrary reversible cycle into Carnot cycles. Any smooth reversible cycle on a – diagram can be approximated arbitrarily well by a zigzag mesh of thin Carnot cycles: adiabats stitched together by many short isotherms at closely spaced temperatures. As the mesh is refined, the zigzag boundary converges to the true cycle, and the interior adiabatic legs cancel in pairs since each is traversed once in each direction by neighboring sub-cycles.
Step 2: Apply the Carnot result to each strip. For a single Carnot engine operating between hot reservoir and cold reservoir , absorbing heat and expelling (defined here as a positive magnitude), the Carnot efficiency theorem gives
so that, using the sign convention where heat expelled by the system is negative,
Each thin strip of the mesh obeys exactly this relation.
Step 3: Sum over all strips. Summing the two-term relation from Step 2 over every strip in the mesh gives a telescoping sum equal to zero, because every interior heat exchange cancels and only the boundary survives:
Step 4: Take the continuum limit. As the number of strips tends to infinity and each becomes infinitesimally thin, the sum becomes an integral over the actual reversible cycle:
This holds for every reversible cycle, of any shape, not just Carnot cycles, because the mesh construction works for an arbitrary closed curve.
Step 5: Convert the vanishing loop integral into path-independence. Consider two distinct reversible paths, path 1 and path 2, both connecting state A to state B. Form a cycle by going A → B along path 1, then B → A along the reverse of path 2. This composite loop is fully reversible, so by Step 4,
Reversing the direction of traversal of path 2 flips the sign of its integral, giving
Step 6: Conclude. Since path 1 and path 2 were arbitrary reversible paths, the integral of from A to B is the same number regardless of which reversible path is used. This value can therefore be assigned to the states themselves, defining a function with
Worked examples
Example 1 — Reversible isothermal expansion of an ideal gas by two different reversible routes. Take 1.00 mol of ideal gas at 298 K, expanding reversibly and isothermally from 10.0 L to 20.0 L. Confirm that two different reversible calculation routes give the same . Route A — direct isothermal integration. For an ideal gas at constant , , so . Then
Route B — via a state function shortcut, . Since this is isothermal, and , leaving the identical result,
Both routes, one a direct mechanical-work integral and the other a general two-variable entropy formula built from tabulated heat capacities, agree exactly: . This is the expected sign: expansion increases the number of accessible microstates, so , consistent with the qualitative picture of entropy and disorder.
Example 2 — Irreversible free expansion, calculated via a reversible substitute path. Now let the same 1.00 mol of ideal gas undergo a free expansion (Joule expansion) from 10.0 L to 20.0 L at 298 K: the gas expands into a vacuum inside a rigid, insulated container. Experimentally, and , so naively one might guess . This is wrong, and seeing why illustrates the whole point of path-independence.
Step 1. Because is a state function, for this irreversible process must equal for any reversible process connecting the same initial state (1.00 mol, 10.0 L, 298 K) to the same final state (1.00 mol, 20.0 L, 298 K). The actual path (free expansion) is irreversible and cannot be used to compute via , since pointwise.
Step 2. Choose the convenient reversible isothermal expansion between the same two states — exactly the path already integrated in Example 1, since the endpoints coincide (same , because internal energy of an ideal gas depends only on , and free expansion of an ideal gas causes no temperature change).
Step 3. Import the result directly:
Step 4. Check consistency with the Clausius inequality. For the real irreversible process, , so
Indeed , confirming the inequality holds strictly, as expected for an irreversible process. The surroundings exchange no heat either (, insulated rigid container), so and the total entropy change of the universe is
consistent with spontaneity of free expansion — a clean numeric confirmation that the state-function property, not the literal heat flow, is what gives the correct entropy change.
Limiting cases & common traps
| Situation | Correct treatment |
|---|---|
| Process is irreversible | Never integrate directly; build a reversible path with the same endpoints |
| Cyclic process, any kind | exactly, since initial and final states coincide |
| Adiabatic and reversible | at every step, so (isentropic) |
| Adiabatic but irreversible | does not imply ; is typical |
| Comparing two reversible paths, same endpoints | Must give identical ; if not, an error was made |
The chemist behind it
Rudolf Clausius introduced the word "entropy" in 1865, deliberately choosing a Greek root meaning "transformation" to echo "energy." He had already shown, building on Sadi Carnot's earlier analysis of ideal heat engines, that the quantity vanishes for any reversible cycle. Clausius recognized that this vanishing loop integral was the mathematical signature of a state function, and he used it to formulate his own version of the Second Law: entropy of an isolated system can never decrease. His insight — extracting a path-independent property from an inherently path-dependent quantity, heat — is exactly the derivation given above, and it remains the standard route through which every modern thermodynamics course introduces entropy.
Origins · 1 minRudolf Clausius and how this was discovered
Ask the tutor: How do we extend this reversible-path method to calculate entropy changes when temperature also changes, using heat capacities?
Why can't we just integrate dq/T along the real, irreversible path?
Because for an irreversible process the actual heat exchanged, , does not satisfy at each step; the Clausius inequality tells us only that , with the inequality strict except at equilibrium. Entropy is defined through , the heat exchanged along a reversible path, so calculating requires replacing the real process with a reversible one sharing the same endpoints, then integrating along that instead.
Does path-independence mean entropy changes are always easy to compute?
It means a convenient reversible path always exists in principle, but choosing it well still takes practice. Common convenient choices include reversible isothermal steps, reversible constant-pressure heating using heat capacities, and reversible phase transitions at the transition temperature. The skill lies in decomposing a complicated real change into a sequence of simple reversible steps with identical overall endpoints.
How does this connect to tabulated standard molar entropies, S degree?
Tabulated values such as for water or oxygen gas only make sense because entropy is a state function: each value refers to one fixed state (298 K, 1 bar, specified phase) rather than to any process. Reaction entropies are then obtained by simple subtraction, , exactly as with enthalpies of formation.
Is internal energy path-independent for the same reason as entropy?
Both rely on the same mathematical idea — an exact differential — but the physical justification differs. Internal energy is path-independent by the First Law itself, since combines two path-dependent quantities into an exact differential essentially by definition and experimental confirmation. Entropy's path-independence instead requires the extra physical content of the Second Law, specifically the Carnot cycle result, which is a nontrivial theorem rather than a direct definition.
What happens if I mistakenly use an irreversible path's heat in the entropy formula?
You will generally get a value smaller than the true , or even the wrong sign, because is not equal to between the same states. In the free-expansion example, using incorrectly suggests , contradicting the true answer of . Always check whether the specified path is reversible before plugging heat values into .