Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Even and odd functions

From Wikipedia, the free encyclopedia
Functions such that f(–x) equals f(x) or –f(x)
Not to be confused withEven and odd numbers.
Thesine function and all of itsTaylor polynomials are odd functions.
Thecosine function and all of itsTaylor polynomials are even functions.

Inmathematics, aneven function is areal function such thatf(x)=f(x){\displaystyle f(-x)=f(x)} for everyx{\displaystyle x} in itsdomain. Similarly, anodd function is a function such thatf(x)=f(x){\displaystyle f(-x)=-f(x)} for everyx{\displaystyle x} in its domain.

They are named for theparity of the powers of thepower functions which satisfy each condition: the functionf(x)=xn{\displaystyle f(x)=x^{n}} is even ifn is aneven integer, and it is odd ifn is an odd integer.

Even functions are those real functions whosegraph isself-symmetric with respect to they-axis, and odd functions are those whose graph is self-symmetric with respect to theorigin.

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

[edit]

The concept of even and odd functions appears to date back to the early 18th century, withLeonard Euler playing a significant role in their formalization. Euler introduced the concepts of even and odd functions (using Latin termspares andimpares) in his workTraiectoriarum Reciprocarum Solutio from 1727. Before Euler, however,Isaac Newton had already developed geometric means of deriving coefficients of power series when writing thePrincipia (1687), and included algebraic techniques in an early draft of hisQuadrature 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

[edit]

Evenness and oddness are generally considered forreal functions, that is real-valued functions of a real variable. However, the concepts may be more generally defined for functions whosedomain andcodomain both have a notion ofadditive inverse. This includesabelian groups, allrings, allfields, and allvector spaces. Thus, for example, a real function could be odd or even (or neither), as could acomplex-valued function of a vector variable, and so on.

The given examples are real functions, to illustrate thesymmetry of theirgraphs.

Even functions

[edit]
f(x)=x2{\displaystyle f(x)=x^{2}} is an example of an even function.

Areal functionf iseven if, for everyx in its domain,x is also in its domain and[1]: p. 11 f(x)=f(x){\displaystyle f(-x)=f(x)}or equivalentlyf(x)f(x)=0.{\displaystyle f(x)-f(-x)=0.}

Geometrically, the graph of an even function issymmetric with respect to they-axis, meaning that its graph remains unchanged afterreflection about they-axis.

Examples of even functions are:

Odd functions

[edit]
f(x)=x3{\displaystyle f(x)=x^{3}} is an example of an odd function.

A real functionf isodd if, for everyx in its domain,x is also in its domain and[1]: p. 72 f(x)=f(x){\displaystyle f(-x)=-f(x)}or equivalentlyf(x)+f(x)=0.{\displaystyle f(x)+f(-x)=0.}

Geometrically, the graph of an odd function has rotational symmetry with respect to theorigin, meaning that its graph remains unchanged afterrotation of 180degrees about the origin.

Ifx=0{\displaystyle x=0} is in the domain of an odd functionf(x){\displaystyle f(x)}, thenf(0)=0{\displaystyle f(0)=0}.

Examples of odd functions are:

f(x)=x3+1{\displaystyle f(x)=x^{3}+1} is neither even nor odd.

Basic properties

[edit]

Uniqueness

[edit]
  • If a function is both even and odd, it is equal to 0 everywhere it is defined.
  • If a function is odd, theabsolute value of that function is an even function.

Addition and subtraction

[edit]
  • Thesum of two even functions is even.
  • The sum of two odd functions is odd.
  • Thedifference 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 givendomain.

Multiplication and division

[edit]
  • Theproduct andquotient 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 thereciprocal 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

[edit]
  • Thecomposition 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

[edit]
  • If an odd function isinvertible, then its inverse is also odd.

Even–odd decomposition

[edit]

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 theeven part (or theeven component) and theodd part (or theodd component) of the function, and are defined byfeven(x)=f(x)+f(x)2,{\displaystyle f_{\text{even}}(x)={\frac {f(x)+f(-x)}{2}},}andfodd(x)=f(x)f(x)2.{\displaystyle f_{\text{odd}}(x)={\frac {f(x)-f(-x)}{2}}.}

It is straightforward to verify thatfeven{\displaystyle f_{\text{even}}} is even,fodd{\displaystyle f_{\text{odd}}} is odd, andf=feven+fodd.{\displaystyle f=f_{\text{even}}+f_{\text{odd}}.}

This decomposition is unique since, if

f(x)=g(x)+h(x),{\displaystyle f(x)=g(x)+h(x),}

whereg is even andh is odd, theng=feven{\displaystyle g=f_{\text{even}}} andh=fodd,{\displaystyle h=f_{\text{odd}},} 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).{\displaystyle {\begin{aligned}2f_{\text{e}}(x)&=f(x)+f(-x)=g(x)+g(-x)+h(x)+h(-x)=2g(x),\\2f_{\text{o}}(x)&=f(x)-f(-x)=g(x)-g(-x)+h(x)-h(-x)=2h(x).\end{aligned}}}

For example, thehyperbolic cosine and thehyperbolic 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){\displaystyle e^{x}=\underbrace {\cosh(x)} _{f_{\text{even}}(x)}+\underbrace {\sinh(x)} _{f_{\text{odd}}(x)}}.

Fourier'ssine and cosine transforms also perform even–odd decomposition by representing a function's odd part withsine waves (an odd function) and the function's even part with cosine waves (an even function).

Further algebraic properties

[edit]
  • Anylinear combination of even functions is even, and the even functions form avector space over thereals. 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 ofall real functions is thedirect sum of thesubspaces 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 agraded algebra over the real numbers by this property, as well as some of those above.
  • The even functions form acommutative algebra over the reals. However, the odd functions donot form an algebra over the reals, as they are notclosed under multiplication.

Analytic properties

[edit]

A function's being odd or even does not implydifferentiability, or evencontinuity. For example, theDirichlet function is even, but is nowhere continuous.

In the following, properties involvingderivatives,Fourier series,Taylor series are considered, and these concepts are thus supposed to be defined for the considered functions.

Basic analytic properties

[edit]

Series

[edit]

Harmonics

[edit]

Insignal processing,harmonic distortion occurs when asine wave signal is sent through a memory-lessnonlinear system, that is, a system whose output at timet only depends on the input at timet and does not depend on the input at any previous times. Such a system is described by a response functionVout(t)=f(Vin(t)){\displaystyle V_{\text{out}}(t)=f(V_{\text{in}}(t))}. The type ofharmonics produced depend on the response functionf:[4]

This does not hold true for more complex waveforms. Asawtooth wave contains both even and odd harmonics, for instance. After even-symmetric full-wave rectification, it becomes atriangle wave, which, other than the DC offset, contains only odd harmonics.

Generalizations

[edit]

Multivariate functions

[edit]

Even symmetry:

A functionf:RnR{\displaystyle f:\mathbb {R} ^{n}\to \mathbb {R} } is calledeven symmetric if:

f(x1,x2,,xn)=f(x1,x2,,xn)for all x1,,xnR{\displaystyle f(x_{1},x_{2},\ldots ,x_{n})=f(-x_{1},-x_{2},\ldots ,-x_{n})\quad {\text{for all }}x_{1},\ldots ,x_{n}\in \mathbb {R} }

Odd symmetry:

A functionf:RnR{\displaystyle f:\mathbb {R} ^{n}\to \mathbb {R} } is calledodd symmetric if:

f(x1,x2,,xn)=f(x1,x2,,xn)for all x1,,xnR{\displaystyle f(x_{1},x_{2},\ldots ,x_{n})=-f(-x_{1},-x_{2},\ldots ,-x_{n})\quad {\text{for all }}x_{1},\ldots ,x_{n}\in \mathbb {R} }

Complex-valued functions

[edit]

The definitions for even and odd symmetry forcomplex-valued functions of a real argument are similar to the real case. Insignal processing, a similar symmetry is sometimes considered, which involvescomplex conjugation.[5][6]

Conjugate symmetry:

A complex-valued function of a real argumentf:RC{\displaystyle f:\mathbb {R} \to \mathbb {C} } is calledconjugate symmetric if

f(x)=f(x)¯for all xR{\displaystyle f(x)={\overline {f(-x)}}\quad {\text{for all }}x\in \mathbb {R} }

A complex valued function is conjugate symmetric if and only if itsreal part is an even function and itsimaginary part is an odd function.

A typical example of a conjugate symmetric function is thecis function

xeix=cosx+isinx{\displaystyle x\to e^{ix}=\cos x+i\sin x}

Conjugate antisymmetry:

A complex-valued function of a real argumentf:RC{\displaystyle f:\mathbb {R} \to \mathbb {C} } is calledconjugate antisymmetric if:

f(x)=f(x)¯for all xR{\displaystyle f(x)=-{\overline {f(-x)}}\quad {\text{for all }}x\in \mathbb {R} }

A complex valued function is conjugate antisymmetric if and only if itsreal part is an odd function and itsimaginary part is an even function.

Finite length sequences

[edit]

The definitions of odd and even symmetry are extended toN-point sequences (i.e. functions of the formf:{0,1,,N1}R{\displaystyle f:\left\{0,1,\ldots ,N-1\right\}\to \mathbb {R} }) as follows:[6]: p. 411 

Even symmetry:

AN-point sequence is calledconjugate symmetric if

f(n)=f(Nn)for all n{1,,N1}.{\displaystyle f(n)=f(N-n)\quad {\text{for all }}n\in \left\{1,\ldots ,N-1\right\}.}

Such a sequence is often called apalindromic sequence; see alsoPalindromic polynomial.

Odd symmetry:

AN-point sequence is calledconjugate antisymmetric if

f(n)=f(Nn)for all n{1,,N1}.{\displaystyle f(n)=-f(N-n)\quad {\text{for all }}n\in \left\{1,\ldots ,N-1\right\}.}

Such a sequence is sometimes called ananti-palindromic sequence; see alsoAntipalindromic polynomial.

See also

[edit]

Notes

[edit]
  1. ^abGel'Fand, I. M.;Glagoleva, E. G.; Shnol, E. E. (1990).Functions and Graphs. Birkhäuser.ISBN 0-8176-3532-7.
  2. ^W., Weisstein, Eric."Odd Function".mathworld.wolfram.com.{{cite web}}: CS1 maint: multiple names: authors list (link)
  3. ^W., Weisstein, Eric."Even Function".mathworld.wolfram.com.{{cite web}}: CS1 maint: multiple names: authors list (link)
  4. ^Berners, Dave (October 2005)."Ask the Doctors: Tube vs. Solid-State Harmonics".UA WebZine. Universal Audio. Retrieved2016-09-22.To summarize, if the function f(x) is odd, a cosine input will produce no even harmonics. If the function f(x) is even, a cosine input will produce no odd harmonics (but may contain a DC component). If the function is neither odd nor even, all harmonics may be present in the output.
  5. ^Oppenheim, Alan V.;Schafer, Ronald W.; Buck, John R. (1999).Discrete-time signal processing (2nd ed.). Upper Saddle River, N.J.: Prentice Hall. p. 55.ISBN 0-13-754920-2.
  6. ^abProakis, John G.; Manolakis, Dimitri G. (1996),Digital Signal Processing: Principles, Algorithms and Applications (3 ed.), Upper Saddle River, NJ: Prentice-Hall International,ISBN 9780133942897, sAcfAQAAIAAJ

References

[edit]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Even_and_odd_functions&oldid=1289008911"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp