How to tell if a function is even, odd, or neither

A graph can give us a quick clue about whether a function is even or odd. We’ll look at the two kinds of symmetry and then check them by substituting the opposite input.

Check that opposite inputs are in the domain

Before comparing f(x) and f(-x), make sure the domain is symmetric about zero: whenever x is allowed, -x must also be allowed. If an input has no opposite in the domain, the function is neither even nor odd.

Even functions reflect across the y-axis

A function is even if f(-x)=f(x) for every x in its domain. Opposite inputs give the same output, so (x,y) and (-x,y) are mirror images across the y-axis.

Let’s test f(x)=5x2-x4. Since (-1) raised to an even power equals 1, both terms simplify to their original form.

f(-x)=5(-x)2-(-x)4=5x2-x4=f(x)
The even polynomial shows mirror symmetryThe graph has the points negative one comma four and one comma four, mirror images across the y-axis.(−1, 4)(1, 4)xy
The two marked points have the same height and lie the same distance from the y-axis.

Odd functions have half-turn symmetry about the origin

A function is odd if f(-x)=-f(x) for every x in its domain. The point (x,y) pairs with (-x,-y), so rotating the graph 180° around the origin gives the same graph.

Now let’s test f(x)=x5-3x3. Because (-1) raised to an odd power equals -1, both terms reverse sign.

f(-x)=(-x)5-3(-x)3=-x5+3x3=-(x5-3x3)=-f(x)
The odd polynomial shows half-turn symmetryThe graph has the points negative one comma two and one comma negative two, which swap when rotated 180 degrees about the origin.(−1, 2)(1, −2)xy
A half-turn about the origin sends (−1, 2) to (1, −2).

Neither: Opposite inputs can give unrelated outputs

For g(x)=x2+x, we get g(1)=2 and g(-1)=0. The output 0 is neither 2 nor -2. This one pair rules out both symmetries, so g is neither even nor odd.

What can a table tell us?

Compare each input with its opposite. Matching outputs are consistent with even symmetry; opposite outputs are consistent with odd symmetry. A table can rule out a symmetry with one mismatched pair. To prove a symmetry, we need the rule for every input unless the table lists the entire domain.

The zero function on a symmetric domain is both even and odd, because every output equals its own opposite.