A function f on R is an even function if for all x in the domain of f,
- f(x) = f(-x).
Such a function is symmetric with respect to the y-axis when graphed.
If f is a polynomial function, then every exponent has to be even for the entire function to be even.
A function f on R is an odd function if for all x in the domain of f,
- -f(x) = f(-x).
Such a function has rotational symmetry with respect to the origin.
If f is a polynomial function, then every exponent has to be odd for the entire function to be odd.
Examples
is a even function but is odd. is neither.
is odd while is even