In terms of classical thermodynamics, this means that the early universe must have been in a state of (near) thermodynamic equilibrium. From the usual definition of entropy, we can state equivalently that the early universe must have been one of (near) maximal entropy. Thus, according to the second law of thermodynamics, the universe could not have evolve beyond the initial state, since any such evolution would mean a reduction in entropy.
But, nevertheless, we know that matter eventually breaks up due to gravitational attraction and ends up forming structures such as galaxies, stars, planets, planetary clouds etc. This is an evolution in the direction of a less homogeneous distribution of matter, and hence towards a lower entropy state. It appears therefore as if the evolution of structures in the universe breaks the second law of thermodynamics.
A possible solution to this problem was suggested by Penrose [2] in 1977 by introducing the concept of gravitational entropy…