Skip to main content
Chemistry LibreTexts

1.6: The Gibbs and Helmholtz Energy

  • Page ID
    512036
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

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

    \( \newcommand{\dsum}{\displaystyle\sum\limits} \)

    \( \newcommand{\dint}{\displaystyle\int\limits} \)

    \( \newcommand{\dlim}{\displaystyle\lim\limits} \)

    \( \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{\longvect}{\overrightarrow}\)

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

    Based on "The Gibbs and Helmholtz Energy" by Serge L. Smirnov and James McCarty, LibreTexts is licensed under CC BY-NC-SA .

    In this chapter we introduce two additional state properties: the Gibbs energy and the Helmholtz energy. These additional variables are useful for allowing us to determine the direction of spontaneous change without having to directly calculate the change in entropy of the universe from the second law. The Gibbs energy has particular importance in chemistry.

    Learning Objectives
    • Know the thermodynamic definitions of the Gibbs energy and Helmholtz energy and why these two properties are important.
    • Understand that the change in Gibbs energy has both an enthalpic and entropic contribution.
    • Know that at constant pressure and temperature the Gibbs energy decreases for a spontaneous process, and at constant volume and temperature the Helmholtz energy decreases for a spontaneous process.
    • Be able to identify the fundamental differentials for dU, dH, dG, and dA and how these can be used to arrive at thermodynamic relationships.

    The Gibbs and Helmholtz energy

    The first law of thermodynamics accounts for the conservation of energy and the second law of thermodynamics determines the spontaneity. Together, these laws should allow us to deal with the thermodynamics of any system, but their direct application is not always convenient. In addition to our current set of state properties it is useful to define two additional state properties: the Gibbs energy and the Helmholtz energy.

    Recall that we have already define the total internal energy U and the enthalpy H=U+PV. Similarly, we now define the Gibbs energy:

    \[G = H – TS\label{EQ:Gibbs}\]

    The Gibbs energy (G) is the enthalpy minus the product of the temperature and the entropy.

    We also define the Helmholtz energy:

    \[A = U – TS\label{EQ:Helmholtz}\]

    The Helmholtz energy (A) is the total internal energy minus the product of the temperature and the entropy.

    If we are interested in infinitesimal changes in the Gibbs or Helmholtz energies we can consider the differential form of equations \(\ref{EQ:Gibbs}\) and \(\ref{EQ:Helmholtz}\)

    \[dG = dH -TdS -SdT\label{EQ:dG}\]

    \[dA = dU -Tds -SdT\label{EQ:dA}\]

    Note

    Note: In the differential form of Equation 2 we have made use of the product rule for derivatives: d(AB)=BdA+AdB

    The Significance of the Gibbs and Helmholtz energy

    In order to understand why the Gibbs and Helmholtz energies are important, we need to recall the second law of thermodynamics which states

    \[dS_{sys} + dS_{surr} \ge 0 \label{EQ:secondlaw}\]

    Recalling that for the surroundings:

    \[dS_{surr}=\frac{\partial{q_{surr}}}{T} = −\frac{\partial{q_{sys}}}{T}\label{EQ:surround}\]

    We can substitute equation \(\ref{EQ:surround}\) into Equation \(\ref{EQ:secondlaw}\) to obtain an alternative expression for the second law in terms of only the system variables:

    \[dS_{sys} - \frac{\delta q_{sys}}{T} \ge 0 \implies TdS_{sys} - \delta q_{sys} \ge 0 \label{EQ:secondlaw2}\]

    Equation \(\ref{EQ:secondlaw2}\) follows from the second law of thermodynamics. We will now consider two particular cases. Since all the quantities refer to the system we will drop the subscript "sys" in the remaining discussion.

    Case 1: Constant T and P Conditions

    At constant P, the heat transfer is equivalent to the enthalpy:

    \[\delta q_p = dH\label{EQ:qp}\]

    Substitution of equation \(\ref{EQ:qp}\) into equation \(\ref{EQ:secondlaw2}\) gives:

    \[TdS – dH \ge 0\label{EQ:Gibbs1}\]

    Solving the differential form of the Gibbs energy (equation \(\ref{EQ:dG}\)) for dH and then substituting into equation \(\ref{EQ:Gibbs1}\) gives:

    \[\cancel{TdS} - dG - \cancel{TdS} - SdT \ge 0  \implies dG + SdT \le 0 \label{EQ:Gibbs2}\]

    At constant T, the second term SdT=0 because T is not changing, giving the final result:

    \[dG \le 0 \label{EQ:Gibbs3}\]

    or upon integrating both sides from an initial to final state:

    \[\Delta G \le 0\label{EQ:Gibbs4}\]

    The equality holds for a reversible (equilibrium) process, and the inequality holds for any spontaneous process at constant T and P.

    Key Result: At constant T and P conditions \(\Delta G \lt 0\) for a spontaneous process and ΔG=0 for a reversible process.

    Since we are at constant T, the differential form of dG from equation \(\ref{EQ:dG}\) simplifies to:

    \[dG=dH−TdS\label{EQ:Gibbs5}\]

    Integrating both sides at constant T and P from an initial state to a final state gives:

    \[\Delta G= \Delta H−T\Delta S \label{EQ:Gibbs6}\]

    from which we see that the Gibbs energy has an enthalpic term and an entropic term.

    Key Result: \(\Delta G = \Delta H – T \Delta S\). This expression is valid at constant T and P.

    Case 2: Constant T and V Conditions

    For the case of constant volume, the heat transfer is equivalent to the total internal energy:

    \[\delta q_v=dU\label{EQ:qv}\]

    Substitution of Equation \(\ref{EQ:qv}\) into equation \(\ref{EQ:secondlaw2}\) gives:

    \[TdS – dU \ge 0\label{EQ:Helmholtz1}\]

    Solving the differential form of the Helmholtz energy (equation \(\ref{EQ:dA}\)) for dU and substituting into Equation \(\ref{EQ:Helmholtz1}\) gives:

    \[\cancel{TdS} - dA - \cancel{TdS} - SdT \ge 0 \implies dA + SdT \le 0 \label{EQ:Helmhotz2}\]

    Again at constant T, the second term SdT=0 because T is not changing, giving the final result:

    \[dA \le 0 \label{EQ:Helmholtz3}\]

    or upon integrating both sides from an initial to final state:

    \[\Delta A \le 0 \label{EQ:Helmholtz4}\]

    The equality holds for a reversible (equilibrium) process, and the inequality holds for any spontaneous process at constant T and V.

    Key Result: At constant T and V conditions \(\Delta A \lt 0\) for a spontaneous process and ΔA=0 for a reversible process.

    Since we are at constant T, the differential form of dA from equation \(\ref{EQ:dA}\) simplifies to:

    \[dA=dU−TdS \label{EQ:Helmholtz5}\]

    Integrating both sides at constant T and V from an initial state to a final state gives:

    \[\Delta A=\Delta U−T\Delta S \label{EQ:Helmholtz6}\]

    Key Result: \(\Delta A = \Delta U – T \Delta S\). This expression is valid at constant T and V.

    Four Fundamental differentials of thermodynamics

    The first law of thermodynamics in differential form is:

    \[dU=\delta q+ \delta w \label{EQ:firstlaw}\]

    For a reversible process we have defined the entropy as \(dS=\delta q_{rev}/T\) and the reversible work as \(\delta w=−P⋅dV\). Substituting these identities into equation \(\ref{EQ:firstlaw}\) gives the following differential form of the first law:

    \[dU=TdS−PdV\label{EQ:firstlaw2}\]

    Note that Equation \(\ref{EQ:firstlaw2}\) is valid for a reversible process in which the only work is due to compression/expansion.

    The enthalpy is defined as:

    \[H=U+PV\label{EQ:enthalpy}\]

    From Equation \(\ref{EQ:enthalpy}\) we can write a differential form of the enthalpy as:

    \[dH=dU+PdV+VdP\label{EQ:enthalpy2}\]

    where we have again used the product rule from calculus on the PV term. Substituting equation \(\ref{EQ:firstlaw2}\) into equation \(\ref{EQ:enthalpy2}\) for the dU term gives another differential relation for dH:

    \[dH = TdS - \cancel{PdV} + \cancel{PdV} + VdP = TdS + VdP \label{EQ:dHdiff}\]

    Similarly, substitution of equation \(\ref{EQ:firstlaw2}\) into the dU term in the differential form for dA in equation \(\ref{EQ:dA}\) gives another differential for dA:

    \[dA = \cancel{TdS} - PdV - \cancel{TdS} -SdT = -PdV - SdT\label{EQ:dAdiff}\]

    Finally, substitution of equation \(\ref{EQ:dHdiff}\) into the dH term differential form for dG in equation \(\ref{EQ:dG}\) gives another differential for dG:

    dGdGamp;=amp;=amp;TdS+VdP−TdS−SdTamp;VdP−SdT(24)

    \[dG = \cancel{TdS} + VdP - \cancel{TdS} - SdT = VdP - SdT \label{EQ:dGdiff}\]

    These results are summarized in table \(\PageIndex{1}\).

    Table \(\PageIndex{1}\): the four fundamental differential relations for dU, dH, dG, and dA.
    Differential Relation Equation
    dU=TdS−PdV \(\ref{EQ:firstlaw2}\)
    dH = TdS + VdP \(\ref{EQ:dHdiff}\)
    dA=−PdV−SdT \(\ref{EQ:dAdiff}\)
    dG=VdP−SdT \(\ref{EQ:dGdiff}\)

    Pressure dependence of ΔG

    The fundamental differentials from table \(\PageIndex{1}\) are useful for deriving various thermodynamic relationships. As an example, we can use equation \(\ref{EQ:dGdiff}\) to derive the pressure dependence of ΔG. Starting from equation \(\ref{EQ:dGdiff}\), at constant T the second term SdT=0, giving:

    \[dG=VdP\label{EQ:dGdiffconstT}\]

    or

    \[\left(\frac{\partial{G}}{\partial{P}}\right)_T = V \label{EQ:dGdPconstT}\]

    Integrating both sides of equation \(\ref{EQ:dGdiffconstT}\) from an initial pressure Pi to a final pressure Pf gives:

    \[\Delta G=\int_{P_i}^{P_f}VdP \label{EQ:DeltaGconstTintegr}\]

    Solids and liquids are nearly incompressible, so the volume does not change significantly with changes in the pressure. Therefore, for solids and liquids the volume can be treated as constant in equation \(\ref{EQ:DeltaGconstTintegr}\), and upon integration gives:

    \[\Delta G=V\Delta P\label{EQ:DeltaGconstTsolid}\]

    Note that equation \(\ref{EQ:DeltaGconstTsolid}\) is valid for solids and liquids. For an ideal gas we can substitute V=nRT/P for the volume in equation \(\ref{EQ:DeltaGconstTintegr}\):\begin{eqnarray}\Delta G &=& \int_{P_i}^{P_f} \frac{nRT}{P} dP \nonumber \\[4pt] \Delta G &=& nRT \int_{P_i}^{P_f} \frac{dP}{P} \nonumber \\[4pt] \Delta G &=& nRT \ln\left(\frac{P_f}{P_i}\right)\label{EQ:GibbsP5}\end{eqnarray}

    If we set the initial pressure to 1 bar (standard pressure), and replace the initial Gibbs energy Gi with the symbol for G at the standard state Go, then equation \(\ref{EQ:GibbsP5}\) becomes:

    \[G = G^{\circ} + nRT \ln\left(\frac{P}{\text{1 bar}}\right) \label{GvPatconstT}\]

    See Practice Problem \(\PageIndex{2}\).

    Examples

    Example \(\PageIndex{1}\)

    Show that at constant pressure, the entropy is given by:

    \(S=-\left( \frac{\partial G}{\partial T} \right)_P\)

    Solution

    Starting with equation \(\ref{EQ:dGdiff}\):

    dG=VdP−SdT

    At constant pressure (dP=0), we have:

    dG=−SdT

    or, solving for S:

    \(S=-\left( \frac{\partial G}{\partial T} \right)_P\)

    Practice Problems

    Problem \(\PageIndex{1}\): Starting with equation \(\ref{EQ:firstlaw2}\), show that temperature has the thermodynamic definitions \(T = \left(\frac{\partial{U}}{\partial{S}}\right)_V\).

    Problem \(\PageIndex{2}\): Assume we have 2.00 moles of ideal gas at 20.0 mbar and 37.0 \(^oC\) and compress it to 100. mbar while keeping the temperature constant. What is the change in the free energy of this sample?


    This page titled 1.6: The Gibbs and Helmholtz Energy was last modified on Sun, 31 Aug 2025 18:55:13 GMT and is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Jonathan Gutow.