Second law of thermodynamics/Definition

Entropy S is a state variable of a thermodynamic system; when a system of temperature T absorbs heat DQ reversibly, then dS = DQ/T; during an irreversible (spontaneous) state change  dS > DQ/T.