Two systems are said to be in the state of thermal equilibrium when there is no net flow of thermal energy, that is heat, between them.
The thermal energy of these systems is equal to each other. Therefore, there is no heat flow.
Degree of freedom:
The degree of freedom can be defined as the number of ways the molecules of a gas can rotate, move or vibrate.
Law of equipartition of energy:
The law of equipartition of energy states that “For a system which is in thermal equilibrium, its total energy is divided equally among the degree of freedom.”
Example:
According to the kinetic theory of gases, the average kinetic energy of a molecule is given by the expression , where is Boltzmann's constant and is temperature.
Then for a monoatomic gas (for which the degree of freedom is 3), the energy associated with each degree of freedom per molecule is , where is Boltzmann's constant and is temperature. Since, .