Abstract
This study is intended to give the reader a brief overview of the mathematical background to the thermodynamic theory of surfaces and interfaces. Some general aspects of the thermodynamics of systems with interfaces are discussed, and a concise treatment of interfaces within the framework of classical thermodynamics is provided. First, to introduce the reader to the topic, a reasonably simple thermodynamic treatment of interfaces, together with a brief description of the models widely used in the literature, is presented, the characteristics of the Gibbs “dividing plane” model and the Guggenheim “interphase” model are outlined, and a derivation of the Gibbs adsorption equation is given. In the subsequent sections, several important mathematical concepts (e.g., theory of homogeneous functions and partly homogeneous functions, Euler’s theorem and the Gibbs–Duhem equation, Legendre transformation) and various functional relationships of the thermodynamics of surfaces and interfaces are summarized, with particular attention to some alternative formulations. Some of the mathematical principles and methods are explained using illustrative examples.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
Introduction
Despite the advent of surface-sensitive techniques, thermodynamic measurements remain a valuable tool for the investigation of surfaces and interfaces.
Many (heterogeneous) systems of practical importance can only be described by complex thermodynamic models including interface(s). For instance, electrodes are, in fact, capillary systems, because the interactions between the different phases take place via the surface region. Thus, the understanding of the thermodynamics of these interfaces is of importance to all surface scientists and electrochemists.
The aim of the present study is to give a brief overview of the mathematical background, some important mathematical concepts, and various functional relationships underlying the thermodynamic theory of interfaces (theory of homogeneous functions and partly homogeneous functions, Euler’s theorem and the Gibbs–Duhem equation, Legendre transformation). The mathematical principles are explained and illustrated with some typical examples.
First, to introduce the reader to the topic, a reasonably simple thermodynamic treatment of interfaces, together with a brief description of the models widely used in the literature, is presented (more detailed discussions can be found in several reviews and research papers [1–16]).
Basic concepts and notions related to the thermodynamics of interfaces
Models of the interfacial region
Interfacial thermodynamics is the study of the application of thermodynamics to interfacial phenomena, addressing topics, including adsorption, interfacial energies, interfacial tension, and superficial charge, and about relations among them [see e.g., 1–18]. Adsorption of one or more of the components, at one or more of the phase boundaries of a multicomponent, multiphase system, is said to occur if the concentrations in the interfacial layers are different from those in the adjoining bulk phases. Consequently, the overall stoichiometry of the system deviates from that corresponding to a reference system of (hypothetical) homogeneous bulk phases whose volumes and/or amounts are defined by suitably chosen dividing surfaces, or by a suitable algebraic method (see later).
The classic work is that of Gibbs [19]; a paper by Guggenheim and Adam [20] discusses the physical interpretation of surface excesses, and Guggenheim [21] has given a good summary of interfacial thermodynamics emphasizing a viewpoint somewhat different from that of Gibbs.
In many studies, the plane ideally marking the boundary between two phases is called the interface. Although interfaces are always dealt with from a thermodynamic point of view, if attention is actually focused on only one of the two phases, the plane marking the boundary between the phase and the environment is often called the surface of the phase (see e.g., [22]). The two words (i.e., “interface” and “surface”) are often used synonymously, although interface is preferred for the boundary between two condensed phases and in cases where the two phases are named explicitly, e.g., the solid/gas interface [23].
The region between two phases where the properties vary between those in the bulk is the “interfacial” or “interface” region, and sometimes it is called the “interphase.”
An interface or interphase does not exist in isolation, and valid thermodynamic conclusions can only be drawn by considering the system, namely the interface and the two bordering regions, as a whole. Provided that the radius of curvature is large, the interface/interphase may be regarded as a plane and its energy then differs from that of a bulk phase by a term expressing the contribution of changes of energy due to a change of the area of contact. Edge effects can be eliminated by considering a section of an interface in a larger system. There is no clear boundary between the interfacial region and the bulk of the phases, so that the thickness of the interphase depends on the model chosen to describe this region. The geometric area is represented by the product of the length and breadth of a rectangle enclosing part of a surface. Many properties of a system, for example, concentration of a particular species, vary as a function of the distance perpendicular to the surface, as shown in Fig. 1.
The classical Gibbs approach is based on a model in which a real interface layer is replaced by a dividing surface [19]. Gibbs found it mathematically convenient to consider an idealized system depicted in Fig. 1b, with properties identical with those of the whole real system. The “surface of discontinuity” or “dividing surface” in the idealized system is a two-dimensional region whose position is determined by the requirements that the property under consideration should maintain a uniform value in each bulk phase right up to the dividing surface. This corresponds to equating the two shaded areas in Fig. 1b. A disadvantage of this approach is that the position of the dividing surface alters according to the property considered.
In the Guggenheim model, two dividing surfaces, one at each boundary, are employed (Fig. 1c). It is assumed that there is a “surface” or “interfacial” layer of finite thickness (τ) bounded by two appropriately chosen surfaces parallel to the phase boundary, one in each of the adjacent homogeneous bulk phases. A layer of this kind is sometimes called a Guggenheim layer or “interphase.” A disadvantage is that terms dependent on surface volume are present in the equations, but it is difficult to assign values to these terms. (It should be noted that for very highly curved surfaces, i.e., when the radius of curvature is of the same magnitude as τ, the notion of a surface layer may lose its usefulness.)
Given a system, subsystems consisting of a segment of the interface and finite volumes of the adjacent phases can be selected. In principle, these subsystems should not be geometrically regular in shape; however, the rectangular parallelepiped-shaped domain is usually the most expedient selection. In two dimensions, the macroscopic subsystem selected for investigation is represented by the ABCD rectangle (Fig. 1).
Usually, the thickness of the interface or local values of physical quantities (parameters) cannot be measured. That is the reason why integrated quantities (which are accessible experimentally, or can be calculated from experimental data) are used for the thermodynamic characterization of interfaces. Generally, these quantities are given by the expression:
where ξ is the coordinate perpendicular to the plane of the interface, Y is the function of ξ, Ψ σ is the integrated physical quantity, and αα and ββ are the two adjacent (homogeneous) phases.
Let the area of the surface or interface in the system defined according to the above concepts be denoted by A, and the internal energy by U. The volume V of the system is the sum of the volumes of the two phases αα and ββ, and the volume of the inhomogeneous region is as follows:
The internal energy can be given as
Of course, this division is completely arbitrary, since the values on the right-hand sides of Eqs. (2) and (3) depend on the (arbitrary) choice of the dividing surface(s). In the Guggenheim model, the volume V σ of the interfacial layer is
The Gibbs dividing surface (or Gibbs surface) is a geometrical surface chosen parallel to the interface and used to define the volumes of the bulk phases. That is
This means that the volume of the “surface phase is” V σ ≡ 0.
Adsorption
As already discussed above, the Gibbs interface is a two-dimensional homogeneous phase without thickness (i.e., the interface is regarded as a mathematical dividing surface). In Guggenheim’s approach, the interface is considered to be a surface phase with finite thickness and volume treated in a way analogous to bulk phases, except that the thermodynamic equations contain terms related to the contributions of changes of energy due to changes of area and electrical state of the interface.
The two apparently different approaches can be essentially characterized by the following procedure:
-
a)
There is an idealized surface or surface phase separating two homogeneous bulk phases (see Fig. 1). The bulk phases are in equilibrium with the surface phase.
-
b)
Two separated reference systems α and β thought to be noninteracting homogeneous bulk phases have to be chosen (see Fig. 2), the conditions of temperature, pressure, and composition being identical to those in the adsorption equilibrium. Both reference phases consist of suitably defined amounts of the components. Each of the chosen reference amounts is characterized by its respective molar or specific properties.
-
c)
Any extensive property of the reference systems is simply the sum of the contributions from the reference amounts, without any contributions from interactions with the interfacial layer in the real system.
The surface excess quantities are then the respective differences between the real system and the chosen reference systems (or reference phases). As explained above, this can be done, e.g., in the Gibbs sense of the total extensive quantity minus its amount residing in hypothetical bulk phases that are uniform up to a mathematical dividing surface, or in the Guggenheim sense of excesses over the average bulk amount in a boundary zone (“surface phase”) of finite but small thickness. Obviously, if the Gibbs model is used for the definition of surface excesses, the reference amounts in the two reference phases are thought to be contained in and making up the volume of the actual real system, but can equally well be thought to be quite independent and spatially apart one from the other. On the other hand, however, the volume of the chosen reference amounts is not necessarily equal to the volume of the real system. It is even not necessary that the corresponding phases are effectively present in their chosen reference states within the real system. In principle, this is why the Gibbs and the Guggenheim approaches can be considered as equivalent. Nevertheless, there is an important restriction in the Guggenheim approach replacing the condition of equivalent volumes in the Gibbs method: the reference systems must be chosen in such a manner that the remaining “surface phase” has a constant thickness. Thus, this restriction essentially affects the choice of the geometrical shape of the reference systems. However, since the reference systems are homogeneous bulk phases, their thermodynamic properties are independent of the shape. For this reason, a set of appropriate reference systems can be always selected without loss of generality. This consideration determines implicitly the selection of thermodynamic systems “with cylindrical shape” [24], a “parallelepiped” [25], or simply as a “section” of the interface cut out by perpendicular planes [26–28].
The surface excess amount or Gibbs adsorption of component i is n σ i , which may be positive or negative, and is defined as the excess of the amount of this component actually present in the system over that present in a reference system of the same volume as the real system and in which the bulk concentrations in the two phases remain uniform up to the Gibbs dividing surface.
where n i is the total amount of component i in the “real” system, x α i and x β i are the mole fractions in phases α and β, respectively, and n α and n β are the total amounts of the components (“total number of moles”) in the reference systems. It is clear from Eq. (6) that the surface excess amount is well defined only when n α and n β are fixed. It can be also seen that with different n α and n β values we have different values for n σ i .
According to the above considerations, the surface excess X σ of any extensive property X is calculated as
where X denotes the value of the extensive property for the whole system and X α and X β are the values for the reference systems.
The relation that gives the internal energy U as a function of the extensive parameters is a fundamental relation. If the fundamental relation of a particular system is known, all conceivable thermodynamic information about this system can be ascertained [29]. The internal energies of the reference phases are given by
and
The internal energy (U) of the system depends on the entropy (S), volume (V), amounts n 1…n m of the components 1,…m, and the surface area (A):
The excess of the internal energy is given by
and the excess of the entropy is
The excess internal energy function
is a homogeneous function of degree one with respect to all variables (see “Homogeneous functions” section, especially Examples #1 and #4), if V σ ≡ 0 (Gibbs model), or V σ = Aτ (Guggenheim model), since it is evident that
for all k > 0 real numbers.
Therefore, according to Euler’s theorem (see “Homogeneous functions” section and Example #4), and in the framework of the Gibbs model
where γ is the intensive (interfacial) parameter conjugate to the extensive variable A.
Due to the thermodynamic equilibrium
and
According to the equations like the two above, it is not necessary to use superscripts to distinguish T, μ 1 … μ m , in the different equilibrium phases because these must have uniform values throughout α, β, αα, ββ, and σ (due to the equilibrium assumptions).
In the two reference phases, the following relationships are valid:
and
According to Eq. (15), the intensive parameter (γ) is defined by
Although this expression is mathematically correct, it is not really useful for practical purposes. Equation (15) expresses the dependence of the energy U on the basis of independent variables S σ, A, n σ1 … n σ m . This set of independent variables is not by any means the most convenient. It is usually preferable to use T as an independent variable instead of S. If the experiment is such that the external conditions are constant temperature and constant pressure, the most convenient potential function to use is the Gibbs free energy function, G(T,p,n 1 … n m ), obtained from U(S,V, n 1 … n m ) by two subsequent Legendre transformations (see “Adsorption” section and especially Example #12):
and
Consequently
and
The excess Gibbs free energy function is given as
and γ is defined by
Unfortunately, this definition of γ is still not appropriate for experimental studies or to confirm experimental results since G σ(T, A, n σ1 … n σ m ) remains ill-defined and arbitrary (because n σ1 … n σ m clearly depend on the selection of the reference systems). The Gibbs free energy function for the whole system can be expressed as
This means that γ can also be defined in terms of the Gibbs free energy function of the whole system as
or in terms of the Helmholtz (free) energy function as
when the Helmholtz energy or “free energy” function is defined as the Legendre transform of the internal energy function (F = U − T·S). On the other hand—still remaining in the framework of the Gibbs model—it should be noted that since no volume term appears in Eq. (15), there is no distinction between the surface Helmholtz and Gibbs free energies.
According to the above discussions, G σ is a partly homogeneous function of degree one (see “The Gibbs–Duhem equation” section) in the variables A and n σ1 … n σ m . The expression for the total differential of G σ is
Taking into account that\(\left({\frac{{\partial G^{{{\upsigma}}}}}{\partial T}} \right)_{{A,n_{1}^{{{\upsigma}}} \ldots n_{m}^{{{\upsigma}}}}} = - S^{\upsigma}\), \(\left({\frac{{\partial G^{{{\upsigma}}}}}{\partial A}} \right)_{{T,n_{1}^{{{\upsigma}}} \ldots n_{m}^{{{\upsigma}}}}} = \gamma\), and \(\left({\frac{{\partial G^{{{\upsigma}}}}}{\partial A}} \right)_{{T,A,n_{j \ne i}^{{{\upsigma}}}}} = \mu_{i}\), Equation (30) can be written as
The differential of Eq. (25) is
There are thus two (general) expressions for dG σ (Eqs. 31 and 32), both of which are correct. This can only be the case if
Equation (33) is the so-called Gibbs–Duhem equation for interfaces (see “The Gibbs–Duhem equation” section). At constant temperature
Dividing both sides of Eq. (33) by A yields
where Γ i is the surface excess concentration of species i. Equation (35) is commonly called the Gibbs adsorption equation.
In the case of liquid/liquid interfaces, the interfacial intensive parameter (γ) can be identified with the interfacial tension. (Note that in case of solid/liquid interfaces there is some controversy in the literature concerning the correct name of γ, e.g., it is sometimes called “specific surface energy” or “surface stress” [1, 16, 26, 30, 31]).
There are two important points that should be addressed here:
-
1.
In the case of ionic components (charged species), “electrochemical potentials” (\(\tilde{\mu }_{i}\)) may be used instead of “chemical potentials” in the corresponding equations.
-
2.
It follows from Eq. (6) (which is the definition equation of the surface excess amounts) that the Γ i values are uncertain, since they depend on the arbitrary selection of n α and n β.
Nevertheless, for the analysis of the experimental data we need measurable physical quantities that do not depend on the size of the reference phases.
The following procedure can be used for this purpose. At constant T and p, the Gibbs–Duhem relationships for the two reference bulk phases are
and
Using the above two relationships, it is possible to express dμ 1 and dμ 2 (i.e., the differential changes of the chemical potentials of two selected components) as a function of the other dμ i values and the mole fractions at constant temperature and pressure:
and
Combining Eq. (35) with Eqs. (38) and (39), we obtain
or
By taking into account that
we have
or
Equation (44) can be written in the simpler form:
where Γ i ′ denotes the (relative) surface excess of component i with respect to the two selected components, and
It is clear that the Γ i ′ values do not depend on the selection of the reference systems (that is, on the selection of n α and n β).
Therefore, the Γ ’ i values can be determined as
(or more exactly \(\varGamma_{i}^{\prime} = - \left({\frac{\partial \,\gamma}{{{\text{d}} \mu_{{i\left({i \ne 1,2} \right)}}}}} \right)_{{\mu_{j \ne i}}} = - \frac{1}{RT}\left({\frac{\partial \,\gamma}{{\partial \,a_{{i\left({i \ne 1,2} \right)}}}}} \right)_{{T,p,a_{j \ne i}}}\)), where a i denotes the relative activity of component i.
Equation (45) (Gibbs adsorption isotherm also called the Gibbs adsorption equation) is one of the most important results from interfacial thermodynamics, and it is used all the time in physical chemistry and surface science.
In the following sections, we will briefly review the relevant mathematical background necessary for some of the derivations presented above.
The mathematical background of interfacial thermodynamics
Homogeneous functions
Definition
Let f (x 1, x 2, …, x m ) be a real function of variables x 1, x 2, …, x m . The function f is a homogeneous function if for all values of the factor k > 0
where the function s(k) is usually called the scaling function, and is given by s(k) = k n.
In other words, a homogeneous function is a function of one or several variables that satisfies the following condition: when all independent variables of a function are simultaneously multiplied by the same (arbitrary) factor, the value of the function is multiplied by some power of this factor. That is, if
for all k > 0, then f is said to be a homogeneous function of degree n. The degree n can take on any value (positive, negative, or zero). A function f is linearly homogenous if it is homogeneous of degree 1.
If for a function f the equation
is true, then we say that this function is homogeneous of degree n in the variables x 1, x 2, …, x m . Such functions are called partly (or partially) homogeneous functions [1]. (It should be noted that it is possible for functions to be homogeneous of different degree in different variables, but here we restrict our attention to functions for which Eq. (M.2) or Eq. (M.3) holds).
Some remarks to the definition of homogeneous functions
Remark #1
A homogeneous function of degree n gives rise to a set of derivative functions that are homogeneous in the same set of variables and of degree n − 1, that is, partial derivatives of a homogeneous function of degree n are homogeneous functions of degree n − 1.
Proof
Differentiating both sides of Eq. (M.2) with respect to x i (for i = 1,…, m), we get
and then dividing both sides of Eq. (M.4) by k we obtain
Hence the derivatives of f are homogeneous of degree n − 1.
For example, in case of a homogeneous function of the first degree \(f\left({kx_{1},kx_{2}, \ldots,kx_{m}} \right) = k f\left({x_{1},x_{2}, \ldots,x_{m}} \right)\) the partial derivative with respect to x i is \(\frac{{\partial f\left({kx_{1}, \ldots,kx_{m}} \right)}}{{\partial kx_{i}}}\frac{{\partial kx_{i}}}{{\partial x_{i}}} = k\frac{{\partial f\left({x_{1}, \ldots,x_{m}} \right)}}{{\partial x_{i}}}\), and therefore \(\frac{{\partial f\left({kx_{1}, \ldots,kx_{m}} \right)}}{{\partial kx_{i}}} = \frac{{\partial f\left({x_{1}, \ldots,x_{m}} \right)}}{{\partial x_{i}}}\).
Remark #2
Suppose that the domain of definition of the function f lies in the first quadrant, x 1 > 0,…, x m > 0, and contains the whole ray (kx 1,…, kx m ), k > 0, whenever it contains (x 1,…, x m ), i.e., it is assumed that for every point (x 1,…, x m ) in the domain of f, the point (kx 1,…, kx m ) also belongs to this domain for any k > 0. Then f is homogeneous of degree n if and only if there exists a function g of m-1 variables defined on the set of points of the form (x 2/x 1,…, x m /x 1) such that for all (x 1,…, x m ) in the domain of definition [see for example refs. 32, 33]:
Proof
Let f (x 1, x 2, …, x m ) be a homogeneous function of degree n of variables x 1, x 2, …, x m such that for all k > 0
Obviously
If we set k = 1/x 1, we have
This means that f is represented by
with some function g. Since, conversely, every function f formed by means of an appropriate function g of m − 1 variables satisfies the condition of homogeneity, the expression (M.10) represents the totality of homogeneous functions of degree n.
Euler’s theorem
Euler’s Theorem states that the differentiable function f of m variables is homogeneous of degree n, then the following identity holds:
Proof
Let f be a homogeneous function of degree n such that
and \(k \ne 0,\quad \frac{1}{k} = \kappa,\quad x_{{i}} = \frac{1}{k}\hat{x}_{{i}} = \kappa \hat{x}_{{i}},\quad kx_{{i}} = \hat{x}_{{i}}\).
Evidently
and
i.e., f(x 1, x 2, …, x m ) is also a homogeneous function of degree n.
Differentiating each side of formula (M.12) with respect to κ, we have the following relationship:
Introducing \(\kappa = \frac{1}{k},\quad x_{{i}} = \kappa \hat{x}_{{i}},\quad \hat{x}_{{i}} = kx_{{i}},\) Eq. (M.15) combined with Eq. (M.14) can be rewritten as
This means that
or obviously
which is exactly Euler’s theorem.
(Alternatively, by differentiating Eq. (M.2) with respect to k we get
and thus
Then, setting k = 1
which was to be proved).
We can show that the converse theorem also holds, that is if the function f of the real variables x 1, x 2, …, x m satisfies the identity (M.11), then the function f is homogeneous of degree n.
Let us fix (x 1, x 2, …, x m ) and define the function g of a single variable t as
Differentiating each side of this equation with respect to t, we get
By Euler’s theorem, we have
so that
Thus g(t) is constant for all t. It is clear that g(1) = 0, and therefore g(t) = 0 for all t, and with Eq. (M.22) we get
and so
for all t > 0, which means that f is homogeneous of degree n.
(Alternative proof: Let g(t) = f(tx 1, …, tx m ). After differentiation with respect to t and by taking into account Eq. (M.11), we see that
This means that
After integration, we obtain for any t > 0
where c is an integration constant, which is independent on t. This means that
Choosing t = 1, we see that g(1) = e c and consequently g(t) = g(1)t n, i.e., Eq. (M.27) holds).
Some remarks to Euler’s theorem
Extensive variables in thermodynamics are those that depend linearly on the size of the system. This means that if a system is composed of several subsystems, the value of the extensive variable (“extensive quantity”) for the composite system is calculated by summing over the subsystems. As a consequence, extensive thermodynamic functions are homogeneous functions of degree n = 1 (homogeneous linear functions) with respect to their extensive arguments, i.e.,
and so
According to Eq. (M.5), partial derivatives of a homogeneous linear function are homogeneous functions of degree n = 0 (homogeneous function of 0th degree), i.e.,
and
Example #1
Let us consider the following function:
Since
the function f (x,z,y) is homogeneous of the first degree in the variables x, y, and z. The partial derivatives are \(\frac{{\partial f}}{{\partial x}} = - \frac{{3x^{2}}}{yz}\), \(\frac{{\partial f}}{{\partial y}} = \frac{{x^{3}}}{{y^{2} z}}\), and \(\frac{{\partial f}}{{\partial z}} = \frac{{x^{3}}}{{yz^{2}}}\).
Thus, applying Euler’s theorem
Example #2
We know that partial derivatives of a homogeneous function of degree n are homogeneous functions of degree n − 1.
The partial derivative of the function f (which is a homogeneous function of degree 1, as defined by Eq. (E.1.1)) with respect to x is
The function f x is a homogeneous function of degree 0 in the variables x, y, and z, since
The partial derivatives are \(\frac{{\partial f_{x}}}{{\partial x}} = - \frac{6x}{yz}\), \(\frac{{\partial f_{x}}}{{\partial y}} = \frac{{3x^{2}}}{{y^{2} z}}\), and \(\frac{{\partial f_{x}}}{{\partial z}} = \frac{{3x^{2}}}{{yz^{2}}}\), that is
in accordance with Euler’s theorem.
The Gibbs–Duhem Equation
If the function f (x 1, x 2, …, x m ) is homogeneous of degree n = 1 with respect to the variables x 1, x 2, …, x m , then one has the identity (M.2):
Let us set \(\frac{\partial f}{{\partial x_{1}}} = p_{1}\), …, \(\frac{\partial f}{{\partial x_{m}}} = p_{m}\), etc., and apply Euler’s theorem to the function f.
We will obtain
It results from this formula that the functions p 1, p 2, …, p m are quantities (functions) of the same type as the quotient of energy or work by charge, mass, etc., and hence these are quantities (functions) of the same type as a potential, e.g., in thermodynamics, if f is the internal energy function (U, see “Models of the interfacial region” and “Adsorption” sections), and the x i -s are the amounts of substances, we can call them partial molar internal energies of the constituents 1, …, m in the system (thermodynamic or chemical potentials).
According to the considerations outlined above, the functions p 1, p 2, …, p m are homogeneous functions of degree zero in the variables x 1, x 2, …, x m . To each of these functions, we can apply Euler’s theorem, and we will find the identities
The identities
which result from the definition of the functions (the mixed second partial derivatives are equal), permit the substitution of equations
and therefore
This relation is known as Gibbs–Duhem equation or Gibbs–Duhem relation.
Historical outlook
Duhem was a great admirer of Gibbs, and extended a number of Gibbs’ ideas. According to Miller [34] most probably Duhem was the first to use Euler’s theorem explicitly to prove the Gibbs–Duhem equation. The first references appear in his book “Le Potentiel Thermodynamique” which was published in 1886 [35]. It is altogether fitting that his name be appended to the Gibbs–Duhem equation.
(An alternative derivation of the Gibbs–Duhem equation: consider an arbitrary function of
The total derivative (full derivative) of f(x 1, x 2, …, x m ) with respect to x 1 is
where \(p_{1} = \frac{{\partial f}}{{\partial x_{1}}}\), \(p_{2} = \frac{{\partial f}}{{\partial x_{2}}}\), \(p_{m} = \frac{{\partial f}}{{\partial x_{m}}}\), etc.
Multiplying both sides of the equation by the differential dx 1:
The result will be the differential change df in the function f. The differential of the form
is called the total differential or the exact differential of the function f.
According to Eq. (M.33)
In order to get an expression for df /dx 1 from (M.45) comparable with that in (M.42), we must differentiate (M.45) “generally,” that is
There are thus two (general) expressions for df /dx 1, both of which are correct. This can only be the case if
or
which is the Gibbs–Duhem equation).
Example #3
Consider the function
which is homogeneous of degree 1 (see Example #1).
The partial derivatives with respect to x, y, and z are
The partial derivatives of f ′ x , f ′ y , and f ′ z with respect to x can be given as
In accordance with Eq. (M.39)
Alternatively, we can formally write
and
Thus,
in accordance with the Gibbs–Duhem equation (M.40).
Example #4
Consider the internal energy function U defined by
where S is the entropy, V is the volume, and n i (i = 1,…,m) is the chemical amount of component i. Since U is a homogeneous function of degree 1 with respect to all of its variables
The temperature (T), pressure (p), and the chemical potentials μ i (i = 1,…,m) of the components are\(T = \left({\frac{\partial U}{{\partial S}}} \right)_{{V,n_{ 1},\ldots,n_{m}}}\), \(p = - \left({\frac{\partial U}{{\partial V}}} \right)_{{S,n_{ 1},\ldots,n_{m}}}\), \(\mu_{i} = \left({\frac{\partial U}{{\partial n_{i}}}} \right)_{{S,V,n_{i \ne m}}}\)respectively. (In the above equations, n i denotes the set [n 1,…,n m ] (i = 1,…,m) and n j≠i denotes all the elements (variables) in [n 1,…,n m ] except for the ith.) According to Euler’s theorem
The Gibbs–Duhem relation is written as
It follows that T, p, and μ i cannot be independently variable, i.e., the intensive variables are not independent. If we know m − 1 of them, the value of the mth can be determined from the Gibbs–Duhem equation. It is particularly useful in its application to changes at constant temperature and pressure, and it may be written as
Partly homogeneous functions of degree 1
A function f is called “partly homogeneous” of degree 1 in terms of m among m + w variables if
i.e., the function f is homogeneous with respect to certain variables (x 1, x 2, …, x m ), but not homogeneous with respect to all of the variables. These functions are important as they are frequently encountered in thermodynamics [36].
Let us introduce new variables
and the function \(\hat{f}\) as
We can prove that \(\hat{f}\) is homogeneous of the first order with respect to all of its variables. According to Eq. (M.51)
On the other hand, f is a homogeneous linear function with respect to (x 1, x 2, …, x m ). Thus
By taking into account the definition of \(\hat{f},\)
which was to be proved.
The partial derivatives of f and \(\hat{f}\) with respect to x i , y i , and z i are, respectively, given by
For i = 1,…,m, the partial derivatives of \(\hat{f}\) are given as
and for j = 1,…,w
Thus, the total derivative of \(\hat{f}\) is
Using Eqs. (M.50) and (M.55, M.56), Eq. (M.58) can be rewritten in the form
and with Eq. (M.57)
Since \(\hat{f}\) is homogeneous of the first degree with respect to all of its variables, and its partial derivatives are homogeneous of degree zero, we can apply Euler’s theorem. Hence
and
With Eqs. (M.51) and (M.56–M.62), we have
and
Consequently
and
The latter relation is the Gibbs–Duhem equation for “partly homogeneous functions.”
Example #5
The function
is not fully homogeneous, since
(If the powers of x, y, u, and w are added, the first term on the right-hand side of the expression yields 2, and the second term 6.)
However, if u and w are constant, the sum of the powers of x and y for each term is 1. Therefore, the function is partly homogeneous (with respect to x and y), so that
The partial derivatives with respect to x and y are
and
Thus, applying Euler’s theorem
The partial derivatives with respect to u and w are
and
We can formally write
and
Similarly
Thus,
in accordance with the Gibbs–Duhem equation for “partly homogeneous functions” (Eq. M.66).
Example #6
The function
is not fully homogeneous, since f(kx, ky, ku, kw) ≠ k n f(x, y, u, w).
Let us introduce new variables α = x·u and β = x·w, i.e., u = α / x and w = β / x, and the function \(\hat{f}\) as
Since
it is obvious that \(\hat{f}\) is a homogeneous function of degree 1 with respect to all of its variables (x, y, α, β).
Example #7
Let us consider the Gibbs free energy function G defined by
where T is the temperature, p is the pressure, and n i (i = 1,…,m) is the chemical amount of component i. At given (constant) T and p, the function G is partly homogeneous of degree one in terms of the variables n 1,…,n m . We thus have
The total differential of G is given as
The entropy (S), volume (V), and the chemical potentials μ i (i = 1,…,m) of the components are \(S = - \left({\frac{\partial G}{{\partial T}}} \right)_{{p,n_{i}}}\), \(V = \left({\frac{\partial G}{{\partial p}}} \right)_{{T,n_{i}}}\), and \(\mu_{i} = \left({\frac{\partial G}{{\partial n_{i}}}} \right)_{{T,p,n_{j \ne i}}}\), respectively. Thus, Eq. (E.7.3) can be rewritten as
According to Euler’s theorem
In order to obtain an expression for dG from (E.7.5) comparable with that in (E.7.3), we must differentiate (E.7.5). This gives
and by comparing Eq. (E.7.6) with Eq. (E.7.4) we obtain the following important relation (i.e., the Gibbs–Duhem equation):
Legendre transformation
(The transform is named after the French mathematician Adrien-Marie Legendre (1752–1833).)
Let f (x 1, x 2, …, x m ) be an arbitrary analytic function of variables x 1, x 2, …, x m . The differential of f is
Consider a new function g of the variables p 1 and x 2, x 3,…,x m :
where \(p_{1} = \frac{{\partial f}}{{\partial x_{1}}}\). A necessary condition is the existence of a one-to-one relation between p 1 and x 1, that is, the function p 1(x 1, x 2, …, x m ) can be inverted to give x 1(p 1) (This means that p 1 is bijective).
The new function g(p 1, x 2, …, x m ) is called the Legendre transform of the function f(x 1, x 2, …, x m ). A Legendre transform converts from a function of one set of variables to another function of a “conjugate” set of variables. In general, this is a special transformation that allows us to replace variables in a function in a consistent manner.
The differential of g(p 1, x 2, …, x m ) is
With Eq. (M.67)
Formally, the total differential of g is
Comparing Eqs. (M.70) and (M.71) \(x_{1} = - \frac{{\partial g}}{{\partial p_{1}}}\), \(\frac{{\partial f}}{{\partial x_{2}}} = \frac{{\partial g}}{{\partial x_{2}}}\), \(\frac{{\partial f}}{{\partial x_{3}}} = \frac{{\partial g}}{{\partial x_{3}}}\), etc. Let us take a look at some simple examples to see how this works.
Example #8
One-dimensional Legendre transformation
Consider an arbitrary function of x : f (x). We know that locally the slope of this curve is precisely its derivative with respect to x, so the change in the function f (x) at the point x for a small change in the argument dx is
where \(p = \frac{{\partial f\left(x \right)}}{{\partial x}} = f^{\prime}\left(x \right)\), as usual. Now suppose that we want to find a function that reverses the roles of the slope and infinitesimal, i.e., a function g(p) such that dg = x dp (where we now view x as a function of p defined by the inverse of p = f’(x)). We can see that the function
(the Legendre transform) has the desired property:
Notice that since g(p) is a function of p only, we must have
Consequently, we have a pair of functions f(x) and g(p) related in the following way:
where f(x) and g(p) are Legendre transforms of each other. There is a certain symmetry here, and the same transformation takes us back and forth.
Consider the function f(x) = ax 2. In this case \(p = \frac{{{\text{d}} f\left(x \right)}}{{{\text{d}} x}} = 2ax\), and \(x = \frac{p}{2a}\). The Legendre transform of f is
On the other hand, \(g\left(p \right) = - \frac{{p^{2}}}{4a}\), \(\frac{{{\text{d}} g\left(p \right)}}{{{\text{d}} p}} = - \frac{p}{2a} = - x\), and the Legendre transform of g(p) is given as
Remark
To avoid the minus sign in Eq. (E.8.4), the Legendre transform can alternatively be defined as
(for functions of several variables: g(p 1, x 2, …, x m ) = p 1 x 1(p 1) − f(x 1(p 1), x 2, …, x m )), in which case the Legendre transform is its own inverse, since f = px − g, rather than being the negative of its inverse. This opposite-sign alternative definition has the advantage that it gives rise to the symmetric identity f + g = px which in words says that the sum of a function and its Legendre transform equals the product of the conjugate pair of variables. It is worth to emphasize the dimensional consistency of this identity. f + g is actually a function of either p or x but not both, because one variable implicitly depends on the other via a Legendre transform.
Usually, the definition given in Eq. (M.68) is preferred in thermodynamics.
Example #9
Consider the function
The partial derivatives are \(\frac{{\partial f}}{{\partial x}} = 2x = p_{1}\), \(\frac{{\partial f}}{{\partial y}} = 2y = p_{2}\), \(x = \frac{{p_{1}}}{2}\), and \(y = \frac{{p_{2}}}{2}\).
The Legendre transforms of f are
Example #10
Consider the function
The partial derivatives are \(\frac{{\partial f}}{{\partial x}} = - \frac{{3x^{2}}}{yz} = f_{x}\), \(\frac{{\partial f}}{{\partial y}} = \frac{{x^{3}}}{{y^{2} z}} = f_{y}\), and \(\frac{{\partial f}}{{\partial z}} = \frac{{x^{3}}}{{yz^{2}}} = f_{z}\).
The variable y can be expressed as \(y = \frac{{x^{{{3 \mathord{\left/{\vphantom {3 2}} \right. \kern-0pt} 2}}}}}{{z^{{{1 \mathord{\left/{\vphantom {1 2}} \right. \kern-0pt} 2}}} f_{y}^{{{1 \mathord{\left/{\vphantom {1 2}} \right. \kern-0pt} 2}}}}}\).
Define the new function f 2 (x, f y , z) as follows:
It is obvious from this definition that f 2 is the Legendre transform of f with respect to y. Taking into account that
and
the Legendre transformation of f 2 (with respect to z) yields
Alternatively, Eq. (E.10.5) can be derived directly by performing two successive Legendre transformations
with \(f\left({x,y,z} \right) = - \frac{{x^{3}}}{yz}\), \(\frac{{\partial f}}{{\partial y}} = \frac{{x^{3}}}{{y^{2} z}} = f_{y}\), \(\frac{{\partial f}}{{\partial z}} = \frac{{x^{3}}}{{yz^{2}}} = f_{z}\), y = xf −2/3 y f 1/3 z , and z = xf 1/3 y f −2/−3 z .
Thus
We remark that while f is a homogeneous function of the first degree in the variables x, y, and z (see Example #1), the Legendre transforms f 2(x, f y , z) and f 3(x, f y , f z ) are only partly homogeneous (the first with respect to x and z, and the second with respect to only x).
Example #11
Consider the function
Since \(f_{y} = \frac{{\partial f}}{{\partial y}} = \frac{{x^{2} w}}{{y^{2}}}\), the Legendre transformation of f with respect to y yields
Note that f (x,y,u,w) is a partly homogeneous function of degree one in the variables x and y. The Legendre transform is also a partly homogeneous function, but only with respect to x.
Consider the function
Since \(f_{y} = \frac{{\partial f}}{{\partial y}} = \frac{{x^{2}}}{{y^{2}}}\), and therefore \(y = \frac{x}{{f_{y}^{1/2}}}\), the Legendre transformation of f with respect to y yields
Example #12
The Gibbs free energy function (G(T, p, n 1, …, n m )) is obtained from the internal energy function (U = U(S, V, n 1, …, n m )) via appropriate Legendre transformations as
where S is the entropy, V is the volume, p is the pressure, T is the temperature, and n i is the chemical amount of component i. p and T are given, respectively, as \(p = - \frac{\partial U}{\partial V}\) and \(T = \frac{\partial U}{\partial S}\). Note that the function G is a typical example of a partly homogeneous function (see “The Gibbs–Duhem equation” section).
References
Lang GG, Barbero C (2012) Laser techniques for the study of electrode processes. Springer, Heidelberg
Koenig FO (1934) J Phys Chem 38:111–128
Koenig FO (1934) J Phys Chem 38:339–363
Grahame DC, Whitney RB (1942) J Am Chem Soc 64:1548–1552
Graham DC (1947) Chem Rev 41:441–501
Mohilner DM (1962) J Phys Chem 66:724–726
Hansen RS (1962) J Phys Chem 66:410–415
Soffer A (1972) J Electroanal Chem 40:153–165
Mohilner DM (1966) The electrical double layer. In: Bard AJ (ed) Electroanalytical chemistry, vol 1. Marcel-Decker, New York
Defay R, Prigigine I, Bellemans A, Everett DH (1966) Surface tension and adsorption. Longmans, Bristol
Goodrich FC (1968) Trans Farad Soc 64:3403–3415
Parsons R (1984) Thermodynamic methods for the study of interfacial regions in electrochemical systems. In: Bockris JO’M, Conway BE, Yeager E (eds) Comprehensive treatise of electrochemistry, the double layer, vol 1. Plenum Press, New York
Everett DH (1987) Pure Appl Chem 59:45–52
Girault HHJ, Schiffrin DJ (1989) Electrochemistry of liquid/liquid interfaces. In: Bard AJ (ed) Electroanalytical Chemistry, vol 15. Marcel Dekker, New York
Damaskin BB, Petrii OA (2011) J Solid State Electrochem 15:1317–1334
Gutman EM (2014) J Solid State Electrochem 18:3217–3237
Láng G, Heusler KE (1995) J Electroanal Chem 391:169–179
Láng GG, Seo M, Heusler KE (2005) J Solid State Electrochem 9:347–353
Gibbs JW (1948) Collected works, vol I. Yale University Press, New Haven, pp 219–237
Guggenheim EA, Adam NK (1933) Proc R Soc Lond A139:218–236
Guggenheim EA (1950) Thermodynamics, 2nd edn. Interscience Publishers Inc, New York
Trasatti S, Parsons R (1986) Pure Appl Chem 58:437–454
Everett DH (1972) Manual of symbols and terminology for physicochemical quantities and units, appendix ii, definitions, terminology and symbols in colloid and surface chemistry, part I. Butterworths, London
Eriksson JC (1969) Surf Sci 14:221–246
Eriksson JC (1965) Ark Kemi 25:331–341
Linford RG (1978) Chem Rev 78:81–95
Randles JEB, Behr B (1972) J Electroanal Chem 35:389–404
Guggenheim EA (1940) Trans Farad Soc 36:397–412
Callen H (1985) Thermodynamics and an introduction to thermostatistics, 2nd edn. Wiley, New York
Láng G, Heusler KE (1994) J Electroanal Chem 377:1–7
Heusler KE, Láng G (1997) Electrochim Acta 42:747–756
Kudryavtsev LD (2002) Homogeneous function. In: Hazewinkel M (ed) Encyclopaedia of mathematics. Springer, Berlin
Courant R, Hilbert D (1966) Methods of mathematical physics, partial differential equations, vol II. Interscience Pubs., John Wiley & Sons, New York
Miller DG (1963) J Chem Educ 40:648–649
Duhem P (1886) Le Potentiel Thermodynamique et Ses Applications à La Mécanique Chimique et à L’Etude des Phénomènes Electriques. A. Hermann, Paris
Annamalai K, Puri IK (2002) Advanced thermodynamics engineering, CRC series in computational mechanics and applied analysis. CRC Press, Boca Raton
Acknowledgments
The financial support from the Hungarian Scientific Research Fund (Grants No. K 109036) is gratefully acknowledged.
Author information
Authors and Affiliations
Corresponding author
Electronic supplementary material
Below is the link to the electronic supplementary material.
Rights and permissions
About this article
Cite this article
Láng, G.G. Basic interfacial thermodynamics and related mathematical background. ChemTexts 1, 16 (2015). https://doi.org/10.1007/s40828-015-0015-z
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s40828-015-0015-z