Thermodynamic Definition of Entropy

Drop an ice cube into warm water and something one-directional happens: heat flows, the cube melts, and the process never reverses itself. Physical chemists needed a number that tracks this one-way arrow of change. It had to be measurable with a thermometer and a calorimeter. It could not just be argued about with words like "disorder." That number is entropy, and its operational definition is remarkably simple. Entropy matters because it turns the vague Second Law statement into something precise. That statement is: heat does not flow spontaneously from cold to hot. Entropy makes this a calculable, testable quantity. Once you can compute ΔS\Delta S, you can predict which way a reaction runs. You can also predict how efficient an engine can be. And you can see why melting a solid absorbs heat without changing its temperature. This article builds the thermodynamic definition of entropy from reversible heat and thermodynamic temperature. You will see where the definition comes from. You will see why it must use TT. You will also see why reversibility is essential. Then you will apply it to two fully worked numerical examples.

Key takeaways
  • Entropy is defined by dS=dqrev/TdS = dq_{\text{rev}}/T, using heat exchanged along a reversible path only.
  • SS is a state function: ΔS\Delta S depends only on initial and final states, not on the path taken.
  • Irreversible processes still have a well-defined ΔS\Delta S; compute it via any reversible path between the same two states.
  • The Clausius inequality, dS≥dq/TdS \ge dq/T, tells you that real (irreversible) processes generate entropy beyond dq/Tdq/T.
  • Units of entropy are J K⁻¹ (or J K⁻¹ mol⁻¹ molar), never J K⁻¹ s⁻¹ or dimensionless.
  • Key idea: entropy is the state function whose reversible heat-to-temperature ratio, dqrev/Tdq_{\text{rev}}/T, is path-independent, making it a measurable thermodynamic property rather than a philosophical abstraction.
The core insight

Entropy is defined thermodynamically as dS=dqrev/TdS = dq_{\text{rev}}/T: dividing a small reversible heat increment by the thermodynamic temperature at which it is transferred converts a path-dependent quantity (qq) into an exact differential (dSdS), making SS a genuine state function you can tabulate, measure, and use to predict spontaneity.

The physical picture

Heat, qq, is not a state function. If you take a gas from state A to state B by two different routes — one via a fast, irreversible expansion and one via a slow, reversible expansion — the total heat absorbed differs between the routes, even though the internal energy change is identical. This is exactly why the First Law needs both qq and ww: neither is path-independent alone. Clausius's insight, refined through the Carnot cycle analysis, was that although dqdq itself is not an exact differential, the combination dqrev/Tdq_{\text{rev}}/T is. Divide the reversible heat by the thermodynamic temperature at which it is exchanged, and path-dependence disappears. Sum (integrate) that ratio around any closed reversible cycle and you get exactly zero — the hallmark of a state function. This ratio was named entropy, symbol SS, from the Greek for "transformation." The word "reversible" in the definition is not decorative — it is load-bearing. A reversible process proceeds through a continuous sequence of equilibrium states, with the system's temperature (or pressure) differing infinitesimally from its surroundings at every step. Only along such an idealized path does dividing by a single, well-defined TT make sense, because system and surroundings share essentially the same temperature throughout. Along an irreversible path, TT may not even be well-defined for the whole system (think of a gas expanding into a vacuum, with no uniform temperature or pressure during the process), so dqirrev/Tdq_{\text{irrev}}/T is not the entropy change — it is smaller than dSdS, consistent with the Clausius inequality you met earlier. Because SS is a state function, you never need the actual irreversible path to compute ΔS\Delta S for an irreversible process. You invent — on paper — any convenient reversible path connecting the same initial and final states, compute qrevq_{\text{rev}} along that fictitious path, and divide by TT. The real process might be violent and irreversible; the entropy change is the same either way, because ΔS\Delta S only cares about the endpoints.

Figure
Reversible vs irreversible paths between the same two states A and B
A (T₁, V₁) B (T₂, V₂) reversible path: dS = dq_rev / T irreversible path: dq_irrev / T less than dS ΔS(A→B) same for both paths — state function
Figure
Isothermal melting: reversible heat transfer at constant T
ice, 273.15 K → water, 273.15 K q_rev = ΔfusH = +6.01 kJ mol⁻¹ ΔS = q_rev / T = 6010 J mol⁻¹ / 273.15 K = 22.0 J K⁻¹ mol⁻¹

The core relations

dS=dqrevTdS = \frac{dq_{\text{rev}}}{T}

where: dSdS is the infinitesimal entropy change, dqrevdq_{\text{rev}} is heat transferred reversibly, TT is the thermodynamic (Kelvin) temperature at the point of transfer.

ΔS=∫ifdqrevT\Delta S = \int_{i}^{f} \frac{dq_{\text{rev}}}{T}

where: the integral is evaluated along any reversible path connecting the same initial state ii and final state ff.

∮dqrevT=0\oint \frac{dq_{\text{rev}}}{T} = 0

where: the cyclic integral vanishing for every reversible cycle is the mathematical signature that SS is a state function.

dS≥dqT(Clausius inequality, general process)dS \ge \frac{dq}{T} \quad (\text{Clausius inequality, general process})

where: equality holds only for a reversible step; for real (irreversible) processes dSdS strictly exceeds dq/Tdq/T, reflecting internally generated entropy.

ΔSisothermal=qrevT\Delta S_{\text{isothermal}} = \frac{q_{\text{rev}}}{T}

where: valid whenever the reversible heat transfer occurs at one fixed temperature TT, e.g. phase transitions at their transition temperature.

Derivation

Derivation AFrom the Carnot cycle to dS=dqrev/TdS = dq_{\text{rev}}/T

Goal. Show that dqrev/Tdq_{\text{rev}}/T is an exact differential, so its integral over a closed reversible cycle is zero, justifying its identification as dSdS.

Step 1. Start from the Carnot cycle efficiency. For a reversible Carnot engine operating between a hot reservoir at ThT_h and cold reservoir at TcT_c, absorbing heat qhq_h from the hot reservoir and releasing qcq_c to the cold one, the thermodynamic temperature scale is defined so that

qcqh=TcTh.\frac{q_c}{q_h} = \frac{T_c}{T_h}.

This is not an empirical accident — it is precisely how the Kelvin scale is constructed from Carnot's theorem (a result you met when the thermodynamic temperature scale itself was introduced).

Step 2. Assign a sign convention and rearrange. Let qhq_h be heat absorbed by the system (positive) and qcq_c be heat absorbed by the system from the cold reservoir; since the engine releases heat there, qcq_c is negative. The relation above, written with signs, becomes

qhTh+qcTc=0.\frac{q_h}{T_h} + \frac{q_c}{T_c} = 0.

This says the sum of (heat in)/(temperature at which it entered) around one full Carnot cycle is exactly zero.

Step 3. Generalize to an arbitrary reversible cycle. Any reversible cyclic process can be approximated arbitrarily closely by a sequence of many infinitesimal Carnot cycles, each exchanging heat dqrevdq_{\text{rev}} at the local temperature TT of the system at that stage. Step 2 applied to each infinitesimal cycle, summed over the whole path, gives

∮dqrevT=0.\oint \frac{dq_{\text{rev}}}{T} = 0.

Step 4. Invoke the mathematical criterion for a state function. A quantity whose cyclic integral vanishes for every possible cycle must be the differential of some function of state — this is a standard result from the theory of exact differentials (the same logic that shows internal energy UU is a state function from ∮dU=0\oint dU = 0). Because ∮dqrev/T=0\oint dq_{\text{rev}}/T = 0 holds for any reversible cycle, there must exist a state function SS such that

dS≡dqrevT.dS \equiv \frac{dq_{\text{rev}}}{T}.

Step 5. Confirm path-independence explicitly. For two different reversible paths, 1 and 2, both connecting state A to state B,

∫A, path 1BdqrevT=∫A, path 2BdqrevT,\int_{A,\,\text{path 1}}^{B} \frac{dq_{\text{rev}}}{T} = \int_{A,\,\text{path 2}}^{B} \frac{dq_{\text{rev}}}{T},

because reversing path 2 and appending it to path 1 reconstructs a closed cycle whose integral is zero by Step 3. Both integrals therefore equal the same quantity, ΔS=SB−SA\Delta S = S_B - S_A, independent of route.

dS=dqrevT,ΔS=∫ifdqrevT is path-independent\boxed{dS = \frac{dq_{\text{rev}}}{T}, \qquad \Delta S = \int_i^f \frac{dq_{\text{rev}}}{T} \text{ is path-independent}}

Worked examples

Example 1 — Isothermal reversible expansion of an ideal gas (foundational). One mole of an ideal gas expands reversibly and isothermally at T=298 KT = 298\ \text{K} from V1=10.0 LV_1 = 10.0\ \text{L} to V2=20.0 LV_2 = 20.0\ \text{L}. Find ΔS\Delta S. Since ΔU=0\Delta U = 0 for an isothermal ideal-gas process, the First Law gives qrev=−wrevq_{\text{rev}} = -w_{\text{rev}}. For reversible isothermal expansion,

wrev=−nRTln⁡V2V1,qrev=nRTln⁡V2V1.w_{\text{rev}} = -nRT\ln\frac{V_2}{V_1}, \qquad q_{\text{rev}} = nRT\ln\frac{V_2}{V_1}.

Plugging in numbers:

qrev=(1.00 mol)(8.314 J K−1mol−1)(298 K)ln⁡(20.010.0)q_{\text{rev}} = (1.00\ \text{mol})(8.314\ \text{J K}^{-1}\text{mol}^{-1})(298\ \text{K})\ln\left(\frac{20.0}{10.0}\right)
qrev=(2478 J)(0.6931)=1717 J.q_{\text{rev}} = (2478\ \text{J})(0.6931) = 1717\ \text{J}.

Since TT is constant throughout this reversible path,

ΔS=qrevT=1717 J298 K=5.76 J K−1.\Delta S = \frac{q_{\text{rev}}}{T} = \frac{1717\ \text{J}}{298\ \text{K}} = 5.76\ \text{J K}^{-1}.

Sanity check: entropy increased, matching intuition — the gas occupies more volume/more accessible states, and this is a spontaneous-direction (expansion) process at constant TT. The magnitude, about Rln⁡2=5.76 J K−1R\ln 2 = 5.76\ \text{J K}^{-1}, is a textbook-standard benchmark value worth memorizing.

Example 2 — Entropy change for an irreversible free expansion, computed via a reversible substitute path (applied/harder). One mole of ideal gas at 298 K298\ \text{K} undergoes a free (Joule) expansion into vacuum from V1=10.0 LV_1 = 10.0\ \text{L} into a total volume V2=20.0 LV_2 = 20.0\ \text{L} inside an insulated, rigid container. No work is done (w=0w=0, expansion against zero external pressure) and no heat is exchanged with surroundings (q=0q = 0, insulated). Find ΔSsystem\Delta S_{\text{system}}, ΔSsurroundings\Delta S_{\text{surroundings}}, and ΔSuniverse\Delta S_{\text{universe}}.

Step 1 — resist the trap. You might be tempted to write ΔS=q/T=0/298=0\Delta S = q/T = 0/298 = 0. This is wrong, because q=0q = 0 here is the actual irreversible heat, not qrevq_{\text{rev}}. The defining formula demands reversible heat.

Step 2 — construct a reversible replacement path. The gas's initial and final states (same T=298 KT = 298\ \text{K} for an ideal gas, since ΔU=0\Delta U = 0 in a free expansion with no work and no heat; and V1→V2V_1 \to V_2) are identical to those of Example 1. So we use the same reversible isothermal path to connect them and get the same answer, because SS is a state function and does not know or care how the real process happened:

ΔSsystem=nRln⁡V2V1=(1.00)(8.314)ln⁡(2.00)=5.76 J K−1.\Delta S_{\text{system}} = nR\ln\frac{V_2}{V_1} = (1.00)(8.314)\ln(2.00) = 5.76\ \text{J K}^{-1}.

Step 3 — surroundings. In the actual irreversible free expansion, the container is insulated and rigid, so the surroundings exchange no heat and undergo no change at all:

ΔSsurroundings=qactual, surroundingsT=0298=0 J K−1.\Delta S_{\text{surroundings}} = \frac{q_{\text{actual, surroundings}}}{T} = \frac{0}{298} = 0\ \text{J K}^{-1}.

Step 4 — total.

ΔSuniverse=ΔSsystem+ΔSsurroundings=5.76+0=5.76 J K−1>0.\Delta S_{\text{universe}} = \Delta S_{\text{system}} + \Delta S_{\text{surroundings}} = 5.76 + 0 = 5.76\ \text{J K}^{-1} > 0.

Sanity check: ΔSuniverse>0\Delta S_{\text{universe}} > 0 confirms this spontaneous, irreversible process is consistent with the Second Law. Contrast with Example 1's reversible path at the same TT, V1V_1, V2V_2: there, heat flowed in from surroundings, so ΔSsurroundings=−5.76 J K−1\Delta S_{\text{surroundings}} = -5.76\ \text{J K}^{-1} exactly cancels ΔSsystem\Delta S_{\text{system}}, giving ΔSuniverse=0\Delta S_{\text{universe}} = 0 — the reversible-process benchmark. The irreversible free expansion generates net entropy; the reversible expansion generates none.

Limiting cases & common traps

SituationWhat to do
Process is irreversibleNever plug actual qq into dS=dq/TdS = dq/T. Invent a reversible path between the same endpoints instead.
Process is reversible and isothermalUse ΔS=qrev/T\Delta S = q_{\text{rev}}/T directly (phase changes, isothermal ideal-gas steps).
Adiabatic AND reversibledqrev=0dq_{\text{rev}} = 0 at every step, so ΔS=0\Delta S = 0 — a reversible adiabat is a constant-entropy (isentropic) path.
Cyclic process, any working substance∮dS=0\oint dS = 0 always, since SS is a state function, regardless of reversibility of the cycle's individual steps.
Adiabatic but irreversibleq=0q = 0 does not imply ΔS=0\Delta S = 0; entropy can still increase (e.g. free expansion above).

The chemist behind it

Rudolf Clausius coined the term "entropy" in 1865, deliberately choosing a Greek root related to "transformation" to parallel "energy." He had already shown, through his analysis of Carnot's reversible heat engine, that dqrev/Tdq_{\text{rev}}/T integrates to zero around any closed reversible cycle — the mathematical fingerprint of a state function. Clausius then generalized this into the inequality dS≥dq/TdS \ge dq/T for real processes, giving the Second Law its first fully quantitative, calculable form and setting the stage for every later statistical interpretation of entropy.

Origins · 1 minRudolf Clausius and how this was discovered
RC
Rudolf Clausius
1822-1888 · German physicist who defined entropy from Carnot-cycle reasoning and gave the Second Law its modern mathematical form

Ask the tutor: How does this reversible-heat definition connect to entropy as a state function with exact-differential properties like dUdU and dHdH?

Why must the heat in dS = dq_rev/T be reversible, not just any heat?

Because only along a reversible path is the system's temperature well-defined and essentially equal to that of the surroundings at every instant, letting you divide by a single, meaningful TT. Along an irreversible path the system may pass through non-equilibrium states with no single temperature, and dividing actual heat by a boundary temperature systematically undercounts entropy production, per the Clausius inequality dS≥dq/TdS \ge dq/T.

If entropy is defined using reversible heat, how can we ever compute ΔS for a real, irreversible process?

Entropy is a state function, so ΔS\Delta S depends only on initial and final states, never on the path actually taken. To find ΔS\Delta S for any irreversible process, mentally replace it with a convenient reversible path connecting the same two endpoints — same starting temperature, pressure, volume, and same final ones — compute qrevq_{\text{rev}} along that imagined path, and divide by TT. The real process can be as violent as you like; the answer is identical.

What are the units of entropy, and what is a typical order of magnitude?

Entropy carries units of joules per kelvin, J K⁻¹, or per mole, J K⁻¹ mol⁻¹, since it is heat divided by temperature. Typical molar entropy changes for phase transitions or gas expansions run from a few J K⁻¹ mol⁻¹ up to several tens of J K⁻¹ mol⁻¹; for reference, Rln⁡2=5.76 J K−1mol−1R\ln 2 = 5.76\ \text{J K}^{-1}\text{mol}^{-1} and water's entropy of fusion is about 22.0 J K−1mol−122.0\ \text{J K}^{-1}\text{mol}^{-1}.

Does dS = dq_rev/T mean entropy only changes when heat is transferred?

For a closed system exchanging only heat and expansion work, yes — every entropy change traces back to reversible heat exchange, even if that heat is a bookkeeping device along an imagined path. However, entropy can also be generated internally, with no heat crossing the boundary at all, whenever a process is irreversible; the Clausius inequality dS>dq/TdS > dq/T captures exactly this internally generated contribution.

Before this

Where this leads