Symmetry of a graph: even and odd functions

Topic guide · Updated 2026-11-26

Quick answer

A function is even if f(−x) = f(x) for all x; its graph is symmetric about the y-axis, like x² or cos x. A function is odd if f(−x) = −f(x); its graph has rotational symmetry about the origin, like x³ or sin x. Most functions are neither.

−6−5−4−3−2−1123456−3−2−1123
  • y=x^2-2
  • y=x^3/4
Open in graphing calculator

The tests

y-axis symmetry (even)Replace x with −x; the equation is unchanged
Origin symmetry (odd)Replace x with −x and y with −y; the equation is unchanged
x-axis symmetryReplace y with −y; unchanged (not possible for a nonzero function)

Quick rules for polynomials

A polynomial with only even powers (including the constant term) is even. One with only odd powers is odd. Mixing even and odd powers, as in x² + x, gives a function that is neither.

Frequently asked questions

Can a function be both even and odd?

Only f(x) = 0, the zero function.