Skip to main content
Physics LibreTexts

5.2: Thermodynamic Equilibrium

  • Page ID
    32027
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    The second law of thermodynamics implies that entropy does not decrease in any natural process. The final equilibrium state will thus be the state of maximum possible entropy. After attaining this maximum possible value, the entropy will remain constant. The criterion for equilibrium may thus be written as

    \[\delta S = 0\]

    We can take \(S\) to be a function of \(U\), \(V\) and \(N\). The system, starting in an arbitrary state, adjusts \(U\), \(V\) and \(N\) among its different parts and constitutes itself in such a way as to maximize entropy. Consider the system subdivided into various smaller subsystems, say, indexed by \(i = 1, .., n\). The thermodynamic quantities for each such unit will be indicated by a subscript \(i\). For an isolated system, the total internal energy, the total volume and the total number of particles will be fixed, so that the changes in the subsystems must be constrained as

    \[\sum_{i} \delta \; U_i \;=\; 0,\;\;\;\sum_{i} \delta \; V_i \;=\; 0,\;\;\;\sum_{i} \delta \; N_i \;=\; 0 \label{5.2.2}\]

    Since \(S\) is extensive, \(S\; =\; \sum_i S_i\) where \(S_i = S_i(U_i , V_i , N_i)\). We can now maximize entropy subject to the constraints Equation \ref{5.2.2} by considering the maximization of

    \[S\;=\;\sum_{i} S_i - \lambda_1 (\sum_{i} U_i - U) - \lambda_2 (\sum_{i} V_i - V) - \lambda_3 (\sum_{i} N_i - N)\]

    where the Lagrange multipliers \(\lambda_1, \lambda_2, \lambda_3\) enforce the required constraints. The variables \(U_i\), \(V_i\) and \(N_i\) can now be freely varied. Thus, for the condition of equilibrium, we get

    \[dS \;=\; \sum_{i} \biggl[ \biggl(\frac{\partial S}{\partial U_i}\biggr) - \lambda_1 \biggr]dU_i + \biggl[ \biggl(\frac{\partial S}{\partial V_i}\biggr) - \lambda_2 \biggr]dV_i + \biggl[ \biggl(\frac{\partial S}{\partial N_i}\biggr) - \lambda_3 \biggr]dN_i \; =\; 0\]

    Since the variations are now independent, this gives, for equilibrium,

    \[\biggl(\frac{\partial S}{\partial U_i}\biggr) = \lambda_1,\;\;\;\biggl(\frac{\partial S}{\partial V_i}\biggr) = \lambda_2,\;\;\;\biggl(\frac{\partial S}{\partial N_i}\biggr) = \lambda_3\]

    This can be rewritten as

    \[\frac{1}{T_i}\;=\; \lambda_1,\;\;\;\frac{p_i}{T_i}\;=\; \lambda_2,\;\;\;\frac{ \mu_i }{T_i}\;=\; \lambda_3 \label{5.2.6} \]

    where we used

    \[dS \;=\; \frac{dU}{T}\;+\;\frac{p}{T}dV \;-\; \frac{ \mu }{T}dN\]

    Equation \ref{5.2.6} tells us that, for equilibrium, the temperature of all subsystems must be the same, the pressure in different subsystems must be the same and the chemical potential for different subsystems must be the same.

    Reaction Equilibrium

    Suppose we have a number of constituents \(A_1, A_2,... , B_1, B_2,...\), at constant temperature and pressure which undergo a reaction of the form

    \[ \nu_{A_1} A_1 \;+\; \nu_{A_2} A_2 \;+\;... \rightleftharpoons \nu_{B_1} B_1 \;+\; \nu_{B_2} B_2 \;+\;...\]

    The entropy of the system is of the form

    \[S\;=\; \sum_{k} S_k(N_k)\]

    where the summation covers all \(A\)’s and \(B\)’s. Since the temperature and pressure are constant, reaction equilibrium is obtained when the \(N_k\) change so as to maximize the entropy. This gives

    \[dS\;=\;\frac{1}{T} \sum_{k} \mu_kdN_k \;=\;0\]

    The quantities \(dN_k\) are not independent, but are restricted by the reaction. When the reaction happens, \(\nu_{A_1}\) of \(A_1\)-particles must be destroyed, \(\nu_{A_2}\)of \(A_2\)-particles must be destroyed, etc., while \(\nu_{B_1}\) of \(B_1\) particles are produced, etc. Thus we can write

    \[dN_{A_1}\;=\;-\nu_{A_1}dN_0,\;\;\;dN_{A_2}\;=\;-\nu_{A_2}dN_0,...,\;dN_{B_1}\;=\;-\nu_{B_1}dN_0,\;\;\;dN_{B_2}\;=\;-\nu_{B_2}dN_0,...,\;\;etc.\]

    where \(d_{N_0}\) is arbitrary. The condition of equilibrium thus reduces to

    \[-\sum_A \nu_{A_i} \mu_{A_i} + \sum_B \nu_{B_i} \mu_{B_i} \;=\;0\]

    With the understanding that the \(\nu\)’s for the reactants will carry a minus sign while those for the products have a plus sign, we can rewrite this as

    \[\sum_k \nu_k \mu_k \;=\;0\]

    This condition of reaction equilibrium can be applied to chemical reactions, ionization and dissociation processes, nuclear reactions, etc.


    This page titled 5.2: Thermodynamic Equilibrium is shared under a CC BY-NC-SA license and was authored, remixed, and/or curated by V. Parameswaran Nair.

    • Was this article helpful?