Starting point: S(E,V,N) is extensive: S(cE,cV,cN)=cS(E,V,N)

Differentiate both sides with respect to c:

ScEE+ScVV+ScNN=S(E,V,N)

Set c=1 and substitute the definitions SE=1T, SV=PT, SN=μT:

ET+PTVμTN=S

Result:

E=TSPV+μN

Gibbs-Duhem — take total derivative of the Euler equation:

dE=TdS+SdTPdVVdP+μdN+Ndμ

Subtract the fundamental relation dE=TdSPdV+μdN:

SdTVdP+Ndμ=0