Introduction

An ideal gas is a theoretical gas composed of many randomly moving point particles. The essence of ideal gas behavior is that the molecules of the gas do not interact except when they collide elastically. A substance is said to be an ideal gas [1, 2, 3].

(a) if it satisfies the following equation (mechanical equation of state):

$$ pV \, = \, nRT = \frac{m}{M}RT $$

where n is the (chemical) amount, m is the mass, M is the molar mass of the substance, p is the pressure, V is the volume, T is the temperature, and R is the “universal” gas constant, respectively, (b) for a single-component ideal gas the molar internal energy (u) is a function only of the temperature (and inversely), i.e.,

$$ u = u\left( T \right) $$

(c) and the Helmholtz potential (or Helmholtz free energy) F(T, V, n 1, n 2,…,n m ) of a multicomponent ideal gas is additive over the components:

$$ F\left( {T, V, n_{1} , n_{2}, \ldots ,n_{m} } \right) = F\left( {T, V, n_{1} } \right) + F\left( {T, V, n_{2} } \right) + \cdots + F\left( {T, V, n_{m} } \right) $$

(The latter relationship is sometimes referred to as “Gibbs’s theorem”).

In the IUPAC Gold Book [4] the ideal gas is defined as follows:

Ideal gas. Gas which obeys the equation of state pV = nRT (the ideal gas law; p is the pressure, V the volume, n the amount of molecules, R the gas constant and T the thermodynamic temperature). For an ideal gas the fugacity, f, of each constituent B is equal to its partial pressure, p B, f B = p B = x B·p, where x B is the amount fraction of B”.

In many textbooks the ideal gas is defined as a gas whose particles don’t have any volume of their own and as a gas where no interactions between the particles occur (that is, there are no intermolecular potential energies). On the other hand each of these particles has a mass, that is, the molecules are point particles.

A “simple ideal gas” is characterized by the two equations pV = nRT and U = cnRT where c is a constant and U is the internal energy [1].

Fundamental relations for the ideal gas

The compact form of the entropy fundamental relation (fundamental equation, fundamental function) of a “simple” ideal gas can be given as [see Ref. [1], p. 68, Eq. 3.34, or “Appendix 1”, Eq. (59)].

$$ S = ns_{0} + nR\ln \left[ {\left( {\frac{U}{{U_{0} }}} \right)^{c} \left( {\frac{V}{{V_{0} }}} \right)\left( {\frac{n}{{n_{0} }}} \right)^{ - (c + 1)} } \right] $$
(1)

In Eq. (1) S is the entropy, U is the internal energy, V is the volume of the system, n is the chemical amount of substance of the gas (1 component), respectively, c is a constant (“monatomic ideal gases” have a value of c = 3/2), R is the “universal gas constant”, U 0, n 0 and V 0 are the parameters of a fixed reference state, and

$$ s_{0} = ({{S_{0} } \mathord{\left/ {\vphantom {{S_{0} } {n_{0} }}} \right. \kern-0pt} {n_{0} }}) = (c + 1)R - ({\mu \mathord{\left/ {\vphantom {\mu T}} \right. \kern-0pt} T})_{0} . $$
(2)

In Eq. (2) (µ/T)0 is an undetermined integration constant (see “Appendix 1”). If the integration constant is known, then Eq. (1) contains all possible thermodynamic information about a simple ideal gas. Thus, for the special case of an ideal monatomic gas we can write:

$$ S(U,V,n) = \frac{n}{{n_{0} }}S_{0} + nR\ln \left[ {\left( {\frac{U}{{U_{0} }}} \right)^{{\frac{3}{2}}} \left( {\frac{V}{{V_{0} }}} \right)\left( {\frac{n}{{n_{0} }}} \right)^{{ - \frac{5}{2}}} } \right] $$
(3)

or

$$ U\left( {S,V,n} \right) = U_{0} \left( {\frac{n}{{n_{0} }}} \right)^{{\frac{5}{3}}} \left( {\frac{{V_{0} }}{V}} \right)^{{\frac{2}{3}}} \exp \left[ {\frac{2}{3R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] = nU_{0} \left( {\frac{n}{V}} \right)^{{\frac{2}{3}}} \,\frac{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}\exp \left[ {\frac{2}{3R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right]. $$
(4)

The function U(S, V, n) given is Eq. (4) can be called the fundamental function of the internal energy of the ideal gas with the entropy S, the chemical amount n, and the volume V as the respective fundamental variables. This function is probably the simplest example of a fundamental function (fundamental relation) in thermodynamics which can be given in an explicit form. On the other hand, this function offers the opportunity to study and demonstrate the application of important mathematical concepts (e.g., the theory of homogeneous functions and partly homogeneous functions, Euler’s theorem, and the Legendre transformation [5, 6]) to real thermodynamic problems.

For instance multiplying all independent variables of the function U simultaneously by the same factor k > 0 we obtain:

$$ \begin{aligned} U\left( {k{\kern 1pt} S,k{\kern 1pt} V,k{\kern 1pt} n} \right) = knU_{0} \left( {\frac{{k{\kern 1pt} n}}{{k{\kern 1pt} V}}} \right)^{{\frac{2}{3}}}\, \frac{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}\exp \left[ {\frac{2}{3R}\left( {\frac{{k{\kern 1pt} S}}{{k{\kern 1pt} n}} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] \hfill \\ = knU_{0} \left( {\frac{n}{V}} \right)^{{\frac{2}{3}}} \,\frac{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}\exp \left[ {\frac{2}{3R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] = kU(S,V,n) . \\ \end{aligned} $$
(5)

This means that the internal energy function is a homogeneous function of degree one with respect to all extensive variables (see “Appendix 2”, [6]), i.e., the following equation must be valid as a mathematical consequence (see Euler’s theorem for homogeneous functions in “Appendix 3”, [5, 6]):

$$ U\left( {S,V,n} \right) = \left( {\frac{\partial U}{\partial S}} \right)_{V,n} S + \left( {\frac{\partial U}{\partial V}} \right)_{S,n} V + \left( {\frac{\partial U}{\partial n}} \right)_{S,V} n = TS - pV + \mu n. $$
(6)

In Eq. (6) T is the temperature, p is the pressure and µ is called the chemical potential.

On the other hand:

$$ {\text{d}}U = \left( {\frac{\partial U}{\partial S}} \right)_{V,n} {\text{d}}S + \left( {\frac{\partial U}{\partial V}} \right)_{S,n} {\text{d}}V + \left( {\frac{\partial U}{\partial n}} \right)_{S,V} {\text{d}}n = T{\text{d}}S - p{\text{d}}V + \mu {\text{d}}n. $$
(7)

The partial derivatives of U are:

$$ \left( {\frac{\partial U}{\partial V}} \right)_{S,n} = - \frac{2}{3}U_{0} \left( {\frac{n}{V}} \right)^{{\frac{5}{3}}}\, \frac{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}\exp \left[ {\frac{2}{3R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] = - p(S,V,n) $$
(8)
$$ \left( {\frac{\partial U}{\partial S}} \right)_{V,n} = \frac{2}{3R}U_{0} \left( {\frac{n}{V}} \right)^{{\frac{2}{3}}}\, \frac{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}\exp \left[ {\frac{2}{3R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] = T(S,V,n) $$
(9)
$$ \begin{aligned} \left( {\frac{\partial U}{\partial n}} \right)_{S,V}& = \left[ {\frac{5}{3}\left( {\frac{n}{V}} \right)^{{\frac{2}{3}}} - \frac{2}{3R}\left( {\frac{S}{n}} \right)\left( {\frac{n}{V}} \right)^{{\frac{2}{3}}} } \right]n_{0}^{{{{ - 5} \mathord{\left/ {\vphantom {{ - 5} 3}} \right. \kern-0pt} 3}}} U_{0} V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} \exp \left[ {\frac{2}{3R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] \hfill \\ &= \left( {\frac{n}{V}} \right)^{{\frac{2}{3}}} \left[ {\frac{5}{3} - \frac{2}{3R}\left( {\frac{S}{n}} \right)} \right]n_{0}^{{{{ - 5} \mathord{\left/ {\vphantom {{ - 5} 3}} \right. \kern-0pt} 3}}} U_{0} V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} \exp \left[ {\frac{2}{3R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] = \mu (S,V,n) . \\ \end{aligned} $$
(10)

It can be seen that p(S, V, n), T(S, V, n), and µ(S, V, n) are homogeneous functions of degree 0, since:

$$ p(k{\kern 1pt} S,k{\kern 1pt} V,k{\kern 1pt} n) = \frac{2}{3}U_{0} \left( {\frac{kn}{kV}} \right)^{{\frac{5}{3}}}\, \frac{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}\exp \left[ {\frac{2}{3R}\left( {\frac{kS}{kn} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] = p(S,V,n) $$
(11a)
$$ T(kS,kV,kn) = \frac{2}{3R}U_{0} \left( {\frac{{k{\kern 1pt} n}}{kV}} \right)^{{\frac{2}{3}}}\, \frac{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}\exp \left[ {\frac{2}{3R}\left( {\frac{{k{\kern 1pt} S}}{{k{\kern 1pt} n}} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] = T(S,V,n) $$
(11b)
$$ \mu (k{\kern 1pt} S,k{\kern 1pt} V,k{\kern 1pt} n) = \left( {\frac{kn}{kV}} \right)^{{\frac{2}{3}}} \left[ {\frac{5}{3} - \frac{2}{3R}\left( {\frac{kS}{kn}} \right)} \right]\,n_{0}^{{{{ - 5} \mathord{\left/ {\vphantom {{ - 5} 3}} \right. \kern-0pt} 3}}} U_{0} V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} \exp \left[ {\frac{2}{3R}\left( {\frac{kS}{kn} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] = \mu (S,V,n). $$
(11c)

Using Eqs. (6), (8), (9) and (10) it can be shown explicitly that U is a homogeneous function of degree 1:

$$ \begin{aligned} U\left( {S,V,n} \right) &= \left( {\frac{{\partial U}}{{\partial S}}} \right)_{{V,n}} S + \left( {\frac{{\partial U}}{{\partial V}}} \right)_{{S,n}} V + \left( {\frac{{\partial U}}{{\partial n}}} \right)_{{S,V}} n \\ \quad &= \frac{2}{{3R}}U_{0} \left( {\frac{n}{V}} \right)^{{\frac{2}{3}}} \,\frac{{V_{0} ^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-\nulldelimiterspace} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-\nulldelimiterspace} 3}}} }}\exp \left[ {\frac{2}{{3R}}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right]S - \frac{2}{3}U_{0} \left( {\frac{n}{V}} \right)^{{\frac{5}{3}}}\, \frac{{V_{0} ^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-\nulldelimiterspace} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-\nulldelimiterspace} 3}}} }}\exp \left[ {\frac{2}{{3R}}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right]\,V \\ & \quad + \left[ {\frac{5}{3}\left( {\frac{n}{V}} \right)^{{\frac{2}{3}}} - \frac{2}{{3R}}\left( {\frac{S}{n}} \right)\left( {\frac{n}{V}} \right)^{{\frac{2}{3}}} } \right]\,U_{0} \frac{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-\nulldelimiterspace} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-\nulldelimiterspace} 3}}} }}\exp \left[ {\frac{2}{{3R}}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right]\,n \\ &= U_{0} \left( {\frac{{V_{0} }}{V}} \right)^{{\frac{2}{3}}} \left( {\frac{n}{{n_{0} }}} \right)^{{\frac{5}{3}}} \exp \left[ {\frac{2}{{3R}}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] = nU_{0} \left( {\frac{n}{V}} \right)^{{\frac{2}{3}}}\, \frac{{V_{0} ^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-\nulldelimiterspace} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-\nulldelimiterspace} 3}}} }}\exp \left[ {\frac{2}{{3R}}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] . \end{aligned} $$
(6a)

Equation (7) can also be written in the explicit form as:

$$ \begin{aligned} & {\text{d}}U = \left( {\frac{{\partial U}}{{\partial S}}} \right)_{{V,n}} {\text{d}}S + \left( {\frac{{\partial U}}{{\partial V}}} \right)_{{S,n}} {\text{d}}V + \left( {\frac{{\partial U}}{{\partial n}}} \right)_{{S,V}} {\text{d}}n = T{\text{d}}S - p{\text{d}}V + \mu {\text{d}}n \\ & = \frac{2}{{3R}}U_{0} \left( {\frac{n}{V}} \right)^{{\frac{2}{3}}}\, \frac{{V_{0} ^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-\nulldelimiterspace} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-\nulldelimiterspace} 3}}} }}\exp \left[ {\frac{2}{{3R}}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right]\;{\text{d}}S - \frac{2}{3}U_{0} \left( {\frac{n}{V}} \right)^{{\frac{5}{3}}}\, \frac{{V_{0} ^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-\nulldelimiterspace} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-\nulldelimiterspace} 3}}} }}\exp \left[ {\frac{2}{{3R}}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right]{\text{d}}V \\ &\qquad + \left[ {\frac{5}{3}\left( {\frac{n}{V}} \right)^{{\frac{2}{3}}} - \frac{2}{{3R}}\left( {\frac{S}{n}} \right)\left( {\frac{n}{V}} \right)^{{\frac{2}{3}}} } \right]n_{0}^{{{{ - 5} \mathord{\left/ {\vphantom {{ - 5} 3}} \right. \kern-\nulldelimiterspace} 3}}} U_{0} V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-\nulldelimiterspace} 3}}} \exp \left[ {\frac{2}{{3R}}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right]\,{\text{d}}n \\ \end{aligned}. $$
(7a)

Equations (8)–(10) enable one to construct the equations of state of the ideal gas, that is:

$$ p \cdot V = \frac{2}{3}U_{0} \left( {\frac{n}{V}} \right)^{{\frac{5}{3}}}\, \frac{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}\exp \left[ {\frac{2}{3R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] \cdot V = \frac{2}{3}U_{0} \left( {\frac{n}{{n_{0} }}} \right)^{{\frac{5}{3}}} \left( {\frac{{V_{0} }}{V}} \right)^{{\frac{2}{3}}} \exp \left[ {\frac{2}{3R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] , $$
(12)

on the other hand

$$ n \cdot R \cdot T = nR\frac{2}{3R}U_{0} \left( {\frac{n}{V}} \right)^{{\frac{2}{3}}}\, \frac{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}\exp \left[ {\frac{2}{3R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] , $$
(13)

consequently,

$$ p \cdot V = n \cdot R \cdot T . $$
(14)

By comparing Eqs. (4) and (9) we can clearly see that:

$$ U = \frac{3}{2}n \cdot R \cdot T . $$
(15)

Similarly, in the reference state \( p_{0} = \frac{2}{3}\frac{{U_{0} }}{{V_{0} }} \), \( T_{0} = \frac{2}{3R}\frac{{U_{0} }}{{n_{0} }} \), therefore

$$ p_{0} \cdot V_{0} = n_{0} \cdot R \cdot T_{0} . $$
(14a)

and

$$ U_{0} = \frac{3}{2}n_{0} \cdot R \cdot T_{0} . $$
(15a)

Legendre transforms of the internal energy function

We consider now the Legendre transforms of U(S, V, n) with respect to some extensive variables. These new functions are called thermodynamic potential functions (or thermodynamic potentials): (a) the “free energy function”, “Helmholtz free energy function” or “Helmholtz potential”, F, is the Legendre transform of U with respect to S, it is defined as:

$$ F^{ } =^{ } U - TS $$
(16a)

(b) the enthalpy function, H, is the Legendre transform of U with respect to V, it is similarly defined as:

$$ H^{ } =^{ } U^{ } +^{ } pV $$
(16b)

(c) the “Gibbs free energy function”, “free enthalpy function”, or “Gibbs potential”, G, defined as the Legendre transform of the internal energy U with respect to the entropy S and the volume V:

$$ G^{ } =^{ } U - TS^{ } +^{ } pV $$
(16c)

(d) the “grand potential function”, “Landau free energy function”, “Kramers energy function” or “Landau potential”, Φ, defined as the Legendre transform of the internal energy U function with respect to the entropy S and the chemical amount n:

$$ \varPhi^{ } =^{ } U - TS - \mu n^{ } $$
(16d)

The Helmholtz free energy function of an ideal monatomic gas

The Helmholtz potential or the Helmholtz free energy, is the partial Legendre transform (see [5, 6], and “Appendix 4”) of U that replaces the entropy by the temperature as the independent variable. The internationally adopted symbol for the Helmholtz potential is F. The natural variables of the Helmholtz potential of the ideal gas are T, V, and n. That is, the functional relation F(TVn) constitutes a fundamental relation.

The Legendre transformation of U

$$ F = U - TS $$

(see Eq. 16a) can be carried out as follows: The T(S, V, n) function can be inverted, i.e., from Eq. (9):

$$ S = S(T,V,n) = n\frac{3R}{2}\ln \left[ {\frac{3RT}{{2U_{0} }}\left( {\frac{n}{V}} \right)^{{ - \frac{2}{3}}} \,\frac{{V_{0}^{{{{ - 2} \mathord{\left/ {\vphantom {{ - 2} 3}} \right. \kern-0pt} 3}}} }}{{n_{0}^{{ - {5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}} \right] + n\frac{{S_{0} }}{{n_{0} }} $$
(17)

By using Eqs. (4) and (16a), the Legendre transform of U with respect to S can be written as:

$$ \begin{aligned} F(T,V,n) = U - TS & \ = \ nU_{0} \left( {\frac{n}{V}} \right)^{{\frac{2}{3}}}\, \frac{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}\exp \left[ {\frac{2}{3R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] - TS \hfill \\ & \ = \ nU_{0} \left( {\frac{n}{V}} \right)^{{\frac{2}{3}}}\, \frac{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}\exp \left[ {\frac{2}{3R}\left( {\frac{{n\frac{3R}{2}\ln \left[ {\frac{{3RT}}{{2U_{0} }}\left( {\frac{n}{V}} \right)^{{ - \frac{2}{3}}}\, \frac{{V_{0}^{{{{ - 2} \mathord{\left/ {\vphantom {{ - 2} 3}} \right. \kern-0pt} 3}}} }}{{n_{0}^{{ - {5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}} \right] + n\frac{{S_{0} }}{{n_{0} }}}}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] \hfill \\ &\quad - T\left( {n\frac{3R}{2}\ln \left[ {\frac{{3RT}}{{2U_{0} }}\left( {\frac{n}{V}} \right)^{{ - \frac{2}{3}}}\, \frac{{V_{0}^{{{{ - 2} \mathord{\left/ {\vphantom {{ - 2} 3}} \right. \kern-0pt} 3}}} }}{{n_{0}^{{ - {5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}} \right] + n\frac{{S_{0} }}{{n_{0} }}} \right) \hfill \\ \end{aligned} $$
(18a)

Thus

$$ F\left( {T,V,n} \right) = \frac{3}{2}nRT\left( {1 - \frac{{2S_{0} }}{{3Rn_{0} }} - \ln \left[ {\frac{{3RT}}{{2U_{0} }}\left( {\frac{V}{n}} \right)^{{\frac{2}{3}}}\, \frac{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}} \right]} \right) $$
(18)

or by eliminating U 0 in Eq. (18) with the help of Eqs. (14a) and (15a):

$$ F\left( {T,V,n} \right) = \frac{3}{2}nRT\left( {1 - \frac{{2S_{0} }}{{3Rn_{0} }} - \ln \left[ {\frac{T}{{T_{0} }}\left( {\frac{V}{{V_{0} }}} \right)^{{\frac{2}{3}}} \left( {\frac{{n_{0} }}{n}} \right)^{{\frac{2}{3}}} } \right]} \right). $$
(18b)

It can be clearly seen that at constant temperature F(TVn) is a homogeneous function of degree one (see “Appendix 2”) in the variables V and n, since

$$ F\left( {T,kV,kn} \right) = \frac{3}{2}knRT\left( {1 - \frac{{2S_{0} }}{{3Rn_{0} }} - \ln \left[ {\frac{{3RT}}{{2U_{0} }}\left( {\frac{{kV}}{{kn}}} \right)^{{\frac{2}{3}}} \frac{{n_{0} ^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-\nulldelimiterspace} 3}}} }}{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-\nulldelimiterspace} 3}}} }}} \right]} \right) = kF\left( {T,V,n} \right) $$

More precisely: the function F(TVn) is partly homogeneous of degree one in terms of the variables V and n (“Appendix 2”).

We can note here that the chemical potential:

$$ \mu \left( {T,V,n} \right) = \left( {\frac{{\partial F}}{{\partial n}}} \right)_{{T,V}} = \frac{5}{2}RT - \frac{{TS_{0} }}{{n_{0} }} - \frac{3}{2}RT\ln \left[ {\frac{{3RT}}{{2U_{0} }}\left( {\frac{V}{n}} \right)^{{\frac{2}{3}}} \frac{{n_{0} ^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-\nulldelimiterspace} 3}}} }}{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-\nulldelimiterspace} 3}}} }}} \right] $$

can also be expressed as:

$$ \mu \left( {T,V,n} \right) = \left( {\frac{\partial F}{\partial n}} \right)_{T,V} = \frac{F}{n} + RT .$$

The enthalpy function of an ideal monatomic gas

The enthalpy function is the partial Legendre transform (see [5, 6] and “Appendix 4”) of U that replaces the volume by the pressure as the independent variable. The internationally adopted symbol for enthalpy is H. The natural variables of the enthalpy are S, p, and n, that is, H = H(Spn). The Legendre transformation of U.

$$ H = U + pV $$

(see Eq. 16b) can be carried out as follows:

From Eq. (8):

$$ V = V(S,p,n) = \left( {\frac{2}{3}} \right)^{{{3 \mathord{\left/ {\vphantom {3 5}} \right. \kern-0pt} 5}}} U_{0}^{{{3 \mathord{\left/ {\vphantom {3 5}} \right. \kern-0pt} 5}}} p^{{{{ - 3} \mathord{\left/ {\vphantom {{ - 3} 5}} \right. \kern-0pt} 5}}} \frac{n}{{n_{0} }}V_{0}^{{{2 \mathord{\left/ {\vphantom {2 5}} \right. \kern-0pt} 5}}} \cdot \exp \left[ {\frac{2}{3R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] . $$
(19)

By using Eqs. (4) and (19), the Legendre transform of U with respect to V can be written as:

$$ \begin{aligned} & H(S,\, p,\, n) = n^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} U_{0} \frac{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}\exp \left[ {\frac{2}{3R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] \hfill \\ &\quad \times \left( {\frac{2}{3}} \right)^{{{{ - 2} \mathord{\left/ {\vphantom {{ - 2} 5}} \right. \kern-0pt} 5}}} U_{0}^{{{{ - 2} \mathord{\left/ {\vphantom {{ - 2} 5}} \right. \kern-0pt} 5}}} p^{{{2 \mathord{\left/ {\vphantom {2 5}} \right. \kern-0pt} 5}}} \left( {\frac{n}{{n_{0} }}} \right)^{{{{ - 2} \mathord{\left/ {\vphantom {{ - 2} 3}} \right. \kern-0pt} 3}}} V_{0}^{{ - {4 \mathord{\left/ {\vphantom {4 {15}}} \right. \kern-0pt} {15}}}} \times \exp \left[ { - \frac{4}{15R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] \hfill \\ &\quad +\, p \cdot \left( {\frac{2}{3}} \right)^{{{3 \mathord{\left/ {\vphantom {3 5}} \right. \kern-0pt} 5}}} U_{0}^{{{3 \mathord{\left/ {\vphantom {3 5}} \right. \kern-0pt} 5}}} p^{{{{ - 3} \mathord{\left/ {\vphantom {{ - 3} 5}} \right. \kern-0pt} 5}}} \frac{n}{{n_{0} }}V_{0}^{{{2 \mathord{\left/ {\vphantom {2 5}} \right. \kern-0pt} 5}}} \cdot \exp \left[ {\frac{2}{5R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] \hfill \\ \end{aligned} $$
(20a)

Thus the enthalpy function the ideal monatomic gas can be given in the explicit form as.

$$ H(S,p,n) = \frac{5}{{2^{{{2 \mathord{\left/ {\vphantom {2 5}} \right. \kern-0pt} 5}}} \cdot 3^{{{3 \mathord{\left/ {\vphantom {3 5}} \right. \kern-0pt} 5}}} }}\frac{n}{{n_{0} }}U_{0}^{{{3 \mathord{\left/ {\vphantom {3 5}} \right. \kern-0pt} 5}}} p^{{{2 \mathord{\left/ {\vphantom {2 5}} \right. \kern-0pt} 5}}} V_{0}^{{{2 \mathord{\left/ {\vphantom {2 5}} \right. \kern-0pt} 5}}} \times \exp \left[ {\frac{2}{5R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] . $$
(20)

On the other hand:

$$ T(S,p,n) = \left( {\frac{\partial H}{\partial S}} \right)_{p,n} = \frac{{\left( {{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}} \right)^{{{3 \mathord{\left/ {\vphantom {3 5}} \right. \kern-0pt} 5}}} }}{{n_{0} R}}U_{0}^{{{3 \mathord{\left/ {\vphantom {3 5}} \right. \kern-0pt} 5}}} p^{{{2 \mathord{\left/ {\vphantom {2 5}} \right. \kern-0pt} 5}}} V_{0}^{{{2 \mathord{\left/ {\vphantom {2 5}} \right. \kern-0pt} 5}}} \cdot \exp \left[ {\frac{2}{5R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] . $$
(21)

By comparing Eqs. (20) and (21) we get

$$ H(S,p,n) = \frac{5}{2}nRT . $$
(22)

It can be noted that at constant pressure H(Spn) is a partly homogeneous function, i.e., a homogeneous function of degree one (see “Appendix 2”) in the variables V and n, since at constant p

$$ H(kS,p,kn) = \frac{5}{{2^{{{2 \mathord{\left/ {\vphantom {2 5}} \right. \kern-\nulldelimiterspace} 5}}} \cdot 3^{{{3 \mathord{\left/ {\vphantom {3 5}} \right. \kern-\nulldelimiterspace} 5}}} }}\frac{{kn}}{{n_{0} }}U_{0}^{{{3 \mathord{\left/ {\vphantom {3 5}} \right. \kern-\nulldelimiterspace} 5}}} p^{{{2 \mathord{\left/ {\vphantom {2 5}} \right. \kern-\nulldelimiterspace} 5}}} V_{0}^{{{2 \mathord{\left/ {\vphantom {2 5}} \right. \kern-\nulldelimiterspace} 5}}} \times \exp \left[ {\frac{2}{{5R}}\left( {\frac{{kS}}{{kn}} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] = kH(S,p,n) $$

The Gibbs free energy of an ideal monatomic gas

The “Gibbs free energy”, or Gibbs potential, is the (double) Legendre transform of the internal energy U with respect to the entropy S and the volume V (see Eq. 16c)

$$ G^{ } =^{ } U - TS^{ } +^{ } pV. $$

From Eqs. (8) and (9) we get:

$$ V\left( {T,\, p,\, n} \right) = \frac{{nRT}}{p} $$
(23)

and

$$ S\left( {T,p,n} \right) = \frac{3}{2}nR\ln \left[ {\frac{3}{{2U_{0} }} \cdot \frac{{\left( {n_{0} RT} \right)^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}{{\left( {pV_{0} } \right)^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}} \right] + \frac{{nS_{0} }}{{n_{0} }}. $$
(24)

Thus, by taking into account that V = V (Tpn) and S = S (Tpn):

$$ \begin{aligned} G\left( {T,p,n} \right)& = nU_{0} \left( {\frac{n}{V}} \right)^{{\frac{2}{3}}}\, \frac{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}\exp \left[ {\frac{2}{3R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] \hfill \\ &\quad - T\left( {\frac{3}{2}nR\ln \left[ {\frac{3}{{2U_{0} }} \cdot \frac{{\left( {n_{0} RT} \right)^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}{{\left( {pV_{0} } \right)^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}} \right] + \frac{{nS_{0} }}{{n_{0} }}} \right) + p\frac{nRT}{p} \hfill \\ &= \frac{5}{2}nRT\left( {1 - \frac{{2S_{0} }}{{5n_{0} R}} - \frac{3}{5}\ln \left[ {\frac{3}{2}\frac{{(n_{0} RT)^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}{{{\kern 1pt} U_{0} V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}p^{{ - {2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} } \right]} \right) \hfill \\ \end{aligned} $$
(25a)

that is

$$ G\left( {T,p,n} \right) = \frac{5}{2}nRT\left( {1 - \frac{{2S_{0} }}{{5n_{0} R}} - \frac{3}{5}\ln \left[ {\frac{3}{2}\frac{{(n_{0} RT)^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}{{{\kern 1pt} U_{0} V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}p^{{ - {2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} } \right]} \right) $$
(25)

or by taking into account Eqs. (14a) and (15a):

$$ G\left( {T, p, n} \right) = \frac{5}{2}nRT\left( {1 - \frac{{2S_{0} }}{{5n_{0} R}} - \frac{3}{5}\ln \left[ {\left( {\frac{T}{{T_{0} }}} \right)^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} \left( {\frac{{p_{0} }}{p}} \right)^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} } \right]} \right). $$
(25b)

Note, that there is apparently a small algebraic mistake in the relevant expression for G given in [7, p. 64].

Alternatively, the Gibbs free energy function can be obtained as:

$$ G^{ } =^{ } F^{ } +^{ } pV $$

or

$$ G^{ } =^{ } H - TS $$

In the first case, by using Eqs. (18), (23) and (24) we obtain that

$$ \begin{aligned} G\left( {T,p,n} \right) &= \frac{3}{2}nRT\left( {1 - \frac{{2S_{0} }}{{3Rn_{0} }} - \ln \left[ {\frac{{3RT}}{{2U_{0} }}\left( {\frac{V}{n}} \right)^{{\frac{2}{3}}} \frac{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}} \right]} \right) + pV \hfill \\ & = \frac{3}{2}nRT\left( {1 - \frac{{2S_{0} }}{{3Rn_{0} }} - \ln \left[ {\frac{{3RT}}{{2U_{0} }}\left( {\frac{{nRT}}{{n{\kern 1pt} p}}} \right)^{{\frac{2}{3}}} \frac{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}} \right]} \right) + p \cdot \frac{nRT}{p} \hfill \\ &= \frac{5}{2}nRT\left( {1 - \frac{{2S_{0} }}{{5n_{0} R}} - \frac{3}{5}\ln \left[ {\frac{3}{2}\frac{{(n_{0} RT)^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}{{{\kern 1pt} U_{0} V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}p^{{ - {2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} } \right]} \right), \hfill \\ \end{aligned} $$
(25c)

and in the second case we can obtain Eq. (25) from Eqs. (20), (23) and (24).

We note here that

$$ \begin{aligned} \mu (T,p,n) = \left( {\frac{\partial G(T,p,n)}{\partial n}} \right)_{T,p} \hfill \\ = \frac{5}{2}RT\left( {1 - \frac{{2S_{0} }}{{5n_{0} R}} - \frac{3}{5}\ln \left[ {\frac{3}{2}\frac{{(n_{0} RT)^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}{{{\kern 1pt} U_{0} V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}p^{{ - {2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} } \right]} \right) = \frac{G(T,p,n)}{n} \hfill \\ \end{aligned} $$
(26)

and µ is independent of n. The same conclusion also follows from the fact, that G (Tpn) is a homogeneous function of degree one with respect to n (see “Appendix 2”, especially Eq. (60); in order to be more precise: the function G is partly homogeneous of degree one in terms of the variable n):

$$ \begin{aligned} G(T,p,kn) &= \frac{5}{{2^{{{2 \mathord{\left/ {\vphantom {2 5}} \right. \kern-\nulldelimiterspace} 5}}} \cdot 3^{{{3 \mathord{\left/ {\vphantom {3 5}} \right. \kern-\nulldelimiterspace} 5}}} }}\frac{{kn}}{{n_{0} }}U_{0}^{{{3 \mathord{\left/ {\vphantom {3 5}} \right. \kern-\nulldelimiterspace} 5}}} p^{{{2 \mathord{\left/ {\vphantom {2 5}} \right. \kern-\nulldelimiterspace} 5}}} V_{0}^{{{2 \mathord{\left/ {\vphantom {2 5}} \right. \kern-\nulldelimiterspace} 5}}} \hfill \\ & \quad \times \exp \left[ {\frac{2}{{5R}}\left( {\frac{{kS}}{{kn}} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] - TS \hfill \\ & = \frac{5}{2}knRT\left( {1 - \frac{{2S_{0} }}{{5n_{0} R}} - \frac{3}{5}\ln \left[ {\frac{3}{2}\frac{{(n_{0} RT)^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-\nulldelimiterspace} 3}}} }}{{{\kern 1pt} U_{0} V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-\nulldelimiterspace} 3}}} }}p^{{ - {2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-\nulldelimiterspace} 3}}} } \right]} \right) = kG(T,p,n). \end{aligned} $$

The grand potential function of an ideal monatomic gas

The “grand potential function” is the (double) Legendre transform of the internal energy U with respect to the entropy S and the volume chemical amount n (see Eq. 16d)

$$ \varPhi^{ } =^{ } U - TS - \mu n^{ } .$$

From Eqs. (9) and (10) we get:

$$ n(T,V,\mu ) = \frac{V}{{V_{0} }}\left( {\frac{3}{2}} \right)^{{{3 \mathord{\left/ {\vphantom {3 2}} \right. \kern-\nulldelimiterspace} 2}}} n_{0} \left( {\frac{{n_{0} RT}}{{U_{0} }}} \right)^{{{3 \mathord{\left/ {\vphantom {3 2}} \right. \kern-\nulldelimiterspace} 2}}} \exp \left[ {\frac{\mu }{{RT}} + \frac{{S_{0} }}{{n_{0} R}} - \frac{5}{2}} \right] $$
(27)

and

$$ S(T,V,\mu ) = \frac{V}{{V_{0} }}\left( {\frac{3}{2}} \right)^{{{3 \mathord{\left/ {\vphantom {3 2}} \right. \kern-\nulldelimiterspace} 2}}} n_{0} \left( {\frac{{n_{0} RT}}{{U_{0} }}} \right)^{{{3 \mathord{\left/ {\vphantom {3 2}} \right. \kern-\nulldelimiterspace} 2}}} \left( {\frac{5}{2}R - \frac{\mu }{T}} \right)\times\exp \left[ {\frac{\mu }{{RT}} + \frac{{S_{0} }}{{n_{0} R}} - \frac{5}{2}} \right] . $$
(28)

The result of the double Legendre transformation of U (SVn) with respect to S and n is:

$$ \varPhi (T,V,\mu ) = - \frac{V}{{V_{0} }}\left( {\frac{3}{2}} \right)^{{{3 \mathord{\left/ {\vphantom {3 2}} \right. \kern-\nulldelimiterspace} 2}}} \frac{{\left( {n_{0} RT} \right)^{{{5 \mathord{\left/ {\vphantom {5 2}} \right. \kern-\nulldelimiterspace} 2}}} }}{{U_{0}^{{{3 \mathord{\left/ {\vphantom {3 2}} \right. \kern-\nulldelimiterspace} 2}}} }} \cdot \exp \left[ {\frac{\mu }{{RT}} + \frac{{S_{0} }}{{n_{0} R}} - \frac{5}{2}} \right] $$
(29)

We can easily prove that Φ (TVµ) is a homogeneous function of degree one with respect to V.

On the other hand, by introducing n (TVµ) and S (TVµ) [see Eqs. (27) and (28)] into Eq. (8), we find that the pressure p can be expressed as follows:

$$ p(T,V,\mu ) = \left( {\frac{3}{2}} \right)^{{{3 \mathord{\left/ {\vphantom {3 2}} \right. \kern-\nulldelimiterspace} 2}}} \frac{{\left( {n_{0} RT} \right)^{{{5 \mathord{\left/ {\vphantom {5 2}} \right. \kern-\nulldelimiterspace} 2}}} }}{{V_{0} U_{0}^{{{3 \mathord{\left/ {\vphantom {3 2}} \right. \kern-\nulldelimiterspace} 2}}} }} \cdot \exp \left[ {\frac{\mu }{{RT}} + \frac{{S_{0} }}{{n_{0} R}} - \frac{5}{2}} \right] $$
(30)

From Eqs. (29) and (30) we can also see that p is independent of V, and

$$ p(T,V,\mu ) = - \left( {\frac{\partial \varPhi (T,V,\mu )}{\partial V}} \right)_{T,p} = - \frac{\varPhi (T,V,\mu )}{V} . $$
(31)

We note here that functions like Φ (TVµ) are sometimes called “mechanical work functions”. In statistical mechanics, it is often referred to as “grand canonical potential”.

Other Legendre transforms of the U(SVn) function

Other possible Legendre transforms of the internal energy function U(SVn), which are used only infrequently and which consequently are unnamed, are:

$$ U(S,V,\mu ) = U - \mu n $$
(32)

and

$$ U(S,p,\mu ) = U - TS - \mu n . $$
(33)

It is to be remarked here, however, that in these cases the equations for the inversions appear to involve the variables to be solved for in an essentially non-algebraic way.

The “complete” Legendre transform of U(SVn) is U(Tpµ). The fact that U(SVn) is a homogeneous function of degree one with respect to all of its arguments causes this latter function to vanish identically. For:

$$ U(T,\,p,\,\mu ) = U - TS + pV - \mu n $$
(34)

which, by the Euler relation (see “Appendix 3”), is identically zero, i.e.,

$$ U(T,p,\mu ) \equiv 0 . $$
(35)

It should be stressed, however, that the above identity is valid only for homogeneous functions of degree one. For example, with \( f_{x} = \frac{\partial f}{\partial x} = e^{y} \), \( f_{y} = \frac{\partial f}{\partial y} = xe^{y} \), \( x = \frac{{f_{y} }}{{f_{x} }} \), and y = ln f x , respectively, the (double) Legendre transform of the function.

$$ f(x,y) = x \cdot e^{y} $$
(36)

can be expressed as:

$$ g(f_{x} ,f_{y} ) = \ \frac{{f_{y} }}{{f_{x} }} \cdot f_{x} - \frac{{f_{y} }}{{f_{x} }} \cdot f_{x} - f_{y} \ln f_{x} = - f_{y} \ln f_{x} \ne 0 . $$
(37)

Some notes concerning the derivatives of the thermodynamic potential functions

The temperature, pressure, and the chemical potential are partial derivatives of functions of S, V, and n and consequently are also functions of S, V and n. We thus have a set of functional relationships (see Eqs. 810):

$$ p = p(S,V,n) $$
(8a)
$$ T = T(S,V,n) $$
(9a)
$$ \mu = \mu (S,V,n) . $$
(10a)

The expressions for p, T and µ can be obtained from the other thermodynamic potential functions by partial derivation.

For example, the chemical potential functions can be derived from the thermodynamic potential functions by taking partial derivatives of the functions with respect to the chemical amount n, and can be written as:

$$ \mu (S,V,n) = \left( {\frac{\partial U}{\partial n}} \right)_{S,V} = \left( {\frac{n}{V}} \right)^{{\frac{2}{3}}} \left[ {\frac{5}{3} - \frac{2}{3R}\left( {\frac{S}{n}} \right)} \right]n_{0}^{{{{ - 5} \mathord{\left/ {\vphantom {{ - 5} 3}} \right. \kern-0pt} 3}}} U_{0} V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} \exp \left[ {\frac{2}{3R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] , $$
(38)
$$ \mu \left( {T,V,n} \right) = \left( {\frac{\partial F}{\partial n}} \right)_{T,V} = \frac{5}{2}RT - \frac{{TS_{0} }}{{n_{0} }} - \frac{3}{2}RT\ln \left[ {\frac{{3RT}}{{2U_{0} }}\left( {\frac{V}{n}} \right)^{{\frac{2}{3}}}\, \frac{{n_{0}^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}{{V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}} \right] , $$
(39)
$$ \mu \left( {S,p,n} \right) = \left( {\frac{\partial H}{\partial n}} \right)_{S,p} = \frac{5}{{2^{{{2 \mathord{\left/ {\vphantom {2 5}} \right. \kern-0pt} 5}}} \cdot 3^{{{3 \mathord{\left/ {\vphantom {3 5}} \right. \kern-0pt} 5}}} }}\left[ {1 - \frac{2}{5R}\left( {\frac{S}{n}} \right)} \right]\frac{{U_{0}^{{{3 \mathord{\left/ {\vphantom {3 5}} \right. \kern-0pt} 5}}} }}{{n_{0} }}p^{{{2 \mathord{\left/ {\vphantom {2 5}} \right. \kern-0pt} 5}}} V_{0}^{{{2 \mathord{\left/ {\vphantom {2 5}} \right. \kern-0pt} 5}}} \times \exp \left[ {\frac{2}{5R}\left( {\frac{S}{n} - \frac{{S_{0} }}{{n_{0} }}} \right)} \right] , $$
(40)
$$ \mu (T,p,n) = \left( {\frac{\partial G}{\partial n}} \right)_{T,p} = \frac{5}{2}RT - \frac{{TS_{0} }}{{n_{0} }} - \frac{5}{3}RT\ln \left[ {\frac{3}{2}\frac{{(n_{0} RT)^{{{5 \mathord{\left/ {\vphantom {5 3}} \right. \kern-0pt} 3}}} }}{{{\kern 1pt} U_{0} V_{0}^{{{2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} }}p^{{ - {2 \mathord{\left/ {\vphantom {2 3}} \right. \kern-0pt} 3}}} } \right] , $$
(41)

that is the chemical potential functions are defined by “different equations”.

On the other hand, it follows from the properties of fundamental relations that for a given set of the extensive variables (S 1, V 1, n 1), i.e., in a given state, the value of µ is unambiguously determined (together with the values of the other intensive variables). Consequently

$$ \mu \,(S_{1} ,V_{1} ,n_{1} ) = \mu \,(T_{1} ,V_{1} ,n_{1} ) = \mu \,(S_{1} ,p_{1} ,n_{1} ) = \mu \,(T_{1} ,p_{1} ,n_{1} ) . $$
(42)

This can be easily proved by substituting the relevant expressions of T and p into Eqs. (39)–(41). (It is obvious that equivalent relationships exist for the relevant T and p functions as well).

The above example show that there is a difference in meaning between a function f (x) and the value of the function at the point x, that is the “function” and the “function value” are two distinct concepts. In classical mathematics there has been no need to introduce separate symbols for those concepts. In certain branches of mathematics and in physics, however, this distinction becomes absolutely necessary [8]. A rigorous distinction may seem subtle in thermodynamics, but it is quite fundamental, because confusing the two concepts can lead to a number of errors and misinterpretations [9].

Concluding remarks

The fundamental functions in thermodynamics (U(S, V, n 1,…, n m , …) or S(U, V, n 1 ,…, n m,…)) are probably the most fundamental but not the most practical relations of thermodynamics. In many situations, the variables used in these expressions are not the ones controlled or measured in practice. For instance, we cannot measure the entropy (or the internal energy) directly, so that it must be calculated in terms of “measurable” (“controllable” or “laboratory”) variables, which are, e.g., temperature, pressure, volume, chemical amount, density, etc. It is well known that with the help of Legendre transformations, fundamental equations can be transformed with conservation of their fundamental nature, i.e., the property that they contain all information about the thermodynamic properties of the system. Nevertheless, some familiarity with basic mathematical concepts is necessary for the calculations.

The internal energy function of a simple ideal gas is probably the simplest example of a fundamental function (fundamental relation) which can be given in an explicit form. Due to its properties, this function can be effectively used to study and demonstrate the application of important mathematical concepts (e.g., the theory of homogeneous functions and partly homogeneous functions, Euler’s theorem, and the Legendre transformation) to real thermodynamic problems.