Skip to main content
Chemistry LibreTexts

9.2: Gibbs Energy Determines the Direction of Spontaneity at Constant Pressure and Temperature

  • Page ID
  • \( \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}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    The Helmholtz energy \(A\) is developed for isochoric changes and as we have often said before it is much easier to deal with isobaric ones where \(P=\) constant. We can therefore repeat the above treatment for the enthalpy and introduce another state function the Gibbs energy

    \[\begin{align*} G &≡ H -TS \\[4pt] &= U + PV - TS \\[4pt] &= A + PV \end{align*}\]

    If we take both \(T\) and \(P\) constant we get

    \[dU-TdS + PdV \le 0 \nonumber \]

    \[dG \le 0 \nonumber \]

    \(G\) either decreases (spontaneously) or is constant (at equilibrium). Calculating the state function between two end points we get:

    \[ΔG = ΔH - TΔS ≤ 0 (T,P\text{ constant}) \nonumber \]

    This quantity is key to the question of spontaneity under the conditions we usually work under. If for a process \(\Delta G\) is positive it does not occur spontaneous and can only be made to occur if it is 'pumped', i.e. coupled with a process that has a negative \(\Delta G\). The latter is spontaneous.

    If \(\Delta G=0\) then the system is as equilibrium.

    Direction of the spontaneous change

    Because the \(\Delta S\) term contains the temperature \(T\) as coefficient the spontaneous direction of a process, e.g. a chemical reaction can change with temperature depending on the values of the enthalpy and the entropy change \(\Delta H\) and \(\Delta S\). This is true for the melting process, e.g. for water below 0oC we get water=>ice, above this temperature ice melts to water, but it also goes for chemical reactions.



    \[\ce{NH3(g) + HCl(g) <=> NH4Cl(s)} \nonumber \]

    \(\Delta_r H\) at 298K / 1 bar is -176.2 kJ. The change in entropy is -0.285 kJ/K so that at 298K \(\Delta G\) is -91.21 kJ. Clearly this is a reaction that will proceed to the depletion of whatever is the limiting reagent on the left.

    However at 618 K this is a different story. Above this temperature \(\Delta G\) is positive! (assuming enthalpy and entropy have remained the same, which is almost but not completely true) The reaction will not proceed. Instead the reverse reaction would proceed spontaneously. The salt on the right would decompose in the two gases -base and acid- on the left.

    Meaning of the \(\Delta G\) term

    As we have seen, \(\Delta A\) can be related to the maximal amount of work that a system can perform at constant \(V\) and \(T\). We can hold an analogous argument for \(\Delta G\) except that \(V\) is not constant so that we have to consider volume work (zero at constant volume) .

    \[dG = d(U+PV-TS) = dU -TdS - SdT - PdV +VdP \nonumber \]

    As \(dU = TdS + δw_{rev}\)

    \[dG = δw_{rev} -SdT + VdP + PdV \nonumber \]

    As the later term is \(-δw_{volume}\)

    \[dG = δw_{rev} -SdT + VdP - δw_{volume} \nonumber \]

    At constant \(T\) and \(P\) the two middle terms drop out

    \[dG = δw_{rev} - δw_{volume} = δw_{other useful work} \nonumber \]


    \(\Delta G\) stands for the (maximal) reversible, isobaric isothermal non-\(PV\) work that a certain spontaneous change can perform. The volume work may not be zero, but is corrected for.

    Natural variables of G

    Because \(G ≡ H-TS\), we can write

    \[\begin{align*} dG &= dH -TdS -SdT \\[4pt] &= TdS +VdP -TdS -SdT = VdP - SdT \end{align*} \]

    The natural variables of \(G\) are pressure \(P\) and temperature \(T\). This is what makes this function the most useful of the four \(U\), \(H\), \(A\), and \(G\): these are the natural variables of most of your laboratory experiments!


    We now have developed the basic set of concepts and functions that together form the framework of thermodynamics. Let's summarize four very basic state functions:

    state function natural variables
    \(dU = -PdV + TdS\) \(U(V,S)\)
    \(dH = +VdP + TdS\) \(H(P,S)\)
    \(dA = -PdV - SdT\) \(A(V,T)\)
    \(dG = +VdP - SdT\) \(G(P,T)\)


    1. The replacement of \(δq\) by \(TdS\) was based on reversible heat. This means that in the irreversible case the expressions for dU and dH become inequalities
    2. We only include volume work in the above expressions. If other work (elastic, electrical e.g.) is involved extra terms need to be added: \(dU = TdS - PdV + xdX\) etc.

    We are now ready to begin applying thermodynamics to a number of very diverse situations, but we will first develop some useful partial differential machinery.

    9.2: Gibbs Energy Determines the Direction of Spontaneity at Constant Pressure and Temperature is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?