Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Tell if a Function Is Even, Odd or Neither

An even function gives the same output at xx and −x-x; an odd function gives opposite outputs. You decide by replacing xx with −x-x and comparing the result with f(x)f(x) and −f(x)-f(x).

Recognize the task

The question asks "even, odd or neither?", "symmetric about the yy-axis or the origin?", or you want to halve the work of graphing. Typical forms: polynomials x4−3x2+2x^4 - 3x^2 + 2, x3−4xx^3 - 4x, x2+xx^2 + x, and quotients such as xx2+1\frac{x}{x^2 + 1}. Test: is the domain symmetric about 00? If not, the answer is neither.
Even and odd functions are defined in the properties of functions lesson.

Two ways to do it

Algebraic testproof
f(−x)=f(x)  (even),f(−x)=−f(x)  (odd)f(-x) = f(x) \;\text{(even)}, \qquad f(-x) = -f(x) \;\text{(odd)}
Simplify f(−x)f(-x) and compare (even test, odd test).
Graph symmetrygraph
(x,y)∈f⇒(−x,y) or (−x,−y)∈f(x, y) \in f \Rightarrow (-x, y) \text{ or } (-x, -y) \in f
A mirror in the yy-axis means even; a half turn about the origin means odd (symmetry).

Steps

StepOn f(x)=x3−4xf(x) = x^3 - 4x
1Check that the domain is symmetric. Whenever xx is in the domain, −x-x must be too.R\mathbb{R}: symmetric ✓
2Substitute -x for x. Put (−x)(-x) in brackets everywhere xx appears.Substitution ↗f(−x)=(−x)3−4(−x)f(-x) = (-x)^3 - 4(-x)
3Simplify. Even powers of −x-x lose the sign; odd powers keep it.f(−x)=−x3+4xf(-x) = -x^3 + 4x
4Compare with f(x) and -f(x). Write out −f(x)-f(x) in full before comparing.−f(x)=−x3+4x=f(−x)-f(x) = -x^3 + 4x = f(-x)
5State the symmetry. Even: mirror image in the yy-axis. Odd: symmetric about the origin. Neither: no such symmetry.odd: symmetric about the origin

Worked examples

Example 1 · only even powers

even
f(x)=x4−3x2+2f(x) = x^4 - 3x^2 + 2
f(−x)=(−x)4−3(−x)2+2=x4−3x2+2f(-x) = (-x)^4 - 3(-x)^2 + 2 = x^4 - 3x^2 + 2
even powers lose the sign
f(−x)=f(x)f(-x) = f(x): even
mirror in the yy-axis

Example 2 · mixed powers

neither
f(x)=x2+xf(x) = x^2 + x, f(−x)=x2−xf(-x) = x^2 - x
simplify
f(x)=x2+xf(x) = x^2 + x, −f(x)=−x2−x-f(x) = -x^2 - x
both candidates
neither: f(2)=6f(2) = 6, f(−2)=2f(-2) = 2
matches neither one

Example 3 · a quotient

odd
f(x)=xx2+1f(x) = \dfrac{x}{x^2 + 1}, domain R\mathbb{R}
symmetric domain
f(−x)=−x(−x)2+1=−xx2+1f(-x) = \dfrac{-x}{(-x)^2 + 1} = -\dfrac{x}{x^2 + 1}
odd top, even bottom
f(−x)=−f(x)f(-x) = -f(x): odd
Compare a curve with its two mirror images in the symmetry visualizer.

See it happen

Replacing xx by −x-x reflects the graph in the yy-axis. If the reflected graph lands on itself, the function is even. If it lands on the graph flipped upside down, which is the same as −f(x)-f(x), the function is odd. For polynomials this comes down to the powers: (−x)n(-x)^n equals xnx^n for even nn and −xn-x^n for odd nn, and a constant behaves like an even power.

Common mistakes

Judging by the exponents alone

✗ f(x)=x3+1f(x) = x^3 + 1 is odd because 33 is odd
✓ f(−x)=−x3+1f(-x) = -x^3 + 1, −f(x)=−x3−1-f(x) = -x^3 - 1: neither
The constant counts as an even power.

Ignoring the domain

✗ f(x)=x2f(x) = x^2 on [−1,3][-1, 3] is even
✓ f(3)f(3) exists but f(−3)f(-3) does not: neither

Testing a single point

✗ f(x)=x3−xf(x) = x^3 - x: f(−1)=f(1)=0f(-1) = f(1) = 0, so ff is even
✓ f(−2)=−6f(-2) = -6 and f(2)=6f(2) = 6: the function is odd