Electric intensity at centre O, due to small element dl of charged ring dE=4πε0a2λdl=4πε0a2λ(adθ)
As is clear from figure, horizontal components of dE will cancel out in pairs and vertical components will add. ∴E=0∫πdEsinθ=0∫π4πε0aλsinθdθ =4πε0aλ[−cosθ]0π E=4πε0aλ(−cosπ+cos0)=2πε0aλ