# How to calculate the Gibbs free energy out of a given Entropy?

I'm stuck in a small calculation. I try to solve a small exercise.

You should calculate for a given entropy the Gibbs free energy, where the entropy is given as

$S\left(U,V\right) = \frac{4}{3}\left(\alpha V U^3\right)^{1/4} \qquad\dots\qquad U$ is the internal energy, $V$ is the volume and $\alpha > 0, \text{const}$

The exercise say something like "you get a surprisingly expression for the Gibbs free energy".

Basically I have to use the definition of the Gibbs free energy:

$$$$G\left(T,p\right) = U\left(S,V\right) - T\cdot S + p \cdot V \label{eqn:gibbs}$$$$

The question is now, how can we exchange the volume $V$ and the entropy $S$ in the equation above. My idea was to calculate $p=p\left(T,V\right)$ and transpose it to $V=V\left(p,T\right)$. The thing is, that I get for the pressure $p$ something like: $p = \frac{\alpha}{3}T^4$, which is not $p = p\left(T,V\right)$ and it's not possible to find a relation for $V=V\left(p,T\right)$. I thing, I'm making some mistake. Can someone help me?

-
Have you tried $\frac{p}{T}=\frac{∂S}{∂V}$? Also why is it not possible to find a relation for $V$ if $S$ and $V$ are algebraically related? –  NikolajK Feb 9 '12 at 23:29
Honestly there is no need to change to natural variables if they are asking only for "Gibbs free energy". –  Siyuan Ren Feb 10 '12 at 1:51
What do you mean with there is no need for the change of the natural variables? –  PateToni Feb 10 '12 at 9:53

You may also use $T=\left(\frac{\partial U}{\partial S}\right)_V=\left(\frac{\partial S}{\partial U}\right)_V^{-1}$.
Okay. You will get $T = \left(\frac{U}{V\alpha}\right)^{1/4}$. I already got this. I was interested to calculate the equation of state between internal energy $U$, temperature $T$ and volume $V$. You will get $U\left(T,V\right)=\alpha V T^4$. –  PateToni Feb 10 '12 at 10:18
From the formula I gave you get $T=\frac{4}{3}\frac{U}{S}$, you also have $p=T\left(\frac{\partial S}{\partial V}\right)_U=T\frac{1}{4}\frac{S}{V}$. What else do you need to get the Gibbs free energy? –  akhmeteli Feb 10 '12 at 11:06
Aha. Okay. Now I got it. At the end I will get $G = 0$. That's what I thought I should get. I was kind of blind and didn't saw that I can put everything together. –  PateToni Feb 10 '12 at 13:52