Review of thermodynamics
Thermodynamic systems
A macroscopic system whose behavior is identified by a small and finite number of thermodynamic properties such as energy,
Such description misses a lot of the microscopic information. However, we don’t care about the full detail of the system. So the thermodynamic description is still very useful.
There are relations between those thermodynamic properties. Those relations are determined/observed from experiments. If we formally use
Those equations might not be independent. Thermodynamic finds the principles behind those relations such that we can reconstruct those relations with minimum assumptions.
Concept of equilibrium
Feynmann’s description of equilibrium : “… when all fast processes have already occurred, while the slow ones have yet to take place.”
The distinction between fast and slow depends on the observation time scale
Extensive variables
Extensive variable are the thermodynamic variables that adds up when we consider the union of the system and its duplication.
For example, the particle number of system 1 is
Temperature is not an extensive variable. It is an intensive variable. That is, when we have system 1 with
Is energy an extensive variable? The total energy of the system and its duplicate should be expressed as
The first two terms are easy to understand, they are the energy of system 1 and its duplicate 1’. The last term is the interaction between system 1 and its duplicate 1’. If the interaction between the system 1 and its duplicate is sub-extensive, meaning
The central problem of thermodynamics and its solution
Given initial state of several thermodynamic systems. We can put them together and let them interact with each other in some fashion. The central problem of thermodynamics ask the following question: what will be the final equilibrium thermodynamic state of the combined system?
The way that the sub systems interact with each other provides the constraint for the systems. For example, the two systems could interact in a way that it is allowed to exchange energy between the systems but not allowed to exchange particles. Or maybe there is no energy exchange between each other. However, they can still do work on the each other. Different constraints will required different ways to analyze the problem. However there is a postulated solution that can be constructed with different constraints.
The postulated solution of the central problem of thermodynamics – entropy
The entropy postulate is: There exist a function
Entropy is a function of extensive variables: Extensive variables are those physical quantities that scales like
when the system size ( ) increases.Entropy is extensive: Entropy itself scales like
.Entropy is a concave function (The idea of a concave function. The different definition of concave and convex functions): Consider two thermodynamic states, specified by two sets of extensive variables
, describing the same system. The definition of a concave function isEntropy is a monotonic increasing function of internal energy:
The solution of the central problem of thermodynamics is the state that maximize entropy with the corresponding thermodynamic constraints.
Systems in thermal contact (the definition of empirical temperature)
We can discuss systems under thermal contact and leave the other cases for the readers as reading materials.
Thermally conductive and mobile wall ( the definition of empirical pressure ): Consider two systems in thermal contact that are isolated from the environment. The total energy of the two systems is conserved (This is the thermodynamic constraint of this simple system). The equilibrium state of this system is postulated to be the thermodynamic state such that the entropy is maximized. i.e.
Therefore, we find the quantity,
, for system and must be equal with each other at equilibrium. At this moment, we don’t know what is this quantity. But according to previous definition, we know at equilibrium.How the energy flows during the process of reaching equilibrium? We know the total entropy of the system at equilibrium is larger than the initial total entropy.
We also know that entropy is a concave function, so we have
We can get above expression by differentiate the definition of concave function with respect to
from both side and set afterwards.Insert this relation into the previous inequality under the energy conserving condition, we have
This inequality says the energy flows from
to if .The behavior of
seems to be identical with the temperature defined in thermodynamics! In fact, we can proof that is proportional with the thermodynamic temperature !To show
, we use the following strategy. One can define the thermodynamic temperature using the maximal efficiency of a thermal engine between and ( ). The maximal efficiency is .Consider a heat engine that is in contact between two heat bath with temperature
and where . We assume the heat engine can only exchange energy with the environment by doing work. The second law of thermal dynamics suggestThe definition of efficiency is the ratio between the work and the energy flow out from the high temperature reservoir after one cycle. After one cycle, the energy of the reservoir changes from
to . So we haveWe want to find an expression of
using the temperature .The entropy of the reservoirs after a cycle will increase. So we have
The entropy of the reservoir before and after the cycle can be expressed as
Insert this relation to the entropy expression of the reservoirs, we have
and
So we have shown
This relation suggest
. The proportionality constant can be fixed by the tri-critical point of water. Therefore, we conclude .The definition of empirical pressure and chemical potential can be derived in a similar fashion and will be left as an exercise.
Thermally conductive and mobile wall ( the definition of empirical pressure )
Semipermeable wall ( the definition of empirical chemical potential )
The fundamental equation ( Entropy scheme and energy scheme)
The fundamental equation can be described according to two different schemes
Entropy scheme : The corresponding variation principle is to maximize the entropy of the system under the given constraints.
Energy scheme : The corresponding variation principle is to minimze the energy of the system under the given constraints.
Need a figure for it.
The Lagendre transform (Expressing the function by its tangent)
Suppose we have a function with two variables
Let’s try to imagine how to do that. We can formally express
Invert this equation, we have
The expression is almost right. However, if we think a little bit harder, we will find it is unlikely that we can express a function only via its slope. The reason is simple, we could have two functions with identical first derivative simply by having a constant shift. Therefore, we need a little bit more information other than the slope. If we consider
It turns out, the information we need is simply the tangent of the function. For the single variable function, we have the expression of the tangent as
In analogy, we have
This is the meaning of Lagendre transformation.
Thermodynamic potentials
We are interested to discuss the equilibrium configuration of our system under different circumstances. The first question is: in equilibrium with what? Usually, we have our system interact with a reservoir described by a fixed intensive variable.
For example, we can have our system to be in thermal contact with a heat bath with fixed temperature
One can derive the corresponding variational principle of the Helmholtz free energy.
Thermodynamic stability
The key idea is simple, we ask how the system response when the intensive variables are not homogeneous. If the system try to even out the inhomogeneity, the system is stable. On the other hand, if the system’s response make the inhomogeneity more and more serious, the system will not reach equilibrium and will collapse.