To avoid any confusion, we imagined the entropy change is calculated for the surrounding since the heat bath is assumed to be infinitely large. As a result, the equilibrium temperature would be equal to both the initial and final temperatures of the heat bath. As ∆G = ∆S sys,net , we can write: