Disclaimer: I am not a mathematician, I am a physicist.
The thermodynamic identity is usually expressed in the following differential form
$$
dU = TdS - PdV + \mu dN,
$$
where U , T , S , P , V , \mu and N are the internal energy, temperature, entropy, pressure, volume, chemical...