Thermodynamics Potentials, Maxwell's Relations

First of all, a quick introduction to 4 the most important figures in thermodynamics:

  1. Sadi Carnot (1796-1832) who discovered the second law of thermodynamics.
  2. Rudolf Clausius (1822-1888) who restated the Sadi Carnot’s principle into the form we use today.
  3. William Thomson (Lord Kelvin, 1824-1907) who brought thermodynamics into its modern form.
  4. Max Planck (1858-1947) who is best known for the Planck Function of radiation, heat transfer and as a founder of quantum mechanics.

Essentially all thermodynamic system problems can be cast in a similar form: an isolated system, divided into 2 subsystems by a piston. The question arises when what happen when the piston is:

  1. adiabatic, fixed, and impermeable
  2. diathermal (heat transfer is allowed)
  3. allowed to move
  4. porous to one or more chemical species


Postulatory Basis

The postulates should be the simplest ones that are proved a posteriori and will do the job, rather than be derived by an a priori proof.

a priorideduction, based on theory
(Theory โ†’ Hypothesis โ†’ Observation โ†’ Confirmation)
a posterioriinduction, based on experiment
(Observation โ†’ Pattern โ†’ Tentative Hypothesis โ†’ Theory)
ab initiofrom the beginning
ipso factoby the fact

Postulate 1

There exists certain states (equilibrium states) of simple systems that, macroscopically, are characterized completely by the internal energy U, the volume V, and the more numbers N1, N2, …, Nr, of the chemical components, where r is the number of chemical components.

The implications of this postulate:

  1. Previous history plays no role in determining the final state. When systems are in equilibrium, the property functions do not depend on any dynamic quantities.
  2. All microscopic quantum states are allowed (a priori probability).
  3. There are violations of this postulate: heat treated steel, non-Newtonian fluid with hysteresis, ortho- and para- hydrogen.

Postulate 2

There exists a function called the entropy S, of the extensive parameters of any composite system, defined for all equilibrium states and having the property that: the values assumed by the extensive parameters are those that maximize the entropy over the manifold of constrained equilibrium states.

This postulate introduces the concept of entropy and essentially states the second law of thermodynamics.

Extensive propertiesThose directly depend on the size (total extent) of the system.
For example: internal energy U, total volume V, total mass M or moles N, total entropy S, enthalpy H, etc.
Intensive propertiesNormalized or not dependent on system size.
For example: temperature T, pressure p, chemical potential ฮผ, etc.
Normalized propertiesExtensive properties normalized on mass, moles or volume.
For example: internal energy u, enthalpy h, entropy s.

Postulate 2 only applies for equilibrium states. Also the total entropy (including all subsystems and surrounding) is maximized. We can solve the Fundamental Problem if we know the Fundamental Relation:

S = S(U, V, Ni)

Examples of Fundamental Relations include Van der Waal’s Liquid, Ideal Gas, etc.



Postulate 3

The entropy of a composite system is additive over the constituent subsystems. The entropy is continuous and differentiable and is a monotonically increasing function of energy.

This postulate simplifies the mathematics: the entropy of the overall system is the sum of the entropies of each subsystem, i.e. S = โˆ‘j Sj. Next, entropy of each subsystem is a function of the properties of that subsystem only Sj = Sj(Uj, Vj, Ni,j). Third, entropy is a 1st-order function of the extensive properties, i.e. S(ฮปU, ฮปV, ฮปNi) = ฮปS(U, V, Ni).

The partial derivative of entropy is always positive โˆ‚S/โˆ‚U > 0, which means entropy can be inverted with respect to energy in the fundamental equation, U = U(S, V, Ni). Lastly, the extensive properties can be normalized: u โ‰ก U/N, v โ‰ก V/N, s โ‰ก S/N, further more we have

S = N S(U/N, V/N, Ni/N)
s = s(u, v, yi) # yi is the mole fraction

Postulate 4 (3rd Law of Thermodynamics)

The entropy of any system vanishes in the state for which โˆ‚S/โˆ‚U = 0.

This implies entropy goes to zero as temperature goes to zero.

Temperature

Consider an isolated system composed of 2 subsystems A and B which are initially at different equilibrium states. At the beginning, the barrier between the 2 subsystems was fixed, insulated and impermeable, and nothing could happen. ONLY heat transfer is then allowed across the barrier. If there is a difference in temperature, the heat transfer will occur. But how much?

The way to answer is to find the final equilibrium state, and use the first law to calculate the heat transfer that took place between the initial and final states. The postulates give the rule for finding an equilibrium state. Assuming there is a mixture of species, taking the differential of S gives us:

dS = โˆ‚S/โˆ‚U dU + โˆ‚S/โˆ‚V dV + โˆ‘j โˆ‚S/โˆ‚Nj dNj

If the volume V and composition Nj are fixed, then only the first partial derivative will have a value. The total entropy S = SA + SB. Differential of S now is:

dS = dSA + dSB
โŸน dS = โˆ‚SA/โˆ‚UA dUA + โˆ‚SB/โˆ‚UB dUB

Now note the energy within the overall system must be conserved U = UA + UB, so that dU = dUA + dUB = 0, and –dUA = dUB. Then eliminate dUB in dS and set dS to zero.

dS = [โˆ‚SA/โˆ‚UA - โˆ‚SB/โˆ‚UB] dUA = 0
โŸน [โˆ‚SA/โˆ‚UA - โˆ‚SB/โˆ‚UB] = 0
โŸน โˆ‚SA/โˆ‚UA = โˆ‚SB/โˆ‚UB
โŸน โˆ‚UA/โˆ‚SA = โˆ‚UB/โˆ‚SB โ‰ก T
โŸน TA = TB

The standard thermodynamic definition of temperature T is the partial derivative of internal energy U with respect to entropy S, i.e. T = โˆ‚U/โˆ‚S.



Pressure

Consider an isolated system composed of 2 subsystems A and B which are initially at different equilibrium states. At the beginning, the barrier between the 2 subsystems was fixed, insulated and impermeable, and nothing could happen.

Both heat transfer across the barrier and motion of barrier are then allowed. If without heat transfer, there is no mechanism to stop the barrier (piston) from oscillating back and forth forever. It is the friction that slows down the piston at its equilibrium position. Friction generates heat, and thus heat transfer.

So now only Ni is fixed, and U and V change. The differential form of Fundamental Relation is:

dS = dSA + dSB
โŸน dS = โˆ‚SA/โˆ‚UA dUA + โˆ‚SA/โˆ‚VA dVA + โˆ‚SB/โˆ‚UB dUB + โˆ‚SB/โˆ‚VB dVB

Now note the total volume is fixed V = VA + VB, so that dV = dVA + dVB = 0, and –dVA = dVB. Then together with temperature, we eliminate dUB and dVB in dS and set dS to zero.

dS = [โˆ‚SA/โˆ‚UA - โˆ‚SB/โˆ‚UB] dUA + [โˆ‚SA/โˆ‚VA - โˆ‚SB/โˆ‚VB] dVA = 0
โŸน [โˆ‚SA/โˆ‚UA - โˆ‚SB/โˆ‚UB] = 0 and [โˆ‚SA/โˆ‚VA - โˆ‚SB/โˆ‚VB] = 0
โŸน โˆ‚SA/โˆ‚UA = โˆ‚SB/โˆ‚UB and โˆ‚SA/โˆ‚VA = โˆ‚SB/โˆ‚VB
โŸน โˆ‚UA/โˆ‚SA = โˆ‚UB/โˆ‚SB โ‰ก T and โˆ‚SA/โˆ‚VA = โˆ‚SB/โˆ‚VB โ‰ก p/T
โŸน TA = TB and pA = pB

The standard thermodynamic definition of pressure p is temperature T times the partial derivative of entropy S with respect to volume V, i.e. p = T โˆ™ โˆ‚S/โˆ‚V.

Chemical Potential

Chemical potential plays exactly the same role for mass transfer, as temperature and pressure do for heat transfer and volume change or work.

Consider an isolated system composed of 2 subsystems A and B which are initially at different equilibrium states. At the beginning, the barrier between the 2 subsystems was fixed, insulated and impermeable, and nothing could happen. Both heat transfer and mass transfer across the barrier are allowed.

Assume we have only one species, so i = 1. Now only N1 and U change. The differential form of Fundamental Relation is:

dS = dSA + dSB
โŸน dS = โˆ‚SA/โˆ‚UA dUA + โˆ‚SA/โˆ‚N1,A dN1,A + โˆ‚SB/โˆ‚UB dUB + โˆ‚SB/โˆ‚N1,B dN1,B

Now note the total mass is fixed N1 = N1,A + N1,B, so that dN1 = dN1,A + dN1,B = 0, and –dN1,A = dN1,B. Then together with temperature, we eliminate dUB and dN1,B in dS and set dS to zero.

dS = [โˆ‚SA/โˆ‚UA - โˆ‚SB/โˆ‚UB] dUA + [โˆ‚SA/โˆ‚N1,A - โˆ‚SB/โˆ‚N1,B] dN1,A = 0
โŸน [โˆ‚SA/โˆ‚UA - โˆ‚SB/โˆ‚UB] = 0 and [โˆ‚SA/โˆ‚N1,A - โˆ‚SB/โˆ‚N1,B] = 0
โŸน โˆ‚SA/โˆ‚UA = โˆ‚SB/โˆ‚UB and โˆ‚SA/โˆ‚N1,A = โˆ‚SB/โˆ‚N1,B
โŸน โˆ‚UA/โˆ‚SA = โˆ‚UB/โˆ‚SB โ‰ก T and โˆ‚SA/โˆ‚N1,A = โˆ‚SB/โˆ‚N1,B โ‰ก -ฮผ/T
โŸน TA = TB and ฮผ1,A = ฮผ1,B

ฮผ is called chemical potential. Note the minus sign, i.e. ฮผ = -T โˆ™ โˆ‚S/โˆ‚N, because we want the mass transfer to go from the region of higher chemical potential to lower chemical potential.

This concept applies to chemically reacting mixture as well. For a fixed volume V and energy U, this is one equations with r unknowns, if there are r species:

dS = โˆ‘ri=1 ฮผi/T dNi = 0

If we take atom conservation into account, then it turns out there are enough equations for the number of unknowns as long as we know the initial condition.

pk = โˆ‘ri=1 nki Ni


Representations

By representation, we mean the division of properties: the relations between dependent and independent. For example, in the case of the simple compressible substance, only 2 independent properties are needed to determine all the other properties, say U = U(p, V), or U = U(S, p). Each choice of the two independent properties is a different representation.

We have introduced the Fundamental Relation S = S(U, V, Ni), and its differential form is called Entropy Representation:

dS = 1/T dU + p/T dV - โˆ‘ri=1 ฮผi/T dNi

However because of the Postulate 3, we can also write U = U(S, V, Ni), and its differential form is called Energy Representation:

dU = T dS - p dV + โˆ‘ri=1 ฮผi dNi

Entropy representation and energy representation contain the same information.

There are as many representation as there are possible combinations of independent variables. The problem is how to retain all the information in the Fundamental Relation when transforming between independent and dependent properties.

Equations of State

In both of the entropy representation and energy representation, the coefficients of the differential form are intensive parameters (T, p, ฮผ) which can be calculated as a function of the independent properties (S, V, Ni) given the Fundamental Relation, i.e.:

T = T(S, V, Ni)
p = p(S, V, Ni)
ฮผ = ฮผ(S, V, Ni)

These relationships are formally called Equations of State. If the Equations of State are known, they can be integrated to recover the Fundamental Relation. This is true in any representation.

Euler Equation

From the definition of the homogenous first-order property, the Fundamental Relation could be written in a convenient form: U(ฮปS, ฮปV, ฮปN) = ฮปU(S, V, N), which means multiplying the independent variable S, V, N with a constant ฮป, results in the dependent variable U being multiplied by the same factor.

Differentiating both side of the equation with regard to ฮป, we obtain this expression:

โˆ‚U/โˆ‚(ฮปS) S + โˆ‚U/โˆ‚(ฮปV) V + โˆ‚U/โˆ‚(ฮปN) N = U(S, V, N)

Select ฮป = 1, we got Euler Equation:

U = T S - p V + โˆ‘ri=1 ฮผi Ni
โŸน S = 1/T U + p/T V - โˆ‘ri=1 ฮผi/T Ni

Euler Equation provides explicit relationship between the intensive and extensive properties.



Gibbs-Duhem Relation

If we differentiate the Euler Equation and using the differential form of the Fundamental Relation, we derive the Gibbs-Duhem Relation, which shows not all the intensive properties are independent of each other:

S dT - V dp + โˆ‘ri=1 Ni dฮผi = 0

The actual number of independent intensive parameters is called the Thermodynamic Degrees of Freedom. A simple system of r components has r+1 degrees of freedom. This corresponds directly to Gibbs Phase Rule.

Alternative Representations

It is often useful to have one or more of the intensive properties as independent. The Legendre transform allows transforming between extensive and intensive properties so that the transform relation contains all the information in the Fundamental Relation.

Various transforms from the energy representation are called Thermodynamic Potentials, because differences in their value can drive action.

Various transforms from the entropy representation are called Massieu Functions.

Extreme Principle: entropy and its transformation are maximized; and energy and its transformation are minimized.

Quasi-Static Process

A quasi-static process is one that occurs slowly enough so that the system appears to be in equilibrium at all times. The practical consequence is that the Fundamental Relation applies during the process. This is an idealization that will be very useful in calculating limiting behavior. It leads to the concept of reservoirs.

Reservoirs are useful idealizations for the way systems interact with their surroundings. We usually make some idealized assumptions about them that leads to simplification. Two commonly used are:

mechanical energy reservoirIdealization of a very large mechanical sink or source (a giant piston cylinder arrangement). The properties of the reservoir are unchanged even through work is done on / by it.
Consider an infinitesimal amount of work dW, then MER is isentropic.
dU = dW = -pdV โŸน 1/T dU + p/T dV = 0 = dS
thermal energy reservoirIdealization of a very large volume whose properties are essentially unaffected when heat is added or subtracted.
Consider an infinitesimal amount of heat transfer dQ, then TER is NOT isentropic.
dU = dQ โŸน 1/T dU = 1/T dQ = dS

Maxwell’s Relations

James Clerk Maxwell was a 19th century mathematical physicist. Besides Maxwell’s equations of classical electromagnetism, Maxwell also worked on thermodynamics. If we start with the differential form of various thermodynamic potentials, it leads to Maxwell’s Relations.

Building Property Relations

We seek the properties as a function of various independent variables. If we know the Fundamental Relation, then we can use the Legendre transforms and intensive properties definitions to obtain any relationships we might need. Alternatively, we often have experimental data or theoretical results in a particular functional form but need properties in a different form. Traditionally, the experimental approach was to measure the p-V-T relationship and the specific heat.



My Certificate

For more on Macroscopic Thermodynamics, please refer to the wonderful course here https://www.coursera.org/learn/macroscopic-microscopic-thermodynamics



I am Kesler Zhu, thank you for visiting my website. Check out more course reviews at https://KZHU.ai

All of your support will be used for maintenance of this site and more great content. I am humbled and grateful for your generosity. Thank you!




Don't forget to sign up newsletter, don't miss any chance to learn.

Or share what you've learned with friends!

Leave a Reply

Your email address will not be published. Required fields are marked *