This mathematical result is called the second law of thermodynamics.