Reference: Daniel V. Schroeder, An Introduction to Thermal Physics, (Addison-Wesley, 2000) – Problem 5.22.
we get a relation for the chemical potential
Notice that the two quantities and that are held constant in the derivative as both are intensive, so they don’t depend on the total size of the system. As a result, the derivative must be the same no matter what the total size of the system is, or in other words, the plot of versus must be a straight line with slope .
The other formula for derived from the Helmholtz free energy is
This time, however, one of the quantities () that is held constant is extensive, so if we add more particles to a system at constant temperature and volume, the pressure must increase. Thus the local nature of the system changes in the sense that its intensive quantities change. The result is that we can’t conclude that is constant in this case.
Returning to the Gibbs energy, we can integrate to get
for some parameter that doesn’t depend on . In practice, it is only differences in and that matter, so we can take .
For an ideal gas, we can take the derivative of this equation to get
where the second equality follows from 1.
Integrating the first and last quantities with respect to from some reference pressure usually written as (and usually taken to be 1 bar, or atmospheric pressure), we have
We can compare this to the earlier formula for the chemical potential of an ideal gas:
From the ideal gas law
we have from 8
This has the same form as 6 if