Determine whether a function is even, odd, or neither from its graph

Some functions exhibit symmetry so that reflections result in the original graph. For example, horizontally reflecting the toolkit functions [latex]f\left(x\right)={x}^{2}[/latex] or [latex]f\left(x\right)=|x|[/latex] will result in the original graph. We say that these types of graphs are symmetric about the y-axis. Functions whose graphs are symmetric about the y-axis are called even functions.

If the graphs of [latex]f\left(x\right)={x}^{3}[/latex] or [latex]f\left(x\right)=\frac{1}{x}[/latex] were reflected over both axes, the result would be the original graph.

Graph of x^3 and its reflections.

Figure 12. (a) The cubic toolkit function (b) Horizontal reflection of the cubic toolkit function (c) Horizontal and vertical reflections reproduce the original cubic function.

We say that these graphs are symmetric about the origin. A function with a graph that is symmetric about the origin is called an odd function.

Note: A function can be neither even nor odd if it does not exhibit either symmetry. For example, [latex]f\left(x\right)={2}^{x}[/latex] is neither even nor odd. Also, the only function that is both even and odd is the constant function [latex]f\left(x\right)=0[/latex].

A General Note: Even and Odd Functions

A function is called an even function if for every input [latex]x[/latex]

[latex]f\left(x\right)=f\left(-x\right)[/latex]

The graph of an even function is symmetric about the [latex]y\text{-}[/latex] axis.

A function is called an odd function if for every input [latex]x[/latex]

[latex]f\left(x\right)=-f\left(-x\right)[/latex]

The graph of an odd function is symmetric about the origin.

How To: Given the formula for a function, determine if the function is even, odd, or neither.

  1. Determine whether the function satisfies [latex]f\left(x\right)=f\left(-x\right)[/latex]. If it does, it is even.
  2. Determine whether the function satisfies [latex]f\left(x\right)=-f\left(-x\right)[/latex]. If it does, it is odd.
  3. If the function does not satisfy either rule, it is neither even nor odd.

Example 9: Determining whether a Function Is Even, Odd, or Neither

Is the function [latex]f\left(x\right)={x}^{3}+2x[/latex] even, odd, or neither?

Solution

Without looking at a graph, we can determine whether the function is even or odd by finding formulas for the reflections and determining if they return us to the original function. Let’s begin with the rule for even functions.

[latex]f\left(-x\right)={\left(-x\right)}^{3}+2\left(-x\right)=-{x}^{3}-2x[/latex]

This does not return us to the original function, so this function is not even. We can now test the rule for odd functions.

[latex]-f\left(-x\right)=-\left(-{x}^{3}-2x\right)={x}^{3}+2x[/latex]

Because [latex]-f\left(-x\right)=f\left(x\right)[/latex], this is an odd function.

Analysis of the Solution

Consider the graph of [latex]f[/latex]. Notice that the graph is symmetric about the origin. For every point [latex]\left(x,y\right)[/latex] on the graph, the corresponding point [latex]\left(-x,-y\right)[/latex] is also on the graph. For example, (1, 3) is on the graph of [latex]f[/latex], and the corresponding point [latex]\left(-1,-3\right)[/latex] is also on the graph.

Graph of f(x) with labeled points at (1, 3) and (-1, -3).

Figure 13

Try It 4

Is the function [latex]f\left(s\right)={s}^{4}+3{s}^{2}+7[/latex] even, odd, or neither?

Solution