In the proof of :
$$dU=C_v dT - \left[T \left( \frac{\partial P}{\partial T} \right)_V - P\right] dV$$
on wikipedia https://en.wikipedia.org/wiki/Internal_energy, they uses the fact that :
$$dS=\left( \frac{\partial S}{\partial T} \right)_V dT + \left( \frac{\partial S}{\partial V} \right)_T dV $$
Then they replace the expression of $dS$ in the thermodynamic relation and they find out the good relationship.
However, the thing that disturbs me is the dependance of the state function on the thermodynamic variables.
I thought that a state function must depend on extensive thermodynamic variables. When we write the expression of $dS$ here we have a $dT$ appearing on the rhs. This is what disturbs me.
So in all generality, how can we know that the expression of $dS$ in terms of its variable is the good one ?
Why can't we write for example :
$$dS=\left( \frac{\partial S}{\partial T} \right)_{V,P} dT + \left( \frac{\partial S}{\partial T} \right)_{V,T} dP + \left( \frac{\partial S}{\partial V} \right)_{T,P} dV $$
My guess about it that I would like to check :
I guess there is an implicit assumption that we know the thermodynamic potentials in our case (gas in a closed system) only depends on two thermodynamic variables.
Then, first thing : we must only have two terms on the rhs of $dS$.
In principle, I could decide to express $S$ in function of the two intensives variables : $(U,V)$. But I can always write $dU=\left(\frac{\partial U}{\partial T} \right)_V dT + \left(\frac{\partial U}{\partial V} \right)_T dV$
Then, I can decide to express $S(T,V)$ instead of $S(U,V)$
Is it correct ?
But then, how do we know that the two independant variables will be $(T,V)$ and not $(P,V)$ for example ? How to know which two independant variable I can chose ? I guess it is linked to the fact I must consider non conjugated variables but I don't really see why.