According to the law of equipartition of energy, for any dynamic system in thermal equilibrium, the total energy for the system is equally divided among the degrees of freedom.

The kinetic energy of a single molecule along the x- axis, y- axis and z- axis isKinetic energy of single molecule is E_{t} = ½ m v^{2}_{x }+ ½ m v^{2}_{y }+ ½ m v^{2}_{z}

|E_{t}| = 3/2 K_{B}T

Let us take

|½ m v^{2}_{x }|= ½ K_{B}T

|½ m v^{2}_{y }|= ½ K_{B}T

|½ m v^{2}_{z }|= ½ K_{B}T

Motion of a body from one point to another is called translation.

The number of independent ways. By which a molecule can move, without violating any constraint imposed unit, is called number of degrees of freedom.

Molecules of a monatomic gates have only translational degrees of freedom. Diatomic gas has both translational degrees of freedom as well as rotational degrees of freedom around their centre of mass

So.

E = E_{t} + E_{r} = ½ m v^{2}_{x }+ ½ m v^{2}_{y }+ ½ m v^{2}_{z} + ½ I_{1} ω^{2}_{1 }+ ½ I_{1} ω^{2}_{2 }

E_{t }= translational energy

E_{r} = rotational energy

I_{1} & I_{2} are moment of interior ω_{1} & ω_{2 }are angular velocities.

Some molecules even have vibrational energy [E_{v}] also.

So, E = E_{T} + E_{R} + E_{V}

E_{V} can written as E_{v} = ½ m (dy/dt)² + ½ KY²

Where K = constant

Y = vibrational coordinate [Y]

In equilibrium, the total energy is equally is tribute in all possible energy modes with each mode having an average energy equal to ½ K_{B}T this is known as “law of equipartition of energy”.