Russian Journal of Nonlinear Dynamics, 2020, vol. 16, no. 4, pp. 557-580. Full-texts are available at http://nd.ics.org.ru DOI: 10.20537/nd200403
NONLINEAR PHYSICS AND MECHANICS
MSC 2010: 70H05, 70H11, 70H12, 70K70
Hamiltonian Thermodynamics
S. A. Rashkovskiy
It is believed that thermodynamic laws are associated with random processes occurring in the system and, therefore, deterministic mechanical systems cannot be described within the framework of the thermodynamic approach. In this paper, we show that thermodynamics (or, more precisely, a thermodynamically-like description) can be constructed even for deterministic Hamiltonian systems, for example, systems with only one degree of freedom. We show that for such systems it is possible to introduce analogs of thermal energy, temperature, entropy, Helmholtz free energy, etc., which are related to each other by the usual thermodynamic relations. For the Hamiltonian systems considered, the first and second laws of thermodynamics are rigorously derived, which have the same form as in ordinary (molecular) thermodynamics. It is shown that for Hamiltonian systems it is possible to introduce the concepts of a thermodynamic state, a thermodynamic process, and thermodynamic cycles, in particular, the Carnot cycle, which are described by the same relations as their usual thermodynamic analogs.
Keywords: Hamiltonian system, adiabatic invariants, thermodynamics, temperature, heat, entropy, thermodynamic processes, the first and second laws of thermodynamics
Received October 07, 2020 Accepted November 27, 2020
This work was carried out in accordance with the State Assignment No. AAAA-A20-120011690135-5. Funding was provided in part by the Tomsk State University Competitiveness Improvement Program.
Sergey A. Rashkovskiy [email protected]
Ishlinsky Institute for Problems in Mechanics of the Russian Academy of Sciences
prosp. Vernadskogo 101/1, Moscow, 119526 Russia
Tomsk State University
ul. Lenina 36, Tomsk, 634050 Russia
1. Introduction
Thermodynamics is undoubtedly one of the most successful physical theories. It arose and developed mainly as a phenomenological theory that generalized experimentally observed facts and laws. It was within this approach that the basic (first, second and third) laws of thermodynamics were discovered and its basic concepts, such as energy, heat, temperature, entropy, etc., were defined. Thermodynamics has provided a unified approach to describing a wide class of processes associated with temperature changes in a variety of systems (atomic, molecular, plasma).
Only with the development of molecular-atomistic concepts and the emergence of statistical mechanics did thermodynamics provide a physical (statistical) interpretation of the motion and interaction of a large number of particles (atoms, molecules, ions).
At present, it is traditionally believed that the thermodynamic laws are based on statistical laws which describe large ensembles of particles and, therefore, deterministic mechanical systems cannot be described within the framework of the thermodynamic approach.
In this paper, we show that thermodynamics (or, more precisely, a thermodynamically-like description) can be constructed even for deterministic Hamiltonian systems, for example, systems with only one degree of freedom.
In particular, we will show that for such systems, it is possible to introduce analogs of thermal energy, temperature, entropy, Helmholtz free energy, etc., which are related to each other by the usual thermodynamic relations. We will show that for near-Hamiltonian systems, the first and second laws of thermodynamics can be rigorously derived, which have the same form as in ordinary (molecular) thermodynamics. We will show that for Hamiltonian systems it is possible to introduce the concepts of thermodynamic state, thermodynamic process, and thermodynamic cycles, in particular, the Carnot cycle, which are described by the same relations as their usual thermodynamic analogs.
In order to distinguish the thermodynamics of Hamiltonian systems which is developed in this work from ordinary (traditional) thermodynamics, we will call it Hamiltonian thermodynamics, while we will conventionally call ordinary thermodynamics molecular thermodynamics.
2. First and second laws of thermodynamics for one-dimensional near-Hamiltonian systems
In this section, we will follow Ref. [1].
Consider a one-dimensional finite motion of a Hamiltonian system that depends on some parameters A = (a1, ..., aL), which we will call the external parameters of the system. The coordinate q, momentum p, energy E of the system, etc. will be called the internal parameters of the system.
Then the Hamiltonian function of the system under consideration is H = H(p, q, A).
We assume that, with constant values of external parameters A and in the absence of additional external influences, the system performs periodic motion with constant energy E and a well-defined period T(E,A).
Suppose that the parameters A change slowly under the influence of some external reasons, so that
dA
T
dt
« I A | . (2.1)
In classical mechanics, such a change in external parameters is called adiabatic [1, 2], meaning only a slow change, and in no way connecting it with the concept of adiabaticity, which is introduced in thermodynamics.
With variable parameters A, the system is not closed and its energy is not conserved. However, due to condition (2.1), the rate E of the change in the energy of the system is also small. If we average this rate over the period T, and thereby smooth the "fast" fluctuations in its
value, then the resulting value E = — will determine the rate of systematic slow change in the
energy of the system. This rate is proportional to the rate A of the change in the parameters A.
Moreover, additional (including non-Hamiltonian) forces can act on the Hamiltonian system under consideration, which also change the energy of the system. In general, we can write
dE dH Tir . .
!t=lM+ (2'2)
where W is the power of additional (including non-Hamiltonian) forces acting on the system.
Noting that, ^ = V we obtain
dt das dt
dE L dH da„
-T = > o--r1 + w. 2.3
dt ^ da, dt v 7
The expression on the right-hand side of (2.3) depends not only on slowly varying external parameters A, but also on rapidly changing variables (internal parameters) q and p.
To single out the systematic change in the energy of the system that interests us, it is necessary to average Eq. (2.3) over the period of fast motions. In this case, due to the slow change in the parameters A (and, therefore, A), we can move A outside the averaging sign. As a result, we obtain
dE dH d,a,„ — . t.
s=1 s
where H = E means the averaging of the Hamiltonian function over the period of motion of the system at constant parameters A and W = 0. The mean value W of the power of additional non-Hamiltonian forces acting on the system is also determined at constant values of the external parameters A.
We assume that, W also satisfies the condition of a slow change in the energy of the system:
T\w\^:E. (2.5)
In an explicit form, the averaging condition is as follows:
—dt das T J das 0
Taking into account, the Hamilton equation q = we change the variables dt =
dp1 b dH/dp'
As a result, we obtain
t
T = dt =
dq
dH/dp
(2.6)
and
dH daä
f dH/das , dq
(2.7)
dH/dp
where the integration f (.. .)dq is taken over one cycle of the oscillation in time at constant values of the parameters A and W = 0 (i.e., in the absence of additional non-Hamiltonian influences on the system). Along such a path, the Hamiltonian function retains a constant value E. At the same time, the momentum p is a solution of the equation H(p, q, A) = E. For a finite motion of the Hamiltonian system, this equation has two solutions p = p±(q, E, A) which correspond to the forward and backward motions of the system, where p+(q, E, A) and p-(q, E, A) are definite functions of the variable coordinate q and constant independent parameters E and A. Then differentiating the equality H(p, q,A)= E with respect to the parameters as, we obtain
dH dH dp das dp das
0 or
dH/ da s dH/dp
dp daa
Substituting this expression into the upper integral in (2.7) and writing the integrand in the lower integral in the form dp/dE, we rewrite Eq. (2.7) as
dH daa
dp daä
dq
We introduce the action integral
dp
dEdq
pdq,
(2.8)
(2.9)
where the integral is also taken over one cycle of the oscillation in time at constant values of E and A, as well as at W = 0. This means that the action integral J is a function of the parameters E and A:
J = J(E, A).
(2.10)
Then relation (2.8) takes the form
dH daä
dJ da„
e
(dJ)
\dE) a
(2.11)
Here we have used the notation (J^Pj > accepted in thermodynamics [3], which means that, the
derivative of the function F is taken with respect to the parameter x at a constant value of the parameter y.
Using (2.11), we rewrite Eq. (2.4) in the form
SQ = dE + Bs das
s=1
where we have introduced the notations
r \dEjA> SQ = Wdt.
(2.12)
(2.13)
(2.14)
(2.15)
Hereinafter, the sign of averaging over the energy is omitted, and E means the energy of the system averaged over the period T.
Equation (2.12) describes an elementary process that occurs in a short time dt. It should be borne in mind here that the motion of a near-Hamiltonian system has two characteristic time scales: the oscillation period of the Hamiltonian system T and the characteristic time TA of the change in external parameters A (we assume that the characteristic time of changes in the system associated with the action of non-Hamiltonian forces has the same order as Ta). Due to conditions (2.1) and (2.5), Ta » T. After averaging the parameters of the system (in particular, energy) over the oscillation period T, the time has only the characteristic scale Ta . In particular, riW
the derivative — depends on time with the scale TA.
Then, when considering the processes associated with a change in external parameters or with a non-Hamiltonian impact on the system, the time intervals dt satisfying the condition T ^ dt ^ Ta are considered as elementary time intervals.
Note that since the power W is non-Hamiltonian, the quantity SQ in the general case cannot be reduced to the differential of any function; therefore, instead of the sign of the differential " d", we use here the variation sign "S".
Relation (2.12) up to notations corresponds to the first law of thermodynamics and has the same physical meaning — the law of conservation of energy. In this case, the components Bs das describe the mechanical work that the system performs when the external parameters A change, and the quantity SQ describes the energy that the system receives from external non-Hamiltonian sources at constant values of the external parameters A. In thermodynamics, the quantity SQ is called the amount of heat or thermal energy (or just heat). We will keep this term for Hamiltonian systems as applied to the quantity SQ (2.15), sometimes adding the adjective "Hamiltonian": Hamiltonian heat. Further we will see that this does not contradict the thermodynamic definition of heat [3].
Using (2.10), we can write
f dJ
i o / da,,
—- \dasJ E
s=1 s/ E
or, using the notation (2.13) and (2.14), we obtain
■ dJ = dE + ^ Bs das
(2.16)
s=1
Comparing (2.12) and (2.16), we obtain
5Q = TdJ. (2.17)
Taking into account the meaning of 5Q and relation (2.14), we come to the conclusion that the action integral J for the systems under consideration plays the same role as entropy in ordinary thermodynamic systems, while the parameter t plays the role of temperature. From this point of view, relation (2.14) is the usual thermodynamic definition of temperature [3]. For this reason, the parameters J and t will also be called the entropy and temperature of the Hamiltonian system (Hamiltonian entropy and Hamiltonian temperature). In order not to confuse the Hamiltonian temperature with the period T, and the Hamiltonian entropy with the action S, we will further use the notations J and t introduced above.
Thus, equations (2.16) and (2.17) represent the second law of thermodynamics for near-Hamiltonian systems.
We see that the introduced concepts of temperature, entropy, and heat, as well as the second law of thermodynamics (2.17) for near-Hamiltonian systems are in no way connected with random influences or with internal random processes in a Hamiltonian system.
It is easy to establish the physical meaning of the Hamiltonian temperature t. Indeed, differentiating (2.9) with respect to E at constant external parameters A and using (2.6) and
dp\ = ( dl£ 9EJA \dPSA
Using (2.14), we obtain
t = u, (2.19)
where u = 2n/T is the radian frequency of system oscillation.
Thus, the temperature of a near-Hamiltonian system is equal to the radian frequency of its oscillation. Hence it follows that, the higher the temperature (oscillation frequency) of the Hamiltonian system, the faster the internal motion in the system occurs. This is consistent with the physical meaning of temperature in ordinary thermostatistics: the higher the temperature, the faster the internal motions (of atoms and molecules) in a thermodynamic system occur. It is interesting to note that, in ordinary thermodynamic systems, when the temperature tends to zero, any thermal motion stops. Taking into account (2.19), we see that for the Hamiltonian systems considered the limit with zero Hamiltonian temperature (i.e., with zero frequency and infinite period) corresponds, in fact, to the cessation of the internal motion of the system.
Note that, in the general case, any function J' = a (J) can be taken as the entropy of the Hamiltonian system; in this case, according to (2.14), the definition of temperature changes:
-^7 = j^jj and temperature r' does not coincide with the radian frequency (2.19), while the
the obvious relation ( ) = ( ) , we obtain
T'
generalized forces (2.13) do not change: B's = Bs. With a new choice of entropy, t' dJ' = TdJ, which means that the first and second laws of thermodynamics (2.12) and (2.17) do not change. In a particular case, the entropy and temperature of the Hamiltonian system can be redefined using the constant factors kJ and kT, which satisfy the condition kjkT = 1. This will only result in changes in the scales and units of entropy and temperature.
According to (2.17), the "thermal" impact on the Hamiltonian system is directly related to the change in the action integral J. Therefore, according to the thermodynamic definition, the
adiabatic impact on the Hamiltonian system (SQ = 0) is an impact that does not change the action integral, even if the external parameters A change.
As is well known, in mechanics [1, 4], the quantity J is an "adiabatic invariant" in the sense that it does not change with a slow change in the external parameters of the system. The concept of "adiabatic impact" [1, 4] which is traditionally used in mechanics, means only a slow change in the external parameters of the system and is in no way connected with the thermodynamic definition of adiabaticity. The thermodynamics of near-Hamiltonian systems developed in this work introduces a strict definition of the concept of adiabaticity, which for ordinary thermodynamic systems turns into the usual thermodynamic definition. So we arrive at an amazing result: the concept of adiabatic invariance, introduced intuitively in mechanics, does indeed correspond to the strict thermodynamic definition of adiabaticity.
3. Equations of state and Helmholtz free energy of a Hamiltonian system
According to definitions (2.13) and (2.14) and using (2.10), we can write
Bs = Bs(r, E, A), t = T(E,A).
From this we can obtain the relations
E = E (t,a), Bs = Bs (t,a), (3.1)
which can be called the equations of state of the Hamiltonian system. The first of relations (3.1) can be called the energy equation of state, while the second, according to the thermodynamic tradition, the thermal equation of state.
Using the second law of thermodynamics for near-Hamiltonian systems in the form (2.16), it is easy to establish a connection between the thermal and energy equations of state [3]. Indeed, using (3.1), we write (2.16) in the form
Taking into account (3.1), relation (2.10) can be written in the form J = J(t, A), where the parameters t and A are assumed to be independent. Then from equation (3.2) we obtain
2£\ -If HE} f—\ --((—
9t)a t\9t)a \das)r T \\das
1 |_i =_||__1 +B8). (3.3)
d2 J d2 J d2 J r)2 J
Equating the mixed derivatives t;—~— and t;—as well as t;—~— and t;—~—, where s + r,
ot das das ot dar das das dar
we obtain
(f^ (3"4)
and
f) D f) D
(3.5)
( dE
= ydas
dBs c)Br
dar das
The second law of thermodynamics in the form (2.16) can be rewritten as
l
dF = -Jdr -J2 bs das, (3.6)
's """s !
s=1
where we have introduced the notation
F(t, A) = E - tj. (3.7)
It follows from (3.6) that
3t ) A s \9as
The function (3.7) is identical (up to notations) to the Helmholtz free energy in thermodynamics [3].
As in ordinary thermodynamics, other thermodynamic potentials can be introduced for the Hamiltonian system.
Consider the action for a Hamiltonian system which is determined by the relation
t
S = j L(q,q,t)dt, (3.8)
0
where
L(q,q,t)= pq - H(p,q,t) (3.9)
is the Lagrangian function of the Hamiltonian system.
For a periodic system, action (3.8), (3.9) over one cycle of the oscillation in time is
ST = J L(q, q)dt
or, taking into account (3.9), we obtain
ST = j> pdq - ET. (3.10) Using (2.9) and (2.19), we write relation (3.10) in the form
= tJ — E. (3.11)
Comparing (3.11) with (3.7), we obtain
= —F. (3.12)
So the action of the Hamiltonian system over one cycle of the oscillation in time is expressed in terms of the Hamiltonian temperature and the Helmholtz free energy.
4. Non-quasi-static thermodynamic processes for Hamiltonian systems
The state of the Hamiltonian system with given external parameters and energy will be called the thermodynamic state, in contrast to the internal state of the Hamiltonian system, which is characterized by instantaneous values of momenta and coordinates p, q. Thus, the thermodynamic state of a Hamiltonian system is its periodic motion with constant external parameters and energy.
By a thermodynamic process in a Hamiltonian system, we will, as usual, mean a process in which the external parameters A of the system change and an additional (thermal) exchange of energy occurs between the Hamiltonian system and external systems. In this case, obviously, internal processes associated with periodic motion also occur in the Hamiltonian system, but these processes are not regarded as thermodynamic.
So far, we have considered quasi-static thermodynamic processes in a Hamiltonian system that satisfy conditions (2.1) and (2.5). Such processes are equilibrium and reversible processes. Indeed, under conditions (2.1) and (2.5), the periodic Hamiltonian system at each period behaves as if it had constant external parameters and energy, but from period to period the external parameters and energy can slowly change. Such a process can be carried out in the opposite direction, and in this case the system will go through the same thermodynamic states (i.e., the same values of external parameters, energy, temperature, etc.), but in the reverse sequence.
Let us now consider a non-quasi-static process in a Hamiltonian system when changes in external parameters and the supply of Hamiltonian heat do not satisfy conditions (2.1) and (2.5).
Obviously, such a process will no longer be an equilibrium and reversible process.
Consider a Hamiltonian system whose Hamiltonian function depends explicitly on external parameters A, which are functions of time:
H (p,q,t)= H (p,q,A(t)). (4.1)
Moreover, we will assume that additional impacts are exerted on the system, as a result of which the system becomes non-Hamiltonian, though near-Hamiltonian.
In the general case, such a system is described by the equations
t = ^ + t = + (4.2)
dp dq
where V and F are given functions of parameters p, q and t. The function F is an additional (non-Hamiltonian) force, while the function V describes the deviation from the Hamiltonian relation between momentum and velocity.
dH dH
Using (4.1) and (4.2), for the rate of change of the Hamiltonian function —— = -7— p +
dt dp
+ + we obtain dq dt
dH__dH_p 9H_V y^dH_d(h (4 3)
dt dp dq -j" das dt
Comparing (4.3) with (2.3), we write explicitly the power of non-Hamiltonian forces:
W = + (4.4)
dp dq
The power of non-Hamiltonian forces averaged over the oscillation period of the Hamiltonian system is determined by the relation
t
- If fdH dH
w = Tj\.WF + -*vr (4-5) 0
or, taking into account (4.2), one obtains
W = ^ j) {Fdq-Vdp), (4.6)
where the integral is taken over one oscillation period of the Hamiltonian system.
Using (2.15), we write in an explicit form the expression for the amount of Hamiltonian heat received by the system in the time dt » T:
SQ = j> (Fdq-Vdp), (4.7)
where t is the Hamiltonian temperature of system (2.19); the elementary time interval dt is associated with slow changes in the system due to non-Hamiltonian impacts.
When deriving relation (4.7), we did not make any assumptions about the nature of the thermodynamic process; in particular, we did not assume that the process is quasi-static. Thus, relation (4.7) is valid for any thermodynamic processes, both quasi-static and non-quasi-static.
Let us now consider a non-quasi-static thermodynamic process involving a Hamiltonian system. The change in the energy of the Hamiltonian system due to the change in external parameters and non-Hamiltonian external impact is described by Eq. (2.3). Averaging Eq. (2.3) over the oscillation period of the Hamiltonian system, we obtain
dE v-^ dH da„ , . oN
— => ---r^ + V^. 4.8
dt ^ da, dt v 7
s=1 s
We take here into account that the thermodynamic process is not quasi-static, i. e., condition (2.1)
is not satisfied. In this case,
dH da,s dH dii^ das dt das dt
Condition (4.9) is the common condition for the correlation (interdependence) of the fast oscil-
i dH i da
lat.ing parameters t;— and
das dt
Let us consider an elementary non-quasi-static process in which the system passes from the thermodynamic state (E, A) to the thermodynamic state (E+dE, A+dA). In this case, Eq. (4.8) can be written as
s=1 s
where the Hamiltonian heat SQ obtained by the system in the course of an elementary non-quasi-static thermodynamic process is determined by relations (2.15) and (4.7), and the "slow" time dt is still much longer than the oscillation period of the Hamiltonian system and much longer than the characteristic time of rapid changes in external parameters A.
Let us now consider a quasi-static process that occurs between the same thermodynamic states of the Hamiltonian system.
The second law of thermodynamics for a quasi-static process can be written in the form
TdJ = dE-Y^^da„ (4.11)
^ da. dt
S=1 S
where dJ is the change in the Hamiltonian entropy of the system during its transition from the thermodynamic state (E, A) to the thermodynamic state (E + dE, A + dA) in the course of a quasi-static process, and t is the Hamiltonian temperature of the system in the thermodynamic state (E, A).
Because both quasi-static and non-quasi-static processes occur between the same thermodynamic states of the Hamiltonian system, the change in energy dE in Eqs. (4.10) and (4.11) is the same.
Then, substituting (4.10) into (4.11), we obtain
T ¿j - §Q - dtY (-——~(4 12)
-j" \ das dt das dt J'
where -i^-dt = das is the change in the external parameters of the system in the course of an
elementary quasi-static thermodynamic process.
Equation (4.12) is the second law of thermodynamics for quasi-static and non-quasi-static processes. In particular, for quasistatic processes, we have the condition
dH d,a,„ dH daZ ., _ „.
--- =----(4.13)
das dt das dt
and the right-hand side of Eq. (4.12) vanishes. In this case, the second law of thermodynamics takes the form (2.17). For non-quasi-static processes, condition (4.9) holds, and the right-hand side of Eq. (4.12) is not zero. Obviously,
dH das dH das (dH dH \ / das da,.
das dt das dt \das dasJ \ dt dt
Using (4.14), we write equation (4.12) in the form
( dH dH\ f das da^
(4.14)
= (4.16)
In contrast to ordinary thermodynamic processes (in molecular systems), for the Hamiltonian system considered, in the general case, we cannot say anything about the sign of the right-hand side of Eq. (4.15); therefore, we can only assert that for non-quasi-static processes in the Hamiltonian system
TdJ = 5Q. (4.16)
Condition (4.16) can be considered as the second law of thermodynamics for non-quasi-static processes in a Hamiltonian system, which transforms into Eq. (2.17) in the case of quasi-static processes.
Thus, we see that, in the general case, for Hamiltonian systems, in contrast to ordinary molecular systems, the second law of thermodynamics does not indicate the direction of the nonequilibrium processes.
The above analysis allows a more rigorous definition of a quasi-static thermodynamic process than that given in (2.1): a thermodynamic process can be called a quasi-static process if condition (4.13) is satisfied.
5. Thermodynamic cycles for Hamiltonian systems
Of particular interest are thermodynamic cycles, i.e., thermodynamic processes in which the initial and final thermodynamic states of the Hamiltonian system are the same.
Using the first law of thermodynamics (2.12), for the thermodynamic cycle we obtain
AQ
S=1
Y^ <f> Bs das,
(5.1)
where AQ = f 5Q is the amount of heat received by the system over the entire thermodynamic cycle. Here, in contrast to the previous sections, the notation f... means the integral over the thermodynamic cycle, and it is taken into account that for a thermodynamic cycle, by definition, f dE = 0. Equation (5.1) shows that the work performed by the system over a thermodynamic cycle due to changes in external parameters is equal to the amount of Hamiltonian heat received by the system during the same cycle.
Using (2.17), for the thermodynamic cycle of the Hamiltonian system, we obtain the Clausius equality
(5.2)
where we have taken into account that ^ dJ = 0.
For a Hamiltonian system, as for a conventional thermodynamic system, various thermodynamic cycles can be considered. The analysis of these cycles is not difficult, and we will not dwell on this. Consider just the most important thermodynamic cycle, the Carnot cycle. Similar to the conventional thermodynamic system, the Carnot cycle for a Hamiltonian system consists of two isothermal (t = t1 = const and t = t2 = const, t1 > t2) processes and two adiabatic (isentropic: J = J1 = const and J = J2 = const, J1 > J2) processes (Fig. 1).
J
Ji
Jo
T2 T1 T Fig. 1. The Carnot cycle for a Hamiltonian system. The arrow indicates the direction of the cycle.
According to (2.17), the system receives heat AQ12 = t1(J1 — J2) in the process 1-2 and gives away (loses) heat AQ34 = t2(J1 — J2) in the process 3-4. According to (5.1), the Hamiltonian system performs the work during the entire cycle
w
J2<PBs das = AQ = AQi2 - AQ34
s=1
(5.3)
or, according to (2.17),
w = (t1 - T2)(J1 - J2).
(5.4)
Determining the efficiency of the cycle, as usual, in the form rj = —, we obtain for the Carnot
AQ12
cycle
r? = 1 - ^
(5.5)
or, taking (2.19) into account,
n = 1 —
W2
W-i
(5.6)
Thus, the efficiency of the Carnot cycle for a Hamiltonian system is determined only by the ratio of the maximum and minimum (over the entire thermodynamic cycle) frequencies of oscillations of the system and does not depend on the type of the Hamiltonian system.
It is easy to show that, for Hamiltonian systems, the efficiency of any other thermodynamic cycle that occurs in the same frequency range w2 ^ w ^ w1 cannot exceed the efficiency of the Carnot cycle.
1
6. Thermodynamic interaction of Hamiltonian systems
Consider two interacting Hamiltonian systems. We assume that these systems slowly (according to condition (2.5)) exchange energy, i.e., part of the energy of one system is somehow taken away and completely (without losses) transferred to another system. According to the definition given above, such an interaction of two Hamiltonian systems is a thermodynamic process. Further, we assume that the external parameters of interacting systems in this process remain unchanged. In this case, according to the above definition, only thermal (in a generalized sense) interaction (heat exchange) takes place between the systems.
We will not consider specific mechanisms of interaction between two Hamiltonian systems, since from the point of view of Hamiltonian thermodynamics this does not matter; what matters is only the amount of energy transferred from one system to another in each act of interaction, and how often these acts of interaction occur.
We introduce the concept of thermodynamic equilibrium of interacting systems, by which, as usual, we mean a stable state in which the temperatures of the interacting systems are the same. Since the Hamiltonian temperatures for the systems under consideration coincide with the frequencies of their oscillations, the thermodynamic equilibrium of two Hamiltonian systems means synchronization of their oscillations, at which the oscillation frequencies of the interacting systems coincide.
We can pose the question: under what conditions will two interacting Hamiltonian systems come to a thermodynamic equilibrium state? In other words, under what conditions will synchronization of oscillations of two interacting Hamiltonian systems occur?
Let Ei and Ti be the energy and temperature of the ith Hamiltonian system; i = 1,2; let AQj be the amount of energy (heat) transferred from system j to system i in one act of interaction. Assume that AQ- > 0 if system j loses energy (heat), while system i receives it. By virtue of the law of conservation of energy AQij = -AQji.
Considering the thermodynamic interaction of two Hamiltonian systems, we assume for definiteness that t1 > t2.
Obviously, in order for these two systems to come to a state of thermodynamic equilibrium, the temperature of system 1 must decrease in the course of interaction, while the temperature of system 2 must increase until they become equal, i.e., until thermodynamic equilibrium t1 = t2 (synchronization of oscillations) occurs. In this case, the thermodynamic equilibrium state of the two Hamiltonian systems is stable.
A change in the Hamiltonian temperatures of interacting systems occurs due to a change in their energies.
In this case, one can write
dE1 = -dE2 = AQ12. (6.1)
As in ordinary thermodynamics, for a Hamiltonian system, one can introduce the heat capacity
r/"")
C = —, which is not a function of state, but depends on the type of process. In particular, for a process that occurs at constant external parameters A, the Hamiltonian heat capacity is
^ = ® . (6.2)
\dT J
a
The Hamiltonian heat capacity Ca is analogous to the heat capacity CV at constant volume in conventional thermodynamics.
Using the equation of state of the Hamiltonian system (3.1) and relation (6.2), we can write Eq. (6.1) in the form
Ca1 dT1 = -CA2 dT2 = AQ12. (6.3)
If the interacting systems considered tend to the thermodynamic equilibrium state, then dT1 < 0 and dT2 > 0.
In this case, from equation (6.3), we obtain the conditions
^ < 0. ^ < 0. (6.4)
CA1 CA2
In contrast to the heat capacity of molecular systems, which is always positive, the Hamiltonian heat capacity (6.1) can be either positive or negative.
It follows from conditions (6.4) that interacting systems can reach a thermodynamic equilibrium state only when the heat capacities of both systems have the same sign, i.e., when Ca1 Ca2 > 0. If the heat capacities of interacting systems have different signs (Ca1 Ca2 < 0), then the thermodynamic equilibrium of such systems is impossible. We consider two cases.
(i) Ca1 > 0 and Ca2 > 0. This means that an increase in the energy of each of the systems under consideration leads to an increase in their Hamiltonian temperature and vice versa. In this case, the interacting systems will come to a thermodynamic equilibrium state if
AQ12 = -AQ21 = -$(T1,T2) (6.5) .RUSSIAN JOURNAL OF NONLINEAR DYNAMICS, 2020, 16(4), 557 580_
where
$(T1,T2 ) = —$(T2,T1),
(6.6)
$(t1;t2) > 0 for T1 > t2 and $(t1,t2) = 0 for t1 = t2.
In this case, heat is transferred from a system with a higher Hamiltonian temperature to a system with a lower Hamiltonian temperature, as in ordinary thermodynamics.
Special cases of (6.5) and (6.6) are
$(T1,T2) = a(T1 ,T2) (F(T1) — F(T2)) (6.7)
or even
$(T1,T2) = a(T1,T2)(T1— T2), (6.8)
where F(t) is the monotonically increasing function — > 0^; a(r1,r2) = q;(t2,t1) > 0.
(ii) CA1 < 0 and CA2 < 0. This means that an increase in the energy of each of the systems under consideration leads to a decrease in their Hamiltonian temperature and vice versa. In this case, the interacting systems will come to a state of thermodynamic equilibrium if
AQ12 = —AQ21 = $(T1,T2), (6.9)
where the function $(t1;t2) satisfies conditions (6.6), and in special cases it can have the form (6.7) or (6.8). In this case, in contrast to conventional thermodynamics, heat is transferred from a system with a lower Hamiltonian temperature to a system with a higher Hamiltonian temperature.
Note that the function $(t1;t2) satisfying conditions (6.6) can be both deterministic and random in each act of interaction of Hamiltonian systems.
If the heat capacity of one of the systems is much higher than the other, for example, Ca1 ^ Ca2, then, taking into account (6.3), we obtain |dT1| ^ \dT2\. In particular, as Ca1 ^ x>, the temperature t1 will remain constant during the interaction, while the temperature t2 will tend to t1. In this case, system 1 is a Hamiltonian thermostat, the temperature (frequency of oscillation) of which does not change when interacting with other systems.
Consider two Hamiltonian systems having E1 = E1(J1 ,A1) and E2 = E2(J2,A2), and satisfying the condition Ca1Ca2 > 0.
Consider a process in which each of the systems receives energy from the outside in the form of heat (respectively, AQ1 and AQ2), while the external parameters of these systems remain unchanged: A1 = const and A2 = const (i.e., no work is done).
We assume that, given (6.6), quasi-static interaction (6.5) or (6.9) takes place between the systems, as a result of which they exchange energy in the form of heat AQ12 = — AQ21 (Fig. 2).
For each system under consideration, we can write the second law of thermodynamics (2.17) which takes the form
AQ12 + AQ1 = t1 dJ1 (6.10)
—AQ12 + AQ2 = T2 d.J2. (6.11)
These systems can be considered as subsystems of the combined system (Fig. 2), which has energy E = E1 + E2, and receives energy from the outside in the form of heat
dE = 5Q = AQ1 + AQ2. (6.12)
AQi 1 A Q12 2 A Q2
Fig. 2. Interaction of two Hamiltonian systems.
Using (6.10) and (6.11), we obtain
5Q = tl dJ1 + t2 dJ2. (6.13) If these systems are in thermodynamic equilibrium, then
Ti = T2 = t. (6.14) In this case, for the combined system as a whole, the second law of thermodynamics (2.17) holds:
5Q = TdJ, (6.15)
where
J = Jl + J2 (6.16)
is the Hamiltonian entropy of the combined system. Consider a special case
AQl = AQ2 = 0 (6.17)
when each of the subsystems of the combined system (and hence the combined system as a whole) does not receive energy from the outside in the form of heat. In this case, the combined system as a whole is adiabatically isolated, although energy exchange in the form of heat is possible inside it (between its parts).
In this case, from (6.10) and (6.11) we obtain dJl = AQ12/t1 and dJ2 = —AQ12/t2. Then
dJ =( — - — ) AQ12. (6.18)
VTi T2 /
In this case, depending on the sign of CAl and CA2, we obtain:
(i) If Ca1 > 0 and Ca2 > 0, then, using (6.5) and (6.6), we obtain
dJ ^ 0, (6.19)
where the equal sign takes place only at thermodynamic equilibrium (6.14) of the systems considered. Thus, in this case, the entropy J of the combined system increases and reaches a maximum at thermodynamic equilibrium. This means that the entropy of the combined system can be considered as the Lyapunov function of this system, such that for an adiabatic
system ^ ^ 0.
(ii) If Ca1 < 0 and Ca2 < 0, then, using (6.9) and (6.6), we obtain
dJ < 0, (6.20)
where the equal sign takes place only at thermodynamic equilibrium (6.14) of the systems considered. Thus, in this case, the entropy J of the combined system decreases and reaches a minimum at thermodynamic equilibrium. This means that the entropy of the combined system can be considered as the Lyapunov function of this system, such that for
the adiabatic system ^ ^ 0.
Equations (6.19) and (6.20) represent the second law of thermodynamics for an adiabatically isolated system consisting of two Hamiltonian systems interacting according to laws (6.5) or (6.9) taking into account (6.6).
Inequalities (6.19) and (6.20) show that the equilibrium state of such a combined system can be found as a conditional extremum (maximum or minimum) of entropy (6.16) of the combined system for a given energy E = El(Jl,Al) + E2(J2, A2) of the combined system. This conditional extremum can be easily found by the method of indefinite Lagrange multipliers by introducing the Lagrange function F(Jl, J2) = J+AE, where A is an indefinite Lagrange multiplier. Then the equilibrium state of the system (the conditional extremum of the entropy of the combined system)
dF dF
corresponds to the condition —- = —- = 0. Using (2.14) and (6.16), we obtain 1 + At^ = 1 +
CJJi CJJ2
+ At2 = 0. From this, the condition of thermodynamic equilibrium (6.14) of the Hamiltonian systems considered follows, where t = —1/A is the equilibrium Hamiltonian temperature, which is found from the given energy of the combined system E1(t, Al)+E2(t, A2) = E, where Ei(T, Ai) is the energy equation of state for the ith Hamiltonian system; i = 1,2.
Now consider a nonadiabatic combined system for which condition (6.17) is not satisfied. In this case, the energy of the combined system changes according to Eq. (6.12). Using (6.10), (6.11) and (6.16), we obtain
VTl T2 J Tl T2
As shown above, for the considered law of interaction of Hamiltonian systems, the term — ^ j AQ12 always has a definite sign, therefore:
(i) If Ca1 > 0 and Ca2 > 0, then, using (6.5) and (6.6), we obtain
+ (6.22) Tl T2
where the equal sign takes place only at thermodynamic equilibrium (6.14) of the systems considered.
If the interacting Hamiltonian systems are in a state close to thermodynamic equilibrium (6.14), then, using (6.12), inequality (6.22) can be written in the form
dJ > (6.23)
T
(ii) If CA1 < 0 and CA2 < 0, then, using (6.9) and (6.6), we obtain
(6.24)
where the equal sign takes place only at thermodynamic equilibrium (6.14) of the systems considered.
If the interacting Hamiltonian systems are in a state close to thermodynamic equilibrium (6.14), then, using (6.12), inequality (6.24) can be written in the form
T
(6.25)
Equations (6.22) and (6.24) represent the general form of the second law of thermodynamics for a combined system consisting of two Hamiltonian systems interacting according to laws (6.5) or (6.9) taking into account (6.6) and exchanging energy in the form of heat with external systems.
Note that the second law of thermodynamics in the traditional form (6.23) holds only for the case where Ca1 > 0 and Ca2 > 0.
A special case is when AQ2 = —AQ1. In this case dE = 5Q = 0, i.e., the energy of the combined system does not change, while the heat is simply "pumped" through the combined system: heat in the amount AQi is supplied to system 1 and is immediately taken away from system 2 in the same amount.
In this case, conditions (6.22) and (6.24) take, respectively, the form
dJ >
1
1
AQi,
dJ <
----- ) AQi-
(6.26) (6.27)
In the general case, the sign of AQ1 is in no way related to the sign of — -^j, therefore
nothing definite can be said about the sign of the right-hand side of (6.26) and (6.27). However, it is easy to see that in such a process the temperatures of interacting Hamiltonian systems will change until equilibrium dJ1 = dJ2 = 0 occurs. In this case, as follows from (6.10) and (6.11), AQ1 = AQ21 = — AQ2, and the heat supplied to system 1 is immediately transferred in full to system 2, from which it is completely taken away. Such an equilibrium is possible only at certain temperatures t1 and t2, depending on the law $(t1,t2) of thermodynamic interaction of Hamiltonian systems and the energy of the combined system E. In thermodynamics, such stationary states of the combined system are called nonequilibrium states.
1
2
7. Example
To illustrate the theory, consider a simple gravity pendulum as an example. The generalized thermodynamic process for a pendulum is shown in Fig. 3 [4]. The pendulum Hamiltonian has the form [4]
H(p,q) = ^Gp2 - I< cos q,
Fig. 3. Generalized thermodynamic process for a simple gravity pendulum [4]: useful work is performed due to a slow change in the length of the massless cord, while the energy supplied directly to the pendulum plays the role of heat.
where q is the deflection angle of the pendulum, G = 1/(mh2) and K = mgh are constants playing the role of external parameters of the system: A = (G, K), mg is the gravitational force on the mass m, and h is the pendulum length.
A similar Hamiltonian appears in essentially all problems with nonlinear resonances, and this model underlies the widespread approach to nonlinear dynamics [4].
The dependence (2.10) of the action integral on energy is expressed in terms of elliptic integrals [4]:
R rjT (E(x) - (1 - x2) K(x), x<l,
J(E,A) = -J- i (7.1)
7r V G y-xS (x i), k>1,
where K(k) and E(k) are the complete elliptic integrals of the first and second kind:
n/2
ОД = J
0 (1 - к2sin2 £)
„2sin2 ^ 1/2 : n/2
E (к )= j (1 - к2 sin2 C)1/2 d( 0
2 E 2* =1 + K-
The parameter к characterizes the relative energy of the pendulum: к < 1 for oscillations, к > 1 for rotations, and к =1 corresponds to the separatrix.
The oscillation frequency and, consequently, the Hamiltonian temperature of this system, determined according to (2.14) and (2.19), is equal to [4]
([одр1, x<i,
t(E,A) = -VKG{ 2я 1 (7.2)
2 l одт ж>1-
The energy values 1 + E/K ^ 1 correspond to small oscillations of a pendulum near an elliptical point. In this case, the pendulum turns into a harmonic oscillator and r pa w0 = 1 /у/KG.
Solving equation (7.2) with respect to E, we obtain the energy equation of state (3.1) of the pendulum in the form
E = Ke(-^=\
\VKGJ'
Taking into account (2.13), (7.1) and (7.2), we obtain
(7.3)
R 2K
¡C(x) k2S (
— (1 — K ^ ,
1
K (k-1) '
1,
Bk =
f 2£(x) /C(x-i)
+ 1 — 2k2,
k < 1, K > 1; K < 1, k > 1.
(7.4)
(7.5)
Comparing (7.2)-(7.5), we obtain the thermal equations of state of the pendulum:
bg = -77 As
G
bk = ^k
Y
VkgJ
(7.6)
(7.7)
The functions e (t/VKG^J, ¡3g (t/VKG^J and ¡3K (t/VKG^J are shown in Fig. 4.
Note that any functions of the parameters G and K can be taken as the external parameters of the pendulum, in particular, we can take A = (m,h). This will only lead to a redefinition of the generalized forces (2.13).
In a similar way, taking into account (7.1), we obtain an expression for the Hamiltonian entropy of the pendulum
J(r, A) = J-j
k .( t \
\vkgj'
(7.8)
The function j (t/VkGj is shown in Fig. 5.
We see that, for the Hamiltonian system under consideration, the third law of thermodynamics holds: the entropy of a system approaches a constant value as the temperature approaches zero. However, according to ordinary thermodynamics, this constant value cannot depend on any other parameters characterizing the closed system, such as pressure or applied magnetic field. In the case of Hamiltonian thermodynamics, for example, for a pendulum, we see that the constant value of the Hamiltonian entropy which it approaches as t ^ 0, depends on the external parameters of system A and is different for k < 1 and k > 1. Thus, we can say that there is a "weak" third law of thermodynamics for the Hamiltonian systems.
Taking into account (7.3), for the Hamiltonian heat capacity (6.2) of the pendulum, we obtain
f- T ^
Ca =
\VKGJ '
The dependence ca s/gjk on r /vkg is shown in Fig. 6.
Fig. 4. Functions e [r/^KGj, ¡3G [r/^KGj and ¡3K [t / \/KG j. The solid lines correspond to h < 1 (E < K), and the dashed lines correspond to k > 1 (E > K).
r(XG)-1/2
Fig. 5. Function j [r/\jKG^j. The solid line corresponds to x < 1 (E < K), and the dashed line corresponds to k > 1 (E > K).
It is interesting to note that, in contrast to ordinary thermodynamic systems, in which the energy monotonically increases with increasing temperature, and, therefore, the heat capacity is positive, for a pendulum at к < 1, the Hamiltonian heat capacity CA < 0 (and, therefore, the energy monotonically decreases with increasing Hamiltonian temperature, i.e., frequency), at the same time, CA > 0 (and, therefore, the energy monotonically increases with increasing Hamiltonian temperature, i.e., frequency) for к > 1.
- /
0 i 1.5 2 TiKG)'1/2 2.5 3 3
Fig. 6. Dependence CA\jGjK on t/VKG. The solid line corresponds to k < 1 (E < K), and the dashed line corresponds to k > 1 (E > K).
Using (7.2), it. is easy to calculate for k < 1: lim e' = —8. Thus, the Hamiltonian
t/VKG^ 1
heat, capacity of a harmonic oscillator, which corresponds to r/VKG = 1 and x < 1, is C^ = = -8s/K/G. Note that, this result, cannot, be obtained by considering directly a harmonic oscillator whose frequency (Hamiltonian temperature) does not depend on energy. This result can be obtained, for example, using the perturbation theory [4], which takes into account small values of the second order in comparison with the harmonic oscillator in the pendulum Hamiltonian.
In a similar way, one can introduce the Hamiltonian heat capacities of a pendulum at constant parameters Bs.
Note that in the dependences shown in Figs. 4-6, one can see signs of "phase transitions", when the character of these dependences abruptly changes when the Hamiltonian temperature passes through a certain "critical" value. The transition of the system parameters through the critical value k = 1 can also be considered as a "phase transition".
8. Concluding remarks
In this paper, we propose a thermodynamic approach to describing slow-fast Hamiltonian systems [5-8].
We have shown that even for a deterministic Hamiltonian system it is possible to construct thermodynamics similar to ordinary (molecular) thermodynamics. In particular, thermodynamic concepts such as temperature, heat, entropy, etc., can be introduced for a Hamiltonian system. For a deterministic Hamiltonian system, the first and second laws of thermodynamics are obtained in a natural way and are completely analogous to the laws of ordinary (molecular) thermodynamics, but are not related to thermal or other random motion of the system or its parts.
The developed approach allows giving a new thermodynamic formulation of the theory of adiabatic invariants [1-4].
The analysis performed above allows a deeper understanding of the foundations of conventional (molecular) thermodynamics and statistical mechanics.
In particular, we can conclude that, if the thermodynamic temperature (i.e., the random force acting to the system) tends to zero, then the system under consideration will turn from a thermodynamic into a deterministic Hamiltonian system, which can be described with Hamil-tonian thermodynamics considered in this paper. In other words, with the cessation of random motion, thermodynamics does not "disappear", but turns into Hamiltonian thermodynamics. Moreover, as shown in this paper, it is possible to realize the thermodynamic processes in a generalized sense (as an energy exchange between fast and slow degrees of freedom) even at zero thermodynamic temperature. Hence, it follows that the "complete" thermodynamics of the system should include both conventional (molecular, stochastic) thermodynamics and Hamilto-nian thermodynamics, which is currently not taken into account. This conclusion seems to be important, especially when applied to quantum systems, given the rapidly growing interest in quantum thermodynamics [9].
Note that the developed theory is applicable not only to mechanical systems, but also to any Hamiltonian systems, regardless of their nature.
In conclusion, I would like to thank the referee who pointed out to me a possible connection between the Hamiltonian entropy introduced in this paper and the entropy in the sense of Poincare [10, 11]. This issue is of interest and requires special analysis.
The thermodynamics of more complex near-Hamiltonian systems, as well as the general thermodynamic theory of dynamical systems, will be considered in the forthcoming papers of this series.
Conflict of Interest
The author declares that he has no conflict of interest.
References
[1] Landau, L. D. and Lifshitz, E. M., Course of Theoretical Physics: Vol. 1. Mechanics, 3rd ed., Oxford: Pergamon, 1976.
[2] Goldstein, H., Poole, Ch. P. Jr., Safko, J.L., Classical Mechanics, 3rd ed., Boston, Mass.: Addison-Wesley, 2001.
[3] Landau, L. D. and Lifshitz, E. M., Course of Theoretical Physics: Vol.. 5. Statistical Physics: P. 1, 3rd ed., Oxford: Butterworth/Heinemann, 1980.
[4] Lichtenberg, A. J. and Lieberman, M. A., Regular and Chaotic Dynamics, 2nd ed., Appl. Math. Sci., vol. 38, New York: Springer, 1992.
[5] Neishtadt, A. I. and Sinai, Ya. G., Adiabatic Piston As a Dynamical System, J. Statist. Phys., 2004, vol. 116, nos. 1-4, pp. 815-820.
[6] Wright, P., The Periodic Oscillation of an Adiabatic Piston in Two or Three Dimensions, Comm. Math. Phys, 2007, vol. 275, no. 2, pp. 553-580.
[7] Hilbert, S., Hänggi, P., and Dunkel, J., Thermodynamic Laws in Isolated Systems, Phys. Rev. E, 2014, vol.90, no. 6, 062116, 23 pp.
[8] Shah, K., Turaev, D., Gelfreich, V., and Rom-Kedar, V., Equilibration of Energy in Slow-Fast Systems, Proc. Natl. Acad. Sci. USA, 2017, vol.114, no. 49, E10514-E10523.
[9] Deffner, S. and Campbell, S., Quantum Thermodynamics: An Introduction to the Thermodynamics of Quantum Information, San Rafael, Calif.: Morgan & Claypool, 2019.
[10] Kozlov, V. V., Thermal Equilibrium in the Sense of Gibbs and Poincare, Izhevsk: R&C Dynamics, Institute of Computer Science, 2002 (Russian).
[11] Vedenyapin, V.V. and Adzhiev, S.Z., Entropy in the Sense of Boltzmann and Poincare, Russian Math. Surveys, 2014, vol. 69, no. 6, pp. 995-1029; see also: Uspekhi Mat. Nauk, 2014, vol. 69, no. 6(420), pp. 45-80.