' 1873
available energy (free energy) graph, which shows a plane perpendicular to the axis of v (
volume) and passing through point \mathrm{A}, which represents the initial state of the body. \mathrm{MN} is the section of the surface of
dissipated energy. \mathrm{Q}\epsilon and \mathrm{Q}\eta are sections of the planes \eta = 0 and \epsilon = 0, and therefore parallel to the axes of \epsilon (
internal energy) and \eta (
entropy), respectively. \mathrm{AD} and \mathrm{AE} are the energy and entropy of the body in its initial state, \mathrm{AB} and \mathrm{AC} its
available energy (Gibbs free energy) and its
capacity for entropy (the amount by which the entropy of the body can be increased without changing the energy of the body or increasing its volume), respectively. The Gibbs free energy is defined as G(p,T) = U + pV - TS\, , which is the same as G(p,T) = H - TS\, , where: • U is the
internal energy (SI unit:
joule), • p is
pressure (SI unit:
pascal), • V is
volume (SI unit: m3), • T is the
temperature (SI unit:
kelvin), • S is the
entropy (SI unit: joule per kelvin), • H is the
enthalpy (SI unit: joule). The expression for the infinitesimal reversible change in the Gibbs free energy as a function of its
"natural variables" p and T, for an
open system, subjected to the operation of external forces (for instance, electrical or magnetic) X_i, which cause the external parameters of the system a_i to change by an amount \mathrm{d}a_i, can be derived as follows from the first law for reversible processes: \begin{align} T\,\mathrm{d}S &= \mathrm{d}U + p\,\mathrm{d}V - \sum_{i=1}^k \mu_i \,\mathrm{d}N_i + \sum_{i=1}^n X_i \,\mathrm{d}a_i + \cdots \\ \mathrm{d}(TS) - S\,\mathrm{d}T &= \mathrm{d}U + \mathrm{d}(pV) - V\,\mathrm{d}p - \sum_{i=1}^k \mu_i \,\mathrm{d}N_i + \sum_{i=1}^n X_i \,\mathrm{d}a_i + \cdots \\ \mathrm{d}(U - TS + pV) &= V\,\mathrm{d}p - S\,\mathrm{d}T + \sum_{i=1}^k \mu_i \,\mathrm{d}N_i - \sum_{i=1}^n X_i \,\mathrm{d}a_i + \cdots \\ \mathrm{d}G &= V\,\mathrm{d}p - S\,\mathrm{d}T + \sum_{i=1}^k \mu_i \,\mathrm{d}N_i - \sum_{i=1}^n X_i \,\mathrm{d}a_i + \cdots \end{align} where: • \mu_i is the
chemical potential of the i-th
chemical component. (SI unit: joules per particle or joules per mole In the infinitesimal expression, the term involving the chemical potential accounts for changes in Gibbs free energy resulting from an influx or outflux of particles. In other words, it holds for an
open system or for a
closed, chemically reacting system where the N_i are changing. For a closed, non-reacting system, this term may be dropped. Any number of extra terms may be added, depending on the particular system being considered. Aside from
mechanical work, a system may, in addition, perform numerous other types of work. For example, in the infinitesimal expression, the contractile work energy associated with a thermodynamic system that is a contractile fiber that shortens by an amount -\mathrm{d}l under a force f would result in a term f\,\mathrm{d}l being added. If a quantity of charge -\mathrm{d}e is acquired by a system at an electrical potential \Psi, the electrical work associated with this is -\Psi\,\mathrm{d}e, which would be included in the infinitesimal expression. Other work terms are added on per system requirements. Each quantity in the equations above can be divided by the amount of substance, measured in
moles, to form
molar Gibbs free energy. The Gibbs free energy is one of the most important thermodynamic functions for the characterization of a system. It is a factor in determining outcomes such as the
voltage of an
electrochemical cell, and the
equilibrium constant for a
reversible reaction. In isothermal, isobaric systems, Gibbs free energy can be thought of as a "dynamic" quantity, in that it is a representative measure of the competing effects of the enthalpic and entropic driving forces involved in a thermodynamic process. The temperature dependence of the Gibbs energy for an
ideal gas is given by the
Gibbs–Helmholtz equation, and its pressure dependence is given by \frac{G}{N} = \frac{G^\circ}{N} + kT\ln \frac{p}{p^\circ}\, . or more conveniently as its
chemical potential: \frac{G}{N} = \mu = \mu^\circ + kT\ln \frac{p}{p^\circ}\, . In non-ideal systems,
fugacity comes into play. == Derivation ==