During an exercise session in school we worked on Problem 1.4 in Equilibrium Statistical Physics by Plischke and Bergersen. This chapter is a repetition of thermodynamics, and the problem concerns a magnetic system.
At one point the teacher's assistant wrote the magnetisation $M$ as a function of $S$ and $T$ in the following way, where $H$ is the magnetic field:
$$M = M(T,H) = M(T,H(S,T)) \tag{1}$$
I questioned the validity of this parameterization, and my reasoning is as follows. Consider something more familiar; a non-magnetic one-component system with fixed $N$, having the fundamental equation (in energy form)
$$U = U(S,V) \tag{2}$$
so that
$$dU = T dS - P dV, \tag{3}$$
where
$$T = \left( \frac{\partial U}{\partial S} \right)_V, \quad -P = \left( \frac{\partial U}{\partial V} \right)_S. \tag{4}$$
Now, we all know that we can write $U$ instead as a function of $T$ and $V$. This can be argued from the thermodynamic postulates via the observation that, for a given $V$, the energy $U$ is an increasing and convex function of $S$, and hence the map
$$(S,V) \mapsto (T,V) = \left( \left( \frac{\partial U}{\partial S} \right)_V, V \right) \tag{5}$$
is a bijection, making it a valid reparameterization. This is essentially the argument made in Section 3.3 of Callen's Thermodynamics and an Introduction to Thermostatistics, though he simplifies further by letting $V$ be fixed just like $N$.
We can argue in a similar way to replace $V$ with $P$, but I see no way to argue for replacing $V$ with $T$ or $S$. Hence I don't see how it would be possible to parameterize the thermodynamic state by $S$ and $T$, giving $U = U(S,T)$. Indeed it seems like $S$ and $T$ contain the same information about $U$.
Now, let us return to the original question, about equation (1). Is there something special about magnetic systems that lets us parameterize it in terms of $S$ and $T$? Something particular with magnetization? Or is there something wrong with my argument, even for the simple (non-magnetic) system?