Second law of thermodynamics

Introduces entropy and constrains which processes are possible by requiring nonnegative entropy production.
Second law of thermodynamics

Definition (entropy formulation)

For every equilibrium of a , the second law asserts the existence of a state function SS called the such that, for any taking the system from equilibrium state AA to equilibrium state BB,

S(B)S(A)    ABδQTb. S(B)-S(A)\;\ge\;\int_A^B \frac{\delta Q}{T_{\mathrm{b}}}.

Here δQ\delta Q is the (inexact) heat absorbed by the system (see ), and TbT_{\mathrm{b}} is the at the boundary where that heat is exchanged (often set by a ).

Equality holds if and only if the process is ; strict inequality signals .

A particularly transparent form is obtained by treating “system + ” as an : then the second law becomes

ΔStotal0, \Delta S_{\text{total}} \ge 0,

so the total entropy cannot decrease.

Physical interpretation

The second law is the thermodynamic expression of an “arrow of time”: macroscopic processes have a preferred direction because irreversibility produces entropy. Energy conservation alone (the ) does not forbid processes that run “backwards,” but the second law does.

Operationally, the law is equivalent to the impossibility of certain cyclic devices, captured by the and the . The mathematical backbone connecting these formulations is the .

Key relations and consequences

  • Entropy balance / entropy production. Any process can be written as

    ΔS=δQTb+Sgen, \Delta S = \int \frac{\delta Q}{T_{\mathrm{b}}} + S_{\mathrm{gen}},

    where Sgen0S_{\mathrm{gen}}\ge 0 is entropy generated by irreversibility (and Sgen=0S_{\mathrm{gen}}=0 characterizes reversibility).

  • Isolated and adiabatic implications. For an , ΔS0\Delta S\ge 0. For a closed system insulated by an (so δQ=0\delta Q=0), one likewise has ΔS0\Delta S\ge 0.

  • Free-energy monotonicity (common equilibrium criteria). For a closed system in contact with a thermal reservoir at fixed TT, the (built from and entropy) satisfies ΔF0\Delta F\le 0 for spontaneous changes at fixed T,V,NT,V,N. At fixed T,p,NT,p,N, the (built from and entropy) satisfies ΔG0\Delta G\le 0.

  • Statistical-mechanical viewpoint. Many microscopic derivations connect “entropy never decreases” to the nonnegativity of information measures such as (see also ) and to the identification of S/kBS/k_B with an entropy-like quantity (compare ).