Second Law of Thermodynamics

The application of first law of thermodynamics process led to the establishment of a new property named internal energy (U), the application of the second law to a process leads to the establishment of another new property names as entropy (S).

Entropy is defined as follows

second law of thermodynamics

For a reversible thermodynamic process between two states, from state 1 to state 2 in an open system, the change in entropy is given by
reversible process in 2nd law of thermodynamics
It is found by applying Clausius inequality that for an irreversible process from state 1 to state 2, the change in entropy is given by

2nd law thermodynamics irreversible process