Even and odd functions
In mathematics, even functions and odd functions are functions which satisfy particular symmetry relations, with respect to taking additive inverses. They are important in many areas of mathematical analysis, especially the theory of power series and Fourier series. They are named for the parity of the powers of the power functions which satisfy each condition: the function xn is an even function if n is an even integer, and it is an odd function if n is an odd integer.
Even functions
Let f(x) be a real-valued function of a real variable. Then f is even if the following equation holds for all real x:
Geometrically, an even function is symmetric with respect to the y-axis, meaning that its graph remains unchanged after reflection about the y-axis.
Examples of even functions are |x|, x2, x4, cos(x), and cosh(x).
Odd functions
Again, let f(x) be a real-valued function of a real variable. Then f is odd if the following equation holds for all real x:
Geometrically, an odd function is symmetric with respect to the origin, meaning that its graph remains unchanged after rotation of 180 degrees about the origin.
Examples of odd functions are x, x3, sin(x), sinh(x), and erf (x).
Some facts
Note: A function's being odd or even does not imply differentiability, or even continuity. Properties involving Fourier series, Taylor series, derivatives and so on may only be used when they can be assumed to exist.
Basic properties
- The only function which is both even and odd is the constant function which is identically zero (i.e., f(x) = 0 for all x).
- The sum of an even and odd function is neither even nor odd, unless one of the functions is identically zero.
- The sum of two even functions is even, and any constant multiple of an even function is even.
- The sum of two odd functions is odd, and any constant multiple of an odd function is odd.
- The product of two even functions is an even function.
- The product of two odd functions is again an even function.
- The product of an even function and an odd function is an odd function.
- The quotient of two even functions is an even function.
- The quotient of two odd functions is an even function.
- The quotient of an even function and an odd function is an odd function.
- The derivative of an even function is odd.
- The derivative of an odd function is even.
- The composition of two odd functions is odd, and the composition of two even functions is even.
- The composition of an even function and an odd function is even.
- The composition of any function with an even function is even (but not vice versa).
- The integral of an odd function from -A to +A is zero (where A is a finite, and the function has no vertical asymptotes between -A and A).
- The integral of an even function from -A to +A is is twice the integral from 0 to +A (where A is a finite, and the function has no vertical asymptotes between -A and A).
Series
- The Taylor series of an even function includes only even powers.
- The Taylor series of an odd function includes only odd powers.
- The Fourier series of a periodic even function includes only cosine terms.
- The Fourier series of a periodic odd function includes only sine terms.
Algebraic structure
- Any linear combination of even functions is even, and the even functions form a vector space over the reals. Similarly, any linear combination of odd functions is odd, and the odd functions also form a vector space over the reals. In fact, the vector space of all real-valued functions is the direct sum of the subspaces of even and odd functions. In other words, every function can be written uniquely as the sum of an even function and an odd function:
- The even functions form a commutative algebra over the reals. However, the odd functions do not form an algebra over the reals.
Harmonics
In signal processing, harmonic distortion occurs when a sine wave signal is multiplied by a non-linear transfer function. The type of harmonics produced depend on the transfer function[1]:
- When the transfer function is even, the resulting signal will consist of only even harmonics of the input sine wave;
- The fundamental is also an odd harmonic, so will not be present.
- A simple example is a full-wave rectifier.
- When it is odd, the resulting signal will consist of only odd harmonics of the input sine wave;
- The output signal will be half-wave symmetric.
- A simple example is clipping in a symmetric push-pull amplifier.
- When it is asymmetric, the resulting signal may contain either even or odd harmonics;
- A simple example is clipping in an asymmetrical class A amplifier.
References
See also
- Hermitian function for a generalization in complex numbers.
- Taylor series
- Fourier series