A function defined on is said to be even if for all . For example, , are even.
A function defined on is said to be odd if for all . For example, , are odd.
The graph of an even function is symmetric with respect to the -axis. Therefore, for any ,
The graph of an odd function is symmetric with respect to the origin. Therefore, for any ,
Note: There are functions that are neither odd nor even. For example, , or .
One can verify the following rules of multiplication for even and odd functions:
It follows that if is even, then the function is even and is odd. Therefore, the Fourier coefficients for an even function have the form
and
Thus, the Fourier series of an even function has only cosine terms.
By an analogous argument for an odd function , we arrive to the conclusion that the Fourier series of an odd function has only sine terms.