equilibrium is the lowest energy state of a system