From the Wikipedia page on internal energy I get the following definition
$$U=TS-PV+\sum\mu_iN_i$$
Hence, $$dU=TdS+SdT-VdP-PdV+\sum\mu_idN_i$$
For constant pressure and temperature and when there is no transfer of matter, $$dU=TdS-PdV$$
which is the 1st law of thermodynamics. My question is: For isothermal processes (constant temperature) $dU=0$. Then how will I get to the 1st law of thermodynamics from this definition?