The effect of the shape of six different periodic forces and second periodic forces on the onset of horseshoe chaos are studied both analytically and numerically in a Duffing oscillator. The external periodic forces considered are sine wave, square wave, symmetric saw-tooth wave, asymmetric saw-tooth wave, rectified sine wave, and modulus of sine wave. An analytical threshold condition for the ...