In simple harmonic motion; when the particle is displaced then the potential energy is obtained in the form of negative value of the work done opposite to the restoring force F = -ky. Hence, increase in the potential energy of the particle;
∆U = -F dy
Hence, potential energy in displacing the particle to a distance y from the mean position is;

Average potential energy per unit time period

It is clear from Eqs.(1) and (2) that the value of average kinetic energy and average potential energy per unit time period is \(\frac{1}{4}\)ka2.