Entropy as a function of temperature: is temperature well defined?How do we define temperature?Relation between entropy and internal energyProving that the Boltzmann entropy is equal to the thermodynamic entropyWhy is Boltzmann entropy equation used for configurational entropy?How to avoid temperature being infinite at entropy maximumEntropy definition, additivity, laws in different ensembleshow to increase entropy without increasing temperature?Is entropy zero at temperature zero for ideal gas?Entropy and temperature of small systemsTemperature from the Gibbs entropy

Why is "breaking the mould" positively connoted?

Emotional immaturity of comic-book version of superhero Shazam

IP addresses from public IP block in my LAN

How did the Venus Express detect lightning?

Can my 2 children 10 and 12 Travel to the USA on expired American Passports? They are US citizens

3D Volume in TIKZ

Why does this derived table improve performance?

Upside-Down Pyramid Addition...REVERSED!

What are the differences between credential stuffing and password spraying?

US born but as a child of foreign diplomat

In Stroustrup's example, what does this colon mean in `return 1 : 2`? It's not a label or ternary operator

Nominativ or Akkusativ

What is the correct etiquette when one would like to include the alternative proofs supplied by the reviewer

Building a list of products from the elements in another list

Is there an idiom that support the idea that "inflation is bad"?

Pressure inside an infinite ocean?

Should homeowners insurance cover the cost of the home?

Can I use a fetch land to shuffle my deck while the opponent has Ashiok, Dream Render in play?

PWM 1Hz on solid state relay

How can internet speed be 10 times slower without a router than when using a router?

Something that can be activated/enabled

Do I add my skill check modifier to the roll of 15 granted by Glibness?

A factorization game

Wrong answer from DSolve when solving a differential equation



Entropy as a function of temperature: is temperature well defined?


How do we define temperature?Relation between entropy and internal energyProving that the Boltzmann entropy is equal to the thermodynamic entropyWhy is Boltzmann entropy equation used for configurational entropy?How to avoid temperature being infinite at entropy maximumEntropy definition, additivity, laws in different ensembleshow to increase entropy without increasing temperature?Is entropy zero at temperature zero for ideal gas?Entropy and temperature of small systemsTemperature from the Gibbs entropy













12












$begingroup$


Considering volume and particle number constant, the internal energy $U$ is a function of the entropy: $U=U(S)$. The temperature is then defined as $T=dU(S)/dS$. From here, the temperature is a function of the entropy: $T=T(S)$.



One can now define the free energy $F=F(T)$ as



$$F(T) = U-TS = U(S(T)) - TS(T)$$



For this, however, $T(S)$ has to be invertable. My question is, what happens if $U(S)$ is some wavy function such that its derivative is the same at many distinct $S$ values? In other words, what happens if $T^*=T(S^*)$ has multiple solutions for $S^*$? Is it possible not to have a well defined temperature at equilibrium?



My wild guess is that this shouldn't happen in the thermodynamic limit, but can't see this. Also, small, even single particle systems have well defined temperature so is there some constraint on the shape of $U(S)$ I'm missing here?










share|cite|improve this question









$endgroup$







  • 1




    $begingroup$
    You can prove $U(S)$ is always a convex function, so that puts some limits on what can go wrong here.
    $endgroup$
    – Jahan Claes
    Apr 29 at 19:30










  • $begingroup$
    @JahanClaes Could you sketch or refer to a proof that $U(S)$ is always convex?
    $endgroup$
    – Botond
    Apr 29 at 21:54






  • 1




    $begingroup$
    If you want a book on thermodynamics which explicitly addresses the convex nature of the entropy function, and what it implies, including for phase transitions, then I have written one; publisher is Oxford University Press. I hope this comment does not break self-advertising rules on the site. I think it is fair because it is directly addressed to the question asked.
    $endgroup$
    – Andrew Steane
    yesterday















12












$begingroup$


Considering volume and particle number constant, the internal energy $U$ is a function of the entropy: $U=U(S)$. The temperature is then defined as $T=dU(S)/dS$. From here, the temperature is a function of the entropy: $T=T(S)$.



One can now define the free energy $F=F(T)$ as



$$F(T) = U-TS = U(S(T)) - TS(T)$$



For this, however, $T(S)$ has to be invertable. My question is, what happens if $U(S)$ is some wavy function such that its derivative is the same at many distinct $S$ values? In other words, what happens if $T^*=T(S^*)$ has multiple solutions for $S^*$? Is it possible not to have a well defined temperature at equilibrium?



My wild guess is that this shouldn't happen in the thermodynamic limit, but can't see this. Also, small, even single particle systems have well defined temperature so is there some constraint on the shape of $U(S)$ I'm missing here?










share|cite|improve this question









$endgroup$







  • 1




    $begingroup$
    You can prove $U(S)$ is always a convex function, so that puts some limits on what can go wrong here.
    $endgroup$
    – Jahan Claes
    Apr 29 at 19:30










  • $begingroup$
    @JahanClaes Could you sketch or refer to a proof that $U(S)$ is always convex?
    $endgroup$
    – Botond
    Apr 29 at 21:54






  • 1




    $begingroup$
    If you want a book on thermodynamics which explicitly addresses the convex nature of the entropy function, and what it implies, including for phase transitions, then I have written one; publisher is Oxford University Press. I hope this comment does not break self-advertising rules on the site. I think it is fair because it is directly addressed to the question asked.
    $endgroup$
    – Andrew Steane
    yesterday













12












12








12


2



$begingroup$


Considering volume and particle number constant, the internal energy $U$ is a function of the entropy: $U=U(S)$. The temperature is then defined as $T=dU(S)/dS$. From here, the temperature is a function of the entropy: $T=T(S)$.



One can now define the free energy $F=F(T)$ as



$$F(T) = U-TS = U(S(T)) - TS(T)$$



For this, however, $T(S)$ has to be invertable. My question is, what happens if $U(S)$ is some wavy function such that its derivative is the same at many distinct $S$ values? In other words, what happens if $T^*=T(S^*)$ has multiple solutions for $S^*$? Is it possible not to have a well defined temperature at equilibrium?



My wild guess is that this shouldn't happen in the thermodynamic limit, but can't see this. Also, small, even single particle systems have well defined temperature so is there some constraint on the shape of $U(S)$ I'm missing here?










share|cite|improve this question









$endgroup$




Considering volume and particle number constant, the internal energy $U$ is a function of the entropy: $U=U(S)$. The temperature is then defined as $T=dU(S)/dS$. From here, the temperature is a function of the entropy: $T=T(S)$.



One can now define the free energy $F=F(T)$ as



$$F(T) = U-TS = U(S(T)) - TS(T)$$



For this, however, $T(S)$ has to be invertable. My question is, what happens if $U(S)$ is some wavy function such that its derivative is the same at many distinct $S$ values? In other words, what happens if $T^*=T(S^*)$ has multiple solutions for $S^*$? Is it possible not to have a well defined temperature at equilibrium?



My wild guess is that this shouldn't happen in the thermodynamic limit, but can't see this. Also, small, even single particle systems have well defined temperature so is there some constraint on the shape of $U(S)$ I'm missing here?







thermodynamics statistical-mechanics temperature entropy






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Apr 29 at 18:11









BotondBotond

26710




26710







  • 1




    $begingroup$
    You can prove $U(S)$ is always a convex function, so that puts some limits on what can go wrong here.
    $endgroup$
    – Jahan Claes
    Apr 29 at 19:30










  • $begingroup$
    @JahanClaes Could you sketch or refer to a proof that $U(S)$ is always convex?
    $endgroup$
    – Botond
    Apr 29 at 21:54






  • 1




    $begingroup$
    If you want a book on thermodynamics which explicitly addresses the convex nature of the entropy function, and what it implies, including for phase transitions, then I have written one; publisher is Oxford University Press. I hope this comment does not break self-advertising rules on the site. I think it is fair because it is directly addressed to the question asked.
    $endgroup$
    – Andrew Steane
    yesterday












  • 1




    $begingroup$
    You can prove $U(S)$ is always a convex function, so that puts some limits on what can go wrong here.
    $endgroup$
    – Jahan Claes
    Apr 29 at 19:30










  • $begingroup$
    @JahanClaes Could you sketch or refer to a proof that $U(S)$ is always convex?
    $endgroup$
    – Botond
    Apr 29 at 21:54






  • 1




    $begingroup$
    If you want a book on thermodynamics which explicitly addresses the convex nature of the entropy function, and what it implies, including for phase transitions, then I have written one; publisher is Oxford University Press. I hope this comment does not break self-advertising rules on the site. I think it is fair because it is directly addressed to the question asked.
    $endgroup$
    – Andrew Steane
    yesterday







1




1




$begingroup$
You can prove $U(S)$ is always a convex function, so that puts some limits on what can go wrong here.
$endgroup$
– Jahan Claes
Apr 29 at 19:30




$begingroup$
You can prove $U(S)$ is always a convex function, so that puts some limits on what can go wrong here.
$endgroup$
– Jahan Claes
Apr 29 at 19:30












$begingroup$
@JahanClaes Could you sketch or refer to a proof that $U(S)$ is always convex?
$endgroup$
– Botond
Apr 29 at 21:54




$begingroup$
@JahanClaes Could you sketch or refer to a proof that $U(S)$ is always convex?
$endgroup$
– Botond
Apr 29 at 21:54




1




1




$begingroup$
If you want a book on thermodynamics which explicitly addresses the convex nature of the entropy function, and what it implies, including for phase transitions, then I have written one; publisher is Oxford University Press. I hope this comment does not break self-advertising rules on the site. I think it is fair because it is directly addressed to the question asked.
$endgroup$
– Andrew Steane
yesterday




$begingroup$
If you want a book on thermodynamics which explicitly addresses the convex nature of the entropy function, and what it implies, including for phase transitions, then I have written one; publisher is Oxford University Press. I hope this comment does not break self-advertising rules on the site. I think it is fair because it is directly addressed to the question asked.
$endgroup$
– Andrew Steane
yesterday










2 Answers
2






active

oldest

votes


















8












$begingroup$

Your question requires an answer on three different levels:



  1. mathematical;

  2. pure thermodynamics;

  3. statistical mechanics.

1. mathematics



The definition of the Helmholtz free energy you refer to is nothing but the Legendre transform of the fundamental equation $U(S,V,N)$ with respect to its first variable $S$ in term of the conjugate variable $T=left( frac partialUpartialS right)_V,N$. The original Legendre transform would be easily done by requiring $U$ to be a twice differentiable function of $S$ with a positively defined hessian matrix. However, such a request is too strong for real thermodynamic systems. It is well known that a useful extension of the Legendre transform is the so-called Legendre-Fenchel transform (LF) (or convex-conjugate).



In the case of thermodynamics, the definition of LF transform is slightly different from the most common mathematical definition. In the case of the Helmholtz free energy, it would be written as
$$
F(T,V,N) = inf_S( U(S,V,N) - TS )
$$

Such a definition reduces to the usual Legendre transform in the part of the domain of $U(S,V,N)$ where the function is strictly convex (and twice differentiable with respect to $S$). Where the function is convex but not strictly convex (i.e. what mathematicians call an affine function, i.e. a linear function), the LF transform maps the entire affine interval into a single point where left and right derivatives differ.



Since fundamental equations must be convex (o cancave) but not strictly convex (or strictly concave), it turns out that the LF transform is the proper mathematical tool for a change of variable $S leftrightarrow T$.



2. Pure thermodynamics



Affine regions of $U(S,V,N)$ are to be expected, due to the phenomenon of phase coexistence. In such regions, the thermodynamic potential must be a linear function of its extensive variables since it corresponds to an equilibrium condition of an inhomogeneous system made by more coexisting phases. At coexistence, $T(S,V,N)$ is a constant as a function of $S$. But this is physically consistent with the presence of a latent heat at the first order phase transition.



3. Statistical mechanics



Statistial mechanics is deemed to give access to Thermodynamics, by starting with a model for the Hamiltonian of the system. However, such a program in general requires the so-called thermodynamic limit (TL). TL is required for different reasons. Summarizing, these are:



  • only TL can introduce the non-analiticity required to recover phase transitions;

  • only at TL (if it exists) it is possible to recover the extensiveness

  • only at TL (if it exists) it is possible to recover the convexity properties.

Without TL many properties, which are considered typical for thermodynamic systems, would not be valid. On the other hand, working with a finite number of degrees of freedom, although unavoidable from the numerical point of view, in general introduces non-convex (unphysical) regions. Therefore, TL is required, but at TL the $T(S,V,N)$ is not invertible for $S$ in the whole coexistence region. Nevertheless, LF transform can cope without problem with the situation.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Thank you for the detailed answer. Still digesting. Can you please explain what you mean by "fundamental equations must be convex" and why this is true? Also, can you please elaborate on your definition of the free energy as the infimum over S? Does this just cuts the whole domain of $S$ to chunks where $U(S)$ is convex/concave?
    $endgroup$
    – Botond
    Apr 29 at 21:57










  • $begingroup$
    Convexity/concavity of fundamental equations (thermodynamic potentials in the present case) is a basic consequence of the minimum pincipe for internal energy. You'll find an argument for concavity of entropy in the Callen's textbook. Definition of free energy as inf is just the application of LF definition (according to thermodynamicists) to the case of S <->T change of variables. Finally, $U(S)$ must be convex everywhere in its domain. Concave regions are forbidden in a stable thermodynamic system. This is the short answer. If you need the long answer I could do but not immediately.
    $endgroup$
    – GiorgioP
    Apr 29 at 22:39


















11












$begingroup$

Function $T(S)=(partial U/partial S)_V$ does not have to be strictly increasing with $S$. For example, when heat is added to a mix of ice and water at 0 degrees Celsius, entropy increases but temperature stays the same until all ice is melted. So it is not, in general, possible to express entropy as function of $T,V,N$.



Free (Helmholtz) energy is usually defined as



$$
F(T,V,N) = U - TS
$$

but in general neither $U$ nor $S$ can be expressed as functions of $T,V,N$.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    I'm confused. I thought that if you externally impose a fixed $T,V,N$ to the system, that defines your $F(T,V,N)$ free energy unambiguously. You can write a free energy as a function of the molar concentrations, but the equilibrium free energy will be the one that minimizes $F(T,V,N)$. Thus the equilibrium molar concentrations are also functions of $T,V,N$.
    $endgroup$
    – Botond
    Apr 29 at 19:23










  • $begingroup$
    My mistake, the part about molar numbers was wrong. I changed my answer.
    $endgroup$
    – Ján Lalinský
    Apr 29 at 21:07










  • $begingroup$
    Thank you. What still bugs me is that if neither $U$ nor $S$ can be expressed as a function of $T,V,N$, how would you possibly know that $U-TS$ will only depend on $T,V,N$ and not on $U$ and/or $S$?
    $endgroup$
    – Botond
    Apr 29 at 21:47










  • $begingroup$
    It follows from the definition of $F$. We have $dU = TdS - pdV$, so from the differentials we see $U$ is a function of $S,V$. Then since $F=U-TS$, we have $dF=dU - TdS - SdT$ so $dF = -SdT -pdV$ so again from differentials $F$ must be function of $T,V$.
    $endgroup$
    – Ján Lalinský
    Apr 29 at 22:33







  • 1




    $begingroup$
    What the differential tells me is that $S=partial F(T,V,N) / partial T$ thus $S=S(T,V,N)$
    $endgroup$
    – Botond
    2 days ago











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "151"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fphysics.stackexchange.com%2fquestions%2f476796%2fentropy-as-a-function-of-temperature-is-temperature-well-defined%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









8












$begingroup$

Your question requires an answer on three different levels:



  1. mathematical;

  2. pure thermodynamics;

  3. statistical mechanics.

1. mathematics



The definition of the Helmholtz free energy you refer to is nothing but the Legendre transform of the fundamental equation $U(S,V,N)$ with respect to its first variable $S$ in term of the conjugate variable $T=left( frac partialUpartialS right)_V,N$. The original Legendre transform would be easily done by requiring $U$ to be a twice differentiable function of $S$ with a positively defined hessian matrix. However, such a request is too strong for real thermodynamic systems. It is well known that a useful extension of the Legendre transform is the so-called Legendre-Fenchel transform (LF) (or convex-conjugate).



In the case of thermodynamics, the definition of LF transform is slightly different from the most common mathematical definition. In the case of the Helmholtz free energy, it would be written as
$$
F(T,V,N) = inf_S( U(S,V,N) - TS )
$$

Such a definition reduces to the usual Legendre transform in the part of the domain of $U(S,V,N)$ where the function is strictly convex (and twice differentiable with respect to $S$). Where the function is convex but not strictly convex (i.e. what mathematicians call an affine function, i.e. a linear function), the LF transform maps the entire affine interval into a single point where left and right derivatives differ.



Since fundamental equations must be convex (o cancave) but not strictly convex (or strictly concave), it turns out that the LF transform is the proper mathematical tool for a change of variable $S leftrightarrow T$.



2. Pure thermodynamics



Affine regions of $U(S,V,N)$ are to be expected, due to the phenomenon of phase coexistence. In such regions, the thermodynamic potential must be a linear function of its extensive variables since it corresponds to an equilibrium condition of an inhomogeneous system made by more coexisting phases. At coexistence, $T(S,V,N)$ is a constant as a function of $S$. But this is physically consistent with the presence of a latent heat at the first order phase transition.



3. Statistical mechanics



Statistial mechanics is deemed to give access to Thermodynamics, by starting with a model for the Hamiltonian of the system. However, such a program in general requires the so-called thermodynamic limit (TL). TL is required for different reasons. Summarizing, these are:



  • only TL can introduce the non-analiticity required to recover phase transitions;

  • only at TL (if it exists) it is possible to recover the extensiveness

  • only at TL (if it exists) it is possible to recover the convexity properties.

Without TL many properties, which are considered typical for thermodynamic systems, would not be valid. On the other hand, working with a finite number of degrees of freedom, although unavoidable from the numerical point of view, in general introduces non-convex (unphysical) regions. Therefore, TL is required, but at TL the $T(S,V,N)$ is not invertible for $S$ in the whole coexistence region. Nevertheless, LF transform can cope without problem with the situation.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Thank you for the detailed answer. Still digesting. Can you please explain what you mean by "fundamental equations must be convex" and why this is true? Also, can you please elaborate on your definition of the free energy as the infimum over S? Does this just cuts the whole domain of $S$ to chunks where $U(S)$ is convex/concave?
    $endgroup$
    – Botond
    Apr 29 at 21:57










  • $begingroup$
    Convexity/concavity of fundamental equations (thermodynamic potentials in the present case) is a basic consequence of the minimum pincipe for internal energy. You'll find an argument for concavity of entropy in the Callen's textbook. Definition of free energy as inf is just the application of LF definition (according to thermodynamicists) to the case of S <->T change of variables. Finally, $U(S)$ must be convex everywhere in its domain. Concave regions are forbidden in a stable thermodynamic system. This is the short answer. If you need the long answer I could do but not immediately.
    $endgroup$
    – GiorgioP
    Apr 29 at 22:39















8












$begingroup$

Your question requires an answer on three different levels:



  1. mathematical;

  2. pure thermodynamics;

  3. statistical mechanics.

1. mathematics



The definition of the Helmholtz free energy you refer to is nothing but the Legendre transform of the fundamental equation $U(S,V,N)$ with respect to its first variable $S$ in term of the conjugate variable $T=left( frac partialUpartialS right)_V,N$. The original Legendre transform would be easily done by requiring $U$ to be a twice differentiable function of $S$ with a positively defined hessian matrix. However, such a request is too strong for real thermodynamic systems. It is well known that a useful extension of the Legendre transform is the so-called Legendre-Fenchel transform (LF) (or convex-conjugate).



In the case of thermodynamics, the definition of LF transform is slightly different from the most common mathematical definition. In the case of the Helmholtz free energy, it would be written as
$$
F(T,V,N) = inf_S( U(S,V,N) - TS )
$$

Such a definition reduces to the usual Legendre transform in the part of the domain of $U(S,V,N)$ where the function is strictly convex (and twice differentiable with respect to $S$). Where the function is convex but not strictly convex (i.e. what mathematicians call an affine function, i.e. a linear function), the LF transform maps the entire affine interval into a single point where left and right derivatives differ.



Since fundamental equations must be convex (o cancave) but not strictly convex (or strictly concave), it turns out that the LF transform is the proper mathematical tool for a change of variable $S leftrightarrow T$.



2. Pure thermodynamics



Affine regions of $U(S,V,N)$ are to be expected, due to the phenomenon of phase coexistence. In such regions, the thermodynamic potential must be a linear function of its extensive variables since it corresponds to an equilibrium condition of an inhomogeneous system made by more coexisting phases. At coexistence, $T(S,V,N)$ is a constant as a function of $S$. But this is physically consistent with the presence of a latent heat at the first order phase transition.



3. Statistical mechanics



Statistial mechanics is deemed to give access to Thermodynamics, by starting with a model for the Hamiltonian of the system. However, such a program in general requires the so-called thermodynamic limit (TL). TL is required for different reasons. Summarizing, these are:



  • only TL can introduce the non-analiticity required to recover phase transitions;

  • only at TL (if it exists) it is possible to recover the extensiveness

  • only at TL (if it exists) it is possible to recover the convexity properties.

Without TL many properties, which are considered typical for thermodynamic systems, would not be valid. On the other hand, working with a finite number of degrees of freedom, although unavoidable from the numerical point of view, in general introduces non-convex (unphysical) regions. Therefore, TL is required, but at TL the $T(S,V,N)$ is not invertible for $S$ in the whole coexistence region. Nevertheless, LF transform can cope without problem with the situation.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Thank you for the detailed answer. Still digesting. Can you please explain what you mean by "fundamental equations must be convex" and why this is true? Also, can you please elaborate on your definition of the free energy as the infimum over S? Does this just cuts the whole domain of $S$ to chunks where $U(S)$ is convex/concave?
    $endgroup$
    – Botond
    Apr 29 at 21:57










  • $begingroup$
    Convexity/concavity of fundamental equations (thermodynamic potentials in the present case) is a basic consequence of the minimum pincipe for internal energy. You'll find an argument for concavity of entropy in the Callen's textbook. Definition of free energy as inf is just the application of LF definition (according to thermodynamicists) to the case of S <->T change of variables. Finally, $U(S)$ must be convex everywhere in its domain. Concave regions are forbidden in a stable thermodynamic system. This is the short answer. If you need the long answer I could do but not immediately.
    $endgroup$
    – GiorgioP
    Apr 29 at 22:39













8












8








8





$begingroup$

Your question requires an answer on three different levels:



  1. mathematical;

  2. pure thermodynamics;

  3. statistical mechanics.

1. mathematics



The definition of the Helmholtz free energy you refer to is nothing but the Legendre transform of the fundamental equation $U(S,V,N)$ with respect to its first variable $S$ in term of the conjugate variable $T=left( frac partialUpartialS right)_V,N$. The original Legendre transform would be easily done by requiring $U$ to be a twice differentiable function of $S$ with a positively defined hessian matrix. However, such a request is too strong for real thermodynamic systems. It is well known that a useful extension of the Legendre transform is the so-called Legendre-Fenchel transform (LF) (or convex-conjugate).



In the case of thermodynamics, the definition of LF transform is slightly different from the most common mathematical definition. In the case of the Helmholtz free energy, it would be written as
$$
F(T,V,N) = inf_S( U(S,V,N) - TS )
$$

Such a definition reduces to the usual Legendre transform in the part of the domain of $U(S,V,N)$ where the function is strictly convex (and twice differentiable with respect to $S$). Where the function is convex but not strictly convex (i.e. what mathematicians call an affine function, i.e. a linear function), the LF transform maps the entire affine interval into a single point where left and right derivatives differ.



Since fundamental equations must be convex (o cancave) but not strictly convex (or strictly concave), it turns out that the LF transform is the proper mathematical tool for a change of variable $S leftrightarrow T$.



2. Pure thermodynamics



Affine regions of $U(S,V,N)$ are to be expected, due to the phenomenon of phase coexistence. In such regions, the thermodynamic potential must be a linear function of its extensive variables since it corresponds to an equilibrium condition of an inhomogeneous system made by more coexisting phases. At coexistence, $T(S,V,N)$ is a constant as a function of $S$. But this is physically consistent with the presence of a latent heat at the first order phase transition.



3. Statistical mechanics



Statistial mechanics is deemed to give access to Thermodynamics, by starting with a model for the Hamiltonian of the system. However, such a program in general requires the so-called thermodynamic limit (TL). TL is required for different reasons. Summarizing, these are:



  • only TL can introduce the non-analiticity required to recover phase transitions;

  • only at TL (if it exists) it is possible to recover the extensiveness

  • only at TL (if it exists) it is possible to recover the convexity properties.

Without TL many properties, which are considered typical for thermodynamic systems, would not be valid. On the other hand, working with a finite number of degrees of freedom, although unavoidable from the numerical point of view, in general introduces non-convex (unphysical) regions. Therefore, TL is required, but at TL the $T(S,V,N)$ is not invertible for $S$ in the whole coexistence region. Nevertheless, LF transform can cope without problem with the situation.






share|cite|improve this answer









$endgroup$



Your question requires an answer on three different levels:



  1. mathematical;

  2. pure thermodynamics;

  3. statistical mechanics.

1. mathematics



The definition of the Helmholtz free energy you refer to is nothing but the Legendre transform of the fundamental equation $U(S,V,N)$ with respect to its first variable $S$ in term of the conjugate variable $T=left( frac partialUpartialS right)_V,N$. The original Legendre transform would be easily done by requiring $U$ to be a twice differentiable function of $S$ with a positively defined hessian matrix. However, such a request is too strong for real thermodynamic systems. It is well known that a useful extension of the Legendre transform is the so-called Legendre-Fenchel transform (LF) (or convex-conjugate).



In the case of thermodynamics, the definition of LF transform is slightly different from the most common mathematical definition. In the case of the Helmholtz free energy, it would be written as
$$
F(T,V,N) = inf_S( U(S,V,N) - TS )
$$

Such a definition reduces to the usual Legendre transform in the part of the domain of $U(S,V,N)$ where the function is strictly convex (and twice differentiable with respect to $S$). Where the function is convex but not strictly convex (i.e. what mathematicians call an affine function, i.e. a linear function), the LF transform maps the entire affine interval into a single point where left and right derivatives differ.



Since fundamental equations must be convex (o cancave) but not strictly convex (or strictly concave), it turns out that the LF transform is the proper mathematical tool for a change of variable $S leftrightarrow T$.



2. Pure thermodynamics



Affine regions of $U(S,V,N)$ are to be expected, due to the phenomenon of phase coexistence. In such regions, the thermodynamic potential must be a linear function of its extensive variables since it corresponds to an equilibrium condition of an inhomogeneous system made by more coexisting phases. At coexistence, $T(S,V,N)$ is a constant as a function of $S$. But this is physically consistent with the presence of a latent heat at the first order phase transition.



3. Statistical mechanics



Statistial mechanics is deemed to give access to Thermodynamics, by starting with a model for the Hamiltonian of the system. However, such a program in general requires the so-called thermodynamic limit (TL). TL is required for different reasons. Summarizing, these are:



  • only TL can introduce the non-analiticity required to recover phase transitions;

  • only at TL (if it exists) it is possible to recover the extensiveness

  • only at TL (if it exists) it is possible to recover the convexity properties.

Without TL many properties, which are considered typical for thermodynamic systems, would not be valid. On the other hand, working with a finite number of degrees of freedom, although unavoidable from the numerical point of view, in general introduces non-convex (unphysical) regions. Therefore, TL is required, but at TL the $T(S,V,N)$ is not invertible for $S$ in the whole coexistence region. Nevertheless, LF transform can cope without problem with the situation.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Apr 29 at 21:16









GiorgioPGiorgioP

5,2472833




5,2472833











  • $begingroup$
    Thank you for the detailed answer. Still digesting. Can you please explain what you mean by "fundamental equations must be convex" and why this is true? Also, can you please elaborate on your definition of the free energy as the infimum over S? Does this just cuts the whole domain of $S$ to chunks where $U(S)$ is convex/concave?
    $endgroup$
    – Botond
    Apr 29 at 21:57










  • $begingroup$
    Convexity/concavity of fundamental equations (thermodynamic potentials in the present case) is a basic consequence of the minimum pincipe for internal energy. You'll find an argument for concavity of entropy in the Callen's textbook. Definition of free energy as inf is just the application of LF definition (according to thermodynamicists) to the case of S <->T change of variables. Finally, $U(S)$ must be convex everywhere in its domain. Concave regions are forbidden in a stable thermodynamic system. This is the short answer. If you need the long answer I could do but not immediately.
    $endgroup$
    – GiorgioP
    Apr 29 at 22:39
















  • $begingroup$
    Thank you for the detailed answer. Still digesting. Can you please explain what you mean by "fundamental equations must be convex" and why this is true? Also, can you please elaborate on your definition of the free energy as the infimum over S? Does this just cuts the whole domain of $S$ to chunks where $U(S)$ is convex/concave?
    $endgroup$
    – Botond
    Apr 29 at 21:57










  • $begingroup$
    Convexity/concavity of fundamental equations (thermodynamic potentials in the present case) is a basic consequence of the minimum pincipe for internal energy. You'll find an argument for concavity of entropy in the Callen's textbook. Definition of free energy as inf is just the application of LF definition (according to thermodynamicists) to the case of S <->T change of variables. Finally, $U(S)$ must be convex everywhere in its domain. Concave regions are forbidden in a stable thermodynamic system. This is the short answer. If you need the long answer I could do but not immediately.
    $endgroup$
    – GiorgioP
    Apr 29 at 22:39















$begingroup$
Thank you for the detailed answer. Still digesting. Can you please explain what you mean by "fundamental equations must be convex" and why this is true? Also, can you please elaborate on your definition of the free energy as the infimum over S? Does this just cuts the whole domain of $S$ to chunks where $U(S)$ is convex/concave?
$endgroup$
– Botond
Apr 29 at 21:57




$begingroup$
Thank you for the detailed answer. Still digesting. Can you please explain what you mean by "fundamental equations must be convex" and why this is true? Also, can you please elaborate on your definition of the free energy as the infimum over S? Does this just cuts the whole domain of $S$ to chunks where $U(S)$ is convex/concave?
$endgroup$
– Botond
Apr 29 at 21:57












$begingroup$
Convexity/concavity of fundamental equations (thermodynamic potentials in the present case) is a basic consequence of the minimum pincipe for internal energy. You'll find an argument for concavity of entropy in the Callen's textbook. Definition of free energy as inf is just the application of LF definition (according to thermodynamicists) to the case of S <->T change of variables. Finally, $U(S)$ must be convex everywhere in its domain. Concave regions are forbidden in a stable thermodynamic system. This is the short answer. If you need the long answer I could do but not immediately.
$endgroup$
– GiorgioP
Apr 29 at 22:39




$begingroup$
Convexity/concavity of fundamental equations (thermodynamic potentials in the present case) is a basic consequence of the minimum pincipe for internal energy. You'll find an argument for concavity of entropy in the Callen's textbook. Definition of free energy as inf is just the application of LF definition (according to thermodynamicists) to the case of S <->T change of variables. Finally, $U(S)$ must be convex everywhere in its domain. Concave regions are forbidden in a stable thermodynamic system. This is the short answer. If you need the long answer I could do but not immediately.
$endgroup$
– GiorgioP
Apr 29 at 22:39











11












$begingroup$

Function $T(S)=(partial U/partial S)_V$ does not have to be strictly increasing with $S$. For example, when heat is added to a mix of ice and water at 0 degrees Celsius, entropy increases but temperature stays the same until all ice is melted. So it is not, in general, possible to express entropy as function of $T,V,N$.



Free (Helmholtz) energy is usually defined as



$$
F(T,V,N) = U - TS
$$

but in general neither $U$ nor $S$ can be expressed as functions of $T,V,N$.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    I'm confused. I thought that if you externally impose a fixed $T,V,N$ to the system, that defines your $F(T,V,N)$ free energy unambiguously. You can write a free energy as a function of the molar concentrations, but the equilibrium free energy will be the one that minimizes $F(T,V,N)$. Thus the equilibrium molar concentrations are also functions of $T,V,N$.
    $endgroup$
    – Botond
    Apr 29 at 19:23










  • $begingroup$
    My mistake, the part about molar numbers was wrong. I changed my answer.
    $endgroup$
    – Ján Lalinský
    Apr 29 at 21:07










  • $begingroup$
    Thank you. What still bugs me is that if neither $U$ nor $S$ can be expressed as a function of $T,V,N$, how would you possibly know that $U-TS$ will only depend on $T,V,N$ and not on $U$ and/or $S$?
    $endgroup$
    – Botond
    Apr 29 at 21:47










  • $begingroup$
    It follows from the definition of $F$. We have $dU = TdS - pdV$, so from the differentials we see $U$ is a function of $S,V$. Then since $F=U-TS$, we have $dF=dU - TdS - SdT$ so $dF = -SdT -pdV$ so again from differentials $F$ must be function of $T,V$.
    $endgroup$
    – Ján Lalinský
    Apr 29 at 22:33







  • 1




    $begingroup$
    What the differential tells me is that $S=partial F(T,V,N) / partial T$ thus $S=S(T,V,N)$
    $endgroup$
    – Botond
    2 days ago















11












$begingroup$

Function $T(S)=(partial U/partial S)_V$ does not have to be strictly increasing with $S$. For example, when heat is added to a mix of ice and water at 0 degrees Celsius, entropy increases but temperature stays the same until all ice is melted. So it is not, in general, possible to express entropy as function of $T,V,N$.



Free (Helmholtz) energy is usually defined as



$$
F(T,V,N) = U - TS
$$

but in general neither $U$ nor $S$ can be expressed as functions of $T,V,N$.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    I'm confused. I thought that if you externally impose a fixed $T,V,N$ to the system, that defines your $F(T,V,N)$ free energy unambiguously. You can write a free energy as a function of the molar concentrations, but the equilibrium free energy will be the one that minimizes $F(T,V,N)$. Thus the equilibrium molar concentrations are also functions of $T,V,N$.
    $endgroup$
    – Botond
    Apr 29 at 19:23










  • $begingroup$
    My mistake, the part about molar numbers was wrong. I changed my answer.
    $endgroup$
    – Ján Lalinský
    Apr 29 at 21:07










  • $begingroup$
    Thank you. What still bugs me is that if neither $U$ nor $S$ can be expressed as a function of $T,V,N$, how would you possibly know that $U-TS$ will only depend on $T,V,N$ and not on $U$ and/or $S$?
    $endgroup$
    – Botond
    Apr 29 at 21:47










  • $begingroup$
    It follows from the definition of $F$. We have $dU = TdS - pdV$, so from the differentials we see $U$ is a function of $S,V$. Then since $F=U-TS$, we have $dF=dU - TdS - SdT$ so $dF = -SdT -pdV$ so again from differentials $F$ must be function of $T,V$.
    $endgroup$
    – Ján Lalinský
    Apr 29 at 22:33







  • 1




    $begingroup$
    What the differential tells me is that $S=partial F(T,V,N) / partial T$ thus $S=S(T,V,N)$
    $endgroup$
    – Botond
    2 days ago













11












11








11





$begingroup$

Function $T(S)=(partial U/partial S)_V$ does not have to be strictly increasing with $S$. For example, when heat is added to a mix of ice and water at 0 degrees Celsius, entropy increases but temperature stays the same until all ice is melted. So it is not, in general, possible to express entropy as function of $T,V,N$.



Free (Helmholtz) energy is usually defined as



$$
F(T,V,N) = U - TS
$$

but in general neither $U$ nor $S$ can be expressed as functions of $T,V,N$.






share|cite|improve this answer











$endgroup$



Function $T(S)=(partial U/partial S)_V$ does not have to be strictly increasing with $S$. For example, when heat is added to a mix of ice and water at 0 degrees Celsius, entropy increases but temperature stays the same until all ice is melted. So it is not, in general, possible to express entropy as function of $T,V,N$.



Free (Helmholtz) energy is usually defined as



$$
F(T,V,N) = U - TS
$$

but in general neither $U$ nor $S$ can be expressed as functions of $T,V,N$.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited yesterday

























answered Apr 29 at 18:45









Ján LalinskýJán Lalinský

16.2k1441




16.2k1441











  • $begingroup$
    I'm confused. I thought that if you externally impose a fixed $T,V,N$ to the system, that defines your $F(T,V,N)$ free energy unambiguously. You can write a free energy as a function of the molar concentrations, but the equilibrium free energy will be the one that minimizes $F(T,V,N)$. Thus the equilibrium molar concentrations are also functions of $T,V,N$.
    $endgroup$
    – Botond
    Apr 29 at 19:23










  • $begingroup$
    My mistake, the part about molar numbers was wrong. I changed my answer.
    $endgroup$
    – Ján Lalinský
    Apr 29 at 21:07










  • $begingroup$
    Thank you. What still bugs me is that if neither $U$ nor $S$ can be expressed as a function of $T,V,N$, how would you possibly know that $U-TS$ will only depend on $T,V,N$ and not on $U$ and/or $S$?
    $endgroup$
    – Botond
    Apr 29 at 21:47










  • $begingroup$
    It follows from the definition of $F$. We have $dU = TdS - pdV$, so from the differentials we see $U$ is a function of $S,V$. Then since $F=U-TS$, we have $dF=dU - TdS - SdT$ so $dF = -SdT -pdV$ so again from differentials $F$ must be function of $T,V$.
    $endgroup$
    – Ján Lalinský
    Apr 29 at 22:33







  • 1




    $begingroup$
    What the differential tells me is that $S=partial F(T,V,N) / partial T$ thus $S=S(T,V,N)$
    $endgroup$
    – Botond
    2 days ago
















  • $begingroup$
    I'm confused. I thought that if you externally impose a fixed $T,V,N$ to the system, that defines your $F(T,V,N)$ free energy unambiguously. You can write a free energy as a function of the molar concentrations, but the equilibrium free energy will be the one that minimizes $F(T,V,N)$. Thus the equilibrium molar concentrations are also functions of $T,V,N$.
    $endgroup$
    – Botond
    Apr 29 at 19:23










  • $begingroup$
    My mistake, the part about molar numbers was wrong. I changed my answer.
    $endgroup$
    – Ján Lalinský
    Apr 29 at 21:07










  • $begingroup$
    Thank you. What still bugs me is that if neither $U$ nor $S$ can be expressed as a function of $T,V,N$, how would you possibly know that $U-TS$ will only depend on $T,V,N$ and not on $U$ and/or $S$?
    $endgroup$
    – Botond
    Apr 29 at 21:47










  • $begingroup$
    It follows from the definition of $F$. We have $dU = TdS - pdV$, so from the differentials we see $U$ is a function of $S,V$. Then since $F=U-TS$, we have $dF=dU - TdS - SdT$ so $dF = -SdT -pdV$ so again from differentials $F$ must be function of $T,V$.
    $endgroup$
    – Ján Lalinský
    Apr 29 at 22:33







  • 1




    $begingroup$
    What the differential tells me is that $S=partial F(T,V,N) / partial T$ thus $S=S(T,V,N)$
    $endgroup$
    – Botond
    2 days ago















$begingroup$
I'm confused. I thought that if you externally impose a fixed $T,V,N$ to the system, that defines your $F(T,V,N)$ free energy unambiguously. You can write a free energy as a function of the molar concentrations, but the equilibrium free energy will be the one that minimizes $F(T,V,N)$. Thus the equilibrium molar concentrations are also functions of $T,V,N$.
$endgroup$
– Botond
Apr 29 at 19:23




$begingroup$
I'm confused. I thought that if you externally impose a fixed $T,V,N$ to the system, that defines your $F(T,V,N)$ free energy unambiguously. You can write a free energy as a function of the molar concentrations, but the equilibrium free energy will be the one that minimizes $F(T,V,N)$. Thus the equilibrium molar concentrations are also functions of $T,V,N$.
$endgroup$
– Botond
Apr 29 at 19:23












$begingroup$
My mistake, the part about molar numbers was wrong. I changed my answer.
$endgroup$
– Ján Lalinský
Apr 29 at 21:07




$begingroup$
My mistake, the part about molar numbers was wrong. I changed my answer.
$endgroup$
– Ján Lalinský
Apr 29 at 21:07












$begingroup$
Thank you. What still bugs me is that if neither $U$ nor $S$ can be expressed as a function of $T,V,N$, how would you possibly know that $U-TS$ will only depend on $T,V,N$ and not on $U$ and/or $S$?
$endgroup$
– Botond
Apr 29 at 21:47




$begingroup$
Thank you. What still bugs me is that if neither $U$ nor $S$ can be expressed as a function of $T,V,N$, how would you possibly know that $U-TS$ will only depend on $T,V,N$ and not on $U$ and/or $S$?
$endgroup$
– Botond
Apr 29 at 21:47












$begingroup$
It follows from the definition of $F$. We have $dU = TdS - pdV$, so from the differentials we see $U$ is a function of $S,V$. Then since $F=U-TS$, we have $dF=dU - TdS - SdT$ so $dF = -SdT -pdV$ so again from differentials $F$ must be function of $T,V$.
$endgroup$
– Ján Lalinský
Apr 29 at 22:33





$begingroup$
It follows from the definition of $F$. We have $dU = TdS - pdV$, so from the differentials we see $U$ is a function of $S,V$. Then since $F=U-TS$, we have $dF=dU - TdS - SdT$ so $dF = -SdT -pdV$ so again from differentials $F$ must be function of $T,V$.
$endgroup$
– Ján Lalinský
Apr 29 at 22:33





1




1




$begingroup$
What the differential tells me is that $S=partial F(T,V,N) / partial T$ thus $S=S(T,V,N)$
$endgroup$
– Botond
2 days ago




$begingroup$
What the differential tells me is that $S=partial F(T,V,N) / partial T$ thus $S=S(T,V,N)$
$endgroup$
– Botond
2 days ago

















draft saved

draft discarded
















































Thanks for contributing an answer to Physics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fphysics.stackexchange.com%2fquestions%2f476796%2fentropy-as-a-function-of-temperature-is-temperature-well-defined%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form