In mathematics, an even function is a real function such that f(−x)=f(x) for every x in its domain. Similarly, an odd function is a function such that f(−x)=−f(x) for every x in its domain. They are named for the parity of the powers of the power functions which satisfy each condition: the function f(x)=xn is even if n is an even integer, and it is odd if n is an odd integer. Even functions are those real functions whose graph is self-symmetric with respect to the y-axis, and odd functions are those whose graph is self-symmetric with respect to the origin. If the domain of a real function is self-symmetric with respect to the origin, then the function can be uniquely decomposed as the sum of an even function and an odd function.
Early history The concept of even and odd functions appears to date back to the early 18th century, with Leonhard Euler playing a significant role in their formalization. Euler introduced the concepts of even and odd functions (using Latin terms pares and impares) in his work Traiectoriarum Reciprocarum Solutio from 1727. Before Euler, however, Isaac Newton had already developed geometric means of deriving coefficients of power series when writing the Principia (1687), and included algebraic techniques in an early draft of his Quadrature of Curves, though he removed it before publication in 1706. It is also noteworthy that Newton didn't explicitly name or focus on the even-odd decomposition, his work with power series would have involved understanding properties related to even and odd powers.
Definition and examples Evenness and oddness are generally considered for real functions, that is real-valued functions of a real variable. However, the concepts may be more generally defined for functions whose domain and codomain both have a notion of additive inverse. This includes abelian groups, all rings, all fields, and all vector spaces. Thus, for example, a real function could be odd or even (or neither), as could a complex-valued function of a vector variable, and so on. The given examples are real functions, to illustrate the symmetry of their graphs.
Even functions
A real function f is even if, for every x in its domain, −x is also in its domain and f(−x)=f(x) or equivalently f(x)−f(−x)=0. Geometrically, the graph of 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:
The absolute value x↦|x|, x↦x2, x↦xn for any even integer n, cosine cos, hyperbolic cosine cosh, Gaussian function x↦exp(−x2).
Odd functions
A real function f is odd if, for every x in its domain, −x is also in its domain and f(−x)=−f(x) or equivalently f(x)+f(−x)=0. Geometrically, the graph of an odd function has rotational symmetry with respect to the origin, meaning that its graph remains unchanged after rotation of 180 degrees about the origin. If x=0 is in the domain of an odd function f(x), then f(0)=0. Examples of odd functions are:
The sign function x↦sgn(x), The identity function x↦x, x↦xn for any odd integer n, x↦xn for any odd positive integer n, sine sin, hyperbolic sine sinh, The error function erf.
Basic properties
Uniqueness If a function is both even and odd, it is equal to 0 everywhere it is defined. If a function is odd, the absolute value of that function is an even function.
Addition and subtraction The sum of two even functions is even. The sum of two odd functions is odd. The difference between two odd functions is odd. The difference between two even functions is even. The sum of an even and odd function is not even or odd, unless one of the functions is equal to zero over the given domain.
Multiplication and division The product and quotient of two even functions is an even function. This implies that the product of any number of even functions is also even. This implies that the reciprocal of an even function is also even. The product and quotient of two odd functions is an even function. The product and both quotients of an even function and an odd function is an odd function. This implies that the reciprocal of an odd function is odd.
Composition The composition of two even functions is even. The composition of two odd functions is odd. 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).
Inverse function If an odd function is invertible, then its inverse is also odd.
Even–odd decomposition If a real function has a domain that is self-symmetric with respect to the origin, it may be uniquely decomposed as the sum of an even and an odd function, which are called respectively the even part (or the even component) and the odd part (or the odd component) of the function, and are defined by feven(x)=f(x)+f(−x)2, and fodd(x)=f(x)−f(−x)2. It is straightforward to verify that feven is even, fodd is odd, and f=feven+fodd. This decomposition is unique since, if f(x)=g(x)+h(x), where g is even and h is odd, then g=feven and h=fodd, since 2fe(x)=f(x)+f(−x)=g(x)+g(−x)+h(x)+h(−x)=2g(x),2fo(x)=f(x)−f(−x)=g(x)−g(−x)+h(x)−h(−x)=2h(x). For example, the hyperbolic cosine and the hyperbolic sine may be regarded as the even and odd parts of the exponential function, as the first one is an even function, the second one is odd, and
ex=cosh(x)⏟feven(x)+sinh(x)⏟fodd(x). Fourier's sine and cosine transforms also perform even–odd decomposition by representing a function's odd part with sine waves (an odd function) and the function's even part with cosine waves (an even function).
Further algebraic properties 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 functions is the direct sum of the subspaces of even and odd functions. This is a more abstract way of expressing the property in the preceding section. The space of functions can be considered a graded algebra over the real numbers by this property, as well as some of those above. The even functions form a commutative algebra over the reals. However, the odd functions do not form an algebra over the reals, as they are not closed under multiplication.
… excerpt ends here. Continue reading the full article.





