We have the thermodynamic identity for the Gibbs free energy (for a pure system): $$ dG=-SdT+VdP+\mu dN. $$ Now if we keep $T$ and $P$ fixed, we get $$ \mu=\left(\frac{\partial G}{\partial N}\right)_{T,P}. $$ Using the argument that $T,P$ are intensive quantities (which we keep fixed), while $G$ is extensive, if follows that $\Delta G=\mu\Delta N$. However, my book actually claims that $$ G=\mu N. $$ Now, to me this seems odd, because $G$ still depends on $S,T,V,P$. I know that we're assuming that $T$ and $P$ are fixed, but I would think that we have $$ G=\mu N+x, $$ where $x$ is some function of $S,T,V,P$. Why isn't this the case? I would think that we can't just set this $x$ to zero for every system, because that way we wouldn't be able to compare two systems where this $x$ would technically be different? Or can it be set to zero, and why?
Here is the relevant text from my book:
EDIT
Hm, so I just looked at this question:
Prove that $G=\mu N$ and independance of $\mu$ on $N$
It seems then that it's $\mu$ which depends on $T,P$, and we're using the fact that $G$ is an extensive quantity. I guess that makes sense. What I do wonder about it how we know that the density stays fixed? Because that's what we need too. So I'm basically confused about the relation $$ G(T,P,\alpha N)=\alpha G(T,P,N), $$ which should be the mathematical phrasing that $G$ is extensive. However, I don't understand why we can "forget" about the volume? We'd still need that $$ \rho=N/V=\text{constant}. (1) $$ Where can we find the guarantee that this is the case, and why isn't it expressed in (1)?