The impact of transceiver hardware impairments on the accuracy of spectrum sensing cannot be ignored in low-cost and high data rate cognitive radio systems. Nevertheless, ideal hardware for spectrum sensing is widely assumed in the technical literature. This paper presents a novel method for evaluating the improved energy detector (IED) statistics using α-μ distribution over additive white Gaussian noise (AWGN) and Nakagami-m fading channel by considering transceiver hardware imperfections. Moreover, the performance of the IED over AWGN channel is highlighted by the area under the receiver operating curve. Furthermore, the average probability of detection is evaluated for both fading and non-fading environments. An asymptotic analysis studies detection probability over fading channels at a low average signal-to-noise-ratio region. Moreover, p-order law combining and p-order law selecting diversity techniques are proposed to increase the performance of the detector. Our simulation results demonstrate that the diversity techniques significantly improve the detector performance.