Analytical description of magnetization relaxation to equilibrium