When the displacement is half the amplitude, the ratio of potential energy to the total energy is
1
UE=12mω2y212mω2a2=y2a2=(a2)2a=14