# Even and Odd Signals

Signals are sometimes classified by their symmetry along the time axis relative to the origin, *t* = 0. *Even* signals fold about *t* = 0, and *odd* signals fold about *t* = 0 but with a sign change. Simply put,

To check the even and odd signal classification, use the Python rect() and tri() pulse functions to generate six aperiodic signals. Here’s the code for generating two of the signals:

In [759]: t = arange(-5,5,.005) # time axis for plots In [760]: x1 = ssd.rect(t+2.5,3)+ssd.rect(t-2.5,3) In [763]: x4 = ssd.rect(t+3,2)-ssd.tri(t,1) +ssd.rect(t-3,2)

Check out the six signals, including the classification:

To discern even or odd, observe the waveform symmetry with respect to *t* = 0. Signals *x*_{1}(*t*), *x*_{4}(*t*), and *x*_{6}(*t*) are even; they fold nicely about *t* = 0. Signals *x*_{2}(*t*) and *x*_{5}(*t*) fold about *t* = 0 but with odd symmetry because the waveform on the negative time axis has the opposite sign of the positive time axis signal.

Signal *x*_{3}(*t*) is neither even nor odd because a portion of the waveform, the triangle, is even about 0, while the rectangles are odd about 0. Taken in combination, the signals are neither even nor odd.

A single sinusoid in cosine form, without any phase shift, is even, because it’s symmetric with respect to *t = *0, or rather it’s a mirror image of itself about *t* = 0. Mathematically, this is shown by the property of being an even signal:

Similarly, a single sinusoid in sine form, without any phase shift, is odd, because it has negative symmetry about *t* = 0. Instead of an exact mirror image of itself, values to the left of *t* = 0 are opposite in sign of the values to the right of *t* = 0. This is mathematically an odd signal:

If a nonzero phase shift is included, the even or odd properties are destroyed.