Even though entropy is a state function and thus independent of path why is it that the definition of entropy is restricted to a reversible process? Eq 1: dS=dqrev/T First of all, is this for an open system, closed system or isolated system? The Clausius inequality deals with the exchange between the surroundings and the system so the total entropy change is always greater than zero for a irreversible process and equal to zero for a reversible one. Eq 2: dS≥dqsystem/Tsurr. I thought that this is because a reversible process progresses so slowly that it is always in equilibrium and that the change in entropy at equilibrium is zero. But the definition above (eq. 1), although q is reversible, is not necessarily zero. One explanation I have gotten was that is that a reversible process minimizes heat and maximizes work. I understand this concept with engine performance and that reversible processes maximize work, but how this pertains to the definition of entropy I don't understand.