- #1
freek_g
- 1
- 0
Hi,
I'm preparing for my exams in a few weeks, of which one covers Thermodynamics.
I was trying to solve a question, where I noticed the Gibb's free energy had to equal the (negative) work. I kind of came to an answer, but was not sure if I did it the right way. All steps are reversible.
First, from the ideal gas law : $$ pV = nRT$$
Then, if I differentiate both sides: $$d(pV) = d(nRT)$$
$$ dpV = -pdV$$
So, let's hold that thought. Now for the Gibb's free energy (with T = constant): $$ dG = dH - TdS$$
And because ##H = U + pV##: $$ dG = dU + d(pV) - TdS$$
Now, ## U = q + w = q - pdV##: $$dG = q - pdV + dpV + pdV - TdS$$
Because ##q = q_{rev} = TdS##: $$ dG = q_{rev} + dpV - q_{rev} = dpV$$
Then, from the beginning: $$dG = dpV = -pdV = - w_{rev}$$
So my question, am I right with this reasoning?
Thanks in advance :)
I'm preparing for my exams in a few weeks, of which one covers Thermodynamics.
I was trying to solve a question, where I noticed the Gibb's free energy had to equal the (negative) work. I kind of came to an answer, but was not sure if I did it the right way. All steps are reversible.
First, from the ideal gas law : $$ pV = nRT$$
Then, if I differentiate both sides: $$d(pV) = d(nRT)$$
$$ dpV = -pdV$$
So, let's hold that thought. Now for the Gibb's free energy (with T = constant): $$ dG = dH - TdS$$
And because ##H = U + pV##: $$ dG = dU + d(pV) - TdS$$
Now, ## U = q + w = q - pdV##: $$dG = q - pdV + dpV + pdV - TdS$$
Because ##q = q_{rev} = TdS##: $$ dG = q_{rev} + dpV - q_{rev} = dpV$$
Then, from the beginning: $$dG = dpV = -pdV = - w_{rev}$$
So my question, am I right with this reasoning?
Thanks in advance :)