Whatever changes to dS and dS R occur in the entropies of the sub-system and the surroundings individually, the entropy S tot of the isolated total system must not decrease according to the second law of thermodynamics: