Undergrad Thermodynamics Differentiating logarithms

Click For Summary
SUMMARY

This discussion centers on the derivation and understanding of the Gibbs free energy function, G, in thermodynamics, specifically in relation to chemical potential, μ. The equations presented include G = xG_x + yG_y + zG_z + N[xln(x) + yln(y) + zln(z)] + E(x,y,z) and μ_x = (d/dn_x)G. Participants express confusion regarding the derivation of μ and the implications of the term "1" in the derivative equation. The conversation highlights the importance of understanding the relationship between G and μ, particularly in multi-component systems, and references the textbook "Introduction to Chemical Engineering Thermodynamics" for further insights.

PREREQUISITES
  • Understanding of Gibbs free energy and its applications in thermodynamics
  • Familiarity with chemical potential and its mathematical representation
  • Knowledge of partial derivatives and their significance in thermodynamic equations
  • Basic concepts of multi-component systems in chemical engineering
NEXT STEPS
  • Study the derivation of chemical potential in multi-component systems using Gibbs free energy
  • Learn about the application of partial derivatives in thermodynamic equations
  • Explore the textbook "Introduction to Chemical Engineering Thermodynamics" by Smith and van Ness for detailed examples
  • Investigate the implications of the term "1" in derivative equations related to chemical potential
USEFUL FOR

Students and professionals in chemical engineering, thermodynamics researchers, and anyone involved in the study of chemical potential and Gibbs free energy in multi-component systems.

Hypatio
Messages
147
Reaction score
1
<mentor: change title>

In thermodynamics, there is a function which, for the three variables x, y, and z, can be given as

##G = xG_x+yG_y+zG_z + N[x\ln(x) + y\ln(y)+ z\ln(z)]+E(x,y,z)##

where G_x, G_y, G_z, and N are some constants and E is some arbitrarily complicated term.

There is a derivative of G called the chemical potential \mu which is useful because

##G=x\mu_x+y\mu_y+z\mu_z## [Equation A]

I am trying to understand how this is satisfied, but I am having trouble even when E=0. To my mind, it should be the case that

##\mu_x = \frac{d}{dx}G = G_x+N(\ln(x)+1)+\frac{d}{dx}E## [Equation B]

but if this is true then Equation A doesn't make sense unless the value "1" in Equation B is removed. There must be something basic that I am not getting because I am also failing to satisfy Equation A for any function for E.. The problem is probably related to the fact that \mu_x is actually

##\mu_x = \frac{d}{dn_x}G = ?##

so that

##x = n_x/(n_x+n_y+n_z)##

but I don't get how to evaluate the derivatives even with this "change".

Thanks
 
Last edited by a moderator:
Physics news on Phys.org
Hypatio said:
<mentor: change title>

In thermodynamics, there is a function which, for the three variables x, y, and z, can be given as

##G = xG_x+yG_y+zG_z + N[x\ln(x) + y\ln(y)+ z\ln(z)]+E(x,y,z)##

where G_x, G_y, G_z, and N are some constants and E is some arbitrarily complicated term.

There is a derivative of G called the chemical potential \mu which is useful because

##G=x\mu_x+y\mu_y+z\mu_z## [Equation A]
I assume this is one version of ##G## which is easy enough to make computations. So in this case it would be an Ansatz for ##G##. However, "there is" demands an explanation. Where did it come from and what should be achieved by it. Is it given, an assumption, a derivation of something? What?
I am trying to understand how this is satisfied, ...
I guess it is an additional condition. A certain version of possible ##G##. If this is the case, then you cannot "understand" it. If it can be understood, then tell us where did it come from.
... but I am having trouble even when E=0. To my mind, it should be the case that

##\mu_x = \frac{d}{dx}G = G_x+N(\ln(x)+1)+\frac{d}{dx}E## [Equation B]

but if this is true then Equation A doesn't make sense unless the value "1" in Equation B is removed. There must be something basic that I am not getting because I am also failing to satisfy Equation A for any function for E.. The problem is probably related to the fact that \mu_x is actually

##\mu_x = \frac{d}{dn_x}G = ?##

so that

##x = n_x/(n_x+n_y+n_z)##

but I don't get how to evaluate the derivatives even with this "change".

Thanks
 
Last edited:
Hypatio said:
<mentor: change title>
##\mu_x = \frac{d}{dn_x}G = ?##
I think ##\mu_x## should be $$\mu_x=\frac{\partial [(n_x+n_y+n_z)G]}{\partial n_x}$$
 
  • Like
Likes Hypatio
The chemical potential for a single homogeneous substance is defined as ##\mu = \left( \frac {\partial G} {\partial N} \right)_{T, P}##. ##G = G(T, P, N)## is a function of temperature, pressure and the number of particle (or moles, as you prefer). It is assumed that ##G## is an addictive quantity w.r.t. the number of particles ##N##, that is ##G(T, P, \alpha N) = \alpha G(T, P, N)##.
Now let's compute the chemical potential both for ##G(T, P, \alpha N)## and ##G(T, P, N)##. So, for ##G(T, P, N)## I simply have:
$$\mu = \left( \frac {\partial G(T, P, N)} {\partial N} \right)_{T, P}$$
For ##G(T, P, \alpha N)## I have:
$$ \mu' = \left( \frac {\partial G(T, P, \alpha N)} {\partial (\alpha N)} \right)_{T, P}$$
Exploiting the property ##G(T, P, \alpha N) = \alpha G(T, P, N)## it is easy to see that ##\mu' = \mu## for every choice of ##\alpha##, this implies that the chemical potential can not be a function of the number of particles for a pure 1-component system. Hence ##\mu = \mu(T, P) = \left( \frac {\partial G} {\partial N} \right)_{T, P}##. Integrating the last equation yields ##G(T, P, N) = \mu(T, P) N##.
 
dRic2 said:
The chemical potential for a single homogeneous substance is defined as ##\mu = \left( \frac {\partial G} {\partial N} \right)_{T, P}##. ##G = G(T, P, N)## is a function of temperature, pressure and the number of particle (or moles, as you prefer). It is assumed that ##G## is an addictive quantity w.r.t. the number of particles ##N##, that is ##G(T, P, \alpha N) = \alpha G(T, P, N)##.
Now let's compute the chemical potential both for ##G(T, P, \alpha N)## and ##G(T, P, N)##. So, for ##G(T, P, N)## I simply have:
$$\mu = \left( \frac {\partial G(T, P, N)} {\partial N} \right)_{T, P}$$
For ##G(T, P, \alpha N)## I have:
$$ \mu' = \left( \frac {\partial G(T, P, \alpha N)} {\partial (\alpha N)} \right)_{T, P}$$
Exploiting the property ##G(T, P, \alpha N) = \alpha G(T, P, N)## it is easy to see that ##\mu' = \mu## for every choice of ##\alpha##, this implies that the chemical potential can not be a function of the number of particles for a pure 1-component system. Hence ##\mu = \mu(T, P) = \left( \frac {\partial G} {\partial N} \right)_{T, P}##. Integrating the last equation yields ##G(T, P, N) = \mu(T, P) N##.
In the equations given by the OP, it appears clear that his G is the Gibbs free energy per mole of mixture. So your G is equal to his G times the total number of moles. That's what I tried to point out in my response. In Introduction to Chemical Engineering Thermodynamics by Smith and van Ness (I think Chapter 11), they offer a different derivation of the desired relationship.
 
Chestermiller said:
So your G is equal to his G times the total number of moles
My derivation is for a 1-component system. The generalization to a mixture is left as an exercise to the reader :oldbiggrin:
 
  • Like
Likes Chestermiller
Chestermiller said:
I think ##\mu_x## should be $$\mu_x=\frac{\partial [(n_x+n_y+n_z)G]}{\partial n_x}$$

This helped me correct my computation of the derivatives with finite differences, but I'm still having trouble with the analysis. For example, I found that this special derivative (whatever it is called) of

##G = 3n_xn_y##
predicts
##\frac{\partial (n_x+n_y+n_z)G}{\partial n_x}= 3(1-n_x)n_y##

but I'm not seeing how this is proved analytically. How does this happen?

Algebraically the finite difference is

##\frac{1}{dn_x}[3(n_x+dn_x)n_y(1+dn_x)-3n_xn_y]##
 
Last edited:
Hypatio said:
This helped me correct my computation of the derivatives with finite differences, but I'm still having trouble with the analysis. For example, I found that this special derivative (whatever it is called) of

##G = 3n_xn_y##
predicts
##\frac{\partial (n_x+n_y+n_z)G}{\partial n_x}= 3(1-n_x)n_y##

but I'm not seeing how this is proved analytically. How does this happen?

Algebraically the finite difference is

##\frac{1}{dn_x}[3(n_x+dn_x)n_y(1+dn_x)-3n_xn_y]##
I have no idea what you did here. How does this relate to the original problem?
 
Chestermiller said:
I have no idea what you did here. How does this relate to the original problem?
Sorry the actual finite-difference is

##\left[3\frac{n_y}{1+dn_x}\left(\frac{n_x+dn_x}{1+dn_x}\right)(1+dn_x)-3n_xn_y\right]\frac{1}{dn_x}##

which is 3(2n_x+1)n_y

I'm trying to show that I don't know what I'm doing by finding this derivative for an even simpler equation. I can do it with finite differences, but I don't know how to do it plainly through analysis. I don't understand what the correct operations are.

How is it true that the derivative of 3n_xn_y, with respect to n_x, is 3(2n_x+1)n_y??
 
Last edited:
  • #10
Hypatio said:
Sorry the actual finite-difference is

##\left[3\frac{n_y}{1+dn_x}\left(\frac{n_x+dn_x}{1+dn_x}\right)(1+dn_x)-3n_xn_y\right]\frac{1}{dn_x}##

which is 3(2n_x+1)n_y

I'm trying to show that I don't know what I'm doing by finding this derivative for an even simpler equation. I can do it with finite differences, but I don't know how to do it plainly through analysis. I don't understand what the correct operations are.

How is it true that the derivative of 3n_xn_y, with respect to n_x, is 3(2n_x+1)n_y??
Sorry, my inability to do these derivatives is resulting in frustrating mistakes and I can't delete this post: the actual equation consistent with this finite-difference is 3(1-n_x)n_y. I do not know where the (1-n_x) term comes from.

Perhaps a better example is to find the derivative of

##G = Bn_xn_y(n_x-n_y)##

with respect to n_x, because I can't even figure it out graphically.
 
  • #11
Hypatio said:
This helped me correct my computation of the derivatives with finite differences, but I'm still having trouble with the analysis. For example, I found that this special derivative (whatever it is called) of

##G = 3n_xn_y##
predicts
##\frac{\partial (n_x+n_y+n_z)G}{\partial n_x}= 3(1-n_x)n_y##

but I'm not seeing how this is proved analytically. How does this happen?

Algebraically the finite difference is

##\frac{1}{dn_x}[3(n_x+dn_x)n_y(1+dn_x)-3n_xn_y]##
Let's take a simpler example, where there are only two chemical components, and with G=3xy. So $$(n_x+n_y)G=\frac{3n_xn_y}{(n_x+n_y)}$$So, $$\mu_x=\frac{\partial}{\partial n_x}\left(\frac{3n_xn_y}{(n_x+n_y)}\right)=3\frac{n_y^2}{(n_x+n_y)^2}=3y^2$$and, then, $$\mu_y=3x^2$$

So $$x\mu_x+y\mu_y=3y^2x+3x^2y=3(x+y)(xy)=3xy=G$$
 
  • Like
Likes Hypatio
  • #12
I see it now, thank you so much!
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
2
Views
2K
Replies
1
Views
2K