Maximizing Functions with Legendre Transforms

In summary, the example from the textbook states that to find a Legendre transformation of S such that the entropy becomes (\beta,V,N), you first need to find a function X such that the natural variables become (\beta,V,N), and then find a new function g(x) such that x is the maximum of the first function and the natural variables.
  • #1
kd215
8
0
Trying an example from a textbook but I don't understand Legendre transform at all. "construct Legendre transforms of the entropy that are natural functions of (1/T, V, n) and (1/T, V, μ/T)". I don't really understand where to start. An example prior to this exercise just states: A = E - TS = A(T,V,n) ; and G = E - TS - (-PV) = E - TS +PV = G(T,P,N).

If someone explains how the examples used Legendre transforms that should be enough for me to figure out the entropy problem. Thanks
 
Science news on Phys.org
  • #2
You always start from the first and second law of thermodynamics, i.e.,
[tex]\mathrm{d}U=T \mathrm{d} S-p \mathrm{d} V+\mu \mathrm{d} N.[/tex]
Here, [itex]U[/itex] is the internal energy, [itex]T[/itex] the temperature, [itex]S[/itex] the entropy, [itex]p[/itex] the pressure, [itex]V[/itex] the volume, [itex]\mu[/itex] the chemical potential, and [itex]N[/itex] a (conserved!) particle-number like quantity. In nonrelativistic physics often you can take [itex]N[/itex] as the particle number itself, while in non-relativistic physics usually there are only conserved charges like elecctric charge, net-baryon number, etc. Here, we just consider the case of one such particle-number like quantities and thus only one chemical potential. The generalization to more variables is straight forward.

The above equation shows that the "natural" independent variables for the internal energy are [itex]S[/itex], [itex]V[/itex], and [itex]N[/itex]. Since by construction [itex]\mathrm{d} U[/itex] is a total differential, you read off relations like
[tex]\left (\frac{\partial U}{\partial S} \right)_{V,N}=T.[/tex]
Here, the variables listed in the subscript indicate which variables have to be kept constant when differentiating. It's pretty important in this business to keep track of what's left constant when taking partial derivatives of the various quantities. Since from [itex]U[/itex] you can derive other quantities by taking partial derivatives one calls [itex]U[/itex] a thermodynamical potential, and which other quantities you get by taking derivatives in the most straight-forward way is determined by what are the "natural" independent quantities to use as explained above.

Let's now look at the entropy. From the equation above we get
[tex]\mathrm{d} S=\frac{1}{T} \mathrm{d} U+\frac{p}{T} \mathrm{d} V-\frac{\mu}{T} \mathrm{d}N.[/tex]
The "natural" independent variables to be used together with the entropy are thus [itex]U[/itex], [itex]V[/itex], and [itex]N[/itex], and the corresponding partial derivatives wrt. to one of these three variables (keeping precisely the other two fixed) are the coefficients in front of the differentials. Again we use the argument that [itex]S[/itex] is a state variable and thus [itex]\mathrm{d} S[/itex] is a total differential. For the following it's convenient to introduce new variables, namely
[tex]\beta=1/T, \quad \alpha=\mu/T.[/tex]
Then we have
[tex]\mathrm{d} S=\beta \mathrm{d} U+\frac{p}{T} \mathrm{d} V -\alpha \mathrm{d} N.[/tex]
With a Legendre transformation you define new quantities such that other variables become the "natural" independent variables. Let's start with the first example. You are supposed to find a Legendre transformation of [itex]S[/itex] such that the natural quantities become [itex](\beta,V,N)[/itex]. Now, for the enropy [itex]V[/itex] and [itex]N[/itex] are already natural variables, but not [itex]\beta[/itex], but we have the relation
[tex]\beta=\left (\frac{\partial S}{\partial U} \right )_{V,N}.[/tex]
Now to make [itex]\beta[/itex] a natural variable of another quantitiy, you simply have to define the new quantity as
[tex]X=S-\beta U[/tex]
Then from the above given differential you have
[tex]\mathrm{d} X=\mathrm{d} S - \mathrm{d}(\beta U)=\mathrm{d} S - U \mathrm{d} \beta-\beta \mathrm{d}U = \frac{p}{T} \mathrm{d} V-\alpha \mathrm{d} N-U \mathrm{d} \beta.[/tex]
Now obviously the natural variables for [itex]X[/itex] are indeed [itex](\beta,V,N)[/itex].

As next step you want still a new quantity such that the natural variables are [itex]\beta,V,N[/itex]. Now you read off the last equation
[tex]\left (\frac{\partial X}{\partial N} \right)_{\beta,V}=-\alpha.[/tex]
Thus, by another Legendre transform you see that the searched quantity must be
[tex]\Omega=X+\alpha N=S-\beta U+\alpha N[/tex]
since this leads to
[tex]\mathrm{d} \Omega=\frac{p}{T} \mathrm{d} V+N \mathrm{d} \alpha-U \mathrm{d} \beta.[/tex]
That's the grand-canonical potential with the natural independent variables [itex]V, \quad \beta, \quad \alpha[/itex].
 
  • #3
The goal is to make a new function, [itex]\tilde{f}(p)[/itex], of a new variable, [itex]p[/itex], and, in doing so maximize
[tex]
xp-f(x)
[/tex]
for a given value of [itex]x[/itex]. To maximize anything we have drilled in us to take the derivative and set it equal to zero
[tex]
xp-f(x)\implies p=\frac{df(x)}{dx}\equiv g(x)
[/tex]
where I renamed the derivative as a new function, [itex]g(x)[/itex]. Now we are interested in the [itex]x[/itex] that maximizes the first expression, so we solve for [itex]x[/itex]
[tex]
x=g^{-1}(p)
[/tex]
then
[tex]
\tilde{f}(p)=p \, g^{-1}(p) - f \left( g^{-1}(p) \right)
[/tex]
this is the new function. Now let's start with the expression for [itex]p[/itex].
[tex]
p=\frac{df}{dx}\implies p \, dx = df \implies d(px) - x \, dp = df \implies d(xp-f) = x \, dp
[/tex]
which is true by looking back to the first part. So you can revert back and forth between [itex]x[/itex] and [itex]p[/itex] with this little "reverse product rule" move. You can try it on your thermodynamic pair of choice. Like [itex]TdS = d(TS) - S \, dT[/itex] and you can reshuffle the total differentials to make it look nice :)
 

Related to Maximizing Functions with Legendre Transforms

What is a Legendre transform?

A Legendre transform is a mathematical operation that converts one function into another related function. It is commonly used in physics and thermodynamics to switch between different representations of a system.

How is a Legendre transform related to entropy?

In thermodynamics, the Legendre transform of entropy is used to switch from the natural variables of the energy representation (such as temperature and volume) to the natural variables of the entropy representation (such as temperature and pressure).

Why is the Legendre transform of entropy useful?

The Legendre transform of entropy allows us to analyze thermodynamic systems from different perspectives and helps to simplify calculations. It also helps to identify important physical quantities, such as temperature and pressure, that are significant in describing a system.

What is the difference between the Legendre transform of entropy and a regular Legendre transform?

The Legendre transform of entropy is a special case of the regular Legendre transform, where the function being transformed is the entropy. This means that the variables being switched in the Legendre transform of entropy are specifically related to thermodynamics, whereas the regular Legendre transform can be applied to any mathematical function.

Are there any applications of the Legendre transform of entropy?

Yes, the Legendre transform of entropy has various applications in thermodynamics, statistical mechanics, and information theory. It is used to analyze phase transitions, calculate thermodynamic potentials, and describe the behavior of complex systems. It also has applications in other fields, such as economics and signal processing.

Similar threads

Replies
3
Views
1K
Replies
1
Views
918
Replies
4
Views
1K
Replies
19
Views
1K
Replies
13
Views
1K
  • Advanced Physics Homework Help
Replies
1
Views
1K
  • Thermodynamics
Replies
4
Views
1K
Replies
2
Views
856
Replies
4
Views
1K
  • Introductory Physics Homework Help
Replies
1
Views
2K
Back
Top