Learning Outcomes
- 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 [latex]x[/latex]– or [latex]y[/latex]-axis. A vertical reflection reflects a graph vertically across the [latex]x[/latex]-axis, while a horizontal reflection reflects a graph horizontally across the [latex]y[/latex]-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 [latex]x[/latex]-axis. The horizontal reflection produces a new graph that is a mirror image of the base or original graph about the [latex]y[/latex]-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 [latex]x[/latex]-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 [latex]y[/latex]-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 [latex]x[/latex]-axis.
- Multiply all inputs by –1 for a horizontal reflection. The new graph is a reflection of the original graph about the [latex]y[/latex]-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 an online graphing calculator 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 [latex]y[/latex]-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)=\dfrac{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.
recall evaluating functions
When evaluating functions for specific input, we can wrap the variable in parentheses first, then drop in the value we want to use to evaluate it. This works whether the value is a constant or a variable.
Be extra careful when evaluating a function for a negative input. The negative sign goes in the parentheses.
Ex. Evaluate [latex]f(x) = x^2 \ \text{ for} -1[/latex]
[latex]\begin{align} f(-1) &= (-1)^2 \\ &= 1 \end{align}[/latex]
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?