In a recent Note,1 Vallejo and Bove provide a physical argument based nominally on the second law of thermodynamics as a way of resolving the mathematical question appearing in the title. A remarkable aspect of their argument is that it does not depend on the numerical value of π, because exxe for all positive x, with equality occurring only when x = e. Moreover, their argument does not depend on the validity of the second law but is rather a limited proof of it for this particular case.

Their argument is based on a scenario in which an incompressible solid body A with constant heat capacity C at initial temperature T1=π in the units of some absolute temperature scale is placed in contact with an ideal reservoir B at initial temperature T2=e in the same units. The system evolves irreversibly to equilibrium at the temperature of the reservoir. In these units ΔSA=C(1lnπ) and ΔSB=C(π/e1), leading to an overall entropy change ΔS=C(π/elnπ). Invoking the second law ΔS>0 for an irreversible process, the authors obtain π>lnπe and thus eππe.

The argument appears to depend on the value of e through lne=1 as one of the steps in obtaining ΔSA (the more general case is discussed below) but does not make use of the numerical value of π, for example by determining the direction of heat flow through its relation with e. Thus, the argument and consequently the result must be independent of the value of π provided it is real and positive. This comment investigates this situation more fully.

Stepping back for a moment from the authors' specific choice of temperature scale but following the same arguments, the more general expression for the overall entropy change can be shown to be
(1)
where the first two terms represent ΔSA and the last two ΔSB. Letting T2/T1 equal x > 0 (both are absolute temperatures), we may rewrite this as
(2)
where the variable part can easily be shown to have a single minimum of zero occurring at x = 1, and a positive second derivative. This can be interpreted to imply that heat flow between two bodies at different temperatures is always accompanied by an increase in total entropy and is, in slightly different form, an argument commonly found in thermodynamics for entropy increase as an indicator of the direction of spontaneous change.2 In this particular case, the entropy change is positive quite independent of the direction of heat flow, that is, of whether the reservoir is hotter or cooler than the body.
The choice by the authors of the rather special unit system in which T2=e allows Eq. (1) to be rewritten in the form
(3)
because the second term in Eq. (1), which equals 1 in these units, cancels with the fourth term, which is equal to 1 in any units. As a restriction of Eq. (1) to a particular unit scale, Eq. (3) inherits its qualitative behavior and is 0 for all values of T1, whether greater than or less than e. The case T1=π is a rather arbitrary special case. Vallejo and Bove note the more general inequality in their Eq. (7).
While the above arguments show that the numerical value of π is not important in this case, the numerical value of Euler's number e is critical, as the function f(x)=axxa is uniformly non-negative over (0,) only for a = e. For a > 1, f(x) has in general two roots and is negative between them, while for 0<a1 there is only one root, lying in the same interval, and approaching zero from above as a0. The solutions to f(x) = 0 take the form
(4)
where W is the Lambert W-function. The behavior of the roots of f(x) is a consequence of the two-valued nature of W(x) over 1/e<x<0. In this region, the branch with values greater than −1 is known as the principal branch and typically denoted W0(x), while the secondary (lower) branch is usually denoted W1(x).3,4 Figure 1 shows the dependence on a of the roots of f(x) in the vicinity of a = e.
Fig. 1.

Roots of f(x)=axxa showing the branches originating from W0(x) and W1(x). The branches coincide at a = e.

Fig. 1.

Roots of f(x)=axxa showing the branches originating from W0(x) and W1(x). The branches coincide at a = e.

Close modal

Following on from the arguments of Vallejo and Bove, Eq. (2), when coupled with the second law, might be taken as a “proof” that 11/x is a lower bound for ln(x), as is well known. However, the inequality follows straightforwardly from the analytical properties of the function, and the second law need never be invoked. Rather, the inequality acts as a demonstration that the second law is valid for this model system.

Interest in thermodynamic “proofs” of mathematical inequalities appears to have begun with Landsberg's short, citation-free article applying the first and second laws to n identical heat reservoirs initially at different temperatures to affirm the inequality between the arithmetic and geometric means.5 As noted in a brief historical article by Deakin,6 however, the argument dates back to P. G. Tait in 1868,7 and was used as an exercise in Sommerfeld's book on thermodynamics and statistical mechanics;8 by 1980, Landsberg had become aware of Sommerfeld's work.9 A collection by Tykodi of similar inequalities supported by model systems was published in this journal in 1996,10 and a demonstration by Plastino et al. of thermodynamic support for Jensen's inequality, of which the inequality of the arithmetic and geometric means is a consequence, was published the following year.11 Over time, the framing of these examples has shifted, noting that they are not strictly “proofs”6 and are more correctly characterized as demonstrating mathematical inequalities.10 

A recent article in this journal by Johal12 returns to the source from which Tait built his original observation, namely a paper by William Thomson (Lord Kelvin) on the extraction of all available work from an unequally heated space by means of a heat engine.13 Tait updated and discretized Thomson's result to determine that for a set of identical masses, the final temperature after such a process is the geometric mean of their initial temperatures, while the temperature achieved by thermal equilibration is the higher arithmetic mean.7 Limiting consideration to two masses for simplicity, Johal notes that a more edifying interpretation of the thermalization process can be obtained by dividing it into two steps: a reversible one in which all available work is extracted until the bodies are at the same temperature (the geometric mean of their original temperatures), and a second one in which the same quantity of energy is returned as heat and the bodies are warmed to the arithmetic mean of their original temperatures. The input of heat in this second step is a useful pedagogical illustration that the final entropy of the system must be higher in accordance with the second law. Similar arguments were made previously by Pyun14 and Leff.15 All such arguments depend on the positivity of the heat capacity of material bodies, which may not be universally valid.16 An additional point made by Leff and worth reiterating here is that although the second law in the form of entropy increase is demonstrated rather than assumed by Vallejo and Bove, it is a central requirement of their example that temperature equilibration—one of the observed macroscopic phenomena leading to the invention of the entropy concept—takes place.

The author states that there is no conflict of interest to be disclosed.

1.
Andrés
Vallejo
and
Italo
Bove
, “
Which is greater: eπ or πe? An unorthodox physical solution to a classic puzzle
,”
Am. J. Phys.
92
(
5
),
397
398
(
2024
).
2.
Donald A.
McQuarrie
and
John D.
Simon
,
Physical Chemistry: A Molecular Approach
(
University Science Books
,
Sausalito, CA
,
1997
), p.
826
.
3.
Eric W.
Weisstein
, see https://mathworld.wolfram.com/ for “
Lambert W-Function, Copyright 1999-2023 Wolfram Research, Inc
.” (accessed May 30, 2024).
4.
R. M.
Corless
,
G. H.
Gonnet
,
D. E. G.
Hare
,
D. J.
Jeffrey
, and
D. E.
Knuth
, “
On the Lambert W function
,”
Adv. Comput. Math.
5
(
1
),
329
359
(
1996
).
5.
P. T.
Landsberg
, “
A thermodynamic proof of the inequality between arithmetic and geometric mean
,”
Phys. Lett. A
67
(
1
),
1
(
1978
).
6.
Michael A. B.
Deakin
, “
Thermodynamic proofs and their history
,”
Math. Gazette
83
,
92
94
(
1999
).
7.
P. G.
Tait
, “
Physical proof that the geometric mean of any number of quantities is less than the arithmetic mean
,”
Proc. R. Soc. Edinburgh
6
,
309
(
1869
); Reprinted in Scientific Papers, Vol. 1 (1898), p. 8.
8.
A.
Sommerfeld
,
Thermodynamics and Statistical Mechanics (Trans. J. Kestin)
(
Academic Press
,
New York
,
1964
); German original 1952.
9.
P. T.
Landsberg
, “
A generalized mean
,”
J. Math. Anal. Appl.
76
(
1
),
209
212
(
1980
).
10.
R. J.
Tykodi
, “
Using model systems to demonstrate instances of mathematical inequalities
,”
Am. J. Phys.
64
(
5
),
644
648
(
1996
).
11.
A. R.
Plastino
,
A.
Plastino
, and
H. G.
Miller
, “
Thermodynamic paths to Jensen's inequality
,”
Am. J. Phys.
65
(
11
),
1102
1105
(
1997
).
12.
Ramandeep S.
Johal
, “
The law of entropy increase for bodies in mutual thermal contact
,”
Am. J. Phys.
91
(
1
),
79
80
(
2023
).
13.
William
Thomson
, “
XVII. On the restoration of mechanical energy from an unequally heated space
,”
Philos. Mag. Ser. 1
5
(
30
),
102
105
(
1853
).
14.
Chong Wha
Pyun
, “
Generalized means: Properties and applications
,”
Am. J. Phys.
42
(
10
),
896
901
(
1974
).
15.
Harvey S.
Leff
, “
Multisystem temperature equilibration and the second law
,”
Am. J. Phys.
45
(
3
),
252
254
(
1977
).
16.
Emil
Roduner
, “
What is heat? Can heat capacities be negative?
,”
Entropy
25
(
3
),
530
(
2023
).