Symmetry simplifies analysis. Even and odd functions have specific symmetry properties that make them easier to graph and study.
Definitions
📐Definition — Even Function
A function f is even if for every x in its domain:
f(−x)=f(x)
The graph of an even function is symmetric about the y-axis.
📐Definition — Odd Function
A function f is odd if for every x in its domain:
f(−x)=−f(x)
The graph of an odd function is symmetric about the origin (180° rotational symmetry).
Important prerequisite: The domain must be symmetric about 0. That is, if x is in the domain, then −x must be as well. For example, f(x)=x (domain [0,+∞)) cannot be even or odd.
How to Test
To determine whether f is even, odd, or neither:
Compute f(−x) by substituting −x for every x.
Simplify the result.
Compare: if f(−x)=f(x), the function is even. If f(−x)=−f(x), it is odd. Otherwise, neither.
Examples
Function
f(−x)
Classification
x2
(−x)2=x2=f(x)
Even
x4+2x2
x4+2x2=f(x)
Even
x3
(−x)3=−x3=−f(x)
Odd
x3−x
−x3+x=−(x3−x)=−f(x)
Odd
x2+x
x2−x=f(x) and =−f(x)
Neither
From trigonometry: cosx is even, sinx is odd.
Worked Example
✎Example — Testing for Parity
Determine whether f(x)=x4−3x2+1 is even, odd, or neither.
Solution. Compute f(−x):
f(−x)=(−x)4−3(−x)2+1=x4−3x2+1=f(x)
Since f(−x)=f(x), the function is even.
Decomposition into Even and Odd Parts
An interesting fact: any function f (with a symmetric domain) can be written as the sum of an even function and an odd function: