In our textbook's formulation of the 1st law of thermodynamics, the amount of heat $Q$ supplied to the system is given equal to $TdS$, where $T$ is the absolute temperature, and $S$ is entropy per unit of mass. I don't understand why. There was no explanation given.
I have two questions:
1) Why is $Q=TdS$?
2) Why is entropy given in units per mass?
3) Under which assumptions this is correct (since there was no assumptions given in our textbook either)
The law is: $TdS=d\epsilon +pdV$, $\epsilon$ is internal energy, $p$ is pressure and $V$ is volume per unit of mass. Sorry to not have included it right away