which law states that the entropy of the universe is always increasing
Entropy The second law of thermodynamics states that the entropy of an isolated system never decreases. Such systems spontaneously evolve towards thermodynamic equilibrium, the state with maximum entropy. Non-isolated systems may lose entropy, provided their environment's entropy increases by at least that amount so that the total entropy increases. Entropy is a function of the state of the system, so the change in entropy of a system is determined by its initial and final states. In the idealization that a process is reversible, the entropy does not change, while irreversible processes always increase the total entropy.
First law of thermodynamics The first law of thermodynamics was developed empirically over about half a century. The first full statements of the law came in 1850 from Rudolf Clausius and from William Rankine; Rankine's statement is considered less distinct relative to Clausius'.[2] A main aspect of the struggle was to deal with the previously proposed caloric theory of heat.