Learning Objectives
- Graph functions using reflections about the [latex]x[/latex] -axis and the [latex]y[/latex] -axis.
- Determine whether a function is even, odd, or neither from its graph.
Another transformation that can be applied to a function is a reflection over the x– or y-axis. A vertical reflection reflects a graph vertically across the x-axis, while a horizontal reflection reflects a graph horizontally across the y-axis. The reflections are shown in Figure 9.
Notice that the vertical reflection produces a new graph that is a mirror image of the base or original graph about the x-axis. The horizontal reflection produces a new graph that is a mirror image of the base or original graph about the y-axis.
A General Note: Reflections
Given a function [latex]f\left(x\right)[/latex], a new function [latex]g\left(x\right)=-f\left(x\right)[/latex] is a vertical reflection of the function [latex]f\left(x\right)[/latex], sometimes called a reflection about (or over, or through) the x-axis.
Given a function [latex]f\left(x\right)[/latex], a new function [latex]g\left(x\right)=f\left(-x\right)[/latex] is a horizontal reflection of the function [latex]f\left(x\right)[/latex], sometimes called a reflection about the y-axis.
How To: Given a function, reflect the graph both vertically and horizontally.
- Multiply all outputs by –1 for a vertical reflection. The new graph is a reflection of the original graph about the x-axis.
- Multiply all inputs by –1 for a horizontal reflection. The new graph is a reflection of the original graph about the y-axis.
Example: Reflecting a Graph Horizontally and Vertically
Reflect the graph of [latex]s\left(t\right)=\sqrt{t}[/latex] (a) vertically and (b) horizontally.
Try It
Use Desmos to reflect the graph of [latex]f\left(x\right)=|x - 1|[/latex] (a) vertically and (b) horizontally.
Example: Reflecting a Tabular Function Horizontally and Vertically
A function [latex]f\left(x\right)[/latex] is given. Create a table for the functions below.
- [latex]g\left(x\right)=-f\left(x\right)[/latex]
- [latex]h\left(x\right)=f\left(-x\right)[/latex]
[latex]x[/latex] | 2 | 4 | 6 | 8 |
[latex]f\left(x\right)[/latex] | 1 | 3 | 7 | 11 |
Try It
[latex]x[/latex] | −2 | 0 | 2 | 4 |
[latex]f\left(x\right)[/latex] | 5 | 10 | 15 | 20 |
Using the function [latex]f\left(x\right)[/latex] given in the table above, create a table for the functions below.
a. [latex]g\left(x\right)=-f\left(x\right)[/latex]
b. [latex]h\left(x\right)=f\left(-x\right)[/latex]
Determine Whether a Functions is Even, Odd, or Neither
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.
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.
- Determine whether the function satisfies [latex]f\left(x\right)=f\left(-x\right)[/latex]. If it does, it is even.
- Determine whether the function satisfies [latex]f\left(x\right)=-f\left(-x\right)[/latex]. If it does, it is odd.
- If the function does not satisfy either rule, it is neither even nor odd.
Example: 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?
Try It
Is the function [latex]f\left(s\right)={s}^{4}+3{s}^{2}+7[/latex] even, odd, or neither?
Try It
Use Desmos to determine whether the following functions are even, odd, or neither:
- [latex]f(x) = \sqrt{x^2-4}[/latex]
- [latex]f(x) = 2x^3-4x[/latex]
- [latex]f(x) = 2x^3+3x^2-4x+5[/latex]
You can use function notation in Desmos to plot [latex]f(-x)[/latex], and [latex]-f(-x)[/latex].