In my textbook there is written
$$\Delta S = \int_R \frac{\delta Q}{T}$$
where the $R$ means calculated along a reversible transformation.
The variation of entropy only depends upon the initial and the final state, and thus has the same value regardless if the transformation was reversible or not.
[...]
We can then found the relation
$$\Delta S = \int_R \frac{\delta Q}{T}$$ $$\Delta S > \int_I \frac{\delta Q}{T}$$
I understood that the RHS in the second equation is just an integral and does not represent the variation of entropy whatsoever.
It is then added that
in a close system $\delta Q = 0$ implies
$$\Delta S \ge 0$$ The equal sign holds for a reversible process, the $>$ for an irreversible one.
Now, I don't understand this. $\Delta S = \int_R \frac{\delta Q}{T} = 0$.
Why the difference between reversible and irreversible ones, while above there is clearly stated that the the value should be the same?
Thanks in advance