1. Introduction
Thermodynamics is one of the most mature and successful theories in physical science. Its principles govern phenomena across an extraordinary range of systems and scales, from macroscopic energy conversion devices and chemical reactors to multicomponent transport, biological processes, and, increasingly, nanoscale and quantum technologies. Yet, despite more than two centuries of development and application, the elementary foundations of thermodynamics continue to invite scrutiny, reinterpretation, and reformulation.
This sustained foundational activity is not accidental. Classical thermodynamics was historically shaped to describe macroscopic systems in stable equilibrium, guided by phenomenological observations and practical engineering needs [
1,
2,
3,
4]. As a result, many traditional formulations incorporate, often implicitly, assumptions of extensivity and scale separation that are valid only for systems with many particles. While these assumptions are extraordinarily effective in their domain of applicability, they are not intrinsic to thermodynamics itself and become increasingly restrictive as the theory is extended to nonequilibrium phenomena, multicomponent systems, and systems of arbitrary size.
Among the fundamental concepts of thermodynamics, entropy occupies a uniquely central position. It appears as a property of state, a criterion of equilibrium, a measure of irreversibility, and a generator of transport laws and variational principles. At the same time, its definition, operational meaning, and domain of validity are often taken for granted—particularly outside the realm of stable equilibrium. As a consequence, entropy is frequently invoked with different meanings in different contexts, sometimes without explicit acknowledgment of the modeling assumptions involved.
The present paper provides a modern exposition of the elementary foundations of thermodynamics, with particular emphasis on the definition and role of entropy for nonequilibrium states. The objective is not to replace existing formulations, but to clarify their logical structure, identify minimal assumptions, and articulate a coherent conceptual framework in which all thermodynamic concepts apply uniformly to systems of arbitrary size, particle number, and degree of disequilibrium, without reliance on extensivity or macroscopic idealizations.
In many traditional expositions, thermodynamics is introduced through the distinction between heat and work, often motivated by mechanical analogies or heuristic pictures of microscopic motion. Classic examples include the description of heat as energy associated with random molecular motion [
5,
6] or as that part of an energy change not attributable to work [
7]. While intuitively appealing, such descriptions conceal fundamental conceptual difficulties.
First, neither heat nor work is a property stored in a system; each is a mode of energy transfer between systems. Second, and more fundamentally, the very distinction between heat and work cannot be justified within mechanics alone. As emphasized by Hatsopoulos and Keenan [
8], without the second law of thermodynamics and the existence of entropy as a property of matter, heat and work would be indistinguishable. Any formulation that treats heat as a primitive concept therefore encounters logical circularities when entropy is later defined in terms of heat and temperature.
Several refinements of the traditional approach have been proposed. Heat has been defined as energy transfer driven by a temperature difference [
9], or as that part of an energy exchange not accounted for by mechanical work [
10]. These definitions are operationally effective in restricted settings, but they implicitly assume the existence of subsystems in stable equilibrium at the interfaces between interacting systems. As a result, they restrict the domain of validity of entropy from the outset, effectively confining it to equilibrium or local-equilibrium states.
This limitation becomes particularly problematic when thermodynamics is applied to nonequilibrium processes, multicomponent transport, or systems that depart significantly from macroscopic idealizations. In such contexts, the initial intuitive appeal of heat-based definitions gives way to ambiguity, and thermodynamics is sometimes perceived—incorrectly—as intrinsically vague or logically inconsistent.
An alternative route to the foundations of thermodynamics has been developed over several decades within the Keenan–Hatsopoulos tradition and further elaborated by Gyftopoulos, Beretta, and collaborators [
8,
11,
12,
13]. In this approach, thermodynamics is formulated as an autonomous physical theory, complementary to mechanics, based on carefully worded operational definitions of all the basic concepts, starting from system, state, property, and process.
Within this framework, energy is introduced as a consequence of the first law expressed as a postulate asserting the adiabatic interconnectability of all pair of states with fixed composition and constraints. From this postulate follows the principle of energy conservation and the additivity of energy. Entropy is introduced independently of heat, empirical temperature, and calorimetric constructions. The second law is expressed as a postulate asserting that any given state of a system with fixed composition and constraints and an admissible value of the energy can be adiabatically and reversibly interconnected to a stable equilibrium state. From this postulate follow, as consequences rather than assumptions, the principle of entropy nondecrease and the additivity of entropy.
A central conceptual shift inherent in this formulation is that entropy is a property of all states, not merely of stable equilibrium states. Stable equilibrium states are not the foundation of thermodynamics, but rather a distinguished subset of states characterized by extremal properties. Only for such states does entropy admit a fundamental equation whose derivatives define potentials such as temperature, pressure, and chemical potentials. Nonequilibrium states, by contrast, possess well-defined entropy values but no associated potentials—a distinction essential for both logical clarity and physical interpretation.
This perspective aligns with, while remaining distinct from, other axiomatic developments, including Carathéodory’s formulation [
14] and the order-theoretic approach of Lieb and Yngvason [
15,
16,
17,
18]. Across these approaches, a common insight emerges: entropy must be defined independently of heat if thermodynamics is to achieve full logical coherence and generality.
The first part of this paper is devoted to the careful formulation of operational definitions and fundamental postulates. These definitions are deliberately chosen so as not to rely on extensivity, macroscopic homogeneity, or large-system limits, and are therefore applicable without modification to systems with few particles as well as to macroscopic systems.
Building on this foundation, several key thermodynamic concepts—most notably adiabatic availability and available energy—are developed and illustrated using the energy–entropy diagram representation of nonequilibrium states introduced by our school of thermodynamics. This geometric representation treats equilibrium and nonequilibrium states on equal footing and provides direct insight into irreversibility, dissipation, and the limits of work extraction, independently of system size.
A substantial portion of the latter part of the paper is devoted to the analysis of entropy transfer in non-work interactions. This analysis leads to precise operational definitions of heat interactions and of more general heat-and-diffusion interactions, concepts that are essential for mesoscopic continuum theories of nonequilibrium behavior in simple and complex solids and fluids, including systems with internal structure and nonlocal effects. The formulation emphasizes entropy balance relations that remain valid beyond equilibrium and beyond macroscopic idealizations.
An important byproduct of this analysis is the derivation of Clausius inequalities and of the Clausius statement of the second law in forms explicitly extended to nonequilibrium processes.
A central point emphasized throughout this paper is not merely the applicability of thermodynamic concepts to small systems, but their universality: all concepts defined and employed here apply to all systems, independently of size, particle number, or degree of extensivity. No assumption of extensiveness is made at the foundational level. Properties such as entropy and energy are defined operationally for individual systems in individual states, rather than inferred from scaling arguments or ensemble limits. We purposely avoid to discuss here any instance or assumption of extensivity, because extensivity is not a prerequisite for thermodynamic reasoning, but a contingent feature of certain classes of systems and states that, using the terminology introduced in [
11] (Ch. 16), can be modeled under the “simple-system model” approximation, also known as macroscopic limit. This emphasis is increasingly relevant in the context of what is often termed nanothermodynamics [
19,
20,
21,
22,
23], where traditional macroscopic idealizations may fail, yet many thermodynamic results remain valid and indispensable.
The approach adopted here does not rely on statistical ensembles or fluctuation arguments. Instead, it emphasizes operational definitions and existence principles that hold for systems of arbitrary size, provided the states under consideration are appropriately defined (for example, as separable and uncorrelated). In this sense, the present treatment clarifies the thermodynamic content that underlies—and constrains—statistical and microscopic descriptions, rather than replacing them, as illustrated in the last part of the paper (from
Section 51 on).
This perspective also provides a coherent conceptual foundation for near-equilibrium theories, such as Onsager’s reciprocal relations and entropy production principles, as well as for ongoing efforts to extend thermodynamics to far-from-equilibrium phenomena.
Unlike some earlier developments—including our own work aimed at eliminating the notion of thermal reservoirs from the operational definition of entropy [
24]—the present exposition does make explicit use of the concept of a thermal reservoir, carefully defined and employed within a clearly delimited scope.
This choice is motivated by considerations of simplicity, transparency, and pedagogical effectiveness. When rigorously defined, thermal reservoirs provide an efficient operational tool for relating entropy changes to measurable energy exchanges in a broad class of processes. Their use in this paper represents a deliberate modeling choice rather than a claim of fundamental necessity, and its assumptions and limitations are made explicit throughout.
This paper also serves an explicitly pedagogical purpose. It is intended as a written companion to a graduate-level course on advanced thermodynamics developed over many years and recently made available through MIT OpenCourseWare [
25]. That course emphasizes precise thermodynamic language, explicit modeling assumptions, and a logically coherent progression from elementary definitions to advanced nonequilibrium and small-systems applications.
Accordingly, the exposition is structured so that subsets of the material can support instruction at different levels, while remaining fully consistent with applications in energy systems, environmental and climate engineering, separation processes, and coupled energy–mass–charge transport phenomena.
The guiding philosophy of this work is that many of the conceptual difficulties traditionally associated with thermodynamics are not intrinsic to the theory itself, but stem from historical choices in the order and manner in which its basic concepts are introduced. By revisiting these foundations with explicit attention to logical structure, operational meaning, and domain of validity, thermodynamics emerges as a coherent and universal physical theory—applicable without qualification to equilibrium and nonequilibrium states, to macroscopic and few-particle systems alike.
By formulating thermodynamics without assuming extensivity and by treating nonequilibrium states on the same conceptual footing as equilibrium states, the present work aims to clarify what is essential, what is contingent, and what is universal in the foundations of the theory.
In this paper, several results are stated without explicit proofs. Unless otherwise indicated, complete proofs are available in Ref. [
11]. Expressions such as
it follows that… or
it can be proved that… are used, without explicitly presenting the proof is a deliberate expedient intended to streamline the exposition, allowing emphasis on the structure of the arguments, the precise formulation of the concepts involved, and their range of applicability. The same choice has also proven effective in instructional settings, where it facilitates concentration on the essential conceptual content.
The logical rigor of the presentation rests on the existence of complete and detailed proofs supporting each assertion. Their availability ensures that the foundational framework employed here is sound, unambiguous, and applicable whenever the stated modeling assumptions and definitions are satisfied.
2. What Is Thermodynamics?
Thermodynamics has survived all major scientific revolutions and advances in physics, chemistry, and engineering. Far from being an obsolete discipline, it has experienced a renewed centrality in recent decades, driven in particular by the study of nonequilibrium phenomena and systems with few degrees of freedom. This resurgence stands in contrast with a period, not so long ago, during which thermodynamics was sometimes regarded as a closed or exhausted subject. Yet, despite its longevity and pervasive influence, a precise and universally accepted answer to the seemingly simple question—what is thermodynamics about?—remains surprisingly elusive. Even experts in the field often hold distinct, and evolving, personal definitions, and may find it difficult to articulate them unambiguously or to reconcile them with alternative viewpoints.
Nonetheless, it is useful to attempt a clear statement of perspective. From the present point of view,
applied thermodynamics may be regarded as the art of modeling the kinematics and dynamics of physical systems by selecting an appropriate level of description for a given application of interest, and by enforcing the general principles, rules, and constraints that such models must satisfy in order to provide a faithful representation of physical reality. The application of interest may arise in engineering, chemistry, physics, biology, or cosmology; the same logical structure can, in principle, be extended to other domains—such as economics or social systems—whenever a well-defined “plane of perceptions” in the sense of Margenau [
26] can be identified.
Foundational thermodynamics, by contrast, is concerned with the inverse problem: the extraction, distillation, and identification of the most general and unifying principles from the successes and failures of diverse modeling efforts aimed at rationalizing experimental observations. Its objective is not the construction of specific models, but the clarification of the structural constraints (such as the great conservation principles [
27]) that any admissible model of physical systems must satisfy, independently of scale, composition, or degree of disequilibrium.
In this sense, thermodynamics may be described as the science that studies the instantaneous condition of material systems and the evolution in time of such conditions, whether the evolution occurs spontaneously or as a result of interactions with other systems. Viewed from this perspective, thermodynamics constitutes a genuine extension—indeed, a generalization—of mechanics. The meaning and implications of this statement will become progressively clearer as the exposition unfolds, and will eventually acquire a direct geometric interpretation through the energy–entropy diagram representation introduced in
Section 33 and thereafter.
Given the breadth and generality of its scope, thermodynamics requires the unequivocal definition of a number of basic concepts upon which the theory is founded. Some of these concepts are inherited from mechanics and will be assumed known. Others—such as system, property, state, process, equilibrium, stable equilibrium, energy, entropy, temperature, and pressure—must be defined with particular care. In the present work, following [
11], these concepts are redefined not only to eliminate ambiguity, but also to extend their validity and operational meaning beyond the traditional confines of macroscopic, extensive systems and stable equilibrium.
3. The Loaded Meaning of the Word “System”
Matter is composed of particles, either free or bound together to form nuclei, atoms, molecules, ions, and other structures, as well as the electromagnetic field. Depending on the phenomenon to be described, it is appropriate to identify a model of reality that is as simple as possible, which limits itself to a level of simplified description that completely ignores aspects (of subatomic or submolecular structure, nuclear reactions, chemical reactions, radioactive decay, etc.) that, although potentially active in principle, have negligible effects on the study of the phenomenon of interest.
For example, if the effects of chemical reactions are not relevant, we can study the properties of water by assuming that the molecules are indivisible, or the properties of oxygen by assuming that the molecules are indivisible. The choice of the appropriate level of description and of the “indivisible constituents” are the first steps in defining what we call a “system.” However, in thermodynamics, in order to talk about a system, a precise condition regarding the forces acting on these indivisible constituents must also be satisfied. The condition is that none of the forces acting on the set of constituents of interest depends on the coordinates of other constituents external to the object of study and that none of the outcomes of measurements performed on the set of constituents of interest should be statistically correlated to the outcomes of measurements performed on external constituents. However, these forces can depend on geometric parameters (such as the shape of a container limiting the available space) or on fields generated by “static” sets of external constituents or control devices.
A “system” is, therefore, a set of constituents that is “separable” and “uncorrelated” from “external” constituents, defined by the following specifications: (a) the type or types of “constituents”, for example, water molecules, or a mixture of oxygen molecules and nitrogen molecules; (b) the “parameters” that characterize all external forces, i.e., constraints and forces exerted from the outside on the constituents, for example, specifications describing the geometric shape of a sealed container or the volume of the container itself, or an electric, magnetic, or gravitational field; (c) the nature of the “internal forces” between the constituents that are to be considered in the model, such as intermolecular forces or the condition that some or all chemical reactions within the system are inhibited; and (d) the nature of any “internal constraints” that characterize the interconnections between separate parts and define the internal structure of the model, such as a fixed or mobile wall that divides the volume available to the constituents into two partitions. Again, “external” constituents are those not included in the set under examination; “separable” refers to the condition that none of the external forces depends on the coordinates of external constituents; “uncorrelated” refers to the condition that no measurement done on the constituents of interest is statistically dependent on measurements done on external constituents. Anything external to the system and therefore excluded from it is called the “system’s environment” or simply the “environment.” In principle, the environment should represent a model of the “rest of the universe”; in practice, however, it is sufficient to adopt a simplified model that includes only those external constituents that effectively constrain and interact with the system’s constituents over the time interval of interest.
For a system consisting of
r different types of constituents, we indicate their amounts using the variables
where
stands for the number of units (molecules, atoms, or particles) of the
i-th constituent.
1The unit of measurement in the International System for the amount of a constituent is the “mole,” indicated by the symbol “mol” (sometimes also called the “gram-mole” and indicated by the symbol “gmol”), defined as the number of units (molecules, atoms, or particles) equal to Avogadro’s number, , and thus 1 mol (= 1 gmol) = particles. Of course, the International System prefixes for multiples are applicable. For example, for the kilomole, 1 kmol = mol.
The ratio between the mass and the amount of the i-th constituent, , is called the “molecular (or atomic) mass,” and is normally expressed in g/mol or kg/kmol.
Internal forces can be of various types. For example, a system that is typically studied in detail in introductory engineering courses consists only of molecules subject only to intermolecular internal forces and external forces that confine them to a region of space with volume V. Another standard example of a system consists of three species, , , and , subject, in addition to the intermolecular forces between all three types of molecules, to internal forces that control the chemical reaction mechanism .
For a system with constraints and external forces dependent on
s parameters, we indicate the parameters with the symbols
.
2 For example, the parameters can be the sides
,
,
, and the volume
of a parallelepiped-shaped region enclosed by walls (understood as impenetrable barriers) of a container that separates the constituents of the system from others that are external and therefore do not belong to it.
Other parameters can be provided by external force fields, such as the gravitational field , electric field , and magnetic field generated by stationary distributions of mass density , charge density , and current density outside the region of space occupied by the constituents of the system. Here, , , and represent the values of the fields that these distributions , , would generate in the region of space of the system in the absence of its constituents, with the understanding that outside this region, the distributions of electric and magnetic dipole or multipole moments are zero.
The principles we state in this paper and the results that follow are valid for both “macroscopic systems,” composed of large amounts of constituents (such as 1 kg of O or an entire thermal power plant), and “microscopic systems,” composed of small amounts of constituents (such as a single molecule of or a structureless point particle confined in a box). It is important to note that this observation is rarely acknowledged in thermodynamics textbooks, which immediately restrict their treatment to the simple-system model, in our opinion missing the opportunity to expose the universal aspects of thermodynamic theory and clarify its relations with mechanics.
It is worth noting that the given definition of a system, which generally coincides with the one adopted (although often only implicitly) in physics, is made rather restrictive by the conditions of statistical independence of measurement results and independence of external forces from coordinates of external objects. Therefore, not always does a material object or, better, a model of a material object constitute a well-defined system.
In particular, separability requires that the forces acting on the system’s constituents must all be either internal or external. For example, an electron can constitute a system if it is free or if it is immersed in an external electrostatic field but not if it is subject to interaction with other electrons in the bonding of a molecule or with the nucleus of an atom. The restriction is significant, and it will be well to keep it in mind because the principles we will state and the results that follow are only valid for well-defined systems, defined in the manner just described.
3In the case of constituents immersed in a gravitational field , electric field , or magnetic field , the independence of external forces from the coordinates of external objects, necessary for the system to be well-defined, is guaranteed only if these fields are generated by stationary distributions, i.e., time-invariant ones, of mass density , charge density , and current density that generate them, and if outside the volume of the system, the electric and magnetic dipole or multipole moments are zero.
4. The Loaded Meaning of the Word “Property”
The experimental method involves studying the behavior of a system subjected to “measurement procedures.” Each measurement procedure is associated with a “physical observable” representing the system’s response to the procedure. Each procedure leads to the determination of a result, generally expressible in numerical terms: the “value of the physical observable.”
An important subclass of physical observables is properties. A “property” P is defined by a measurement procedure that, when applied to a system at time t, provides a numerical result , the value of the property at that instant, which must be independent of details of the measurement devices, other systems in the environment, and instants of time different from t.
This definition is quite restrictive, and there are numerous examples of measurement procedures that do not satisfy it and therefore, while defining physical observables, do not define properties. For example, the distance traveled by a particular molecule in a given finite interval of time divided by the interval itself is not a property because the measurement procedure for its value necessarily depends on the results of two position measurements at different times. However, if the time interval is made to tend to zero, then the limit value depends only on the initial time, and the procedure defines a property well known in mechanics: velocity. Examples of procedures that satisfy the definition of a property just given are well-known measurement procedures in mechanics that define instantaneous position, instantaneous velocity, and instantaneous acceleration of a particular molecule of a constituent.
The procedure for counting the number of particles, atoms, or molecules of the i-th type present in the system at time t, defining the amount , satisfies the definition of a property and provides the value . The same applies to the measurement procedure for the volume available to the constituents of the system at time t, defining the parameter V of external forces, which satisfies the definition of a property and provides the value . The same holds for the other parameters of external forces.
5. What Exactly Do We Mean by “State” of a System?
To completely characterize a system at a given instant of time
t, one must specify how it responds to all possible measurement procedures it can undergo. Therefore, in particular, it is necessary to specify the values of all amounts of constituents, all parameters of external forces, and all other properties. This set of values, which is generally an infinite list of numbers, defines the “state” of the system at that instant,
where
denotes the state of system
A at time
t, and
,
, … represent the values at time
t of various properties. To say that the state of the system is known means that the values of all properties, amounts, and parameters are known.
4The definition of a state does not impose any restrictions on the number of properties that contribute to defining it. In general, this number is infinite even for the most elementary systems. For example, for a single material point confined to a given region of space, it is known from quantum mechanics that at least one property is defined for each geometric point in the space available: the probability that the material point is in that position following a position measurement. This infinite set of numerical values (one per point), which contributes to defining the state, can be represented, for a particular subclass of states, by the so-called “wave function.”
The fact that the list of values defining the state of a system at a given instant of time is infinite means that a given system admits a vast multitude of possible states. Two identical systems are in two different states if the values of at least one property are different for the two systems: the two infinite lists of values defining the states of the two identical systems differ in at least one of the corresponding values.
This great variety of states is rarely mentioned in thermodynamics textbooks, which immediately restrict their treatment to stable equilibrium states, thereby also missing the opportunity to clarify the relations between mechanics and thermodynamics and to extend the treatment to nonequilibrium states, which are by far the most numerous and also the most interesting in terms of applications, as we will see.
As noted in the Introduction, the profound significance of the laws of thermodynamics lies in their universal applicability across any level or framework of description chosen to model empirical reality. This holds provided the model possesses a fundamental mathematical structure and satisfies certain reasonable conditions—ensuring, for instance, that concepts like separability and statistical independence between the system and its surroundings are precisely defined.
Throughout two centuries of thermodynamic history, numerous frameworks have successfully modeled nonequilibrium phenomena. While these approaches vary significantly in their choice of independent properties defining the state space (in the sense of Equation (
1)), most share common geometrical features within their mathematical structures, as captured for example by the different iterations of the GENERIC (General Equation for the Non-Equilibrium Reversible-Irreversible Coupling) construction [
28,
29,
30] or variational formulations [
31,
32].
The choice of independent properties used to define a “state” is not merely a matter of mathematical convenience; it reflects the physical scale, the degree of rarefaction, and the distance from equilibrium under consideration. Although these frameworks differ significantly in their mathematical formalisms, a common thread emerges: most modern approaches represent the state through various forms of probability distributions. Whether describing the likelihood of microstates in phase space, the distribution of internal mesoscopic configurations, or the statistical populations and coherences encoded in a density operator, these probabilistic representations provide a bridge between microscopic fluctuations and macroscopic observables.
The following list provides a minimal summary of the typical sets of independent properties adopted for state description in several prominent frameworks. The comparison highlights how different theories prioritize either a finite set of macroscopic fields or a more elaborate distribution function in order to capture the relevant physics. To ground these abstract descriptions in a concrete application,
Section 51 presents an explicit example of a state formulation within the framework of quantum thermodynamics, illustrating how these principles manifest at the interface between information and energy.
Classical Statistical Mechanics [
7,
33]: Probability distributions (densities) over classical phase space, representing the possible microstates defined by the positions and momenta of all particles.
Quantum Statistical Mechanics [
34,
35]: Probability distributions over a set of pure quantum states, typically expressed in terms of the eigenvectors of the system’s Hamiltonian operator.
Information-Theoretic Thermodynamics [
36,
37]: Probability distributions over a discrete or continuous set of microstates or events, representing the observer’s uncertainty or informational description.
Stochastic Thermodynamics [
38,
39,
40]: Probability distributions over fluctuating trajectories and path-dependent variables (such as stochastic work and heat) that characterize the energetics of individual realizations.
Macroscopic Nonequilibrium Thermodynamics (CIT) [
41,
42,
43]: Local-equilibrium field variables—functions of position and time—representing the macroscopic properties of continuum parcels assumed to be in locally stable equilibrium states.
Gradient (Non-local) Thermodynamics [
44,
45,
46,
47]: A set of local field variables augmented by their spatial gradients, representing the state of non-uniform systems where the local energy density depends on the neighboring environment, such as in the description of diffuse interfaces and phase separation.
Continuum Mechanics [
48,
49,
50]: A finite set of local field variables, such as displacement, deformation gradient, and mass, momentum, and total energy densities, representing the macroscopic properties of continuum parcels under the local-equilibrium hypothesis.
Internal Variable Theories [
32,
51]: A finite set of local field variables supplemented by hidden or internal variables that describe the microstructural state of a material (e.g., in thermoelasticity), often derived via variational principles to ensure thermodynamic consistency.
Extended Nonequilibrium Thermodynamics (EIT) [
52]: A finite set of local field variables that includes classical densities augmented by dissipative fluxes (e.g., heat flux, viscous stress) treated as independent state variables in order to account for memory effects and finite signal propagation speeds away from equilibrium.
Mesoscopic Nonequilibrium Thermodynamics [
53,
54,
55]: Probability distributions over a set of local mesovariables describing internal configurations, such as the position of a Brownian particle, molecular orientation, cluster size, or degree of protein folding.
Rational Extended Thermodynamics (RET) [
56,
57]: A finite set of local fields representing moments of the velocity distribution function, such as mass, momentum, and energy densities, as well as higher-order moments including heat flux and momentum flux.
Small-Scale and Rarefied Gas Dynamics [
58,
59]: The local particle velocity distribution function, representing the probability of finding a molecule with a specified velocity at a given position and time, typically governed by the Boltzmann equation.
Chemical Kinetics [
60,
61,
62]: A set of bulk or local macroscopic variables, such as species concentrations and reaction coordinates, sufficient to describe the chemical evolution of a reactive mixture toward stable equilibrium.
Quantum Thermodynamics [
63,
64,
65]: The density operator, serving as a generalized probability distribution that represents both classical populations (probabilities) and quantum coherences.
Nanothermodynamics [
19,
20,
21,
22,
23]: Statistical distributions over a large number of independent, small-scale replicas of a system, where the state is defined by finite-size parameters and internal degrees of freedom that account for non-extensive energy contributions and fluctuations.
While connecting these ideas to the extensive literature on nonequilibrium thermodynamics is valuable, acknowledging the many pioneers of the various approaches—and summarizing the different attempts at unification, construction—would require a level of discussion beyond the scope of this paper. Rather than claiming exhaustiveness, the preceding list is intended to illustrate the broad range of state representations to which the general thermodynamic concepts developed in this work may apply.
This diverse landscape of state representations illustrates the remarkable versatility of nonequilibrium thermodynamics across different physical scales and modeling priorities. It is important to emphasize that the foundational approach presented in this work is intended to be compatible with, and applicable within, any of these specific frameworks. By providing a rigorous set of operational definitions—grounded in the first and second laws as they apply to well-defined (separable and uncorrelated) systems—our construction establishes a self-consistent logical basis that helps clarify the limits of applicability of the assumptions underlying any chosen set of state variables. In particular, this grounding makes explicit the conditions of separability and absence of correlations required for the valid application of the energy balance and the principle of entropy non-decrease, thereby reducing the risk of conceptual misinterpretations when analyzing complex or interacting composite systems whose components become correlated during interaction.
6. Time Evolution, Interactions, and the Concept of “Process”
The state of a system can evolve spontaneously, driven by its internal dynamics, or as a result of interactions with its environment. An isolated system, one that cannot interact with the environment and hence cannot cause any change in the environment’s state, can only undergo spontaneous evolutions. Non-isolated systems interact in various ways, resulting in the flow (or transfer or exchange) of certain properties from one system to another. This involves a decrease in the value of a property in one system, accompanied by a simultaneous increase in the same value in the other system. For example, during the interaction between two systems undergoing an elastic collision, there is a transfer of momentum and kinetic energy from one system to the other.
The equation that describes the evolution of the state of a system over time is called the
equation of motion of the system. To illustrate this, we can say that it will have a structure similar to
where the function
f depends on the nature of the system’s constituents. Given the function
f and the state
of system
A at time
, integration of the equation of motion allows us to calculate the state
of the system at any other instant in time, whether earlier (past) or later (future) than
.
5This problem, as formulated, poses an enormous mathematical complexity due, on the one hand, to the fact that the state is a mathematical object representing an infinity of numbers, and on the other hand, to the fact that for many systems and for the most important states in thermodynamics, the general equation of motion is still a subject of research. Thus, the chosen approach is necessarily different. We limit ourselves to verifying that the temporal evolution of the system’s state is consistent with the two main implications of the equation of motion, recognized as universally valid and therefore to be respected by all systems. These implications are initially expressed in a non-mathematical form as the statements of the first law and the second law of thermodynamics and are then translated into two relations that must always be satisfied: the energy and entropy balance equations. In practice, we give up the possibility of determining how the state changes over time by solving the system’s equation of motion and instead limit ourselves to determining how only the values of some main properties, defined for all states of all systems (amounts of constituents, energy, entropy), change over time.
In other words, the temporal evolution is characterized (in an incomplete way) by the following: (a) the description of the initial state and the final state of the system; (b) the description of the interactions that occur during the change of state, which cause the flow or exchange of certain properties between the system and its environment; and (c) verification that the change is compatible with the first law and the second law of thermodynamics, or with the main implications of the general equation of motion, including the principles of energy conservation and entropy non-decrease.
For simplicity, in the following, we use the notation to represent the state of system A at time instead of .
The first law and the second law of thermodynamics are stated as laws or principles, i.e., as unprovable postulates. However, as we have seen, in an approach that postulates a general equation of motion valid for all systems, these principles would emerge as theorems, consequences of the equation of motion. Therefore, it remains a fact that the laws (the principles) of thermodynamics express general consequences of the equation of motion, i.e., of the dynamics of all (well-defined) systems.
The descriptions of the initial state, the final state, and the effects caused by the interactions on the values of the main properties (amounts of constituents, energy, entropy) related to a given temporal evolution specify a
process (
Figure 1). Processes can be classified based on the effects they have on the system’s surroundings, i.e., changes in state induced by interactions with its environment. For example, a process is called
spontaneous if it is not accompanied by any external effects. As previously seen in
Section 6, an
isolated system can only undergo spontaneous processes since it cannot induce changes in the state of other systems or be affected by them.
The notion of a process is also compatible with a time evolution in which the separation between the constituents of the system and those of the environment is temporarily broken, provided that both the separation and the statistical independence are reestablished at the end of the evolution. In other words, it suffices that the system and the environment must be well defined—i.e., separable and independent—at both the initial and final instants of time.
6 7. Weight Processes and Adiabatic Accessibility
A process in which interactions result in the only external effect being a change in the elevation of a weight (or another equivalent mechanical effect) is called a
weight process (
Figure 2). Weight processes are conceptually important in developing the foundations of thermodynamics because, as we will see, they provide a clear presentation as an extension of mechanics. Two states that may be interconnected via a weight process are said to be
adiabatically accessible.
7 8. Reversible vs. Irreversible Processes
Another important classification of processes is based on the possibility of reversing their effects. Thus, a process is called
reversible if there exists, i.e., if it is physically conceivable,
8 a way to return both the system and its environment to their respective initial states (
Figure 3), i.e., if all the effects of the process (including those external to the system) are reversible. Otherwise, the process is
irreversible, meaning that there is no physically conceivable way to return the system and its environment to their respective initial states.
In the particular case of an isolated system, the reversibility of a process implies the existence of a reverse process capable of returning the system to its initial state. The reverse process need not retrace, in reverse order, the same sequence of states traversed by the forward process.
Directly verifying, based on the definition given, whether a process is reversible or not is impractical, as it would require testing all conceivable ways to return the system to its initial state and, for each one, checking whether the environment also returns to its initial state. Nevertheless, the given definition is valid and allows, as we will see, an indirect criterion (necessary and sufficient condition for the reversibility of a process) based on the simple balance of the property entropy, which we will define.
9. Statement of the First Law
The first law of thermodynamics consists of two assertions: the first is that any pair of states and with compatible values of the amounts of constituents and the parameters of a (well-defined) system A can always be interconnected by means of a weight process. Indicating with the change in height produced by the weight process on a mass m in a uniform gravitational field with acceleration g, the second assertion is that the product assumes the same value for all weight processes that connect the two given states and .
10. Energy: Definition, Additivity, Conservation, Exchangeability
The main consequence of the first law is that for every system
A in any of its states
, a property called
energy is defined, indicated by the symbol
. The
energy of system
A in state
is defined by the following measurement procedure: an auxiliary weight process is realized that connects state
to a reference state
(of the same system
A) chosen once and for all, to which a reference value
is assigned. It is then stated that
where
m is the mass of the weight,
g is the gravitational acceleration, and
is the change in height of the weight, which is the only external effect in the weight process.
Due to the dimensional homogeneity of Equation (
3),
and
must have the same dimensions as
, i.e., energy. Therefore, the dimensions of
E are [mass] × [length]
2 × [time]
−2, and the unit of measurement in the International System is the joule, J.
The first law guarantees that the measurement procedure described defines
E as a property of system
A. In fact, it follows from the first law’s statement that the weight process connecting states
and
exists.
9 and that the value of
and therefore
is as follows: (a) independent of the instruments used for measurement, i.e., of the details of the interaction between system
A and the weight; (b) independent of other systems in the environment, i.e., of the weight’s details, which is the only other system affected by the weight process; and (c) independent of measurements made at other instants of time, i.e., of the details of the changes in
A during the process. It is important to note that the measurement procedure does not imply any restrictions on the nature of state
and system
A. Thus,
energy is property, defined for all states of all systems.
10The definition given extends what was already seen in
mechanics to states that are not covered by mechanics. This will become clearer as we proceed. One fact, already known from mechanics, remains valid in general: for given values of
and
, the value of a system’s energy is bounded from below, i.e.,
Since E is a property, it contributes to defining the state of the system, together with the values of all the other properties. If the state of the system is known, then the value of energy is also known. The change corresponding to a given change in state from to depends only on states and and therefore not on the interaction methods with other systems, nor on the forces that induced it. The same change in state from to can be achieved by many (infinite) different processes, each with the same value of .
From the first law, it also follows that energy is an
additive property in the following sense. With the help of
Figure 4, consider two systems
A and
B in states
and
, respectively, and consider the
composite system C formed by the set of the two systems,
, of which the state is indicated by the symbol
, where the double index refers to the respective states of the two subsystems (
). Applying the procedure that defines energy for systems
A,
B, and
C, after choosing the respective reference states
,
, and
once and for all (this is the state of
C in which subsystem
A is in state
and subsystem
B is in state
) and the respective reference values
,
, and
, the respective values of energy in states
,
, and
are indicated by
,
, and
. Recalling the second assertion of the first law,
11
and therefore that
if the reference value for the composite system C is chosen as the sum of the reference values of the subsystems that compose it, i.e., if
, then
Finally, the first law also implies that the value of the energy
is conserved every time the system undergoes a process without net external effects, such as a spontaneous process, for example. The conservation of energy is of fundamental theoretical and practical importance.
12 This importance derives from the additivity of energy (or rather of energy differences) and from the fact that any process can always be considered part of a process without net external effects of a larger system that includes all interacting systems, for which energy—the sum of the energies of the subsystems—remains unchanged.
11. Notation for Energy Exchange and the Energy Balance Equation
From the conservation and additivity of energy, it follows that energy can be transferred (exchanged) between interacting systems. Using
Figure 5 as an example, consider a system
C composed of subsystems
A and
B and a spontaneous process (without external effects) in which the state of
A changes from
to
and that of
B changes from
to
. Since there are no external effects on
C, the value of
C’s energy remains unchanged, i.e.,
. Due to the additivity of energy differences, this means that
, or in other words,
. The change in energy of
A is equal and opposite to that of
B. This justifies the notion of
energy exchange, such that if the energy of
B increases, we say that
B receives energy from
A, and consequently, the energy of
A decreases by an equal amount.
The notion of energy transferred from
A to
B is of practical importance, and it is convenient to adopt special notation to indicate it. The symbol used is
where the subscript 12 indicates that it is the quantity of energy transferred between time
and time
during the process in which the state of system
A changes from
to
of
A and that of its environment
B from
to
. Thus, we have
Equivalently, we can indicate the quantity of energy transferred from
B to
A using the symbol
, which leads to
Therefore, the two introduced symbols are not independent, and we have
If we consider that
B is the environment of
A, we can simplify the notation by omitting the subscript
B.
13The relations just seen can be written in the form of the
energy balance equation (
Figure 6)
This important consequence of energy additivity and conservation states that the change in energy
of system
A following a process from
to
must be equal to the (net) amount of energy
transferred into system
A due to interactions with its environment.
14
Figure 6.
Energy balance for system A for a process in which the state of A changes from at time to at time , and the net effect of the interaction between A and its environment includes an energy transfer (positive if in the direction of the arrows, i.e., if received by A, negative if in the opposite direction).
Figure 6.
Energy balance for system A for a process in which the state of A changes from at time to at time , and the net effect of the interaction between A and its environment includes an energy transfer (positive if in the direction of the arrows, i.e., if received by A, negative if in the opposite direction).
It is useful to remember that the energy balance equation, like the first law itself from which it derives, is an expression of the laws of
dynamics. The time variable does not appear explicitly, but it is strongly present: recall that
indicates the state of system
A at time
and
at time
. To make the dynamic nature of the equation more explicit, we can express it in the following alternative form:
This form is obtained when
and
, with
, and
(energy per unit of time, power, transferred into
A from its environment). We adopt the convention of using the prefix
rather than
for infinitesimal quantities of observables that are not properties. For example, the energy transferred in the time interval
is not a property because it depends on two instants of time,
t and
. Therefore, it is indicated with
.
To apply the energy balance equation, we will develop various concepts necessary to express, on one hand, the change in energy as a function of the composition of system A and the nature of states and , and on the other hand, the quantity of energy exchanged as a function of the types of interactions experienced by system A in the process from to .
For instance, later on, we will see that the interaction between a system
A and a weight in a weight process corresponds to an example of what we will call
work interaction. The energy exchanged in an interaction of this type will be called work and denoted by the symbol
instead of the generic
, so that for a weight process, we will write the energy balance as
12. Steady vs. Unsteady States and Equilibrium vs. Nonequilibrium States
Since the number of independent properties of a system is very large—even for a single particle—and since many properties can vary over an infinite range of values, the number of possible states of a system is infinite. The classification of states based on the type of temporal evolution of each state highlights some important aspects of thermodynamics. States of a system can be classified into four types: unsteady, steady, nonequilibrium, and equilibrium states. Equilibrium states can be further classified into three subtypes: unstable, metastable, and stable.
If a system is subject to interactions with other systems that have non-zero effects, its state usually changes over time, and it is called a unsteady state. However, in practical engineering, interactions with other systems are often regulated and balanced in such a way that their net effects on the state of the system are zero. In this case, the state is called steady or, sometimes, stationary.
Another important way to classify states is based on the behavior dictated solely by the internal dynamics of the system, i.e., the behavior the system would exhibit if all interactions of the system with other systems were “turned off” or “frozen,” and only the internal dynamics remained active. If the state changes over time due to the internal dynamics alone, i.e., spontaneously, it is called nonequilibrium. If it does not change, it is called equilibrium.
There are various types of equilibrium states. An unstable equilibrium is a state that can be induced to spontaneously evolve toward different often distant) state by some vanishingly small and brief interaction—an infinitesimal perturbation. Such a perturbation has only a temporary, negligible effect on the environment, leaving no permanent net external change. In contrast, a metastable equilibrium state is stable under small perturbations, but can be changed without leaving permanent effects on the environment by means of larger perturbations.
13. Stable Equilibrium States
Lastly, a stable equilibrium state (abbreviated SES) is an equilibrium state that can only be modified through interactions that leave nonzero net effects on the environment of the system. In other words, a stable equilibrium state cannot be altered without leaving net effects in the system’s environment, i.e., without changing the state of the environment.
We will see that starting from a non-stable equilibrium state (i.e., either a nonequilibrium state or an unstable or metastable equilibrium state), it is always possible for the system to evolve by means of a weight process that results in the lifting of a weight and does not leave any other changes in the state of the environment.
14. Statement of the Second Law
We shall adopt as statement of the second law a refinement of the one due to Hatsopoulos and Keenan [
8] because from this statement we can derive all other traditional statements, namely, those by Kelvin-Planck, Clausius, and Carathéodory.
We have already seen that the number of possible states of a system is infinite. Among all these states, consider the subset of all the states that share a given set of values of amounts of constituents
, parameters
, and energy
E. Also, the number of states in this subset is usually infinite. The
second law of thermodynamics consists of two assertions: the first is that
in the subset of states of a system compatible with given values of and β, there is always one and only one stable equilibrium state for each value of the energy E.
15It is important to contrast this assertion with its analogous in the domain of mechanics: for given values of
and
, the set of states considered in
mechanics contains only one stable equilibrium state, which is the one with the minimum energy,
. By contrast, for given values of
and
,
thermodynamics considers a much broader set of states, where there is one (and only one) stable equilibrium state for each value of energy
E.
16 It is in this sense that thermodynamics is an extension of mechanics.
17The second assertion of the statement of the second law is that starting from any initial state of the system, it is always possible, through a reversible weight process, to reach a stable equilibrium state with values of and β arbitrarily fixed among those compatible with the initial state.
15. Proof of the Kelvin–Planck Statement of Impossibility of a Perpetual Motion Machine of the Second Kind
The first important consequence of the second law is that, in general, not all of a system’s energy can be transferred to a weight through a weight process, i.e., not all states of a system can reach via a weight process a state with the minimum energy for the same or compatible values of
and
. In particular, if a system is in a stable equilibrium state, it cannot transfer energy to a weight through a weight process that does not alter the set of compatible values of
and
. This statement is also known as the
impossibility of perpetual motion of the second kind (
Figure 7) and is referred to as the
Kelvin–Planck statement of the second law of thermodynamics (1897).
18Since the impossibility of perpetual motion of the second kind leads to a fundamental inequality for all that follows, it is worth outlining the proof. We proceed by contradiction; suppose that a perpetual motion machine of the second kind is possible: it would be a system
A (
Figure 7) initially in a stable equilibrium state
that can lift a weight as a result of a weight process. After the energy is transferred to the weight, the system
A would end up in a state
with lower energy than the initial state. Now, suppose that the system
A is made up of at least two parts;
19 Then, it is possible to create a second process in which the weight returns all the energy it received to system
A, causing the two parts of
A to move relative to each other. The new state
of system
A, thus determined, is certainly different from the initial state
because the two parts of
A are in relative motion. We therefore succeeded in changing the state of system
A from
to
while leaving no net effects in the environment. Since this contradicts the definition of stable equilibrium, we conclude that the assumption is absurd and, therefore, a perpetual motion machine of the second kind is impossible.
From what has been proven, it follows that when a system
A is initially in a stable equilibrium state with energy
, in a weight process it can only reach states with higher energy
. Using the notation introduced earlier,
16. Adiabatic Availability: Definition
The historical formulations of the principles of thermodynamics originated from a careful examination of the technical question that, with the terminology we have developed so far, can be formulated as follows: “How much of the energy of a system A in a given state can be transferred to a weight through a weight process?”
The answer identifies, for each system A and any state , a property called adiabatic availability, denoted by the symbol . It consists of evaluating, for system A in state , the maximum amount of energy , denoted as , that can be transferred to a weight in a weight process without altering the (set of compatible) values of and .
The measurement procedure that defines it is sketched in
Figure 8. It can be proven that
obtains when the weight process for
A is reversible and changes state
into a stable equilibrium state
with values of
and
compatible with state
. The existence of such process is guaranteed directly by the second law (second assertion). It is also proven that state
is uniquely determined by
, being the only stable equilibrium state with the compatible values of amounts and parameters that can be reached from
through a reversible weight process.
From the energy balance, we have
Clearly, adiabatic availability has the same dimensions as energy and is measured in joules, J, in the International System of Units.
From the impossibility of perpetual motion of the second kind (Equation (
15)), it immediately follows that for any stable equilibrium state, the adiabatic availability is zero. If the state is not stable equilibrium, the adiabatic availability is nonzero and certainly positive.
Adiabatic availability
has another important utility: it provides an operational criterion to ascertain the reversibility of a weight process. In fact, it is shown that a given weight process for system
A from state
to state
is reversible if and only if
while it is irreversible if and only if
These results determine the
direction in which the weight process is possible. If
then the weight process in the direction from
to
is impossible. In this case, the first law guarantees that the process is possible in the opposite direction.
From these results, the important connection between irreversibility and the loss of the ability to produce useful effects emerges. It can be seen that for weight processes, the irreversibility of the process increases the value of , which is the difference between energy and adiabatic availability. This is the portion of energy in the system that is not adiabatically available, meaning it cannot be transferred to a weight in a weight process. The fact that cannot decrease in any weight process leads to the conclusion that the unavailable portion of a system’s energy cannot decrease in a weight process: it remains unchanged if the process is reversible and increases if the process is irreversible.
Although adiabatic availability allows for such general and important conclusions and provides an operational and quantitative criterion to verify the reversibility of weight processes, it has a “defect” that makes it unsuitable for practical use: it is not an additive property. This can be easily seen from a simple example, which we will consider after introducing the notion of mutual equilibrium.
17. Mutual Stable Equilibrium: Definition
Two systems are said to be
in mutual stable equilibrium (MSE), or simply
in mutual equilibrium, if their respective states are such that the composite system is in a stable equilibrium state.
20Now, consider two systems, A and B, that are not in mutual equilibrium, even though each is in a stable equilibrium state. Taken individually, each of the two systems has zero adiabatic availability. However, the composite system, not being in a stable equilibrium state, has nonzero adiabatic availability. Therefore, the adiabatic availability of the composite system is not equal to the sum of the adiabatic availabilities of the subsystems.
It is possible, however, to define, for each system, a monotonic function of
in a way that the new property resulting from it is additive. We will call this important property
entropy and denote it by the symbol
S.
21 In order to arrive at a clear and explicit operational definition of entropy, next, we introduce the notion of thermal reservoirs and a measurement procedure that characterizes them by direct comparison.
18. Thermal Reservoir: Definition
We call a system R that approximately satisfies the following limiting condition a thermal reservoir or simply a reservoir: In any of its stable equilibrium states with given values of amounts of constituents and parameters it is in mutual stable equilibrium with a given system C in a fixed given state .
A “practical” reservoir can be easily created in any laboratory, as illustrated in
Figure 9, by placing
in a container under conditions (referred to as the “triple point”) such that some is in the solid phase (ice), some is in the liquid phase (water), and some is in the vapor phase. In the range of stable equilibrium states in which the three phases (solid, liquid, and vapor) are all present in finite and not microscopic amounts, this system behaves as a reservoir.
The concept of a thermal reservoir is an idealized limiting abstraction, providing a pedagogical framework that simplifies both practical modeling and theoretical development. But it is important to note that its defining condition provides only an approximate description of physical reality, that holds with good accuracy for systems containing a large number of particles (exceedingly good for very large numbers, such as the triple-point model), but fails for systems with few particles.
22 Moreover, its strict validity would constitute a violation of the second law.
23 19. Available Energy with Respect to a Thermal Reservoir
The second assertion of the second law guarantees that starting from any initial state
of any system
A that can interact with a reservoir
R initially in state
, it is always possible, through a reversible weight process for the composite system
(see
Figure 10), to reach a stable equilibrium state for
with values of
and
arbitrarily fixed among those compatible with the initial states. In the final state of
, the system and the reservoir are in mutual equilibrium. The final state
of system
A is uniquely determined by the chosen reservoir
R and the chosen values of
and
. The final state
of
R is uniquely determined by the chosen initial states
and
and the chosen values of
and
.
Note that the energy transferred to the weight in this process, , corresponds to the adiabatic availability of the composite system in state . It can be shown that it is independent of the initial state of the reservoir, i.e., it depends only the state of system A and the chosen reservoir R.
Therefore, we can view the process just described (
Figure 10) as the measurement procedure that, with respect to a chosen reservoir
R, defines a property of system
A that we call
available energy with respect to thermal reservoir R, denoted by the symbol
. For state
of system
A and the chosen reservoir
R, regardless of the initial state
, we denote its value by
or simply
. Like adiabatic availability, it has the same dimensions as energy and is measured in joules, J, in the International System of Units.
Unlike adiabatic availability, however, the conditions that define thermal reservoirs make an additive property (with respect to a fixed R), in the sense that for all states and of all systems A and B. From the results already seen for adiabatic availability, it follows that the available energy with respect to reservoir R takes nonzero and positive values for all states of system A except for the stable equilibrium state in which system A is in mutual equilibrium with reservoir R, in which case it is zero, i.e., .
Like adiabatic availability, available energy also gives rise to a quantitative criterion to determine whether a given weight process is reversible or not: the weight process for system
A from state
to state
is reversible if and only if
while it is irreversible if and only if
and this holds for any choice of the reservoir
R used to measure
[as long as, of course, the same
R is used for
and
].
Like the adiabatically unavailable energy, , the unavailable energy with respect to reservoir R, , is conserved, meaning it remains constant over time, in reversible weight processes; it increases if the weight process is irreversible.
Like energy and adiabatic availability, available energy is a property defined for all states of a system, including stationary and non-stationary states, and equilibrium and nonequilibrium states, not just for stable equilibrium states.
In
Section 9, we saw that energy
E is an additive property that can be transferred between systems through interactions. These characteristics make it ideal for the analysis of processes in complex systems, as the system can be schematized as composed of various subsystems, and energy is the sum of the energies of the subsystems. Adiabatic availability
is not suitable for this purpose because it is not additive. Available energy
is additive, but it depends on the choice of a specific reservoir, so it does not measure a property of the system
itself but of the composite system, system-reservoir. The next step will be to define a characteristic of reservoirs that will finally allow us to define the property of entropy, which, as we will see, is additive and independent of the reservoir chosen to measure it.
A direct consequence of the results stated in this section is that starting from any initial state
of any system
A that can interact with a reservoir
R (initially in stable equilibrium state
), it is always possible, through a reversible weight process for the composite system
(see
Figure 11), to reach a final state for
with values of
and
arbitrarily fixed among those compatible with the initial states and with system
A in an arbitrarily chosen final state
. In this case, in general, the system and the reservoir do not reach mutual equilibrium. The final state
of
R is uniquely determined by the chosen initial and final states
and
of the system, the initial state
, and the chosen values of
and
.
It is easy to show that the energy
transferred to the weight in this process is equal to the difference
in the adiabatic availabilities of the composite system
, i.e., of the available energies of system
A with respect to reservoir
R. Therefore, the energy balance for system
,
using energy additivity, can be rewritten as
or, equivalently, adding subscripts summarizing the process details described in
Figure 11,
The setup of
Figure 11 is important because it supports the measurement procedures that we discuss next and that lead to the general operational definition of entropy.
20. Temperature of a Thermal Reservoir: Definition
We define the
temperature of a reservoir, denoted as
, through the following measurement procedure, sketched in
Figure 12.
First, choose a reference reservoir
, an arbitrary stable equilibrium state
, an arbitrary auxiliary system
A, and two arbitrary states
and
. Consider a reversible weight process for
in which
A goes from
to
, and measure the change in energy of
,
. Then, take the reservoir
R to be measured in an arbitrary stable equilibrium state
and consider a reversible weight process for
in which
A goes from
to
, and measure the change in energy of
R,
. Finally, calculate
where
is an arbitrarily assigned reference value for the reference reservoir
.
It should be noted that
is chosen once and for all. The reservoir realized with water at the triple point (
Figure 9) can be chosen as the reference reservoir
to be used in the measurement procedure just defined. It is a secondary standard reservoir easily realized in all laboratories, to which the reference value
K is conventionally assigned, where K stands for the
kelvin, the unit of temperature in the International System. Note that the measurement procedure defining
implies a comparison between reservoir
R and a reference reservoir
, and therefore,
is a fundamental property that cannot be expressed in terms of other fundamental properties of mechanics (length, time, and mass) or electromagnetism (current).
It can be shown that the value defined in this way is independent of the choice of the auxiliary system A and of its states and , i.e., the role of system A in the procedure is purely auxiliary. Moreover, is constant for a given reservoir. This means that the measurement procedure defined here always results in the same value, regardless of the initial stable equilibrium state of reservoir R, and the initial stable equilibrium state of the reference reservoir . Finally, it can be shown that two reservoirs R and in mutual equilibrium have the same temperature, .
Equation (
27) can be rewritten using Equation (
26) as
which shows that, once the auxiliary system
A and the two states
and
are chosen, an alternative to the direct measurement procedure outlined in
Figure 12 is to use the measurement procedures previously defined for energy and for available energy with respect to
R and substitute the results in Equation (
28).
It is important to note that what we gave in this section is not the definition of temperature for systems that are not reservoirs. That will be performed later (
Section 29) and is entirely different from the one just described, although when applied to a reservoir, it, of course, will provide the same value as
defined above.
We have finally defined everything we need to define entropy.
21. Entropy: Definition (Valid Also for Nonequilibrium States)
The entropy
of any system
A in state
is defined by the following measurement procedure, sketched in
Figure 13.
First, choose a reference state
(of system
A) to which you assign the reference value
. Measure the energy
of this state using the corresponding procedure. Second, select a thermal reservoir
R and measure its temperature
using the procedure discussed earlier. Consider a reversible weight process for
in which
A goes from
to
, and measure the change in energy of
R,
. Finally, calculate
The dimensions of
and
are the same as those of
, which are [energy]/[temperature], and the International System unit of measurement for entropy is the joule per kelvin, J/K.
Equation (
29) can be rewritten using Equation (
26) as
which shows that, once the auxiliary reservoir
R has been chosen and its temperature
measured, an alternative to the direct measurement procedure outlined in
Figure 13 is to use the measurement procedures previously defined for energy and for available energy with respect to
R and substitute the results in Equation (
30).
It can be shown
24 The entropy value
resulting from this definition is independent of the choice of the reservoir
R, which plays a purely auxiliary role in the measurement procedure. This implies that entropy
S, like energy
E, is a property of system
A in and of itself. In particular, it does not depend on the reservoir
R chosen for measurement.
It is important to note that since the properties
E and
are defined for all states of all (well defined) systems, including nonequilibrium states and small systems, the given definition of property
S is valid for any state and any system.
25 22. Practical Meaning of Entropy
To emphasize the physical and technical significance of entropy, it is interesting to note from Equation (
30) that, apart from the constants
,
, and
related to the choice of reference state
, entropy
S is proportional to the “unavailable” energy with respect to reservoir
R,
. For example, the change in unavailable energy with respect to
R is equal to the change in entropy of the system multiplied by the temperature of reservoir
R,
In this sense, the thermal reservoir can be viewed to play the role of an “entropymeter.”
From what has been discussed, we can also derive the expression that allows us to calculate the available energy with respect to a reservoir
R. We have already observed that the state
, in which system
A is in mutual equilibrium with reservoir
R, has available energy with respect to
R equal to zero,
. From Equation (
32) with state
replacing state
, we can derive the two equivalent expressions
where
and
are the energy and entropy of system
A in the stable equilibrium state
of mutual equilibrium with
R. As we will demonstrate in
Section 29, the temperature
of the stable equilibrium state
is equal to the temperature
of the reservoir.
Equation (
34) provides an explicit interpretation of the practical (engineering) meaning of entropy. Apart from the constant combination
, which is independent of state
, the entropy is proportional to
, the unavailable energy with respect to reservoir
R, the constant of proportionality being the inverse of the reservoir’s temperature.
Since E and S are properties, the differences and corresponding to a given change in state from to depend only on these states and not on the mode of interaction with other systems or the type of process or the forces or reactions that induced the change. The same change in state, from to , can be obtained with many (infinite) modes of interaction, but they all yield the same values for and .
23. Principle of Entropy Non-Decrease in Weight Processes
The criteria for reversibility of a weight process that we have derived in terms of adiabatic availability, Equations (
17) and (
18), and in terms of available energy, Equations (
22) and (
23), can be reformulated in terms of entropy. The weight process that takes system
A from state
to state
is reversible if and only if
while it is irreversible if and only if
Equations (
35) and (
36) are known as the
principle of non-decrease of entropy in weight processes. These equations can be rewritten in a single form, valid only for weight processes
with the condition that
if the weight process is reversible and
if the weight process is irreversible. During an irreversible weight process, the system loses some of its ability to transfer energy to a weight, and the entropy of the system increases. This increase,
, is called
entropy produced (or
generated or
created) in the system
due to irreversibility or simply
entropy production (or
generation or
creation).
While energy is conserved in weight processes without net external effects, entropy is conserved in reversible weight processes. For example, for an isolated system, energy always remains constant, while entropy remains constant if the process is reversible and increases if the process is irreversible.
24. Entropy: Additivity, Non-Decrease, Exchangeability
Like energy
E and available energy
, entropy
S is also an additive property.
26From the principle of non-decrease in weight processes and the additivity of entropy, it follows that entropy can be transferred (exchanged) between interacting systems. Using
Figure 14, consider a system
C composed of subsystems
A and
B and a reversible weight process in which the state of
A changes from
to
and that of
B changes from
to
. Since the process for
C is reversible, the value of the entropy of
C remains unchanged. In fact, Equation (
37) for system
C yields
. Due to the additivity of differences in entropy, this means that
, or in other words,
. The change in entropy of
A is equal and opposite to that of
B. This justifies the notion of
entropy transfer or
exchange, meaning that if the entropy of
B increases, we say that
B receives entropy from
A, as the entropy of
A decreases by an equal amount.
25. Notation for Entropy Exchange and the Entropy (Im)Balance Equation
For the quantity of entropy transferred from
A to
B, we use the symbol
and, consequently, for a reversible weight process for the composite system
,
Equivalently, we can indicate the quantity of entropy transferred from
B to
A using the symbol
, which leads to
Therefore, the two introduced symbols are not independent, and we have
If we consider
B as the environment of
A, we can simplify the notation by omitting the subscript
B.
27
for the quantity of entropy transferred between environment
B and system
A as a result of all interactions in the process that changes the state of
A from
to
.
These relations, valid
if the process is reversible, can be written in the form
This important consequence of entropy additivity and the principle of entropy conservation in reversible processes can be generalized using the principle of non-decrease of entropy in weight processes. In this case, for system
C,
, and due to entropy additivity, we can write
, where we have decomposed the entropy created due to irreversibility in system
C into two non-negative contributions, one from each subsystem. It is important to distinguish between the entropy transferred
and the entropy produced due to irreversibility, as follows:
These relations generalize the entropy balance to processes, even non-weight ones, characterized by entropy exchange between
A and
B, as well as entropy generation by irreversibility in both subsystems.
With a focus on system
A (
Figure 15), the
entropy balance equation,
28 (also named by some authors the “imbalance equation”).
imposes that the change in entropy
resulting from a process for
A from
to
is greater (if the process is irreversible) or equal (if the process is reversible) to the net quantity of entropy
transferred to system
A as a result of interactions with its environment.
As with the energy balance equation, it is important to remember that the entropy balance equation, as well as the first and second principles from which it derives, is an expression of the laws of
dynamics. The variable time does not appear explicitly but is strongly present: recall that
denotes the state of system
A at time
and
at time
. To make the dynamic nature of the equation more explicit, it can be expressed in the following alternative form, which is useful for the analysis of continuous processes
This form is obtained when
and
, leading to
,
(entropy per unit time transferred to
A from its environment), and
(entropy per unit time generated in system
A due to irreversibility).
As we have seen, assessing changes in entropy is important, as they are directly related to changes in the unavailable energy with respect to a reservoir (Equation (
32)) and, i.e., dissipation of available energy due to irreversibility.
Stable equilibrium states play a special role in the statement of the second law of thermodynamics and derive from it formal characteristics that make them are easier to study than other states of a system. In
Section 26,
Section 27,
Section 28,
Section 29,
Section 30,
Section 31 and
Section 32, we outline the main features of this subset of states of a system.
26. Maximum Entropy and Minimum Energy Principles
From the definition of a stable equilibrium state, as well as from the statement of the second law, another important result follows: the entropy of every stable equilibrium state is greater (strictly greater) than the entropy of any other state with the same value of
E and compatible values of
, and
. This result is known as the “maximum entropy principle.”
29It is useful to sketch the proof of this ‘principle’ because it allows us to invoke various fundamental principles and definitions. Consider any system
C and the stable equilibrium state
with energy
, amounts
, and parameters
. Then, consider any other state,
, different from
, but with the same value of the energy,
, and amounts and parameters compatible with
and
. The first law guarantees that there exists a weight process for
C that interconnects the two states
and
, but it does not specify the direction. Since the two states have the same energy, this weight process has no net external effect. It follows that the direction cannot be from
to
because, by definition,
, being a stable equilibrium state, cannot be altered without leaving external effects. Therefore, the weight process is in the direction from
to
and is irreversible.
30 From the principle of entropy non-decrease in weight processes (Relation (
37)), it follows that
which is what we wanted to prove. Among all the states with given values of
E,
, and
, the stable equilibrium state has the maximum entropy, and all other states have lower entropy.
27. State Principle
From the statement of the second law of thermodynamics, in particular from the assertion that the values of E, , and uniquely determine one and only one stable equilibrium state for any system, it directly follows that every stable equilibrium state of a system is uniquely determined by the values of E, , and . But if the state is determined, by the definition of “state,” the values of all the properties of the system are determined.
This one-to-on connection between the values of
E,
,
, and the value of any other property
P at stable equilibrium is equivalent to the existence of the mathematical relation
This result, valid for all properties but only for stable equilibrium states, is known as the “state principle,”
31 and it expresses a general characteristic of the stable equilibrium states of all systems: it implies the existence of interrelations between the properties of this family of states. For all other states, those that are not stable equilibrium, Equation (
51) is not valid, and such interrelations do not generally exist.
28. Fundamental Stable Equilibrium State Relation
Applying Relation (
51) to the property entropy,
S, we obtain that for the stable equilibrium states of any (well-defined) system, there exists the relation
which implies specific interrelations among the values of
S,
E,
, and
. This relation is characteristic of the system, meaning that its functional form varies from system to system and is known as the “fundamental stable equilibrium relation of the system in entropy form” or simply as the “fundamental relation of the system” or “fundamental relation in entropy form.”
In general, Relation (
52) has partial derivatives of all orders,
32 so any difference between the entropies of two stable equilibrium states can always be expressed in the form of a Taylor series in terms of the differences in their values of
E,
, and
.
For example, considering two stable equilibrium states with identical values for all amounts of constituents and parameters but different energy values,
and
, we can write
where the symbol
indicates that the partial derivative must be evaluated at the values
, as it is in the vicinity of these values that the series expansion of the fundamental relation with respect to the variable
E has been performed.
We call
normal systems those for which energy values have no upper bound, such as when they consist of constituents with translational degrees of freedom, i.e., the great majority of practical systems relevant to engineering.
33 For normal systems, the fundamental relation (
52) is strictly monotonic in the variable
S and, therefore, it can be inverted by expressing
E as a function of
S,
, and
, thus obtaining the relation
called the “fundamental stable equilibrium relation in energy form” or simply the “fundamental relation in energy form.”
A peculiar tradition in thermodynamics is to indicate partial derivatives in the following way. Given the relation
, the symbol is introduced as
which is sometimes (inelegantly) read as the derivative of
z with respect to
x “at constant
y.” The utility of this notation lies in the fact that the symbol of the partial derivative contains all the information about which variables are the independent variables of the function subject to the derivative. For example, if we have the functions
and
, the symbol
is ambiguous because it is not clear which of the two functions is the subject of the derivative, whereas the symbols
and
leave no room for ambiguity.
If the relation
can be “solved” with respect to either variable
y, yielding the relation
, or with respect to variable
x, yielding the relation
, it is obvious that the three obtained relations represent the same surface in the
x-
y-
z space. For each of them, the differential evaluated at a given “point” (
x,
y,
z) represents the tangent plane to that surface, for which we have the three equivalent expressions
Since these expressions represent the same tangent plane, the various partial derivatives that appear in them are not independent of each other. For example, by solving expression (
59) for
, we obtain
and by comparing Equation (
60) with Equation (
58), we deduce the relations
which can be rewritten in the following forms, the first of which is called “cyclic relation,”
For example, the fundamental relation in energy form,
, (Equation (
55)), is obtained from the fundamental relation in entropy form,
, (Equation (
52)). Both represent the same surface in the
E-
S-
-
space. Therefore, Relation (
61) implies that
Finally, writing the fundamental Relation (
52) in the compact form
, with
, we can approximate the difference in its values between two neighboring stable equilibrium states with values
and
by the Taylor series
where
means that the first and second-order differentials are “evaluated at state
,” i.e.,
29. Temperature, Total Potentials, Pressure
Each of the first-order derivatives of the fundamental relation in entropy form, , or of the one in energy form, , defines a property of the family of stable equilibrium states of the system.
The
absolute temperature, or simply temperature
T, is defined as
where we used Equation (
63). For dimensional consistency, temperature has units of [energy]/[entropy], and in the International System of Units, it is measured in kelvin, K.
The
total potential of the i-th constituent, denoted as
, is defined as
For dimensional consistency, it has units of [energy]/[amount of constituent], and in SI, it is measured in joule/mole, J/mol.
The
generalized force conjugate to the j-th parameter, denoted as
, is defined as
When the volume
V is a parameter, the generalized force conjugate to
V, with a sign change, is called
pressure p, and it is given by
For dimensional consistency, pressure has units of [energy]/[volume], and in SI, it is measured in joule/m
3 = newton/m
2 = pascal, Pa.
These derivatives are defined and measurable for stable equilibrium states and are, therefore, properties. They play an important role in determining the conditions for mutual equilibrium between systems and the spontaneous tendency for systems in stable equilibrium but not in mutual equilibrium to exchange energy, entropy, amounts of constituents, and additive parameters. It is evident that each of these properties is defined only for the stable equilibrium states of the system: for other states, the fundamental relation does not exist, and, consequently, its derivatives do not exist either.
It can be shown (see below) that the equality of temperatures of two systems is a necessary condition for the two systems that can exchange energy to be in mutual equilibrium. The practical importance of this result arises from the fact that it allows for the indirect measurement of the temperature of a system
A (a partial derivative of its fundamental relation) by measuring the temperature of another system
B in mutual equilibrium with
A. A
thermometer is a system for which the temperature is easily measurable and the result readily displayed. By placing a thermometer
B in contact with system
A and waiting for mutual equilibrium to be reached, the temperature reading of the thermometer also provides the measurement of the temperature of
A.
34Similarly, the other equalities (total potentials and pressures) necessary for mutual equilibrium between systems can be proven.
The equality of the total potentials of a common constituent in two systems is a necessary condition for the mutual equilibrium of the two systems if they can exchange that constituent, for example, through a semipermeable membrane or simply through an opening or conduit that connects them. Pressure equality is a necessary condition for the mutual equilibrium of two systems when they can exchange volume, for example, if they are separated by a movable partition.
We provide this proof here to show how the necessary conditions for mutual equilibrium can be derived from the maximum entropy principle. With the help of
Figure 16, consider the two states
and
of the composite system
defined as follows. In state
, systems
A and
B are in mutual equilibrium; hence,
is a stable equilibrium state. Assume, for simplicity, that
A and
B have volume as the only parameter of the external forces, so that all variables
are additive, i.e., for any state
,
. State
is chosen so that
is the stable equilibrium state with values
and
is the stable equilibrium state with values
. As a result,
and clearly
; therefore, the maximum entropy principle implies that
. Using the additivity of entropy, we can write this condition as
Since
and
are stable equilibrium states, the fundamental relation for
A yields
and
, and similarly for
B,
and
. Substituting in Relation (
70) and using Equation (
64), yields the condition
which, using Equation (
65), becomes
This inequality must hold for all choices of
compatible with the allowed interactions between systems
A and
B. For example, if
A and
B can exchange energy, but not constituents nor volume, i.e., the rigid partition in
Figure 16 is impermeable and fixed, than the only compatible choices are
so that the first term in the lhs of Relation (
72) reduces to
. Then, the inequality can be satisfied for arbitrary values (positive and negative) of
only if the term in brackets is zero, i.e., if
: temperature equality. If
A and
B can exchange energy and the
i-th constituent, but not the other constituents nor volume, i.e., the rigid partition in
Figure 16 is semi-permeable (only to constituent
i) and fixed, than the only compatible choices are
and the first term in the lhs of Relation (
72) reduces to
. Then, the inequality can be satisfied for arbitrary values (positive and negative) of
and
only if the terms in the brackets are zero, i.e., if
and
: equality of temperature and
i-th total potential. Again, if
A and
B can exchange also volume (movable partition) then mutual equilibrium requires also pressure equality.
30. Concavity of the Fundamental Relation
Since the first-order term in the lhs of Relation (
72) is necessarily zero, the strict inequality stems from second order terms or, if they vanish (e.g., for thermal reservoirs), from higher order terms in the Taylor expansion. Consider the particular case in which systems
A and
B are identical and are allowed to exchange energy, all constituents, and volume. Then, when they are in mutual equilibrium, they share the same temperature, total potentials, and pressure. Relation (
72) reduces to
, which implies that in general, for any system in any stable equilibrium state,
, i.e., the fundamental relation is
concave in all its variables. In other words, recalling Equation (
65), the Hessian of the fundamental relation,
, is a negative semi-definite matrix.
In particular, for any system,
35
where we used Equation (
66). This shows that the temperature
T and the negative of its inverse,
, are increasing functions of the energy.
Since it can be shown that, except where
, i.e., for finite temperatures,
it also follows that for a normal system the fundamental relation in energy form,
, is
convex with respect to the variable
S.
36 31. Gibbs Relation
By differentiating the fundamental relation in energy form,
, and using the definitions of
T,
p,
, and
as just described, we can express the interrelations between differences in energy,
, entropy,
, and volume.
37, other parameters,
,
, …,
, and amounts of constituents,
,
, …,
between neighboring stable equilibrium states as follows
This relation, known as the
Gibbs relation, expresses the condition that must be satisfied if by varying the values of
E,
S,
V, the
’s, and the
’s we want the state of the system to shift along the stable-equilibrium-states manifold. The Gibbs relation represents the tangent plane to the stable-equilibrium-states manifold.
32. Pressure and Force per Unit Area
As an application of the Gibbs relation, it is useful to prove why the pressure
p, defined at stable equilibrium by Equation (
69) for a system with volume
V as one of the external parameters, is equal to the force per unit area exerted by the constituents of the system on the walls that confine them in the container of volume
V. As shown in
Figure 17, we replace any segment of the wall with a small piston of area
, which is mobile but sealed. We apply a force
to it using a mass
that is exactly needed to keep the piston in the same position as the replaced wall segment when the system is in a stable equilibrium state with values
T,
p,
,
S,
E,
V,
,
. Now consider the reversible weight process (
, Equation (
37)) that brings the system to an adjacent stable equilibrium state with values
S,
,
,
,
, having as its only external effect the displacement
of the piston on which the mass rests. From the energy balance (
14), we have
while from the Gibbs relation (
75) with
,
,
, we have
Comparing (
76) with (
77), it follows that
. In other words, since
,
The force per unit area required to maintain the piston in position by counterbalancing the action of the system’s constituents in a stable equilibrium state with pressure
p is equal to the pressure itself. Such force per unit area is exerted at every point on the surface confining the system’s constituents.
38 33. Energy vs. Entropy Diagrams to Represent Nonequilibrium States and Visually Illustrate Processes and Summarize Basic Principles
In this section, we introduce the E–S diagram representation, which is very useful to visualize states and processes of a system. We use it to visually illustrate and summarize the basic concepts and principles discussed so far. It is important to note that this representation is different from the state diagrams used in traditional expositions of thermodynamics to represent the properties of the stable equilibrium states under the simple-system model. In contrast, the E–S diagram represents not only stable equilibrium states but all other states, most of which are nonequilibrium. Moreover, the representation is valid for all systems, large and small, with many or few particles, even for a single quantum particle. This diagram is particularly effective for graphically depicting the relations between energy and entropy, and adiabatic availability and available energy.
Recall (
Section 5) that the state
of a system at time
is defined by the values of the amounts of constituents
, of the parameters
.
39 The properties
,
, …exist at time
. States can, in principle, be represented as points in a multidimensional geometric space with an axis for each amount of constituents, parameter, and independent property. However, such a presentation would not be particularly useful because the number of independent properties in a complete set is almost always infinite. Nevertheless, useful information can be obtained by intersecting this multidimensional geometric space with a plane (hyperplane) corresponding to fixed values of amounts of constituents and parameters. Subsequently, we can project this subspace onto the two-dimensional energy–entropy plane. For a system with volume
V as the only parameter, these states are projected inside the shaded area in
Figure 18, bounded on the left by the vertical line of zero entropy states (mechanical states) and on the right by the curve defined by the restriction of stable-equilibrium-state manifold to the given set of values of
and
. For simplicity, but without loss of generality, we proceed by assuming that volume
V is the only external parameter.
A point located within the shaded area or on the vertical line generally represents the projection of an infinite number of states. All these states have the same values of amounts , parameters V, energy E, and entropy S but different values of other properties. They can be of any type, but not stable equilibrium state. By contrast, a point on the convex curve of stable equilibrium states represents a single state, not a multiplicity of states. For each of the points (states) on this curve, the values of all properties are uniquely determined (state principle) by the values of , V, and E.
Every stable equilibrium state is the state of maximum entropy among all those with the same values of E, , and V. It is also the state of minimum energy among all those with the same values of S, , and V.
Figure 18, shows that the set of states with values
,
, and
V projects onto a horizontal segment between
and
. The point at the far right of this segment (constrained-maximum entropy) represents the state
, the unique stable equilibrium state with values
,
, and
V. There are no states to the right of
with energy
and the same values of
and
V. Moreover, as demonstrated in
Section 26, no other state (of any kind) with the same values of
,
,
V projects onto this point.
In an isolated system (system-environment interactions cannot affect their respective states), every state on the segment, if not a metastable or unstable equilibrium, is pushed by internal (so-called dissipative) dynamics toward states with increasing entropy until it reaches the stable equilibrium state . This spontaneous process is irreversible because, in the absence of effects of interactions with the environment, the increase in entropy can only be generated internally by the dissipative dynamics of the system. By definition, it is impossible to return from the stable equilibrium state back to the state without leaving effects in the environment.
Figure 18 refers to a normal system (no upper bound in the energy) with non-degenerate ground-energy levels and shows that the set of states with values
,
, and
V projects onto a vertical half-line with the lower endpoint at
. The point at this endpoint (minimum energy) represents the state
, which for a normal system is the unique stable equilibrium state with values
,
, and
V. There are no states below
with entropy
and the same values of
and
V.
If we consider the set of states with values , , and V (mechanical states), the half-line has an endpoint at corresponding to the absolute minimum value that energy can take for the given values of and V. The point at this endpoint represents the state . For systems with non-degenerate ground-energy levels, this is the unique stable equilibrium state with values , , and V, and the only equilibrium state (with values and V) considered in mechanics.
The zero-entropy line represents all the states considered in mechanics (classical or quantum). As previously observed, the energy–entropy diagram clearly shows how mechanics emerges in this general presentation as a particular branch of thermodynamics, namely, its restriction to the zero-entropy states.
Similarly, the thermodynamics of equilibrium states (so-called thermostatics), which considers only stable equilibrium states (so-called thermodynamic equilibrium states) and processes that occur exclusively through sequences of stable equilibrium states (so-called quasi-static processes), emerges as another particular branch of thermodynamics, namely, its restriction to the (constrained)-maximum-entropy states.
The stable-equilibrium-state curve on the
E-
S diagram represents, for fixed values of
and volume
V, the fundamental relation
in entropy form or, equivalently, the positive-temperature branch of its inversion into the energy form,
(the only branch for a normal system). The slope of the tangent line to this curve,
, coincides (Equation (
66)) with the temperature
T of the stable equilibrium state represented by the point where the line is tangent. Temperature is not defined for states that are not stable equilibrium states because the fundamental relation does not hold for them, and in general,
E depends on more variables than just
S,
, and
V.
For a normal system (not behaving as a thermal reservoir), the fundamental relation in energy form,
, is convex in the variable
S (Equations (
73) and (
74)),
. The temperature is positive except for the ground-energy stable equilibrium states, i.e., those with minimal energy
for the given values of
and
V. The assertion that the temperature of the ground-energy stable equilibrium state is zero is known as the
third law of thermodynamics. It is not a consequence of the first and the second laws, and we cover it here only marginally.
40As already seen, the states considered in mechanics all have zero entropy, and for systems with non-degenerate ground-energy levels, the state of minimum energy is a stable equilibrium state, as depicted in
Figure 18. Due to the convexity of the fundamental relation, temperature is an increasing function of energy, so the stable equilibrium state of minimum energy also has the minimum temperature for the given values of
and
.
However, convexity and the statements of the first and second laws of thermodynamics do not exclude that the value of be finite. That it is zero emerges within the formulations of quantum and statistical models. To avoid resorting to such formalisms, in introductory expositions it suffices to assume an additional law, the third law of thermodynamics, by asserting that all the ground-energy stable equilibrium states have zero temperature.
This statement is also compatible with the possibility, considered in the context of quantum theory, that the stable equilibrium state of minimum energy has nonzero entropy, as depicted in
Figure 19, with an entropy value given by
where
is the Boltzmann constant, and
is the
multiplicity of the minimum energy states for the given values of
and
V. For such systems, the minimum-energy states in mechanics, those with zero entropy, are not stable equilibrium states. However, if viewed from a restricted perspective that only considers states of mechanics, subject to a non-dissipative equation of motion valid only in this restricted domain of states, they typically appear as ‘partially’ stable equilibrium states. They are considered ‘partially’ stable because they are stable only with respect to perturbations that keep entropy equal to zero.
In a weight process, every state
at the intersection of the
segment with the
segment in
Figure 20, if not a metastable or unstable equilibrium, is pushed by internal dynamics toward states with increasing entropy. It can also be subject to interactions that result in energy exchange (with the external weight). In such a process, there is a competition between the internal dynamics, whose dissipative part tends to generate entropy with a characteristic timescale, and the interactions with the external weight designed, for example, to extract as much energy as possible from the system. Since the characteristic timescale of irreversible part of the system’s internal dynamics typically that depends on the system’s structure construction details, the designer will be able to extract more energy from the system the faster the action of the interactions with the external weight. This ensures that energy is extracted so rapidly that the internal dynamics have the least possible time to generate entropy. In the limit, if the weight process is reversible, the entropy will remain unchanged, and the state will move along the
segment. In this case, it is possible to bring the system to the state of minimum energy
, and therefore, the extracted energy will be equal to
, which is the adiabatic availability of the system in the state
(Equation (
16)),
.
The
E–
S diagram for a reservoir
R is shown in
Figure 21. The stable equilibrium state curve is a simple straight line with a slope equal to
.
41Now, consider the available energy of a system
A in state
with respect to reservoir
R and recall Equation (
33),
where
and
are the energy and entropy of state
of
A,
and
are the energy and entropy of
A in the stable equilibrium state
with temperature
, i.e., the state in which
A is in mutual equilibrium with reservoir
R.
Figure 22 shows the graphical representation of
on the
E–
S diagram for system
A. The two terms
and
are represented separately. Remember that available energy is the energy transferred to the weight in a reversible weight process for the composite system
in which the state of
A changes from state
to state
. Therefore, the change in entropy of
A,
, must be accompanied by an equal and opposite change in the entropy of
R,
which, as visualized in
Figure 21, requires a change in reservoir energy of
. This change is essential in the energy balance for the composite system
and ensures that the overall energy transferred to the weight is indeed
. The two contributions are visualized in
Figure 22.
Figure 23 hints at constructing a three-dimensional graph by adding an axis corresponding to the volume
V. For simplicity, only the stable-equilibrium-state curves corresponding to two values
V and
are drawn. Geometrically, in this
E–
S–
V diagram, the stable equilibrium states fall on a surface obtained by projecting the points representing states onto a multidimensional geometric space with one axis for each amount of constituents, parameter, and independent property, restricted to those lying on a subspace corresponding to fixed values of the amounts (and other parameters, if any, excluding volume).
Two states, and , with equal energy () and entropy () but different volumes, are represented. It is noted that the adiabatic availability of the two states is also different, as .
The slope of the tangent plane to stable-equilibrium-state E–S–V surface in the direction of constant S, , coincides with the negative of the pressure, , of the stable equilibrium state where the plane is tangent.
A similar three-dimensional diagram can be constructed by adding an axis corresponding not to volume but to the amount of one of the constituents. This results in the E–S– diagram, in which the slope of the tangent plane to the stable-equilibrium-state E–S– surface in the direction of constant S, , coincides with the chemical potential (or total potential if there are other parameters besides volume) of the i-th constituent in the stable equilibrium state where the plane is tangent.
Almost all systems of practical interest are characterized by the ability to accommodate unlimited amounts of energy, which can be distributed among translational, rotational, vibrational, and electronic degrees of freedom of the molecules and/or atoms that constitute them. For all these systems, the
E–
S diagram is as shown in
Figure 18: the fundamental relation
is monotonically increasing in energy, and therefore, its inversion with respect to
E yields the energy function
, a single-valued function with a convex shape,
; the temperature
is a non-negative function increasing with energy (starting from zero for the minimum energy state).
However, there are some special systems of quantum interest whose models require the existence of both a minimum and a maximum energy value for fixed amounts and parameters. For example, the model of an electron’s spin in a magnetic field, the three-level atom model used to understand the operation of some lasers, and many others are systems characterized by a finite range of energy values existence between a lower and upper limit for energy values (levels).
Such special systems, like all others, still adhere to the laws of thermodynamics we have described. However, the fundamental relation
is not monotonically increasing in energy, and therefore, its inversion with respect to
E does not yield a single-valued function of
.
Figure 24 shows the
E–
S diagram for a special system. The fundamental relation
maintains a concave shape,
. The negative of the inverse temperature
is an increasing function with respect to energy, ranging from
for the minimum energy state to
for the maximum energy state, passing through zero at the state with the maximum entropy
. Therefore, in addition to ‘normal’ equilibrium states with positive temperatures (
between
and zero), the system allows for ‘special’ stable equilibrium states with negative temperatures for energies greater than the value
(where
), up to the stable equilibrium state with maximum energy (maximum for the given values of
and
), where
and hence the temperature is again zero. It is noteworthy that
is well-defined for all stable equilibrium states and changes smoothly from
to
passing through zero. By contrast the temperature
T has a discontinuity at the stable equilibrium state with
where it jumps from
to
. This state is not the hottest stable equilibrium state of the system for the given
and
. Later, in
Section 38, we define what we mean by “hot” and “cold,” and show that the stable equilibrium states with negative temperature are all hotter than the positive-temperature stable equilibrium states.
Figure 25 illustrates a fundamental constraint on energy extraction from systems initially in stable equilibrium, expressed most transparently with the help of the
E–
S diagram. Consider a system
A initially in a stable equilibrium state
with energy
, entropy
, and temperature
.
A transition to a lower-energy state
cannot occur without a simultaneous decrease in entropy. In particular, the extraction of an energy amount
requires the extraction of at least an entropy amount
satisfying
where we used the entropy balance equation for
A and the inequality is illustrated in
Figure 25(Left). A purely vertical downward displacement in the
E–
S diagram—corresponding to energy extraction without entropy extraction—is impossible, as it would violate the second law and amount to a perpetual motion machine of the second kind.
The necessary entropy extraction requires the presence in the environment of
A of an auxiliary system
B capable of accepting entropy. In practical energy conversion applications, this role is typically played by an external system such as a river, a lake, the atmosphere, the sea.
42 Such systems function as “entropy sinks.”
Assume the auxiliary system
B is initially in a stable equilibrium state
with energy
, entropy
, and temperature
. A transition to a higher-entropy state
cannot occur without a simultaneous increase in energy. Therefore, no entropy can be transferred to system
B without an accompanying transfer of energy. To accept an entropy amount
, system
B must also receive at least an energy amount satisfying
where the inequality is illustrated in
Figure 25(Right). This energy transfer to the environment of
A is often described, misleadingly, as wasted energy. In fact, it performs an essential thermodynamic function: it enables the disposal of entropy required for useful energy extraction from the system of interest. The presence of an entropy sink is therefore not a source of inefficiency, but a necessary condition for the operation of any energy-conversion device.
The true sources of inefficiency in practical energy systems arise instead from internal irreversibilities within system
A and
B, as well as the machinery
X used to accomplish the energy and entropy transfers and the energy conversion, i.e., from
. Combining Equations (
82) and (
83), assuming the machinery
X undergoes a cyclic process, i.e.,
, so that
, yields
This result can be expressed also by saying that of the energy
extracted from
A, only the energy amount
is available for performing useful tasks, because the energy
must be used to accomplish the disposal into system
B of the entropy that must be removed from system
A in order to achieve the energy extraction; therefore, at best (i.e., even in the absence of irreversibility), the fraction of extracted energy that remains available for useful tasks is bounded by
43Figure 25 thus provides a direct geometric interpretation of the need for entropy sinks which rules the design of energy conversion devices.
34. Modes of Interaction Between Systems
The foregoing discussion has progressed substantially—including the definition of entropy and several other key results—without invoking the notion of heat. In doing so, we have developed all the conceptual and analytical tools required to introduce a rigorous definition of heat and to generalize it to heat-and-diffusion. This is the subject of the next several sections, which are devoted to characterizing the various modes of interaction between systems.
Because our modeling approach almost invariably begins with balances of energy, entropy, amounts of constituents, and volume, particular attention is devoted to the exchanges of these quantities across the frontiers separating interacting systems. The nature of these exchanges provides the basis for a precise classification of interactions.
Interactions that involve exchanges of energy and volume only, without any exchange of entropy or constituents, are termed work interactions. A paradigmatic example is the interaction between a system and a weight in a weight process.
Other interactions involve exchanges of both energy and entropy, with or without exchanges of constituents and volume. These are termed non-work interactions. As will be shown, heat and heat-and-diffusion interactions are special subclasses of non-work interactions, for which explicit relations can be established between the exchanged amounts of energy, entropy, constituents, and volume.
Interactions generally drive the interacting systems into nonequilibrium states. If the interaction is momentary, these nonequilibrium states subsequently evolve spontaneously toward stable equilibrium, thereby inducing further changes in nonconserved properties. In particular, the spontaneous and irreversible evolution from a nonequilibrium state toward stable equilibrium entails the spontaneous generation of entropy within the system. Accordingly, interactions may change the entropy of a system both directly, through entropy exchange with other systems, and indirectly, through entropy generation associated with irreversible internal dynamics.
Distinguishing between changes in properties due to exchanges with other systems and those due to spontaneous internal generation is essential for both understanding and engineering processes. For example, in an energy-conversion device, minimizing the spontaneous generation of entropy within its boundaries is a primary objective in improving efficiency. Conversely, in compact heat-transfer devices, maximizing the ratio of transferred energy to device volume may require accepting high rates of spontaneous entropy generation within the device.
In general, when two systems begin to interact, they temporarily lose their separability and therefore, according to the present definitions, cease to be systems in their own right. Their individual energies are no longer defined, and only the energy of the composite system can be meaningfully specified. Part of this energy is associated directly with the interaction itself and cannot be unambiguously attributed to either collection of constituents. A simple illustration is provided by the collision of two molecules: as they approach, electrostatic interactions build up, temporarily storing energy in the interaction field; when the molecules separate again, this contribution vanishes. Once separated, the molecules return to being well-defined systems only if the internal dynamics has eliminated the correlations generated during the interaction.
An important exception arises when the interaction is produced by a controlled variation of an external parameter common to both systems. In a weight process, for example, a rigid coupling can be engineered between a system parameter and the elevation of a weight in a gravitational field. Since the weight has a single independent property, no elastic or field-mediated energy storage external to the systems is involved. As a result, the system and the weight remain continuously separable and uncorrelated, and thus qualify as bona fide systems throughout the process.
In the modeling of complex energy systems, it is essential to identify subsystems in a manner that allows the contributions of each to the overall entropy generation by irreversibility to be clearly identified. This analysis is carried out through energy and entropy balances, which require explicit specification of the types of interactions through which subsystems exchange energy and entropy. The classification of interactions into categories such as work, heat, diffusion, heat-and-diffusion, and radiative interactions is therefore instrumental and can be achieved only through precise and restrictive definitions.
In particular, the concepts of work and heat provide a quantitative means to distinguish entropy generated by irreversibility from entropy exchanged through interaction. As will be shown, these concepts enable the precise identification of opportunities to reduce entropy generation and thereby improve the energy performance of thermodynamic systems.
35. Work Interactions
Work interactions involve exchanges of energy and volume only, without any exchange of entropy or constituents. The energy transferred between system A and B by means of a work interaction is called work and denoted with the symbol , which assumes positive values if the energy is transferred from A to B and negative if the transfer is in the opposite direction. We use the symbol when the amount of energy transferred is infinitesimal and for the rate of transfer in a continuous process. When the context allows it, and the focus is on system A (and B is its environment), the symbols may be simplified to , , and or even , , and . Notice the identity , i.e., reversing the arrow on the symbol is equivalent to changing its sign: a negative value of means that the transfer is from A to B, opposite to the direction of the arrow.
A process in which a system undergoes only work-type interactions is called an
adiabatic process. If system
A changes from state
to state
in an adiabatic process, the energy exchange
is equal to the opposite of the work done on the environment
, and the entropy exchange
. Denoting the entropy generated within system
A by
, the energy and entropy balances
for an adiabatic process take the alternative forms
The
E–
S diagram allows a graphical illustration of these ideas. Consider first the example of a system
A consisting of a battery and an ideal electric motor on whose shaft a weight
B hangs as shown in
Figure 26. At time
, the battery is charged and the state is
. Between
and
, the motor, connected to the battery terminals, is activated, the weight is raised and the system reaches state
. Between
and
the battery is disconnected from the engine and system
A remains perfectly isolated. However, the battery discharges internally and the system reaches the state
in which the battery is completely discharged. It is clear that the mechanism that causes the internal discharge of the battery is always active. If its speed is much lower than the speed with which the lifting of the weight occurs, then the sequence of states is the broken one that passes through state
. If instead the internal discharge and the weight lifting occur at comparable speeds and therefore proceed simultaneously, then the states between
and
follow a curved path, as shown in
Figure 26.
Consider a work interaction between two identical systems
A and
B with identical values of the amounts of constituents and parameters (volume, etc.). With this particular choice, the stable equilibrium state curves of the two systems are identical and we can superpose their
E–
S diagrams on a single plot. Assume (
Figure 27) that states
and
have the same entropy,
, and the same holds for states
and
,
. The entropy balances,
for system
A and
for system
B, imply that, if
A and
B interact only with each other and not with other systems so that
, then
, i.e., the exchange of energy between the two systems is not accompanied by any exchange of entropy. It is a work interaction, with
. Graphically, the work is represented by the equal length of the vertical segments
and
on the diagram in
Figure 27. If the final states are
and
(as in
Figure 27(Left)), the entropy balances also imply that the process is reversible (for both systems,
and
imply
).
However, since
and
are not stable equilibrium states, they will evolve spontaneously towards stable equilibrium thus causing an irreversible generation of entropy. For example, in
Figure 27(Center), the spontaneous evolutions start after the work interaction has ended, as the nonequilibrium states
and
relax towards the stable equilibrium states
and
, respectively. But the change of state from
to
can occur in many other ways, represented by different paths on these diagrams. The curved paths
and
in
Figure 27(Right) show the possible paths when the spontaneous relaxations towards stable equilibrium occur in both systems simultaneously to the energy exchange by work interaction.
We already noted that all weight processes are also adiabatic, since a weight has zero entropy and cannot accomodate any entropy transfer. Not all adiabatic processes, however, are weight processes. For example, if system A has a work interaction with system B, as a result of which entropy is generated within B, the process for system A is adiabatic but not a weight process, since the effects external to A are not only mechanical. However, it can be shown that given any non-mechanical adiabatic process there always exists a weight process with the same initial and final states.
36. Non-Work Interactions
To begin the discussion of non-work interactions, let us introduce the symbol
W to denote non-work, i.e., the energy transferred by means of a non-work interaction, and recall that we call non-work any interaction in which in addition to energy transfer there is also an entropy transfer. The balance equations for system
A if it experiences a
non-adiabatic process with both work and non-work interactions, become
In the next subsections, we show that in non-work interactions the initial states of the interacting systems determine the range of values of the entropy transfer that allow a given energy transfer. Notice that for a cyclic process (
and
) we have
and
. Similarly, at steady state (
and
) we have
and
. In these special cases, the conditions
and
imply that
These relations are general forms of the so-called
Clausius inequality (we will see its traditional forms in
Section 42).
37. Entropy Transfer Bounds in Non-Work Interactions
Before proceeding with the precise definition of heat interactions, let us clarify an important point by considering two systems,
A and
B (
Figure 28(Top)), initially at different temperatures
and
, which interact with each other directly (or are made to interact indirectly through some cyclic machinery
X, but without leaving net effects external to
) in such a way as to exchange an amount of energy equal to
.
For systems
A and
B, the energy and entropy balances are
Moreover, the maximum entropy principle implies the inequalities
44 Combining these relations (by eliminating
,
,
,
), yields
and, solving for
, we obtain the following important train of inequalities.
45
from which it is observed that, short of additional conditions, there is no unique relationship between the exchanged entropy
, the exchanged energy
, and the initial temperatures
and
. In other words,
can range from
to
.
The
E–
S diagrams in
Figure 28 provide a graphical illustration of the various elements of the above derivation. The dashed lines represent the range of possible final states
and
, respectively, while the dotted paths (from
to
and from
to
) represent one particular realization, compatible with Rel. (
98), in which the systems, simultaneously to their energy and entropy exchange, relax toward stable equilibrium but at time
have not reached yet the stable equilibrium state.
It is important to note that in the very special limiting cases in which the initial temperatures of
A and
B are very close, i.e., for
, the range of possible values of
defined by Rel. (
98) shrinks to a single value. Furthermore, in order for all equality signs to hold in this limit, it is necessary for both
A and
B to end up in stable equilibrium states, and
. In
Section 40 we will prove that this limiting situation is important and is precisely what characterizes a heat interaction, because then and only then the non-work interaction is entirely distinguishable from work. But before that, we discuss other important results that follow from Relation (
98).
For example, if
is negative, using the identities
and
Rel. (
98) is more conveniently rewritten in the equivalent form
The direct reading of either Rel. (
98) or (
99) yields the following general conclusion (theorem):
two systems initially in stable equilibrium states with different temperatures that interact with each other and nothing else cannot exchange energy without a simultaneous exchange of entropy, unless their temperatures have opposite signs. For positive temperatures, say
, to accomplish a given energy transfer
the interaction must produce also an entropy transfer
, at least equal
but not more than
. Said differently, a work interaction (
) between
A and
B under these conditions is impossible for temperatures of the same sign, whereas for initial temperatures of opposite signs can occur only if the work is in the direction from the system with higher value of
into the one with lower value.
38. Clausius Statement of the Second Law (Proof)
The train of inequalities in Rel. (
98) provides, among other things, the ‘proof’.
46 of Clausius’ statement (1850) of the second law of thermodynamics, which states that
a process that has as its only effect the transfer of energy from a system in a stable equilibrium state with positive temperature to another at a higher temperature is not possible, not even if the energy transfer is infinitesimal.
The proof follows directly from Rel. (
98) or the equivalent (
99). By focusing on the extreme sides of these inequalities and collecting
, we obtain
From this follows that the interaction with
is possible only if the temperatures are such that
, i.e., only if either
(both
A and
B are normal systems, i.e., their stable equilibrium states have positive temperatures) or
(both
A and
B are special systems and are both in stable equilibrium states with negative temperatures) or
and
(
A is a special system in a negative-temperature stable equilibrium state, while
B is in a positive-temperature stable equilibrium state).
For positive temperatures, which is the only possibility for almost all practical systems of engineering interest, these inequalities simplify to
from which it is easier to see that
can be positive, and thus the flow of energy can be in the direction from system
A to system
B only if
, i.e., if
A is “warmer” than
B. From this result, it emerges that, in the realm of normal systems,
temperature measures the tendency of a system in a stable equilibrium state to give up energy.
47The
E–
S diagrams in
Figure 28 provide a graphical illustration of the reasons why the Clausius’ statement holds true. The dashed lines in the diagrams show the range of possible final states
and
. For
, i.e., to transfer energy out of system
A, we must transfer out of
A (and therefore into
B) also at least
of entropy. But the maximum entropy that
B can accomodate is
.
Similar limitations, but more restrictive, apply in general if the energy transfer is to be finite,
. The
E–
S diagrams in
Figure 29 show the graphical constraints, which depend on the fundamental relations of the two systems. In fact, to transfer energy out of system
A, we must transfer out of
A (and therefore into
B) also at least the amount of entropy needed to reduce its entropy at or below the maximum value possible for its final energy
. At most, system
B can accomodate the amount of entropy needed to end in the stable equilibrium state with its final energy
. Therefore, the ranges of possible final states are as shown by the dashed lines in the Figure. The generalization of Relation (
98) to this case is (dropping superscripts on
and
V for compactness)
which entails, albeit implicitly through the fundamental relations of the two interacting systems, a restriction on how much energy
the two systems can exchange for the given initial stable equilibrium states as well as the lower and upper bounds on the entropy
that must and can be transferred for a given energy transfer
. Note that for a normal system both entropy bounds have the same sign as
and, therefore, also
has the same sign, meaning that the entropy transfer is in the same direction as the energy transfer.
39. Clausius Statement of the Second Law Extended to Nonequilibrium
The foregoing result allows us to extend Clausius’ statement of the second law to a process that has as its only effect the transfer of energy and entropy between subsystems
A and
B that start in nonequilibrium states
and
. Repeating the same procedure we used to derive Relation (
102), it is easy to show that for a finite transfer of energy
we end up again with the same inequalities
where, however, the left hand side can be negative, and therefore, the direction of net entropy transfer may be zero or even opposite to that of the energy transfer. This may occur when the state of the system that yields energy to the other is sufficiently far from stable equilibrium. More precisely, for
, this occurs when
or, for
, when
where
and
denote the (nonnegative) “distances from stable equilibrium” of the initial nonequilibrium states
and
, respectively defined by
Clearly, if the net entropy transfer may be zero, it means that the energy exchange
can be done by means of a work interaction.
If the transfer of energy is infinitesimal, Rel. (
103) becomes
which of course, reduces to Rel. (
98) if the initial states are stable equilibrium (
). But in general, if the distances from stable equilibrium are finite, the infinitesimal terms on the rhs and lhs can be neglected, leaving
which involves no approximation if the energy transfer is exactly zero and means that in principle it is possible to achieve “pure entropy transfer interactions” ranging from the two extremes whereby on the one end
A is placed in a stable equilibrium state by receiving from
B an amount
, and on the other end
B is placed in a stable equilibrium state by receiving from
A an amount
.
Similar conclusions can be drawn from Rel. (
103) for finite values of
. Focusing on the extreme sides of those inequalities, we obtain (dropping the dependence on
and
V for compactness)
or equivalently, in terms of
and
,
This represents the extension of Clausius’ statement of the second law to nonequilibrium states. Indirectly, through the fundamental stable-equilibrium-state relations of the two systems, it entails a bound on the amount of energy that can be transferred from
A to
B for the given initial nonequilibrium states
and
.
40. Heat Interactions: Definition
A special limiting class of non-work interactions between two systems that are initially in stable equilibrium states is one that can be completely distinguished from a work interaction. Here, we will define precisely what we mean by this and prove that it may happen only in the limiting situation in which the difference in the initial temperatures of the interacting systems vanishes. In this limit, the ratio of the exchanged energy to the exchanged entropy equals the initial temperature of either system. This is called a heat interaction, and the resulting energy exchanged is called heat.
To do this, consider again the interaction between
A and
B sketched in
Figure 28 and suppose that we operate it as the result of the sequence of two separate processes with the assistance of a
stationary or
cyclic machine
48 X interposed between
A and
B as sketched in
Figure 30.
49 In the first process, machine
X receives from
A the amounts of energy
and entropy
respectively equal to the amounts
and
that in
Figure 28 pass directly from
A to
B. Machine
X uses them to attempt to separate part of the energy received from
A and to store it temporarily by lifting a weight
G. System
A ends up in the same state
as in
Figure 28, while system
B ends up in a different state
. In the second process (
Figure 31), the weight transfers to
B the energy it received from the machine, and
B ends up in the same state
as in
Figure 28. In the end, the sequence of two processes has the same net effects and, therefore, is equivalent to the direct exchange process in
Figure 28. However, if the initial conditions of
A and
B are such that the amount of energy passed to the weight
G is non-negligible, we must conclude that a finite fraction of the energy received by
B (specifically, the energy it receives from the weight in the second process in
Figure 31) is clearly identifiable as work. In this case, the non-work interaction between
A and
B is
not heat.
To calculate what fraction of the energy
the machine
X can transfer to the weight
G, we write the energy balance for
X and the entropy balance for the composite system
in the process of
Figure 30, recalling that by definition
,
The energy balances for system
A and system
B (before receiving the work
) are
Furthermore, as previously seen, the principle of maximum entropy and the fact that initially
A and
B are is stable equilibrium states requires that
where the strict equalities hold only if they also end in stable equilibrium states. Combining these relations, we obtain
where the equality sign holds only if both
A and
B end in stable equilibrium states. In the best-case scenario, namely, if the machine
X operates reversibly (
) and both
A and
B end in stable equilibrium states, the fraction of the energy that
X receives from
A manages to send to
G is equal to
This result is interesting in itself, because it proves the famous Carnot expression for the maximum work. But here, its importance is in showing that if
, this fraction assumes finite values and therefore we conclude that a finite fraction of the exchanged energy
can be separated as work.
However, in the limit as
, we have
In this limit, i.e., in practical terms, when the temperatures
and
differ by at most an infinitesimal amount,
, machine
X, even under the best conditions, cannot possibly spit the energy transferred between
A and
B so that a finite fraction is work. These are the limiting conditions that define a “heat interaction,” i.e., a non-work interaction entirely distinguishable from work, in which the interacting systems exchange energy and entropy, but no constituents nor volume. The extension of this same logic and definition to interactions that in addition to energy and entropy exchange also volume and constituents is discussed in the following sections.
Rel. (
98) implies that in the limit as
and
the difference between the upper and lower bounds to allowed values of
for a given value of
becomes vanishing; therefore, the range of possible values of
squeezes to a single value
In this limit, the relationship between the energy and entropy exchanged from
A to
B is uniquely determined by the temperature
at which the heat interaction occurs, where
denotes the nearly common value of the initial temperatures
and
of the two interacting systems. The exchanged energy is called “heat” and is traditionally denoted by the symbol
instead of
, i.e.,
instead of
, so that Rel. (
117) reduces to the famous relation
The ratio of the energy and entropy exchanged in a heat interaction is equal to the temperature at which the interaction occurs.
Often, in practical applications, as sketched in
Figure 32, a system
A may not be in a stable equilibrium state but can be modeled as the composition of multiple subsystems, one of which,
, is in (or near) a stable equilibrium state at temperature
. Similarly, also system
B may consist of multiple subsystems, one of which,
, is in (or near) a stable equilibrium state at a temperature that differs from
by an infinitesimal amount,
. If the two subsystems
and
undergo a heat interaction at temperature
then we generalize the definition given above and say that systems
A and
B undergo a heat interaction at temperature
across their contact through their respective subsystems
and
, even if
A and
B do not start in stable equilibrium states.
41. The Role of Heat Interactions in Heat Transfer Modeling
Among the conditions that identify heat interactions, the most restrictive one appears to be the requirement that the temperature difference between the interacting systems be infinitesimal. In fact, the common notion of heat seems in contradiction with this idea, since in everyday language we always refers to heat as the energy exchanged between systems at different temperatures. However, when two bodies at different temperatures come into contact, the phenomenology is quite complex because the contact brings them into nonequilibrium states. The discipline that studies this ubiquitous phenomenon is traditionally called heat transfer.
These nonequilibrium states are usually modeled by making the continuum, local quasi-equilibrium, and simple-system assumptions. We do not discuss these assumptions here in any detail, but it is well known that they allow to represent the two interacting bodies as composite systems made up of many small (infinitesimal volume) subsystems (fluid parcels, in fluid mechanics; material points, in solid mechanics), each in a nonequilibrium state not too far from stable equilibrium so that, even if they are nonequilibrium states, some of their properties can be approximated with those of the unique stable equilibrium state with the same energy and compatible amounts of constituents, that each small volume would spontaneously reach if it were isolated from the adjacent volumes. Among these “local” properties is the temperature and as a result the model defines a generally continuous field of temperature that may vary with time. The interaction between adjacent small volumes through their surface of contact is well approximated by a heat interaction. Indeed, by continuity the temperatures assigned to adjacent infinitesimal elements of the continuum may differ only infinitesimally, thus fulfilling the very restrictive limiting condition that defines a heat interaction.
For simplicity, consider the one-dimensional case as schematized in
Figure 33, and the small volume between the surfaces at
x and
, where the assigned local temperatures are
T and
, respectively. Assuming only heat interactions, the small volume receives energy
and entropy
through the contact interface at temperature
and gives away energy
and entropy
through the one at
. The energy and entropy balances for the small volume are
For example, if it is in a steady-state, i.e., its energy
and
remain constant in time, the energy balance implies
and the entropy balance may be rewritten as
where we used the continuity of the temperature field to write
. The condition
must of course be always satisfied. In fact, Fourier’s law of heat conduction assumes
, with
k positive and representing thermal conductivity and
A the surface area of the contact interfaces at
x and
where the heat interactions occur. Dividing by
and denoting the entropy production per unit volume by
and the
x-component of the heat flux vector by
, the entropy production density takes the well-known equivalent forms
At steady state, the small volume maintains its entropy constant by releasing through the contact interface at
exactly the sum of the entropy it generates by irreversibility and the entropy it receives from the contact interface at
x. The small volume generates entropy due to irreversibility because its state is steady-state but nonequilibrium, near but not coinciding with the stable equilibrium state at temperature
. Therefore, maintaining it at steady state requires to balance the competition between its internal dynamics, which would spontaneously push it towards equilibrium, and the heat interactions with adjacent small volumes, which keep it in disequilibrium.
42. Energy and Entropy Balances and Clausius Inequalities for Closed Systems
A system subjected only to interactions that do not transfer amounts of constituents is called a
closed system. If the modes of interaction are only work and heat, the energy and entropy balances take the forms
For a cyclic process (
and
) or at steady state (
and
) they entail the following special forms of Clausius inequalities (
92)
As another special case, for historical rather than practical reasons, consider a temporal sequence of processes for system
A that takes it from state
at time
to state
at time
. At each step of the sequence, i.e., in the interval from
t to
, the system experiences only work interactions of magnitudes
and heat interactions of magnitude
at temperatures
which may all vary with time. By integrating the energy and entropy balances from time
to time
, we obtain
If the process is cyclic, i.e., the final state
coincides with the initial state
, then
and
. The energy balance yields
and the entropy balance, using the condition
, yields the relation known as the
Clausius inequality
where the symbol ∮ serves as reminder that the relation is valid only if the process is cyclic.
43. Non-Work Interactions with Exchanges of Volume
In this section, we consider two systems,
A and
B (
Figure 34), initially in stable equilibrium states with different temperatures
and
, and different pressures
and
. They interact with each other (and nothing else) in such a way as to exchange an amount of energy equal to
but, differently from the cases considered this far, they can also exchange volume through a sliding piston that remains rigid and (except for position) returns to its initial state.
To the energy and entropy balances, we must add the volume balance
Moreover, the maximum entropy principle together with the Taylor series expansion of the fundamental relation imply, for either system, the inequalities
because the second differentials of the fundamental relations are non-positive by the conditions on stability,
The first strict equality in Rel. (
131) holds when the system ends in a stable equilibrium state, and the second when the second differential is zero, e.g., for thermal reservoirs with variable amounts of constituents, for which temperature and pressure have the same values for all stable equilibrium states.
Combining these relations, by eliminating
,
,
,
,
,
, and using
,
, yields
which together become
Again, for the new set of conditions, these inequalities set lower and upper bounds to the range of values that the entropy transfer must and can take for given transfers of energy and volume.
Also here, in the limiting case where
A and
B start almost in mutual equilibrium (
and
) such range of values shrinks to a single value
In the particular case of an adiabatic piston, whereby
, so the interaction is work, denoting the energy transfer by
instead of
and using the identity
the relation becomes
But, under these conditions, a work interaction (
) between
A and
B is also possible if
provided the energy and volume transfers obey the conditions
For positive temperatures, these imply
so that
(the piston in
Figure 34 moves to the right) requires
,
For example, consider the setup sketched in
Figure 35, where a weight
G of mass
is attached to the piston (of surface area
a) so as to balance exactly the different pressures exerted on its two sides. When
, the piston moves to the right and lifts the weight. The above relations do not hold at this stage because the assumption that systems
A and
B interact directly without other effects is not satisfied. In fact, it is a weight process for the composite system
and the work done is
.
But if we return the weight to its initial height by giving its energy back to
by means of fixed-piston weight processes for
A and
B, then the assumption is fulfilled and the net final effect is a work interaction between
A and
B (with no net external effects) accomplished via the piston and the weight. If we denote by
the fraction of
given to
B (
) and
that given to
A, the net works for
A and
B are
or, equivalently,
, which upon varying
fills the entire range of values allowed by Relation (
138). Of course, the work interactions with the weight leave
A and
B in nonequilibrium states, and therefore, the systems will spontaneously relax toward stable equilibrium, thus generating entropy.
44. Non-Work Interactions with Exchanges of Constituents
In this section, we consider two systems,
A and
B (
Figure 36), initially in stable equilibrium states with different temperatures
and
, and different chemical potentials
and
, where
is shorthand for
,
,…,
and similarly for
. They interact with each other (and nothing else) in such a way that the overall exchange of energy is
, and in addition, there are also exchanges of amounts of constituents,
, through one or more apertures that open when the interaction begins and close immediately after, leaving the volumes unchanged.
To the energy and entropy balances we must add a balance for each type of constituent,
The maximum entropy principle together with the Taylor series expansion of the fundamental relation imply, for either system, the inequalities
because all second differentials of the fundamental relations are non-positive by the conditions on stability. The first strict equality holds when the system ends in a stable equilibrium state, and the second when the second differential is zero, e.g., for thermal reservoirs with variable amounts of constituents, for which temperature and chemical potentials have the same values for all stable equilibrium states.
Combining these relations by eliminating
,
,
,
,
,
, using
,
, and proceeding like in the previous sections, yields
Again, for the new set of conditions, these inequalities set lower and upper bounds to the range of values that the entropy transfer can take for given transfers of energy and constituents. Also here, in the limiting case where
A and
B start almost in mutual equilibrium (
and
), such range of values shrinks to the single value
45. Non-Work Interactions with Exchanges of Volume and Constituents
If volume is also exchanged, as sketched in
Figure 37, the interaction is possible when
In the limiting case where
A and
B start almost in mutual equilibrium (
,
, and
), such range of values reduces to the single value
Figure 37.
Systems
A and
B start in stable equilibrium states and interact directly without other effects by exchanging energy, entropy, amounts of constituents, and volume. Such an interaction can occur only if Rel. (
144) is satisfied.
Figure 37.
Systems
A and
B start in stable equilibrium states and interact directly without other effects by exchanging energy, entropy, amounts of constituents, and volume. Such an interaction can occur only if Rel. (
144) is satisfied.
46. Heat-And-Diffusion Interactions: Definition
The above results lead to the following important definition of another special limiting class of non-work interactions between systems initially in stable equilibrium states. Since it can be viewed as a generalized form of heat interaction combined with the diffusion of constituents, we call it
heat-and-diffusion interaction. As for heat, the conceptual and practical definition of heat-and-diffusion hinges on its complete distinguishability from work. The procedure is a simple extension of the discussion in
Section 40, so we can skip most details and go directly to the results.
Consider first the case of
Figure 36 (no volume exchange). Let us interpose a cyclic machine
X between interacting systems
A and
B with the purpose to intercept the energy, constituents, and entropy they exchange and attempt to channel as much energy as possible into lifting a weight
G, as sketched in
Figure 38. If the machine is successful, the subsequent step, like in
Figure 31, is a weight process in which system
B receives the energy temporarily stored by lifting the weight, so that the end final effect is the same as in
Figure 36, but we can say that part of the energy transferred from
A to
B is clearly identifiable as work.
By writing balances of energy, entropy, and constituents, and using the maximum entropy principle, like we have done above to obtain Rels. (
114) and (
115), we can easily show that the maximum work that machine
X can transfer to the weight is
This result is interesting in itself, because it generalizes the famous Carnot expression for the maximum work. But here, its importance is in showing that it is only in the limit as
and
for every
i that the maximum work vanishes. This limit defines the heat-and-diffusion mode of interaction. We have already proved that in this limit the exchanges of energy, entropy, and constituent are uniquely related by Equation (
143),
which of course may be viewed as a generalization of the famous relation
(Equation (
118)) which holds for simple heat interactions.
However, it would be misleading to think of the entire energy transfer as “heat.” In fact only part of
and part of
can be interpreted as associated to heat. To this end, let us note that, in general, the chemical potentials may be written as
where
and
are the partial enthalpy and partial entropy of constituent
i.
50 Therefore, Equation (
147) may be rewritten as
where the first equality defines what is called
measurable heat [
42] (Par.III.3). Equivalently, we may write this as the generalization of Equation (
118),
which shows that the temperature
at which the heat-and-diffusion interaction occurs is
not equal to the ratio
of the entire energy transfer to the entire entropy transfer, but it is equal to the ratio
of only the portions of energy and entropy transfers not directly associated with the diffusion of constituents. In other words, the measurable heat
in a heat-and-diffusion interaction is the difference between the overall energy transfer
and the enthalpy transfer
, which in turn can be viewed as the energy transfer due in part to the internal energy carried by the diffused constituents and in part to the pulsion work needed to move them against their local partial pressures.
51Similarly to Equation (
143), for the case of
Figure 37 in which also volume is exchanged, we may use the identity
in Equation (
145) and define the measurable heat
so that the energy and entropy transfers can be written as follows
47. Availabilities with Respect to Various Kinds of Thermal Reservoirs
We now return to the concept of available energy, previously introduced in the context of a system
A interacting with a thermal reservoir
R through a weight process for
. In that setting, the maximum amount of energy that can be transferred to a weight is achieved when the process is reversible, and when the system ends in a state of mutual stable equilibrium with the reservoir. The reservoir’s role as source or sink of entropy is indispensable to achieve reversibility of the weight process for
. More generally, one may prescribe two arbitrary states of the system, say
and
, as sketched in
Figure 39 and ask a different question: given access to interaction with a specified thermal reservoir, what is the maximum mechanical work that can be extracted during the transition from
to
, or, if work must be supplied, what is the minimum amount required? Questions of this kind are answered systematically by combining energy and entropy balances for the composite system with the fundamental relation of the reservoir.
In the simplest case, the thermal reservoir is characterized by fixed volume and composition. Its fundamental relation (Equation (
80)) is linear, expressing proportionality between its energy and entropy changes, and a fixed temperature
. In practical applications, however, the class of systems that can effectively play the role of thermal reservoirs is broader. Large portions of the environment—such as the atmosphere, oceans, lakes, or rivers—may exchange not only energy and entropy but also volume and matter with the system of interest. When the exchanged amounts are small compared to the size of the reservoir, such systems may still be idealized as thermal reservoirs, albeit with different sets of constrained and unconstrained variables. Each choice leads to a distinct fundamental relation for the reservoir and, correspondingly, to a distinct definition of available energy.
The notion of thermal reservoir may be conveniently generalized by relaxing the conditions of fixed volume and fixed amounts of constituents while maintaining the defining condition that in any of its stable equilibrium states it is in mutual equilibrium with a given system
C in a fixed given state
, provided that in addition to energy and entropy systems
C and
R can exchange also volume (if variable for
R) and the amounts of constituents that are variable for
R, if any. With this definition, the maximum entropy principle implies (recall
Figure 16) that not only the temperature
is the same for all the stable equilibrium states of the reservoir, but also the pressure
(if it has variable volume) and the chemical potential
of every constituent with variable amount.
In this section, we first review the classical case of available energy with respect to a thermal reservoir with fixed volume and fixed amounts of constituents. We then extend the analysis to four relevant classes of reservoirs, distinguished by whether volume and/or constituents may be exchanged between the system A and the reservoir R: (i) fixed V and fixed ; (ii) variable V and fixed ; (iii) fixed V, variable , and fixed ; and (iv) variable V and variable . In each case, we identify and define a corresponding “availability function” whose difference between states and provides a precise measure of the maximum work that can be obtained, or the minimum work that must be supplied, for the prescribed change of state, independently of whether and are equilibrium states or not. This availability function possesses an absolute minimum at the state of mutual equilibrium between the system and the reservoir, a feature that has important consequences for stability, concavity of fundamental relations, and response to perturbations.
With reference to
Figure 39, assume that the thermal reservoir has fixed volume and amounts. Before imposing the reversibility of the weight process for
, the energy and entropy balances are
Using the fundamental relation of
R,
, to eliminate
and
from Equation (
152) yields
where we note that by defining the “Helmholtz availability function”
and recalling the definition of the available energy
we can express the optimal work as
Figure 40 gives a geometrical representation of the Helmholtz availability function
on the
E–
S diagram of system
A. It also shows graphically that
possesses an absolute minimum at state
, where
A and
R are in mutual equilibrium, and hence,
.
We finally note that in state
,
where
is the
Helmholtz free energy.
52 But it is important to note that for all the other stable equilibrium states,
, and while the Helmholtz availability function
is defined also for nonequilibrium states, the Helmholtz free energy
F is not.
53The observation that
has an absolute minimum at state
can be expressed by writing that
From this, we can derive useful stability conditions, equivalent to those we already derived from the maximum entropy principle to prove the concavity of the fundamental relation. For example, choose
to be the stable equilibrium state with the same values of
V and
as state
but with entropy
. Then, Rel. (
156) together with the Taylor expansion of fundamental relation for
A,
, imply the general condition
which in turn implies the stability condition
.
Again with reference to
Figure 39, assume now that the thermal reservoir has variable volume and fixed amounts and that
A and
R can exchange volume but no constituents. Before imposing the reversibility of the weight process for
, the energy, entropy, and volume balance equations and the reservoir’s fundamental relation are
Eliminating
,
and
from these equations yields
and by defining the “Gibbs availability function”
and the available energy
we can express the optimal work as
Also,
possesses an absolute minimum at state
, where
A and
R are in mutual equilibrium and hence
and
. Moreover, in state
,
where
is the
Gibbs free energy.
54 But it is important to note that for all the other stable equilibrium states,
, and while the Gibbs availability function
is defined also for nonequilibrium states, the Gibbs free energy
G is not.
The stability condition that follows from the observation that
has an absolute minimum at state
is
Assume now that the thermal reservoir has fixed volume and variable amount constituent
i only and that
A and
R can exchange constituents of type
i (through a semi-permeable rigid membrane) but no other type of constituents nor volume. Before imposing the reversibility of the weight process for
, the energy, entropy, and constituent
i balance equations and the reservoir’s fundamental relation are
Eliminating
,
and
from these equations yields
and by defining the “osmotic availability function”
and the available energy
we can express the optimal work as
Also
possesses an absolute minimum at state
, where
A and
R are in mutual equilibrium and hence
and
. Moreover, in state
,
where
is the
osmotic free energy.
55 But it is important to note that for all the other stable equilibrium states,
, and while the osmotic availability function
is defined also for nonequilibrium states, the osmotic free energy
is not.
The stability condition that follows from the observation that
has an absolute minimum at state
is
Finally, assume that the thermal reservoir has variable volume and variable amounts for all constituents and that
A and
R can exchange volume as well as all types of constituents. Before imposing the reversibility of the weight process for
, the energy, entropy, volume and constituent balance equations and the reservoir’s fundamental relation are
Eliminating
,
,
and all
’s yields
and by defining the “Hill availability function”
and the available energy
we can express the optimal work as
Also
possesses an absolute minimum at state
, where
A and
R are in mutual equilibrium and hence
,
,
. Moreover, in state
,
where
is the
Hill free energy.
56 57 But it is important to note that for all the other stable equilibrium states,
, and while the Hill availability function
is defined also for nonequilibrium states, the Hill free energy
is not. It is also worth noting that setting
yields the
Euler relation,
, which, however, does not hold in general but only within the simple-system model approximation (large amounts of constituents, macroscopic limit). In particular, for few-particle systems (nanothermodynamics), the Hill free energy
does not vanish. It plays an important role in determining how specific properties depend on the amounts of constituents (lack of extensivity) (see
Section 49), and it is related to the minimum work of partitioning and the maximum work that can be obtained by removing partitions (see
Section 48).
The stability condition that follows from the observation that
has an absolute minimum at state
is
48. Work of Partitioning, Hill (Euler) Free Energy, and Subdivision Potential
The partitioning of a system into subsystems is a fundamental operation that clarifies the distinction between additivity and extensivity. Macroscopic and mesoscopic treatments often take for granted the “simple-system model approximation” [
11,
72], whereby a system in a stable equilibrium state can be subdivided into a composite of smaller subsystems without energetic or entropic cost. This approximation is a cornerstone of the continuum hypothesis required to define spatial fields in many nonequilibrium frameworks; it amounts to neglecting wall rarefaction, surface effects, finite-size constraints, and changes in the spectrum of accessible states introduced by physical partitions.
For systems with few particles, however, this approximation fails. Such effects introduce non-negligible energetic and entropic contributions associated with the subdivision of a system into subsystems. Here, it is vital to emphasize that “subsystems” refer to well-defined systems (separable and uncorrelated)—a fundamental condition for their individual energies and entropies to be formally defined.
As part of our rigorous operational construction, which remains valid for both few- and many-particle systems, we must explicitly account for the work required to establish the boundaries that define a partition. As we shall see, the Hill (Euler) free energy quantifies precisely this contribution and is therefore referred to as the subdivision potential. Its appearance in our derivation highlights that a thermodynamic description applicable to systems of arbitrary scale must account for deviations from extensivity rather than assuming them away from the outset—a necessity made even more explicit in the following section.
We consider a system initially in a stable equilibrium state and examine the thermodynamic cost of partitioning it into compartments. Each compartment is required to contain equal amounts of cconstituents, equal volume, and equal entropy, so that the partitioned system as a whole is again in a stable equilibrium state. Since the overall energy and entropy of the system are conserved in a reversible weight process, the transition from the unpartitioned to the partitioned configuration can, in principle, be carried out reversibly, and therefore admits a well-defined minimum work requirement.
The energy–entropy representation in
Figure 41 provides a clear geometric interpretation of the many ways this process can be realized. Introducing partitions changes the definition of the system and, with it, the locus of stable equilibrium states. Immediately after the partitions are removed, the
-compartment system
initially in the stable equilibrium
with energy
and entropy
finds itself transformed into a new single-compartment system
in a nonequilibrium state,
, even though its energy and entropy are unchanged. If left to itself, the state of
would evolve spontaneously at constant energy
toward the new stable equilibrium state
with entropy
, generating entropy by irreversibility
. Conversely, if the partitions are removed or introduced through a sufficiently rapid and controlled reversible weight process, it is possible to extract or supply the corresponding adiabatic availability, following a path of constant entropy.
From this viewpoint, the minimum work required to introduce partitions is equal to the maximum work that can be extracted when the compartments are reversibly merged into a single-compartment system. This work is given by the difference between the energy of the partitioned configuration with entropy and the energy of the unpartitioned system evaluated at the same entropy, volume, and amounts of constituents. By examining how this work changes when the number of compartments is varied by one unit, we identify a quantity naturally interpreted as the work associated with adding or removing a single partition. As shown below, this quantity coincides with the Hill (or Euler) free energy of each compartment of the partitioned system, thereby providing a direct physical interpretation of Hill’s free energy as the energetic cost of subdivision in systems with few particles.
It is noteworthy that, in general, the concavity of the fundamental relation
in all its variables (and the convexity of its positive-temperature energy form
) implies its subadditivity, i.e., the following inequalities, which justify the relative positioning of the stable-equilibrium-state curves in
Figure 41,
The minimum work of partitioning into
identical compartments in identical stable equilibrium states is equal to the maximum work that can be obtained by removing the partitions. They obtain in reversible weight processes that connect states
and
in one or the other direction,
It is interesting to compute the minimum work to increment
by one and the maximum work to decrement
by one
For
sufficiently large, we can approximate these incremental ratios by
where the partial derivatives of Equation (
183) (for
) are given by
Thus, we see that the Hill (Euler) free energy
for one of the
compartments equals (for large
) the optimal work to increase or decrease
by one.
49. Stable Equilibrium Properties in the Absence of Extensivity
For positive-temperature stable equilibrium states the following relations hold in general regardless of the system’s size
where
is the overall amount of constituents,
denotes the mole fractions (
), and
s,
e,
f,
g, and
h, respectively, represent
specific molar entropy, energy, Helmholtz free energy, Gibbs free energy, and enthalpy. We see that in general specific molar properties are not independent of
n. By contrast, a defining requirement for extensivity is that specific properties be independent of
n, which these relations clearly show can happen only approximately for large
n, when the specific molar Hill free energy
is finite, or exactly when
.
The following relations also hold in general, i.e., in the absence of modeling assumptions that imply extensivity. When
they all reduce to well-known relations of macroscopic equilibrium thermodynamics.
where
,
,
,
,
,
,
are respectively the
i-th constituent partial molar entropy, energy, Helmholtz free energy, Gibbs free energy, enthalpy, volume, and chemical potentials defined in terms of the Gibbs free energy
(Legendre transform of
with respect to
S and
V) and the chemical potentials as follows
Equation (
198) for large
n is the
Duhem-Margules relation. For large
n the dependences on
reduce to
, and the partial properties become independent of
n.
50. Stability Conditions and LeChatelier-Braun Principle
The inequalities that are obtained from the stability conditions (
156), (
164), (
172), and (
181) give body to the general
LeChatelier-Braun theorem (or
principle). For example, from the general condition
we have seen that for normal systems at stable equilibrium
Combined with the idea that
T is an escaping tendency for energy, we may interpret this as follows.
If we change a stable equilibrium state to another with higher energy (or entropy), the temperature increases, hence enhancing the systems’ tendency to give energy (or entropy) away. The increase in temperature can be interpreted as an attempt of the system to counteract the externally imposed increase in energy (or entropy) by enhancing its own tendency to give energy (and entropy) away.
If the system is initially in mutual equilibrium with a reservoir R, an injection (subtraction) of energy pushes its state away from mutual equilibrium, but the consequent increase (decrease) of its temperature, away from the initial , favors a spontaneous process whereby the system exchanges energy (and entropy) with R so as to return toward mutual equilibrium.
Assume we have a function
where
P,
x, and
y are additive exchangeable properties (such as
S,
E,
V, the
’s or linear combinations of them, such as
,
,
, and
) and
P is subject to a stability condition
or
. We write its first and second partial differentials (constant
) with the following notation
The quadratic form can be rewritten (check by substitution) in the two canonical forms
Therefore, since the stability conditions must hold for arbitrary
and
,
Whether
is positive semidefinite or negative semidefinite, we can use the properties of Jacobians to write
Therefore, we can rewrite
and
as
so that, finally, the stability conditions become
We may interpret these inequalities as follows. To fix ideas, assume
and
,
,
, so that
and
. The corresponding stability condition is
which implies the following conditions.
58 Assertion 1. If a system initially in mutual equilibrium with a thermal reservoir R is perturbed to a neighboring stable equilibrium state in which the value of an additive property x is changed to , the system responds by changing the conjugate potential in the direction that increases (decreases) the escaping tendency of x when x is increased (decreased). As a consequence, the system tends to oppose the imposed exchange of x by favoring a spontaneous exchange with R that acts in the opposite direction, thereby tending to restore mutual equilibrium.
Assertion 2. The magnitude of this response depends on how many mutual equilibrium conditions are disrupted by the perturbation. A perturbation that constrains the system to maintain a fixed value of another additive property y produces a stronger response, , than a perturbation that constrains the system to maintain a fixed value of the conjugate potential , . In general, the system’s counterreaction is stronger when the perturbation breaks a larger number of mutual equilibrium conditions.
51. Entropy and Uncertainty in Quantum Models
The following discussion of Quantum Thermodynamics serves as a concrete demonstration of the operational construction developed in the first part of this work for one of the nonequilibrium frameworks listed in
Section 5. In the quantum regime, the identification of the thermodynamic state and its properties is particularly challenging, as many classical heuristic partitions of energy transfer into work and heat are currently the subject of active investigation [
65,
73]. There are numerous interesting results that stem from the application of the concepts discussed so far to the study of additional properties defined within the framework of quantum-theoretical models. Our framework provides a self-consistent logical scaffolding that remains independent of specific modeling choices for dissipative processes and may help to clarify currently controversial definitions. This discussion also allows us to explore fundamental aspects such as the interpretation of entropy as a measure of uncertainty and the origin of the ideal-gas model.
The description of equilibrium and nonequilibrium states within the scope of atomic and quantum theory is based on two fundamental observations of quantum theory: the quantization of energy levels and the irreducible need for probabilities in the description of the states of a system.
The value of a property of a system in a given state (any state) generally does not coincide with the result of a single act of measurement of that property. In fact, contrary to what was suggested for simplicity in
Section 4, a single act of measurement is not sufficient to determine the value of the measured property. The measurement procedure that defines the property must be repeated on identical replicas of the system, all prepared in the same way, and the full statistics of the collected measurement outcomes must be analyzed.
To fix ideas, let us consider the measurement procedure that defines the property energy. When applied to a system described within the context of classical modeling, repeated applications of the procedure to identical and identically prepared replicas always yield the same numerical value, namely the value of the energy. By contrast, an essential feature of quantum modeling is that, when the procedure is applied repeatedly to identical and identically prepared systems, the outcomes of individual measurement acts are, in general,
unpredictable.
59. The outcomes occur with consistently repeatable frequencies among different numerical values, the
energy levels of the system, which we denote by
.
The set
of possible energy levels constitutes a characteristic of the system, called the
energy spectrum, which depends only on the amounts of constituents
and the parameters
. The spectrum may be continuous, discrete, or partly discrete and partly continuous.
60A similar situation holds for any other property whose measurement procedure is defined by mechanics (particle position, momentum, angular momentum, magnetic dipole moment, etc.). To determine the (quantum) state of a system, it is therefore necessary to collect the full measurement statistics for a “quorum” (a complete and independent set) of such mechanical properties. This procedure is known as
quantum tomography [
75,
76,
77].
There are other types of properties, such as adiabatic availability, available energy with respect to a reservoir, and entropy, which—being defined through measurement procedures that involve the determination of a maximum obtainable quantity (e.g., the maximum energy transferable to an external weight) or conditions on the final state of a weight process—do not admit direct measurement procedures with a meaningful interpretation of individual measurement acts. The determination of the values of properties of this kind therefore requires a full tomography.
The existence of properties, such as energy, with a discrete spectrum of values accessible through individual measurement acts is a distinctive feature of quantum theory, referred to as quantization. Discrete spectra are generally associated with modes of the electromagnetic field and with the internal degrees of freedom (rotational, vibrational, electronic, and magnetic) of atoms and molecules, aggregates of interacting atoms and molecules, and crystalline lattices. Continuous spectra are instead typically associated with the translational degrees of freedom of free particles, atoms, and molecules not confined to finite regions of space.
Molecular theory provides methods for deriving expressions for the set
of energy levels as a function of the system structure and of the atoms and molecules that compose it, or equivalently as a function of the amounts of constituents and the parameters,
We will present two examples of such expressions below; however, the methods used to calculate them lie beyond the scope of the present overview.
In addition to quantization, the aspect that most sharply contrasts with the determinism on which classical physics was based is the unpredictability of the outcome of a single measurement act. This unpredictability reflects an intrinsic indeterminacy in the state of systems and is a defining discovery of modern physics, its technological applications, and the various philosophical interpretations that have emerged over the last century and remain under discussion.
61The indeterminacy inherent in the state of every system does not prevent the rigorous definition of the state itself, nor does it require abandoning deterministic equations of motion that describe temporal evolution in accordance with the principle of causality, another cornerstone of classical physics.
Indeed, while the outcome of a single measurement act is not predictable, the limiting frequency
with which each energy level
occurs in a sequence of
N measurement acts on identical replicas of the system, all prepared in the same state, is perfectly predictable when
N is sufficiently large.
62 It is therefore possible to define, for each energy level
, a property denoted by
, called the
probability that a single measurement act yields the energy level, defined by the limit
The value of this property becomes part of the set of quantities that define the state of the system. Evidently,
where the sum extends over all values in the energy spectrum.
63The energy measurement procedure must be repeated
N times on identical replicas of the system, all prepared identically, with
N sufficiently large (in the infinite limit), until the mean value of the energy levels provided by individual measurement acts weighted by their respective frequencies,
stabilizes and becomes insensitive to further repetitions of the measurement, i.e., becomes independent of
N. The value
E obtained in this way is the result of the energy measurement procedure and, formally, is given by the relation
equal to the average of the energy levels weighted by their respective probabilities (expectation value).
64 In terms of the probabilities
, we may also compute the dispersion
of the energy measurement results around the mean value, defined by
Now that we have introduced the probabilities , it might seem legitimate to say that “if as a result of a single measurement act, the system provides the energy value , then it means that ‘that’ was the value of the energy before the measurement act, i.e., the system was in a state with energy .” However, if this were true, we could also say that “since, in general, other measurement acts performed on identical replicas of the system prepared identically provide different values (in the set ), it means that these identical replicas of the system were prepared in different states,” and consequently, the probabilities would not satisfy the definition of properties since they would characterize not the states of the system but uncertainties introduced by the (inhomogeneity of the) preparation method, which with some hidden stochastic rule “chooses” to prepare the system in this or that state.
What has been said for energy can be repeated for other properties. For example, for a particle with translational degrees of freedom confined in a container, the components
,
, and
of the velocity vector. Although not always, it is generally possible to measure two (or more) properties simultaneously in a single measurement act, obtaining two (or more) ‘responses’ from the system for each act, for example, an energy level
and three velocity levels
,
,
for the three velocity components. It is therefore possible for the same energy level
to emerge in different measurement acts together with different combinations of possible levels of other properties measurable simultaneously. For each
, the number of different combinations of this type that can occur is a characteristic of the system called
degeneracy or
multiplicity of the energy level , denoted by
and which is a function, in addition to the level itself, of the amounts of constituents and parameters,
In general, quantum theory provides a well-defined mathematical representation of the system’s state and, with it, an explicit expression of entropy valid for all states (equilibrium and nonequilibrium). This representation requires the introduction of mathematical concepts beyond the scope of these brief notes. However, for systems with a discrete energy spectrum a quite broad subclass of states exist.
65 which includes the stable equilibrium states, the explicit expression of entropy reduces to the following
where
k is the Boltzmann constant,
J/K, and {
} and {
} are the probabilities and multiplicities of all energy levels.
In fact, Equation (
217) represents a measure of the
breadth of the probability distribution {
}. For example, in the particular case of a state with probability
for the energy level
(with multiplicity
) and zero for all other levels (
for all
), the entropy is given by
and is therefore higher the greater the multiplicity of the only level. Another notable particular case is the state with
M equiprobable energy levels (
for
1, 2, …,
M) for a system with nondegenerate energy levels (
for every
j); the entropy is given by
and is therefore higher the greater the number
M of equiprobable (nondegenerate) levels.
The broader the probability distribution, the higher the entropy, and the greater the uncertainty about the outcome of the next measurement act. It is in this sense (and limited to the subclass of states for which the expression (
217) holds) that entropy can be interpreted as an indicator of the uncertainty of the outcomes of individual measurement acts; uncertainty, be aware, that for a given state of the system cannot be eliminated in any way, is irreducible, being intrinsic in the nature of the state itself. It can also be called
disorder: the disorder with which measurement results emerge. The most ordered situation is the one that always provides the same value; it corresponds to the narrowest possible probability distribution, and if the energy level is nondegenerate, entropy (Equation (
218)) is zero. However, the opposite is not true since not all states of mechanics belong to the subclass for which the entropy expression is given by Equation (
217). Therefore, it is not correct to conclude (and indeed it is not true) that states of mechanics, having zero entropy, are all ordered, in the sense of being free of indeterminacy. Most of them still exhibit uncertainty in the outcomes of individual measurement acts. To emphasize the fact that there are irreducible uncertainties [
74] even in states with zero entropy, the term
indeterminacy has been introduced for the states of mechanics.
The most disorderly conceivable situation for a given system with
M nondegenerate levels
66) is the state that provides all possible levels with equal probability,
where we have also indicated the corresponding values
S and
E of entropy and energy.
All stable equilibrium states belong to the subclass for which the expression (
217) for entropy holds. From the principle of maximum entropy (
Section 26), we know that among all states with energy
E, amounts
, and parameters
, the stable equilibrium state is the one with the maximum entropy. The corresponding probability distribution {
} is therefore the solution to the following constrained maximization problem
namely,
67
where
T is the temperature. For a lower and upper bounded energy spectrum,
can range between
and
and this distribution yields an
E–
S diagram as shown in
Figure 24.
The ground-energy stable equilibrium states has energy , inverse temperature , and entropy , thus its temperature is zero (third law) but its entropy is zero only if the ground-state energy level of the system is nondegenerate.
We have seen that adiabatic availability is the maximum amount of energy that a system can transfer to a weight in a weight process, and that its realization requires a reversible weight process in which the system ends in a stable equilibrium state. Reversibility of the weight process requires that the initial and final entropies be equal. From Equation (
217), it is clear that, in principle, there are many ways in which the entropy can be kept constant while changing the probabilities. Adiabatic availability therefore requires that the initial probabilities
change in time, while keeping the value of the entropy constant, so as to reach the unique distribution
that satisfies Equation (
227) and such that
.
However, as first noted in [
78] (Sections 3.2–3.4), if the state of the system is assumed to obey a strictly unitary equation of motion, it can be shown that the values of the probabilities
cannot be changed, but can only be rearranged so as to decrease the energy while keeping the entropy unchanged, by manipulating their order with respect to that of the set
of energy levels. This observation effectively defines a special class of reversible weight processes, called CCP (cyclic change in parameters) unitary processes. Starting from any initial state with probabilities
, the largest amount of energy that can be extracted through a reversible weight process in this class is obtained by a unitary process that rearranges the probabilities so that the final set of values
consists of exactly the same values as initially, but ordered oppositely to the increasing order of the energy levels, i.e.,
for
.
The resulting final energy
is the minimum among all states compatible with the initial probabilities, but it is generally higher than the energy of the stable equilibrium state with entropy equal to
. Consequently, the extractable energy
, which in recent years has been called
ergotropy [
79], is in general smaller than the adiabatic availability of the initial state.
This difference has a clear operational meaning: it quantifies the portion of the adiabatic availability that is inaccessible when the dynamics is restricted to unitary, probability-distribution-preserving transformations, and therefore cannot drive the system to the stable equilibrium state of equal entropy.
From the thermodynamic viewpoint adopted here, this limitation reflects the absence of internal reversible mechanisms capable of reshaping the probability distribution beyond unitary rearrangements. The gap between ergotropy and adiabatic availability thus provides a direct measure of the role of internal dynamics in enabling the full conversion of available energy, and highlights the distinction between idealized, dynamically constrained processes and fully reversible thermodynamic weight processes.
Defining the so-called
partition function,
the following expressions for probabilities, energy, and entropy, are easily verified
Note that Equations (
230) and (
231) have the form
and
, defining implicitly, through the parameter
T, the fundamental relation of the system
from which, as we have seen, all the other properties defined for stable equilibrium states can be derived. Rel. (
232) confirms the concavity of the entropy versus energy relation.
As a first example, consider a system consisting of a single harmonic oscillator with frequency
. The energy levels are quantized. In addition to the minimum energy level of
, the others are separated by intervals all equal to
, where
J s is the Planck constant,
so that the partition function (Equation (
228)), is
from which it follows, for example,
As a second example, consider a system consisting of a single particle of mass
m without internal structure and therefore endowed only with translational degrees of freedom, confined in a parallelepiped-shaped container with sides
,
,
(and volume
). Also in this case, the energy levels are quantized. They are given by the relation
The maximum entropy principle implies that the stable equilibrium state probability distribution {
} is given by the solution of the constrained maximization problem
subject to
and
where
. Assigning the Lagrange multiplier
to the energy constraint, and recalling that for one particle
and
, we find the stable equilibrium state distribution
where we define the “directional partition functions”
so that the partition function, given by Relation (
228), becomes
It easy to verify that the probabilities and all the properties can be obtained from derivatives of the
’s and that
, i.e., the Lagrange multiplier indeed represents the temperature. For
, we have the relations
We may define the “directional pressure”
representing the change in the directional energy
at constant
due to a partial change in the volume
obtained by changing only the side length
, while keeping the other two side lengths fixed, so that
,
The directional and overall stable-equilibrium-state Gibbs relations rewrite, in general, as
For ‘practical’ values of
m,
,
,
, and
T, the values of
are typically much smaller than one.
68 And therefore, the sum in
can be approximated by an integral,
and, therefore, the overall partition function becomes independent of the details
,
,
of the shape of the container, given the same volume
. As a result, in this practical limit of large
T for a given
V, so that the approximation
holds, the directional energies and the directional pressures become independent of direction, and we have
where, in the last of Equation (
252), we have evaluated the pressure using its definition, Equation (
69). The result obtained is valid, as seen, if
and shows that the
equation of state (relation between
T,
p, and
V for the stable equilibrium states) of a single particle (
molecule) confined in the container of volume
V is
which is the well-known
ideal-gas equation of state. Equations (
251) and (
252) also show that the overall energy
E is equally partitioned into the three directional contributions
(equipartition theorem).
The ideal-gas equation of state is a good approximation also for the stable equilibrium states of a system consisting of many point (structureless) particles of mass
m confined in a box at relatively high temperatures and low pressures, in which at any given instant of time only a negligibly small fraction of the particles are close to one another in the collision range where intermolecular forces are strong, whereas every other particle (the vast majority) feels negligible intermolecular forces and, hence, behaves like a single particle in a box, essentially not feeling the presence of other particles except during the negligible time it spends colliding with them. In these limiting conditions (ideal-gas limit), the properties of
n distinguishable but identical particles in the box of volume
V can be approximated by those of a composite of
n separable and independent identical systems each consisting of a single-particle in a box of volume
V. From the additivity of energy and entropy for composites of separable and independent systems, it follows that
We may use these relations to compute the minimum work of partitioning and the entropy of partition removal with reference to
Figure 41. Let
be the temperature of stable equilibrium state
of the single-compartment system
with
n particles in volume
V. By the first of Equation (
255), the energy is
and the entropy
. For the
-compartments system
, each compartment has
particles in volume
. If they are all in mutual equilibrium at temperature
, Equation (
255) imply that each of them has energy
and entropy
, so that
,
and
. Also, they imply that the state
, identified by the condition that
, has temperature such that
, i.e.,
. Therefore, with reference to
Figure 41, for distinguishable but identical point particles in the ideal-gas limit, the entropy of partition removal and the minimum work of partitioning are given by
So far, in these brief quantum theory notes, the amounts of constituents have been considered fixed. To model the stable equilibrium states of systems with many particles in the simple-system approximation (i.e., when the effects of adding or removing partitions are negligible, and correlations are rapidly erased by dissipation) it is possible to consider the amounts as variable, behaving like normal properties, such as energy, with their respective quantum uncertainties. This allows to model a system open to exchanges of constituents.
For a system with a single type of constituents, the result of measuring the number of particles is an integer, denoted by
z, with
, generally unpredictable. But repeating the measurement on a large number of identical replicas of the system, all identically prepared, we can compute the average value of the number of particles as well as the dispersion of measurement results around the mean value
In general, if we simultaneously measure the energy and amounts of all
r constituents of a multi-constituent system, the result of a single measurement will be the set of
values
,
,…,
,
, or, more succinctly,
,
, where
belongs to the set of possible values
compatible with the values
of the parameters and the measured numbers of particles
. The functions
are the ones already defined by Rel. (
209) for the closed system, with the fixed
replaved by the variable
. The joint probability of obtaining from a single measurement both amounts and energy values
and
is then defined. It is a property that we can indicate with the symbol
or
. The values of energy and amounts of constituents are then given by the relations
where we have also defined the marginal probabilities
and
connected with measurements of only the energy or only the amount of constituent
i,
where
denotes the set
,…,
,
,…,
}.
Also in this case, for a quite broad subclass of states that includes the stable equilibrium states of systems with discrete energy spectra, the explicit expression for the entropy is reduced to the following
With a procedure similar to what seen above, we obtain the stable-equilibrium probability distribution
where
T is the temperature,
, and
is the total potential of constituent
i. The
partition function
is all that is needed to compute marginal probabilities, energy, entropy, and amounts using the relations
Assuming the compatible energy values depend only on volume
V,
, the pressure is given by the mean value of their negative variation with volume,
and the Hill (Euler) free energy is
52. Conclusions
This paper has presented a unified and operationally grounded exposition of the elementary foundations of thermodynamics in which all concepts are defined independently of system size, extensivity, and equilibrium assumptions. By introducing entropy as a property of all states and by distinguishing clearly between stable equilibrium and nonequilibrium states, the formulation provides a logically consistent basis for thermodynamic reasoning across scales.
The energy–entropy diagram has been shown to offer a powerful geometric framework for understanding availability, irreversibility, and energy conversion limits, while the analysis of entropy transfer in non-work interactions has led to precise definitions of heat and heat-and-diffusion interactions relevant to mesoscopic and continuum nonequilibrium theories. From this analysis, Clausius inequalities and the Clausius statement of the second law emerge naturally in forms valid beyond equilibrium.
The perspective advanced in this paper reinforces the view that thermodynamics is not a theory limited to macroscopic, extensive systems in equilibrium, but a universal physical framework applicable to all systems and all states. By avoiding assumptions of extensivity at the foundational level, defining entropy and energy operationally beyond equilibrium, and analyzing entropy transfer in non-work interactions, the theory retains both logical coherence and broad applicability. Extensivity, equilibrium, and macroscopic behavior emerge as special cases rather than prerequisites. In this sense, thermodynamics appears not as a phenomenology tied to scale, but as a general structure governing the evolution and interaction of physical systems, from macroscopic energy technologies to few-particle and mesoscopic regimes.