If a particle executes SHM, its kinetic energy is given by KE=21mω2(A2−x2)
Or KE=21k(A2−x2)
where, k=mω2= constant
Its potential energy is given by PE=21mω2x2 =21kx2
Thus, total energy of particle E=KE+PE =21k(A2−x2)+21kx2 =21kA2
Hence, PE=21kx2=21k(2A)2 (∵x=A/2) =41(21kA2) =41E
Hence, potential energy is one-fourth of total energy.