Thermodynamics
- Date / 日期
- Updated / 更新
- 2026.09.21
- Reading / 阅读
- 137 Min
- Words / 字数
- 27298
Thermodynamics
Thermodynamics
Key Point: learn how to describe macroscopic thermal properties of many-body systems. Compared with thermotics, we intend to present a more general and comprehensive theory, with more rigorous and advanced methods.
Thermodynamics is an empirical theory for macroscopic systems, typically based on experiments or observations, rather than microscopic details of the system. Historically, it arose before the atomic nature of matter was understood. The idea that heat is a form of energy was suggested by Count Rumford (1798) and Davy (1799), stated explicitly by R. J. Mayer (1842), and gained acceptance after Joule’s experiments (1843–1849). The theory was formulated consistently by Clausius and Lord Kelvin around 1850, and greatly developed by J. W. Gibbs (1876–1878). Kinetic theory was developed by Clausius, Maxwell, and Boltzmann, and statistical mechanics grew out of Boltzmann’s work (1872) and Gibbs’s work (1902).
Thermal equilibrium and temperature
macroscopic system: A system consists of many “microscopic” particles or elements (e.g. gases, liquids, solids, plasmas, granular matter, celestial matter, human beings, companies).
NOTE“microscopic”: is relative to “macroscopic”; it need not be in the quantum-mechanical sense.
“many”: gas consists of about molecules, which is theoretically set to be infinite.
Thermodynamics is an empirical theory for macroscopic systems, typically based on experiments or observations, rather than microscopic details of the system.
Why study thermodynamics independently of statistical mechanics?
- It is the history.
- Thermodynamics shows a certain beauty and simplifies the theoretical framework. It is based on some “universal” laws, independent of the details of many-body systems.
- One learns not only logical methods, but also various quantitative methods for describing thermal properties of many-body systems. These methods are also useful in statistical mechanics.
Why not directly tackle the system with mechanics or quantum mechanics?
- Historically, one did not know what “heat” is, and had little knowledge of the microscopic structure of macroscopic systems.
- It is too difficult to solve the equations of motion.
- Compared with few-body systems, many-body systems exhibit complexity. For example, why does water suddenly become gas at , although the microscopic equations of motion remain the same? The butterfly effect is another example: a small deviation in initial conditions may lead to a large change in the dynamic evolution of nonlinear complex systems.
Therefore, one introduces macroscopic parameters, or observables, to describe macroscopic properties.
- Mechanical parameters: pressure , volume .
- Chemical parameters: density , chemical potential .
- Electromagnetic parameters: electric field , magnetic field .
- Thermal parameters: temperature , heat, entropy .
and are exclusively from thermodynamics.
A macroscopic state is described by “a complete set” of parameters.
- The number of parameters in the complete set is fixed for a system.
- All other parameters can be expressed as functions of the complete set of parameters.
If the complete set is , then a state can be represented by a point in parameter space. When the state changes, the point moves and forms a “surface” in parameter space. The number of parameters in the complete set is fixed, e.g. for a dilute gas it is two. This is an assumption based on experimental facts.
Classifications of macroscopic states:
- Equilibrium state: parameters do not depend on time .
- Non-equilibrium state: some parameters evolve with time , or more complicated, e.g. local parameters may be needed.
If not specified, we study equilibrium states in this course.
Classifications of systems:
- An isolated system: nothing is exchanged with the environment.
- A thermally isolated system: no “heat” is exchanged with the environment.
Classifications of parameters:
- Extensive parameters: proportional to .
- Intensive parameters: independent of .
NOTEWhy is it meaningful to define extensive and intensive parameters? In the thermodynamic limit, a standard parameter is either extensive or intensive. But in a singular state, it can be more complicated, e.g. there may exist a non-integer power of . For a system not too far from equilibrium, we may divide it into many subsystems, and extensive parameters can be added up.
Thermal equilibrium and temperature
Pressure, volume, density, etc. can be defined with knowledge from other subjects. So let us concentrate on thermal observables, e.g. temperature first.
In daily life, we feel “hot” or “cold”. What is it? How to describe it quantitatively?
Observation: Initially, two systems are differently hot or cold. After they thermally touch each other for a long time, they become equally hot or cold. Then we say they are in thermal equilibrium.
The zeroth law: If systems and are each in thermal equilibrium with a third system , then and are in thermal equilibrium with each other.
Introduce a parameter , the temperature, to describe how hot or cold the system is, and assume that the temperatures of two systems in thermal equilibrium are the same. This assumption is very important; otherwise we cannot compare temperatures of different systems, and is useless. The zeroth law defines the temperature.
is a property of the macroscopic state. This is clear from the definition, which does not depend on the history of how the system comes to thermal equilibrium. If is a complete set, then should be a function of them:
This is called the equation of state.
NOTEE.g.
- The Ideal gas
- Real gases
Temperature scales
To complete the definition of temperature, we need to fix its scale. We may proceed as follows:
- Choose a specific system and a proper property that monotonously depends on temperature.
- Fix the relation between this property and .
Practically, one may proceed in two steps: i) assume the relation to be linear, quadratic, or a special form; ii) fix the unit including the origin. The former is somewhat theoretical, while the latter relies on experimental phenomena for convenience.
E.g. mercury and its volume; a linear relation between and . To fix the unit and the origin, set for the transition point of water from liquid to solid at standard atmospheric pressure, and for that from gas to liquid.
Mathematically,
This way of defining temperature is not so elegant theoretically, because it depends on the system and the property chosen. It is not “universal”, and it is difficult to measure accurately over the whole temperature range.
A better choice is to choose the ideal gas as the specific system. Experimentally, this is set up by Boyle’s law: for a given ideal gas at a fixed temperature,
and the constant depends on the temperature. Fix , set a linear relation between and , and take the transition point of water from liquid to solid at standard atmospheric pressure as , and that from gas to liquid as . Thus
Exercise: Prove .
NOTEHint: assume and , and prove , .
Proof: For fixed ,
Comparing the coefficient of and the constant,
For fixed ,
therefore
At the boiling point of water, by Boyle’s law, , therefore and . Hence .
- The ideal-gas temperature scale
- In fact, for any single-valued and monotonous function , setting defines a temperature scale.
The first law
Thermodynamics transformation
A change of state is a thermodynamic transformation. The transformation can be realized only by external conditions, which are typically macroscopic. Here we only consider equilibrium states.
quasi-static: If the external condition changes so slowly that at any moment the system is approximately in equilibrium, the transformation is called quasi-static. In other words, the relaxation at each time from the non-equilibrium state to the equilibrium one is much faster than the change of the external condition.
For example, for an ideal gas, every point on the - space represents an equilibrium state, and a quasi-static transformation is a continuous path on the - diagram.
If not specified, we concern ourselves only with quasi-static transformations in this course.
The concept of work is taken over from mechanics. For a system described by , the work done by the system in an infinitesimal transformation is
For example, . For a finite process,
Important: Work is not fixed by the initial and final states, but depends on the specific process between them. Therefore, the infinitesimal work is denoted by rather than .
Now comes another thermal concept, “heat”. “Heat” is what is absorbed by a system if its temperature increases while no work is done.
is called the heat capacity. It depends on the detailed nature of the system, and is also process-dependent. In general, cannot be simply written as ; an additional direction has to be specified at each point , such as and .
Experimentally, we may fix the unit of with a specific system, e.g. by increasing the temperature of water by one degree.
The first law
For an arbitrary (not only quasi-static) transformation given the initial and final states, let
- denote the heat absorbed by the system;
- denote the work done by the system.
A minus sign of or represents the opposite direction. The first law states that the quantity defined by
is the same for all possible transformations, i.e. it only depends on the initial and final states.
This immediately defines a state function , called the internal energy. Of course, it is defined only up to a constant. Experimentally, it is found that is extensive. being a state function means that for an infinitesimal transformation,
is exact. That is, is a differential.
For example, if
then being exact leads to
NOTEQuestion: how to prove that being exact is equivalent to being a state function?
Actually, it is also equivalent to that any loop integral is zero, or any integral between two states is path independent.
- If the number of independent parameters is one,
- If the number of independent parameters is two,
What is the physical meaning of the first law? It states that heat is also a kind of energy, the total energy is conserved, and it is feasible to convert mechanical work into heat or vice versa.
Then, what is heat?
Heat is the energy transferred through microscopic irregular motion of molecules, particles, or elements. “Irregular” here is from the macroscopic level. Of course, the microscopic motion is still governed by Newton’s law or the Heisenberg equation, etc. Temperature measures how irregular the microscopic motion is. This will be understood in statistical physics.
excludes the global mechanical energy. includes the energy of irregular motion, interaction energy between molecules, energy inside a molecule, and energy in a field.
Different from temperature , which is rather universal, is only defined for an individual system, but one may compare it with that of another system through work.
Some applications
- Exercises:
These are called the heat equations. It can be deduced from the last two equations that
is called enthalpy.
- Free expansion of an ideal gas.
In the experiment shown in Fig. 1.4, the finding is that the temperature of the water bath is unchanged, . For the ideal gas:
Since , ,
Thus (since ), (from the first law).
We may take and as independent variables, . Therefore, (since is non-zero).
\begin{tikzpicture}[>=stealth, thick, font=\small] \draw (0,0) rectangle (2,2); \draw (2,0) rectangle (4,2); \draw[dashed] (2,0) -- (2,2); \node at (1,1) {Gas}; \node at (3,1) {Vacuum}; \draw[->] (2.1,1) -- (2.9,1); \node at (2,2.35) {Before: $V_1$};
\draw (6,0) rectangle (10,2); \node at (8,1) {Gas}; \node at (8,2.35) {After: $V_2>V_1$};\end{tikzpicture}- Internal energy of an ideal gas.
Since depends only on ,
Assuming to be independent of , we obtain
- for an ideal gas.
The enthalpy of an ideal gas is a function of only:
Hence
Although the heat capacity of an ideal gas is constant along a certain path, it is generally path dependent.
The second law
Reversible and irreversible transformations
The direction of processes is the main concern of the second law.
Observation: All naturally occurring processes proceed in one direction only. They never, of their own accord, proceed in the opposite direction. For example:
- A pipe of water never flows from the low-pressure end to the high-pressure end.
- The water of a river never flows in the opposite direction.
- A cup of hot coffee never becomes hotter without external interactions.
- The molecules of a drop of ink in a glass of water diffuse uniformly throughout the whole volume. They never recluster into a drop-shaped clump.
A reversible transformation is a transformation in which the system retraces its history in time when the external condition retraces its history in time.
Important: If only the system retraces its history, but the environment does not, the transformation is not reversible.
Examples of irreversible transformations: All naturally occurring processes are irreversible. These are processes in which systems relax from non-equilibrium states to equilibrium states; they never go in the opposite direction.
- A process or part of a process contains a macroscopically finite relaxation from a non-equilibrium state to an equilibrium state.
Examples of reversible transformations:
- Systems and are in thermal equilibrium. Increase the temperature of by ; then a certain amount of heat is transferred to . Then cool by ; the same is transferred from back to .
Questions:
- How to increase the temperature of by ?
- If is finite, is it still reversible?
- How to construct a reversible transformation such that one may increase the temperatures of and by a finite ?
Here we note that even for a reversible transformation, in some sense, an “infinitesimal” trace may be left after both the system and environment retrace their histories. This belongs to a kind of common approximation in thermodynamics.
To increase the temperature of by , for example, one may let contact a heat reservoir with temperature . To decrease the temperature of back to , should contact a heat reservoir with temperature . This infinitesimal trace can be further diminished by dividing into many , and increasing the temperature step by step. Then the trace becomes “a higher-order infinitesimal”.
This example tells that for a reversible transformation, the change of the environment at a time instant must be infinitesimal. More rigorously, should be finite, with being the external force, although standard thermodynamics does not directly consult time .
Therefore, for example, the transformation is not reversible if one increases the temperature by “fast pressing” system .
A heat reservoir is a system so large that the gain or loss of any finite amount of heat does not change its temperature.
In expansion, the system absorbs heat from the reservoir and transfers energy to the spring. This process can be reversed, unlike free expansion.
- Reversible transformations have to be quasi-static, while in a certain sense, the reverse is not necessarily true. But such examples are nonstandard. We may usually think that quasi-static and reversible are equivalent. In our concept in this course, “any smooth path in the parameter space is a reversible transformation”!
For example, a gas that freely expands into successive infinitesimal volume elements undergoes a quasi-static transformation in the sense that it is “slow”, but this transformation is not reversible. Naturally, this is an irreversible transformation, since it is a relaxation to the equilibrium state, and the gas loses the capacity of doing work.
Although such a process looks slow, it is not a standard quasi-static transformation. Essentially, it is an artificial division of an irreversible transformation into many “infinitesimal” pieces. In each piece, there exists a “rapid” change of pressure.
A similar irreversible transformation is that heat from a high-temperature reservoir is directly transferred to a low-temperature reservoir with a finite temperature difference by successive infinitesimal amounts. In such a transformation, heat loses its capacity for doing work.
A reversible transformation is necessarily a quasi-static transformation, but the simple concept “slow” is not sufficient to ensure reversibility. The change of the environment must be infinitesimal, contain no non-equilibrium relaxation, and keep the capacity for doing work.
Finally, dissipative interactions such as friction, which are beyond the standard thermodynamic formalism, naturally violate reversibility.
Discussion: Why are there macroscopic irreversible transformations?
Newton’s equations are generally time-reversal symmetric. Therefore, the microscopic mechanical motion of particles is reversible. Why is the macroscopic process irreversible?
Indeed, microscopically, if we start from a microscopic configuration in the final macroscopic state with , and reverse the motion of all particles, the particles will come back to the microscopic state in the initial state with . But this probability is very small.
The probability for a particle to stay in is . Since the number of particles is a big number, is infinitesimally small. In simple words, the macroscopic initial and final conditions violate the reversibility of Newton’s law in time. After the volume is changed to , the fraction of microscopic states purely in becomes infinitesimally small.
Question: When the particles described by Newton’s equations retrace their history in time, could the external environment retrace its history in time?
The second law
- Kelvin statement: There exists no thermodynamic transformation whose sole effect is to extract a quantity of heat from a given heat reservoir and to convert it entirely into work.
Otherwise, we would not have any energy crisis.
- Clausius statement: There exists no thermodynamic transformation whose sole effect is to transfer a quantity of heat from a colder reservoir to a hotter reservoir.
That is why we need refrigerators and air conditioners.
For example, when an ideal gas is expanded reversibly and isothermally, a quantity of heat absorbed from the reservoir is entirely converted to work. However, this process is allowed by the second law because the volume of the gas is changed, i.e. the word “sole” is violated.
Adiabatic expansions do not violate the second law, since the work is not converted from heat, but from the change of state.
From the view of a relaxation from a non-equilibrium state to an equilibrium state, the Clausius statement is obvious. One may also consider that the process of converting work into heat is a relaxation from an ordered state to a disordered state; the Kelvin statement is also natural.
Kelvin and Clausius statements are equivalent.
\begin{tikzpicture}[>=stealth, font=\small]
\node (T1) at (0,0) {$T_1$};
\node[draw, circle] (M) at (0,-1.5) {$M$};
\node (Q) at (0.5, -0.75) {$Q$};
\node (W) at (1.5,-1.5) {$W$};
\node (T2) at (0,-3) {$T_2$};
\draw (-1,0.2) -- (-1,-0.2) -- (1,-0.2) -- (1,0.2);
\draw[->] (T1) -- (M);
\draw[->] (M) -- (W);
\draw (-1,-3.2) -- (-1,-2.8) -- (1,-2.8) -- (1,-3.2);
\node (Kelvin) at (0,-3.5) {Kelvin};
\node (T1b) at (6,0) {$T_1$};
\node (Qb) at (6.5, -1.5) {$Q$};
\node (T2b) at (6,-3) {$T_2$};
\draw (5,0.2) -- (5,-0.2) -- (7,-0.2) -- (7,0.2);
\draw (5,-3.2) -- (5,-2.8) -- (7,-2.8) -- (7,-3.2);
\draw[->] (T2b) -- (T1b);
\node (Clausius) at (6,-3.5) {Clausius};
\end{tikzpicture}Proof of equivalence:
- false false. If is false, we may extract heat from a reservoir at temperature and convert it entirely into work, with no other effect. We can convert this work into heat and deliver it to a reservoir at . Then the net result is the transfer of an amount of heat from a colder reservoir to a hotter reservoir. Hence is false.
- false false. Suppose is false; we may transfer heat from a reservoir at temperature to a reservoir at . Then we extract from the reservoir at , convert part of it to work, and reject certain heat to the reservoir at . The net result is that an amount of heat is extracted from the reservoir at and converted entirely into work, with no other effect. Hence is false.
Carnot’s theorem
The Carnot engine
An engine is a machine which converts heat into work. An engine which does everything in a reversible way is called a Carnot engine.
For example, for :
- : isothermal, heat is absorbed by the system.
- : adiabatic.
- : isothermal, heat is rejected by the system.
- : adiabatic.
This is a reversible engine, but it can be generalized to an irreversible one. Work is done by the system in every step, positively from and , and negatively from and . For a car engine, is the temperature of the environment, and is kept by burning gasoline.
In one cycle, . The total work done by the system, according to the first law, is
The efficiency of the engine is
We may prove that if , then , .
Proof: If , it violates the Kelvin statement. Suppose ; this means the engine absorbs heat from and from , and converts the total amount into work. Then we convert the work to heat and deliver it to . Finally the net result is to transfer an amount of heat from to . By the Clausius statement, this is impossible. Therefore . From , it follows .
Exercise: If and , then . This is a refrigerator, but it is trivial. Better: if , then , .
For a refrigerator, the system is compressed from and , releasing heat to , and expanding and , absorbing heat from .
If there are only two heat reservoirs, the form of the Carnot engine is unique.
If the system is an ideal gas, for a Carnot engine,
where is the ideal-gas temperature scale.
Proof: We first derive the equation for an adiabatic process. Assuming , , and is a constant,
Since ,
Eliminating ,
therefore, this leads to the so-called adiabatic equation. Note that such a simple adiabatic equation is possible only for the ideal gas. Alternatively,
Therefore, for adiabatic processes and , the relations hold.
\begin{tikzpicture}[>=stealth, x=1.3cm, y=1.1cm, font=\small] % axes \draw[->] (0,0) -- (5.5,0) node[below] {$V$}; \draw[->] (0,0) -- (0,6.2) node[left] {$P$}; \node[below left] at (0,0) {$O$};
% parameters \def\CTh{8.25} \def\CTc{7.01} \def\Ktwo{12.80} \def\Kfour{9.70} \def\gam{1.4}
% 1->2 high-T isothermal expansion \draw[thick, red] plot[domain=1.5:3.0, samples=100] (\x, {\CTh/\x}); \draw[->, red, thick] (2.30, 3.587) -- (2.40, 3.437);
% 2->3 adiabatic expansion \draw[thick, blue] plot[domain=3.0:4.5, samples=100] (\x, {\Ktwo/pow(\x,\gam)}); \draw[->, blue, thick] (3.65, 2.090) -- (3.75, 2.012);
% 3->4 low-T isothermal compression \draw[thick, red] plot[domain=4.5:2.25, samples=100] (\x, {\CTc/\x}); \draw[->, red, thick] (3.40, 2.062) -- (3.30, 2.124);
% 4->1 adiabatic compression \draw[thick, blue] plot[domain=2.25:1.5, samples=100] (\x, {\Kfour/pow(\x,\gam)}); \draw[->, blue, thick] (1.95, 3.807) -- (1.85, 4.100);
% four points \fill (1.5,5.5) circle (1.5pt) node[above left, xshift=-3pt, yshift=2pt] {$a$}; \fill (3.0,2.75) circle (1.5pt) node[above right, xshift=3pt, yshift=2pt] {$b$}; \fill (4.5,1.56) circle (1.5pt) node[below right, xshift=3pt, yshift=-2pt] {$c$}; \fill (2.25,3.12) circle (1.5pt) node[below left, xshift=-3pt, yshift=-2pt] {$d$};
% labels \node[red] at (2.75,3.95) {$T_2$ , in $Q_2$}; \node[red] at (3.40,1.55) {$T_1$ , out $Q_1$}; \node[blue] at (4.20,2.45) {$Q=0$}; \node[blue] at (1.10,4.55) {$Q=0$};\end{tikzpicture}For isothermal,
For isothermal,
Finally,
Carnot’s theorem
No engine operating between two given temperatures is more efficient than a Carnot engine.
Proof: Construct a Carnot engine and an arbitrary engine as shown in Fig. 1.12.
Let
where are integers. This equality will be valid by making sufficiently large.
It is important to keep in mind that the Carnot engine can be operated in reverse, i.e. the signs of can be simultaneously changed.
\begin{tikzpicture}[>=stealth, thick, font=\large\sffamily]
% two reservoir lines
\draw (-1, 3) -- (7, 3) node[right, xshift=10pt] {$T_2$};
\draw (-1, 0) -- (7, 0) node[right, xshift=10pt] {$T_1 < T_2$};
% engine C
\draw (1, 1.5) circle (0.6);
\node at (1, 1.5) {C};
% engine X
\draw (5, 1.5) circle (0.6);
\node at (5, 1.5) {X};
% arrows for C
\draw[->] (1, 3) -- (1, 2.1) node[midway, left] {$Q_2$};
\draw[->] (1, 0.9) -- (1, 0) node[midway, left] {$Q_1$};
\draw[->] (1.6, 1.5) -- (2.4, 1.5) node[midway, above] {$W$};
% arrows for X
\draw[->] (5, 3) -- (5, 2.1) node[midway, left] {$Q'_2$};
\draw[->] (5, 0.9) -- (5, 0) node[midway, left] {$Q'_1$};
\draw[->] (5.6, 1.5) -- (6.4, 1.5) node[midway, above] {$W'$};
\end{tikzpicture}Now operate the engine cycles in reverse, and the engine cycles,
On the other hand, from the first law and ,
If , it violates the Kelvin statement. Therefore
In other words,
From the ratio equation,
i.e.
Since can be a Carnot engine, we have
Corollary: All Carnot engines between two given temperatures have the same efficiency.
In the proof of Carnot’s theorem, the key point is to choose one of , , and to be zero, then apply the first and second laws.
An alternative way to prove Carnot’s theorem: Operate the engine cycles in reverse and the engine cycles, and let
From the second law,
Hence,
therefore,
Note that assuming , one may also prove Carnot’s theorem. However, this is not sufficiently general since the efficiency may depend on the work .
With Carnot’s theorem at hand, one can deduce that the efficiency of Carnot engines is independent of , since the engine can also be a Carnot engine, and both and are arbitrary. But such a conclusion does not exist for an arbitrary engine, for example, the engine of a car.
Absolute scale of temperature
Carnot’s theorem tells something “absolute” related to temperatures, and it may be used for defining a better temperature scale.
If the efficiency of a Carnot engine is , we define the absolute scale of temperature by
If , it violates the second law, therefore . Then we conclude and , i.e. all temperatures are positive. Of course, it is also possible to set and , but this only means we add a minus sign to .
Note that in this definition, does not fix the unit, since .
To define the unit, we note that
hence,
Similarly, we fix independent of , and have
i.e. both and the ratio are independent of .
Choosing such that
That is the unit of the absolute scale of temperature.
The above argument not only defines the unit of the absolute scale of temperature, but also completely fixes the absolute scale. Here we assume that is empirically known. If it is not, we may define the unit by fixing to be a certain amount.
Practically, setting the freezing temperature of water to be , and the boiling one to be , and , one may extract from experiments. On the other hand, the triple point of water is at , i.e. . The experimental measurement of the triple point is more reliable and accurate. In some sense, it may be used to define the unit , but such a definition is possible because of the above theoretical argument.
- The absolute scale of temperature is independent of the specific properties of any substance.
- No Carnot engine exists with a reservoir of , otherwise . Since is a higher temperature, it is naturally not possible that . Thus is the greatest lower bound, and is called the absolute zero. But this has not yet meant that cannot be zero at all.
- The absolute scale is identical with the ideal-gas scale .
Entropy
The fact that some processes are irreversible already indicates that the initial and final states are characteristically different. There should be a state function which describes this property.
Clausius theorem
A cyclic transformation is a transformation whose final state is identical with the initial state. A reversible cyclic transformation is a cyclic transformation which is reversible.
In any cyclic transformation through which the temperature is defined,
where the integral extends over one cycle of the transformation, is the heat absorbed by the system. The equality holds if the cyclic transformation is reversible.
Proof: For an engine with two reservoirs, it is already known that
i.e.
is the heat rejected by the system, i.e. is the heat “absorbed” by the system. For two adiabatic processes, and is defined in every step.
For a general reversible cyclic transformation , it can be divided by isothermal lines and adiabatic lines into many infinitesimal Carnot transformations. Equivalently, it can be divided by adiabatic lines or isothermal lines into infinitesimal Carnot strips.
Since all transformations are reversible, if we add up all the infinitesimal cyclic transformations, the resulting transformation will be the original transformation .
For each Carnot cyclic transformation,
therefore,
means exothermic. Here sums over all Carnot cyclic transformations. Since all processes inside will not contribute,
If is irreversible, it is straightforward to prove
NOTEHint: independent of reversible or irreversible, the integration over an infinitesimal transformation can be approximated by that over an isothermal one and an adiabatic one.
Corollary: For a reversible transformation,
is independent of the path, and depends only on the initial and final states.
This allows us to define a state function such that
or
In mathematical terminology, is an integrating factor. is called the entropy.
Properties of :
a) For an arbitrary transformation,
The equality holds for a reversible transformation. This property can be simply understood from the Clausius theorem by constructing a reversible transformation from to , and an arbitrary transformation from to .
b) If ,
For a thermally isolated system, never decreases. The equality holds for a reversible transformation.
For irreversible transformations, always increases is equivalent to the second law.
c) is extensive. It is clear from the definition since is extensive.
Calculations of
- By definition, if the thermodynamic transformation is reversible.
- Constructing a reversible transformation, if the thermodynamic transformation is irreversible.
- With for a reversible transformation. This equation is a combination of the first and second laws, sometimes called the fundamental equation of thermodynamics.
- is extensive.
NOTEReversible isothermal expansion of an ideal gas
Since the gas is ideal, , hence .
For the gas,
The reservoir supplies the amount of heat ,
The change in entropy of the whole system is zero. This is natural since the whole system is adiabatic, and the process is reversible. The work is stored in the spring, which can be used for reversing the process.
NOTEFree expansion of an ideal gas
This process is a little puzzling:
Why or how is changed? Because it is not a reversible transformation.
But is a state function, therefore
the same as in a). Although the gas is actually adiabatic, the entropy increases.
But in this case,
since nothing is changed in the reservoir.
In comparison with a), an amount of useful energy is just “lost”. An irreversible transformation is “wasteful”. Therefore, entropy may be viewed as a measure of the unavailability of useful energy in that state.
c) For a general reversible transformation,
Since is exact,
hence,
and it leads to
therefore,
This is the equation of entropy. If and the equation of state are known, one can derive the entropy.
Compared with the equation of heat, the equation of entropy is more simplified because is exact.
For an ideal gas,
i.e. , consistent with the experiment.
Exercises: Derive the entropy of an ideal gas. Prove
Hint: implies that there are only two independent variables.
The second law for reversible transformations
For reversible transformations, the entropy being a state function is equivalent to the second law.
a) Adiabatic lines never intersect each other.
An adiabatic line is just an isentropic line, since
If two adiabatic lines intersect, is obviously not a state function.
b) An isothermal line and an adiabatic line intersect at most only once.
Since
hence,
therefore is a monotonously increasing function of along an isothermal line. Note that is an experimental fact. Thus the isothermal line and the adiabatic line cannot intersect twice.
As a direct result, it is not possible that . Otherwise, such an adiabatic line may intersect an isothermal line twice.
c) being a state function leads to the Kelvin statement. To prove
is equivalent to
If the Kelvin statement does not hold, i.e. it is possible to extract a quantity of heat from a single heat reservoir and convert it entirely into work, one may construct a cyclic transformation. The change of along the isothermal line is non-zero, contradicting that along the adiabatic line. Actually the latter is unchanged.
d) One can deduce from the Kelvin statement that is a state function.
In fact, the procedure for introducing the entropy in the preceding texts already shows that from the Kelvin statement one can deduce that is a state function.
Thermodynamic potentials
In dealing with different classes of transformations, it is convenient to introduce some more thermodynamic potentials.
- Internal energy: .
- Free energy: .
is the “available” energy, is the unavailable energy. If increases, the available energy decreases. This has been demonstrated in the free expansion of an ideal gas.
- Enthalpy: .
- Gibbs potential (free enthalpy): .
All these potentials are extensive.
All these differentiations are exact. Each of them combines the first and second laws for reversible transformations, which is also called the fundamental equation of thermodynamics.
From the above, we immediately obtain and , etc. Further,
All these relations are called Maxwell relations.
Depending on the transformation, e.g. , or , or , or , it is convenient to choose different thermodynamic potentials to characterize the system.
Theorem: For a mechanically isolated system () kept at constant temperature, the free energy never increases.
Naturally one should consider both reversible and irreversible transformations in this theorem.
Proof: For an irreversible isothermal transformation,
hence,
Note that for an irreversible transformation, it is not necessary that . For example, in the free expansion of an ideal gas, the volume increases but no work is done, .
For a reversible transformation, it is natural that since . In fact, this is obvious if there are only two independent variables, for example, chosen to be and .
This theorem should be compared with for an adiabatic transformation.
Corollary: For a mechanically isolated system kept at constant temperature, the equilibrium state minimizes the free energy.
In general, the system may consist of different subsystems, and may also be in a non-equilibrium state; therefore the system is not necessarily described by two parameters.
For example, consider a gas in a cylinder kept at constant temperature. A sliding piston divides the total volume into and with pressures and respectively. If the piston is released to slide freely, what is the equilibrium position?
Now the free energy is a function of , or , although and satisfy the geometric constraint . Hence,
Since remains constant, we must have . Therefore, the equilibrium condition is
This is just , a result that is intuitively obvious.
In fact, the free energy is extensive, , and the equilibrium condition can be rewritten as
Theorem: For a system kept at constant temperature and pressure, the Gibbs potential never increases.
Corollary: For a system kept at constant temperature and pressure, the equilibrium state minimizes the Gibbs potential.
Masius theorem: Given a thermodynamic potential with proper independent variables, such as , , , , it is possible to derive all thermodynamic properties just by differentiation, e.g.
The Masius theorem could be considered as a summary of thermodynamics. The thermodynamic potentials expressed as functions of proper variables are sometimes called characteristic functions.
The Masius theorem may not be that general, but it indicates that common thermodynamic quantities can be derived from the characteristic functions.
Exercise: Derive .
Question: how to remember the characteristic functions , , , ?
Phase transitions
A state of a system is described by some parameters, e.g. or . States in a certain region of parameter space may share some common macroscopic features, and states in another region may show different features. Then we observe gases, liquids, solids, etc., called phases.
Between two phases there may occur a phase transition. A phase transition is a “sharp” change from one phase to another. For example, the transition between the gas phase and the liquid phase.
In the plane, the transition takes place at a curve , called the vapor pressure at . If the pressure is kept constant, the transition takes place at a constant temperature, and vice versa.
In the plane, the phase transition is shown with a fixed temperature. From (a) to (d), there is a sudden jump in .
At state 1, the system is all liquid. At state 2, the system is all gas. In between, some part is gas and the other part is liquid.
\begin{tikzpicture}[>=stealth, thick, font=\small, x=1cm, y=1cm] \draw[->] (0,0) -- (6,0) node[below] {$T$}; \draw[->] (0,0) -- (0,6) node[left] {$P$}; \node[below left] at (0,0) {$O$}; \coordinate (TP) at (2,2); \draw[thick] (TP) -- (1.2,5.5); \draw[thick] (TP) .. controls (3.5,3.5) and (4.2,4.2) .. (4.8,4.5); \draw[thick] (TP) .. controls (1.5,1.2) and (0.8,0.6) .. (0.4,0.2); \fill (4.8,4.5) circle (2pt) node[above right] {Critical point}; \fill (TP) circle (2pt) node[below left] {Triple point}; \node at (1,4) {Solid}; \node at (3.5,3) {Liquid}; \node at (4.5,1.5) {Gas};\end{tikzpicture}\begin{tikzpicture}[>=stealth, thick, font=\small, x=1cm, y=1cm] \draw[->] (0,0) -- (8.5,0) node[below] {$V$}; \draw[->] (0,0) -- (0,7.5) node[left] {$P$}; \node[below left] at (0,0) {$O$};
\draw[dashed, thick] (2.4,0) .. controls (2.7,1.0) and (2.85,1.6) .. (3.0,2.0) .. controls (3.4,3.0) and (4.0,5.2) .. (4.8,5.2);
\draw[dashed, thick] (4.8,5.2) .. controls (5.6,5.2) and (6.2,3.0) .. (6.6,2.0) .. controls (6.75,1.6) and (6.9,1.0) .. (7.2,0);
\draw[thick, blue] (2.2,6.5) .. controls (2.5,4.5) and (2.8,3.0) .. (3.0,2.0); \draw[thick, blue] (3.0,2.0) -- (6.6,2.0); \draw[thick, blue] (6.6,2.0) .. controls (7.0,1.7) and (7.4,1.4) .. (7.8,1.1);
\fill (3.0,2.0) circle (1.8pt) node[below left, xshift=-2pt] {$(a)$}; \fill (6.6,2.0) circle (1.8pt) node[above right, xshift=2pt, yshift=2pt] {$(b)$}; \fill (4.8,5.2) circle (2pt) node[above right, xshift=2pt] {$C$};
\node[blue] at (1.9,6.0) {$T$}; \node at (1.5,4.5) {Liquid}; \node at (7.7,2.6) {Gas}; \node at (4.8,3.2) {Gas-liquid coexistence};\end{tikzpicture}It is important that:
- During the transition, both and remain constant.
- In the state of the gas-liquid mixture, the liquid is in state 1, while the gas is in state 2. If heat is supplied, the liquid will be converted to gas. and are effective volumes.
Maybe it is better to look at the plane. For fixed , as rises, increases. At the phase transition, there occurs a sharp jump.
\begin{tikzpicture}[>=stealth, thick, font=\small, x=1cm, y=1cm] \draw[->] (0,0) -- (11,0) node[below] {$V$}; \draw[->] (0,0) -- (0,7.5) node[left] {$T$}; \node[below left] at (0,0) {$O$};
\draw[dashed] (0,3) -- (2,3); \node[left] at (0,3) {$T_b$};
\draw[thick] (2,3) -- (5,3); \draw[thick, blue] (0.6,0) .. controls (1.2,1.0) and (1.7,2.0) .. (2,3); \draw[thick, red] (5,3) -- (10,6);
\fill (2,3) circle (1.8pt); \fill (5,3) circle (1.8pt); \node[above left] at (2,3) {$V_l$}; \node[above right] at (5,3) {$V_g$};
\node[blue] at (0.8,1.8) {Liquid}; \node[red] at (8.5,4.5) {Gas}; \node at (3.5,3.5) {Gas-liquid coexistence};\end{tikzpicture}Now, we investigate what the second law tells in this transition. Let the mass of the liquid be and the mass of the gas be . If the system is in equilibrium, the Gibbs potential is
Here is the Gibbs potential per unit mass, called the chemical potential, and may depend on the density but not on the total mass .
In an equilibrium state, according to the second law, must be at minimum. That is, if any parameters other than and are varied slightly,
During the phase transition, the mass may change from liquid to gas and vice versa. Since the total mass is assumed to be conserved,
hence,
The equilibrium condition is then
This equation just determines the phase transition line. But and are not directly measurable.
Recall that in each phase, , therefore
Here and are the entropy and volume per unit mass. We observe at the transition that
The first derivative of is discontinuous. That is why the transition is called “first-order”, and is the so-called order parameter.
Question: why at the transition
Around the transition and vapor , let
we have
By the chain relation,
we obtain
To prove the chain rule, we should keep in mind that is a state function, i.e. there exists
According to the equilibrium condition and at the phase transition, , the derivative of the vapor pressure should be
Therefore,
Here is called the latent heat. This is known as the Clapeyron equation. It governs the vapor pressure in any first-order transition.
If , , the transition becomes higher-order. The Clapeyron equation is not valid.
The third law
The definition of the entropy depends on the existence of a reversible transformation connecting an arbitrarily chosen reference state to the state under consideration. Such a reversible transformation always exists if both and lie on one sheet of the state surface. For two different substances, or metastable phases of the same substance, such a reversible transformation may not exist. Therefore, the entropy is not unique. In comparison, the internal energy is defined through arbitrary transformations.
In 1905, Nernst discovered the third law:
The entropy of a system at the absolute zero temperature is a universal constant, which may be taken to be zero.
The word “universal” means (a) it refers to any system, and (b) regardless of any other parameters. Therefore, the third law uniquely defines the entropy.
The third law leads to some consequences:
(a) Any heat capacity of a system must vanish at absolute zero.
Let be any reversible path connecting a state at absolute zero to the state , and be the heat capacity along the path . Then, by the second law,
According to the third law,
Hence,
(b) The coefficient of thermal expansion of any substance vanishes at absolute zero.
From the entropy equation, we can deduce
where the latter is also a Maxwell relation. Thus
Therefore,
where the integration proceeds along a path of constant . We may further rewrite
Therefore , as .
(c) Similarly, we can show
Briefly speaking, it seems that “whatever” does not change with temperature around absolute zero.
The third law is equivalent to an alternative statement:
A system cannot be cooled to the absolute zero temperature by a finite change of the thermodynamic parameters.
Proof: Based on
where is positive, and are functions of , one may derive from the third law
This implies the alternative statement.
To reduce the temperature, the most efficient way is to construct a reversible transformation. Additionally, the transformation must be adiabatic, since if , the temperature increases; if , it implies the temperature of the environment is even lower.
For example, from one of the equations of entropy, for an adiabatic change,
is a higher-order infinitesimal than . To produce a finite change in temperature, the change of is unbounded as .
Question: how to derive the third law from the alternative statement?
A simple reasoning for the equivalence between the third law and the alternative statement:
To reduce the temperature, the only way is by a reversible adiabatic transformation. Assume that two states and are connected by a reversible adiabatic transformation, and their entropies are respectively
represents those parameters besides , and are the heat capacities along the paths. Since the transformation is adiabatic,
If the third law holds, i.e. , both and should be nonzero. Otherwise, if one of and is zero, . That is, one cannot reach through the reversible adiabatic transformation between and , and the alternative statement is valid.
On the other hand, if , one of and can be zero, but still holds, i.e. the alternative statement is false.
Question: why is the reasoning “simple”?
One already assumes that is regularly integrable around zero temperature.
Finite-time thermodynamics
In quasi-static thermodynamic transformations, it is assumed that the system at each time is in an equilibrium state. In other words, the dynamic evolution of the system is infinitely slow, i.e. for a finite thermodynamic transformation, it requires an infinitely long evolution time. Otherwise the system undergoes a non-equilibrium relaxation with energy dissipation.
Now we consider an engine in contact with two given heat reservoirs, at a lower temperature and a higher temperature respectively. The cyclic transformation consists of two isothermal and two adiabatic thermodynamic transformations, as shown for a Carnot engine.
For a general engine working within a finite time, the time intervals for the system in contact with the lower and higher temperature reservoirs are denoted by and respectively. The two adiabatic transformations are supposed to be very fast, compared to the isothermal ones. In the weak dissipation regime, i.e. for sufficiently large and , the heats absorbed by the system from the heat reservoirs are respectively
Here the changes of entropy are and . For a cyclic transformation, the total change of entropy is zero. Thus , i.e. .
If and are infinite, there exists no dissipation, and the transformations are reversible. and describe “the entropy production” which deviates from the reversible scenario. The power generated by the engine is
Using the expressions for and , we have
The maximum power is obtained by setting the derivatives of with respect to and equal to zero. The physically unique solution is
Thus it leads to the efficiency at the maximum power:
Here is the efficiency of the reversible Carnot engine.
For symmetric dissipation, i.e. ,
which is smaller than . In the limits and , the efficiency at maximum power reaches its upper and lower bounds,
In a practical system, the entropy production described by and is evaluated from the irreversible work. In general, the computation of and goes beyond standard thermodynamics, and it requires equations of motion. The universality of the efficiency at maximum power, for example, going beyond weak dissipation, remains to be further understood.
Summary
What is thermodynamics?
For macroscopic systems, one observes that some phenomena could not be explained by mechanics, electrodynamics, etc., at least in the past. These phenomena are related to “hot” or “cold”.
Through the zeroth law, and the transformation between heat and work, one defines the temperature and heat capacities and , etc.
For describing systems, there are two kinds of parameters:
- Thermal parameters: .
- “Traditional” parameters: .
Thermodynamics investigates what laws govern these parameters, which may or may not be measured in experiments.
Only a certain number of parameters are independent, and this leads to the equation of state
It states that is a state function.
The first law, i.e. energy conservation, leads to the internal energy being a state function,
The second law concerns the direction of a thermodynamic process, and it leads to the entropy, which is also a state function,
For reversible processes, the equation
combines both the first and second laws.
The third law allows the entropy to be uniquely defined.
All physical processes should obey the first, second, and third laws. The important task in thermodynamics is to derive the relations between the parameters, especially to express the parameters which are not measurable in experiments as functions of those which may be measured.
What are the “difficulties”?
From personal experience:
- How to calculate partial derivatives, e.g. from the equation of state
or
The key point is to remember that such an equation (whether or not it is given explicitly) indicates that only two parameters are independent.
- How to construct a process, and to prove certain statements.
The key point here is to make clear what is possible and impossible.
For example, the Kelvin statement states that it is impossible to extract a quantity of heat from a single heat reservoir and convert it entirely into work without any other effect.
This means that it is possible to convert an amount of work entirely to heat and deliver it to a single reservoir.
This also means that it is possible to extract an amount of heat from one reservoir, convert a part of it to work, and deliver the other part to another reservoir with a lower temperature; or convert it entirely to work, but with other effects, e.g. change of volume.
If or take negative values, it means the quantities go in the opposite direction as assumed.
An ideal gas
- Experimentally, it is observed that for a given temperature,
This indicates that there are only two independent parameters. We may also write , where is a certain scale of temperature. If we fix the function , the scale of temperature is defined.
Since the scale of temperature needs to be defined, we can simply define
This is just the equation of state.
It happens that defined in this way is the same as the absolute scale, at least if is constant. Theoretically, this is valid but maybe not easy to show by experiments.
- From free expansion,
also possible from the second law. Since
assuming (or approximately) is independent of ,
hence,
Exercises
Prove that for an ideal gas, .
Prove (1.5), (1.6), (1.7) in the textbook.
Prove that for an engine, if , then , .
Derive the entropy of an ideal gas.
Prove
Derive from .
Exercises 1, 2, 3 and 5 in the textbook.
Optional exercises
Summarize this chapter.
Where and how should one refine the lecture notes?
Phase transitions and its recent progress.
Structure and dynamics of complex systems.

Comment评论