21 Transformation of Functions

Learning Objectives

In this section, you will:

  • Graph functions using vertical and horizontal shifts.
  • Graph functions using reflections about the[latex]\,x\text{-axis}\,[/latex] and the[latex]\,y\text{-axis}.[/latex]
  • Determine whether a function is even, odd, or neither from its graph.
  • Graph functions using compressions and stretches.
  • Combine transformations.
Figure_01_05_038
Figure 1. (credit: “Misko”/Flickr)

We all know that a flat mirror enables us to see an accurate image of ourselves and whatever is behind us. When we tilt the mirror, the images we see may shift horizontally or vertically. But what happens when we bend a flexible mirror? Like a carnival funhouse mirror, it presents us with a distorted image of ourselves, stretched or compressed horizontally or vertically. In a similar way, we can distort or transform mathematical functions to better adapt them to describing objects or processes in the real world. In this section, we will take a look at several kinds of transformations.

Graphing Functions Using Vertical and Horizontal Shifts

Often when given a problem, we try to model the scenario using mathematics in the form of words, tables, graphs, and equations. One method we can employ is to adapt the basic graphs of the toolkit functions to build new models for a given scenario. There are systematic ways to alter functions to construct appropriate models for the problems we are trying to solve.

Identifying Vertical Shifts

One simple kind of transformation involves shifting the entire graph of a function up, down, right, or left. The simplest shift is a vertical shift, moving the graph up or down, because this transformation involves adding a positive or negative constant to the function. In other words, we add the same constant to the output value of the function regardless of the input. For a function[latex]\,g\left(x\right)=f\left(x\right)+k,\,[/latex]the function[latex]\,f\left(x\right)\,[/latex]is shifted vertically[latex]\,k\,[/latex]units. See (Figure) for an example.

Figure_01_05_001
Figure 2. Vertical shift by[latex]\,k=1\,[/latex]of the cube root function[latex]\,f\left(x\right)=\sqrt[3]{x}.[/latex]

To help you visualize the concept of a vertical shift, consider that[latex]\,y=f\left(x\right).\,[/latex]Therefore,[latex]\,f\left(x\right)+k\,[/latex]is equivalent to[latex]\,y+k.\,[/latex]Every unit of[latex]\,y\,[/latex]is replaced by[latex]\,y+k,\,[/latex]so the y-value increases or decreases depending on the value of[latex]\,k.\,[/latex]The result is a shift upward or downward.

Vertical Shift

Given a function [latex]f\left(x\right),[/latex] a new function [latex]g\left(x\right)=f\left(x\right)+k,[/latex] where [latex]\,k[/latex] is a constant, is a vertical shift of the function [latex]f\left(x\right).[/latex] All the output values change by [latex]k[/latex] units. If [latex]k[/latex] is positive, the graph will shift up. If [latex]k[/latex] is negative, the graph will shift down.

Adding a Constant to a Function

To regulate temperature in a green building, airflow vents near the roof open and close throughout the day. (Figure) shows the area of open vents[latex]\,V\,[/latex](in square feet) throughout the day in hours after midnight,[latex]\,t.\,[/latex]During the summer, the facilities manager decides to try to better regulate temperature by increasing the amount of open vents by 20 square feet throughout the day and night. Sketch a graph of this new function.

Figure_01_05_002
Figure 3.
[reveal-answer q=”fs-id1165135504997″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135504997″]

We can sketch a graph of this new function by adding 20 to each of the output values of the original function. This will have the effect of shifting the graph vertically up, as shown in (Figure).

Figure_01_05_003a
Figure 4.

Notice that in (Figure), for each input value, the output value has increased by 20, so if we call the new function[latex]\,S\left(t\right),[/latex]we could write

[latex]S\left(t\right)=V\left(t\right)+20[/latex]

This notation tells us that, for any value of[latex]\,t,S\left(t\right)\,[/latex]can be found by evaluating the function[latex]\,V\,[/latex]at the same input and then adding 20 to the result. This defines[latex]\,S\,[/latex]as a transformation of the function[latex]\,V,\,[/latex]in this case a vertical shift up 20 units. Notice that, with a vertical shift, the input values stay the same and only the output values change. See (Figure).

[latex]t[/latex] 0 8 10 17 19 24
[latex]V\left(t\right)[/latex] 0 0 220 220 0 0
[latex]S\left(t\right)[/latex] 20 20 240 240 20 20

[/hidden-answer]

How To

Given a tabular function, create a new row to represent a vertical shift.

  1. Identify the output row or column.
  2. Determine the magnitude of the shift.
  3. Add the shift to the value in each output cell. Add a positive value for up or a negative value for down.

Shifting a Tabular Function Vertically

A function[latex]\,f\left(x\right)\,[/latex]is given in (Figure). Create a table for the function[latex]\,g\left(x\right)=f\left(x\right)-3.[/latex]

[latex]x[/latex] 2 4 6 8
[latex]f\left(x\right)[/latex] 1 3 7 11
[reveal-answer q=”281112″]Show Solution[/reveal-answer]
[hidden-answer a=”281112″]The formula[latex]\,g\left(x\right)=f\left(x\right)-3\,[/latex]tells us that we can find the output values of[latex]\,g\,[/latex]by subtracting 3 from the output values of[latex]\,f.\,[/latex]For example:

[latex]\begin{array}{cccc}\hfill f\left(2\right)& =& 1\hfill & \text{Given}\hfill \\ \hfill g\left(x\right)& =& f\left(x\right)-3\hfill & \text{Given transformation}\hfill \\ \hfill g\left(2\right)& =& f\left(2\right)-3\hfill & \\ & =& 1-3\hfill & \\ & =& -2\hfill & \end{array}[/latex]

[/hidden-answer]

Analysis

As with the earlier vertical shift, notice the input values stay the same and only the output values change.

Try It

The function[latex]\,h\left(t\right)=-4.9{t}^{2}+30t\,[/latex]gives the height[latex]\,h\,[/latex]of a ball (in meters) thrown upward from the ground after[latex]\,t\,[/latex]seconds. Suppose the ball was instead thrown from the top of a 10-m building. Relate this new height function[latex]\,b\left(t\right)\,[/latex]to[latex]\,h\left(t\right),\,[/latex]and then find a formula for[latex]\,b\left(t\right).[/latex]

[reveal-answer q=”fs-id1165137481965″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137481965″]

[latex]b\left(t\right)=h\left(t\right)+10=-4.9{t}^{2}+30t+10[/latex][/hidden-answer]

Identifying Horizontal Shifts

We just saw that the vertical shift is a change to the output, or outside, of the function. We will now look at how changes to input, on the inside of the function, change its graph and meaning. A shift to the input results in a movement of the graph of the function left or right in what is known as a horizontal shift, shown in (Figure).

Figure_01_05_004
Figure 5. Horizontal shift of the function[latex]\,f\left(x\right)=\sqrt[3]{x}.\,[/latex]Note that[latex]\,h=+1\,[/latex]shifts the graph to the left, that is, towards negative values of[latex]\,x.[/latex]

For example, if[latex]\,f\left(x\right)={x}^{2},\,[/latex]then[latex]\,g\left(x\right)={\left(x-2\right)}^{2}\,[/latex]is a new function. Each input is reduced by 2 prior to squaring the function. The result is that the graph is shifted 2 units to the right, because we would need to increase the prior input by 2 units to yield the same output value as given in[latex]\,f.[/latex]

Horizontal Shift

Given a function[latex]\,f,\,[/latex]a new function[latex]\,g\left(x\right)=f\left(x-h\right),\,[/latex]where[latex]\,h\,[/latex]is a constant, is a horizontal shift of the function[latex]\,f.\,[/latex]If[latex]\,h\,[/latex]is positive, the graph will shift right. If[latex]\,h\,[/latex]is negative, the graph will shift left.

Adding a Constant to an Input

Returning to our building airflow example from (Figure), suppose that in autumn the facilities manager decides that the original venting plan starts too late, and wants to begin the entire venting program 2 hours earlier. Sketch a graph of the new function.

[reveal-answer q=”fs-id1165137423751″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137423751″]

We can set[latex]\,V\left(t\right)\,[/latex]to be the original program and[latex]\,F\left(t\right)\,[/latex]to be the revised program.

[latex]\begin{array}{ccc}\hfill V\left(t\right)& =& \text{the original venting plan}\hfill \\ \hfill F\left(t\right)& =& \text{starting 2 hrs sooner}\hfill \end{array}[/latex]

In the new graph, at each time, the airflow is the same as the original function[latex]\,V\,[/latex]was 2 hours later. For example, in the original function[latex]\,V,\,[/latex]the airflow starts to change at 8 a.m., whereas for the function[latex]\,F,\,[/latex]the airflow starts to change at 6 a.m. The comparable function values are[latex]\,V\left(8\right)=F\left(6\right).\,[/latex]See (Figure). Notice also that the vents first opened to[latex]\,220{\text{ ft}}^{2}\,[/latex]at 10 a.m. under the original plan, while under the new plan the vents reach[latex]\,220{\text{ ft}}^{\text{2}}\,[/latex]at

In both cases, we see that, because[latex]\,F\left(t\right)\,[/latex]starts 2 hours sooner,[latex]\,h=-2.\,[/latex]That means that the same output values are reached when[latex]\,F\left(t\right)=V\left(t-\left(-2\right)\right)=V\left(t+2\right).[/latex]

Figure_01_05_005a
Figure 6.

[/hidden-answer]

Analysis

Note that[latex]\,V\left(t+2\right)\,[/latex]has the effect of shifting the graph to the left.

Horizontal changes or “inside changes” affect the domain of a function (the input) instead of the range and often seem counterintuitive. The new function[latex]\,F\left(t\right)\,[/latex]uses the same outputs as[latex]\,V\left(t\right),\,[/latex]but matches those outputs to inputs 2 hours earlier than those of[latex]\,V\left(t\right).\,[/latex]Said another way, we must add 2 hours to the input of[latex]\,V\,[/latex]to find the corresponding output for[latex]F:F\left(t\right)=V\left(t+2\right).[/latex]

How To

Given a tabular function, create a new row to represent a horizontal shift.

  1. Identify the input row or column.
  2. Determine the magnitude of the shift.
  3. Add the shift to the value in each input cell.

Shifting a Tabular Function Horizontally

A function[latex]\,f\left(x\right)\,[/latex]is given in (Figure). Create a table for the function[latex]\,g\left(x\right)=f\left(x-3\right).[/latex]

[latex]x[/latex] 2 4 6 8
[latex]f\left(x\right)[/latex] 1 3 7 11
[reveal-answer q=”fs-id1165134401703″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165134401703″]

The formula[latex]\,g\left(x\right)=f\left(x-3\right)\,[/latex]tells us that the output values of[latex]\,g\,[/latex]are the same as the output value of[latex]\,f\,[/latex] when the input value is 3 less than the original value. For example, we know that[latex]\,f\left(2\right)=1.\,[/latex]To get the same output from the function[latex]\,g,\,[/latex]we will need an input value that is 3 larger. We input a value that is 3 larger for[latex]\,g\left(x\right)\,[/latex]because the function takes 3 away before evaluating the function[latex]\,f.[/latex]

[latex]\begin{array}{ccc}\hfill g\left(5\right)& =& f\left(5-3\right)\hfill \\ & =& f\left(2\right)\hfill \\ & =& 1\hfill \end{array}[/latex]

We continue with the other values to create (Figure).

[latex]x[/latex] 5 7 9 11
[latex]x-3[/latex] 2 4 6 8
[latex]f\left(x–3\right)[/latex] 1 3 7 11
[latex]g\left(x\right)[/latex] 1 3 7 11

The result is that the function[latex]\,g\left(x\right)\,[/latex]has been shifted to the right by 3. Notice the output values for[latex]\,g\left(x\right)\,[/latex]remain the same as the output values for[latex]\,f\left(x\right),\,[/latex]but the corresponding input values,[latex]\,x,\,[/latex]have shifted to the right by 3. Specifically, 2 shifted to 5, 4 shifted to 7, 6 shifted to 9, and 8 shifted to 11.

[/hidden-answer]

Analysis

(Figure) represents both of the functions. We can see the horizontal shift in each point.

Graph of the points from the previous table for f(x) and g(x)=f(x-3).
Figure 7.

 

Identifying a Horizontal Shift of a Toolkit Function

(Figure) represents a transformation of the toolkit function[latex]\,f\left(x\right)={x}^{2}.\,[/latex]Relate this new function[latex]\,g\left(x\right)\,[/latex]to[latex]\,f\left(x\right),\,[/latex]and then find a formula for[latex]\,g\left(x\right).[/latex]

Graph of a parabola.
Figure 8.
[reveal-answer q=”fs-id1165135173899″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135173899″]

Notice that the graph is identical in shape to the[latex]\,f\left(x\right)={x}^{2}\,[/latex]function, but the x-values are shifted to the right 2 units. The vertex used to be at (0,0), but now the vertex is at (2,0). The graph is the basic quadratic function shifted 2 units to the right, so

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

Notice how we must input the value[latex]\,x=2\,[/latex]to get the output value[latex]\,y=0;\,[/latex]the x-values must be 2 units larger because of the shift to the right by 2 units. We can then use the definition of the[latex]\,f\left(x\right)\,[/latex]function to write a formula for[latex]\,g\left(x\right)\,[/latex]by evaluating[latex]\,f\left(x-2\right).[/latex]

[latex]\begin{array}{ccc}\hfill f\left(x\right)& =& {x}^{2}\hfill \\ \hfill g\left(x\right)& =& f\left(x-2\right)\hfill \\ \hfill g\left(x\right)& =& f\left(x-2\right)={\left(x-2\right)}^{2}\hfill \end{array}[/latex][/hidden-answer]

Analysis

To determine whether the shift is[latex]\,+2\,[/latex]or[latex]\,-2[/latex], consider a single reference point on the graph. For a quadratic, looking at the vertex point is convenient. In the original function,[latex]\,f\left(0\right)=0.\,[/latex]In our shifted function,[latex]\,g\left(2\right)=0.\,[/latex]To obtain the output value of 0 from the function[latex]\,f,\,[/latex]we need to decide whether a plus or a minus sign will work to satisfy[latex]\,g\left(2\right)=f\left(x-2\right)=f\left(0\right)=0.\,[/latex]For this to work, we will need to subtract 2 units from our input values.

Interpreting Horizontal versus Vertical Shifts

The function[latex]\,G\left(m\right)\,[/latex]gives the number of gallons of gas required to drive[latex]\,m\,[/latex]miles. Interpret[latex]\,G\left(m\right)+10\,[/latex]and[latex]\,G\left(m+10\right).[/latex]

[reveal-answer q=”fs-id1165135690669″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135690669″]

[latex]G\left(m\right)+10\,[/latex]can be interpreted as adding 10 to the output, gallons. This is the gas required to drive[latex]\,m\,[/latex]miles, plus another 10 gallons of gas. The graph would indicate a vertical shift.

[latex]G\left(m+10\right)\,[/latex]can be interpreted as adding 10 to the input, miles. So this is the number of gallons of gas required to drive 10 miles more than[latex]\,m\,[/latex]miles. The graph would indicate a horizontal shift.

[/hidden-answer]

Try It

Given the function[latex]\,f\left(x\right)=\sqrt{x},\,[/latex]graph the original function[latex]\,f\left(x\right)\,[/latex]and the transformation[latex]\,g\left(x\right)=f\left(x+2\right)\,[/latex]on the same axes. Is this a horizontal or a vertical shift? Which way is the graph shifted and by how many units?

[reveal-answer q=”fs-id1165135548998″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135548998″]

The graphs of[latex]\,f\left(x\right)\,[/latex]and[latex]\,g\left(x\right)\,[/latex]are shown below. The transformation is a horizontal shift. The function is shifted to the left by 2 units.

Graph of a square root function and a horizontally shift square foot function.[/hidden-answer]

Combining Vertical and Horizontal Shifts

Now that we have two transformations, we can combine them. Vertical shifts are outside changes that affect the output (y-) values and shift the function up or down. Horizontal shifts are inside changes that affect the input (x-) values and shift the function left or right. Combining the two types of shifts will cause the graph of a function to shift up or down and left or right.

How To

Given a function and both a vertical and a horizontal shift, sketch the graph.

  1. Identify the vertical and horizontal shifts from the formula.
  2. The vertical shift results from a constant added to the output. Move the graph up for a positive constant and down for a negative constant.
  3. The horizontal shift results from a constant added to the input. Move the graph left for a positive constant and right for a negative constant.
  4. Apply the shifts to the graph in either order.

Graphing Combined Vertical and Horizontal Shifts

Given[latex]\,f\left(x\right)=|x|,\,[/latex]sketch a graph of[latex]\,h\left(x\right)=f\left(x+1\right)-3.[/latex]

[reveal-answer q=”fs-id1165137841697″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137841697″]

The function[latex]\,f\,[/latex]is our toolkit absolute value function. We know that this graph has a V shape, with the point at the origin. The graph of[latex]\,h\,[/latex]has transformed[latex]\,f\,[/latex]in two ways:[latex]\,f\left(x+1\right)\,[/latex]is a change on the inside of the function, giving a horizontal shift left by 1, and the subtraction by 3 in[latex]\,f\left(x+1\right)-3\,[/latex]is a change to the outside of the function, giving a vertical shift down by 3. The transformation of the graph is illustrated in (Figure).

Let us follow one point of the graph of[latex]\,f\left(x\right)=|x|.[/latex]

  • The point[latex]\left(0,0\right)[/latex]is transformed first by shifting left 1 unit:[latex]\left(0,0\right)\to \left(-1,0\right)[/latex]
  • The point[latex]\left(-1,0\right)[/latex]is transformed next by shifting down 3 units:[latex]\left(-1,0\right)\to \left(-1,-3\right)[/latex]
Graph of an absolute function, y=|x|, and how it was transformed to y=|x+1|-3.
Figure 9.

(Figure) shows the graph of[latex]\,h.[/latex]

The final function y=|x+1|-3.
Figure 10.

[/hidden-answer]

Try It

Given[latex]\,f\left(x\right)=|x|,\,[/latex]sketch a graph of[latex]\,h\left(x\right)=f\left(x-2\right)+4.[/latex]

[reveal-answer q=”fs-id1165137422205″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137422205″]Graph of h(x)=|x-2|+4.[/hidden-answer]

Identifying Combined Vertical and Horizontal Shifts

Write a formula for the graph shown in (Figure), which is a transformation of the toolkit square root function.

Graph of a square root function transposed right one unit and up 2.
Figure 11.
[reveal-answer q=”fs-id1165137549427″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137549427″]

The graph of the toolkit function starts at the origin, so this graph has been shifted 1 to the right and up 2. In function notation, we could write that as

[latex]h\left(x\right)=f\left(x-1\right)+2[/latex]

Using the formula for the square root function, we can write

[latex]h\left(x\right)=\sqrt{x-1}+2[/latex][/hidden-answer]

Analysis

Note that this transformation has changed the domain and range of the function. This new graph has domain[latex]\,\left[1,\infty \right)\,[/latex]and range[latex]\,\left[2,\infty \right).[/latex]

Try It

Write a formula for a transformation of the toolkit reciprocal function[latex]\,f\left(x\right)=\frac{1}{x}\,[/latex]that shifts the function’s graph one unit to the right and one unit up.

[reveal-answer q=”fs-id1165137727791″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137727791″]

[latex]g\left(x\right)=\frac{1}{x-1}+1[/latex]

[/hidden-answer]

Graphing Functions Using Reflections about the Axes

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).

Graph of the vertical and horizontal reflection of a function.
Figure 12. Vertical and horizontal reflections of a function.

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.

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.

  1. Multiply all outputs by –1 for a vertical reflection. The new graph is a reflection of the original graph about the x-axis.
  2. Multiply all inputs by –1 for a horizontal reflection. The new graph is a reflection of the original graph about the y-axis.

Reflecting a Graph Horizontally and Vertically

Reflect the graph of[latex]\,s\left(t\right)=\sqrt{t}[/latex] (a) vertically and (b) horizontally.

[reveal-answer q=”fs-id1165135696191″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135696191″]

  1. Reflecting the graph vertically means that each output value will be reflected over the horizontal t-axis as shown in (Figure).

    Graph of the vertical reflection of the square root function.
    Figure 13. Vertical reflection of the square root function

    Because each output value is the opposite of the original output value, we can write

    [latex]V\left(t\right)=-s\left(t\right)\text{ or }V\left(t\right)=-\sqrt{t}[/latex]

    Notice that this is an outside change, or vertical shift, that affects the output[latex]\,s\left(t\right)\,[/latex]values, so the negative sign belongs outside of the function.

  2. Reflecting horizontally means that each input value will be reflected over the vertical axis as shown in (Figure).

    Graph of the horizontal reflection of the square root function.
    Figure 14. Horizontal reflection of the square root function

    Because each input value is the opposite of the original input value, we can write

    [latex]H\left(t\right)=s\left(-t\right)\text{ or }H\left(t\right)=\sqrt{-t}[/latex]

    Notice that this is an inside change or horizontal change that affects the input values, so the negative sign is on the inside of the function.

    Note that these transformations can affect the domain and range of the functions. While the original square root function has domain[latex]\,\left[0,\infty \right)\,[/latex]and range[latex]\,\left[0,\infty \right),\,[/latex]the vertical reflection gives the[latex]\,V\left(t\right)\,[/latex]function the range[latex]\left(-\infty ,\,0\right][/latex] and the horizontal reflection gives the[latex]\,H\left(t\right)\,[/latex]function the domain[latex]\left(-\infty ,\,0\right].[/latex]

[/hidden-answer]

Try It

Reflect the graph of[latex]\,f\left(x\right)=|x-1|[/latex] (a) vertically and (b) horizontally.

[reveal-answer q=”fs-id1165134234186″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165134234186″]

  1. Graph of a vertically reflected absolute function.
  2. Graph of an absolute function translated one unit left.

[/hidden-answer]

Reflecting a Tabular Function Horizontally and Vertically

A function[latex]\,f\left(x\right)\,[/latex]is given as (Figure). Create a table for the functions below.

  1. [latex]\,g\left(x\right)=-f\left(x\right)[/latex]
  2. [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
[reveal-answer q=”fs-id1165134199548″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165134199548″]

  1. For[latex]\,g\left(x\right),\,[/latex]the negative sign outside the function indicates a vertical reflection, so the x-values stay the same and each output value will be the opposite of the original output value. See (Figure).

    [latex]x[/latex] 2 4 6 8
    [latex]\,g\left(x\right)\,[/latex] –1 –3 –7 –11
  2. For[latex]\,h\left(x\right),\,[/latex]the negative sign inside the function indicates a horizontal reflection, so each input value will be the opposite of the original input value and the[latex]\,h\left(x\right)\,[/latex]values stay the same as the[latex]\,f\left(x\right)\,[/latex]values. See (Figure).

    [latex]x[/latex] −2 −4 −6 −8
    [latex]h\left(x\right)[/latex] 1 3 7 11

[/hidden-answer]

Try It

A function[latex]\,f\left(x\right)\,[/latex]is given as (Figure). Create a table for the functions below.

  1. [latex]g\left(x\right)=-f\left(x\right)[/latex]
  2. [latex]h\left(x\right)=f\left(-x\right)[/latex]
[latex]x[/latex] −2 0 2 4
[latex]f\left(x\right)[/latex] 5 10 15 20
[reveal-answer q=”fs-id1165137553074″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137553074″]

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

    [latex]x[/latex] -2 0 2 4
    [latex]g\left(x\right)[/latex] [latex]-5[/latex] [latex]-10[/latex] [latex]-15[/latex] [latex]-20[/latex]
  2. [latex]h\left(x\right)=f\left(\text{−}x\right)[/latex]

    [latex]x[/latex] -2 0 2 4
    [latex]h\left(x\right)[/latex] 15 10 5 unknown

[/hidden-answer]

Applying a Learning Model Equation

A common model for learning has an equation similar to [latex]k\left(t\right)=-{2}^{-t}+1,\,[/latex] where [latex]k[/latex] is the percentage of mastery that can be achieved after [latex]t[/latex] practice sessions. This is a transformation of the function [latex]f\left(t\right)={2}^{t}[/latex] shown in (Figure). Sketch a graph of [latex]k\left(t\right).[/latex]

Graph of k(t)
Figure 15.
[reveal-answer q=”fs-id1165137731123″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137731123″]

This equation combines three transformations into one equation.

  • A horizontal reflection:[latex]f\left(\text{−}t\right)={2}^{-t}[/latex]
  • A vertical reflection:[latex]\,-f\left(\text{−}t\right)=-{2}^{-t}[/latex]
  • A vertical shift:[latex]\,-f\left(\text{−}t\right)+1=-{2}^{-t}+1[/latex]

We can sketch a graph by applying these transformations one at a time to the original function. Let us follow two points through each of the three transformations. We will choose the points (0, 1) and (1, 2).

  1. First, we apply a horizontal reflection: (0, 1) (–1, 2).
  2. Then, we apply a vertical reflection: (0, -1) (-1, –2)
  3. Finally, we apply a vertical shift: (0, 0) (-1, -1)).

This means that the original points, (0,1) and (1,2) become (0,0) and (-1,-1) after we apply the transformations.

In (Figure), the first graph results from a horizontal reflection. The second results from a vertical reflection. The third results from a vertical shift up 1 unit.

Graphs of all the transformations.
Figure 16.

[/hidden-answer]

Analysis

As a model for learning, this function would be limited to a domain of[latex]\,t\ge 0,\,[/latex]with corresponding range[latex]\,\left[0,1\right).[/latex]

Try It

Given the toolkit function[latex]\,f\left(x\right)={x}^{2},\,[/latex]graph[latex]\,g\left(x\right)=-f\left(x\right)\,[/latex]and[latex]\,h\left(x\right)=f\left(-x\right).\,[/latex]Take note of any surprising behavior for these functions.

[reveal-answer q=”fs-id1165137894550″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137894550″]Graph of x^2 and its reflections.

Notice:[latex]\,g\left(x\right)=f\left(-x\right)\,[/latex]looks the same as[latex]\,f\left(x\right)[/latex].

[/hidden-answer]

Determining Even and Odd Functions

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. A function whose graph is symmetric about the y-axis is called an even function.

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, as shown in (Figure).

Graph of x^3 and its reflections.
Figure 17. (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]

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.

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?

[reveal-answer q=”fs-id1165137784966″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137784966″]

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.

[/hidden-answer]

Analysis

Consider the graph of[latex]\,f\,[/latex]in (Figure). 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 18.

Try It

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

[reveal-answer q=”fs-id1165137757764″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137757764″]

even

[/hidden-answer]

Graphing Functions Using Stretches and Compressions

Adding a constant to the inputs or outputs of a function changed the position of a graph with respect to the axes, but it did not affect the shape of a graph. We now explore the effects of multiplying the inputs or outputs by some quantity.

We can transform the inside (input values) of a function or we can transform the outside (output values) of a function. Each change has a specific effect that can be seen graphically.

Vertical Stretches and Compressions

When we multiply a function by a positive constant, we get a function whose graph is stretched or compressed vertically in relation to the graph of the original function. If the constant is greater than 1, we get a vertical stretch; if the constant is between 0 and 1, we get a vertical compression. (Figure) shows a function multiplied by constant factors 2 and 0.5 and the resulting vertical stretch and compression.

Graph of a function that shows vertical stretching and compression.
Figure 19. Vertical stretch and compression

Vertical Stretches and Compressions

Given a function[latex]\,f\left(x\right),\,[/latex]a new function[latex]\,g\left(x\right)=af\left(x\right),\,[/latex]where[latex]\,a\,[/latex]is a constant, is a vertical stretch or vertical compression of the function[latex]\,f\left(x\right).[/latex]

  • If[latex]\,a>1,\,[/latex]then the graph will be stretched.
  • If[latex]\,0
  • If[latex]\,a<0,\,[/latex]then there will be combination of a vertical stretch or compression with a vertical reflection.

How To

Given a function, graph its vertical stretch.

  1. Identify the value of[latex]\,a.[/latex]
  2. Multiply all range values by[latex]\,a.[/latex]
  3. If[latex]\,\,a>1,\,\,[/latex]the graph is stretched by a factor of[latex]\,a.[/latex]

    If[latex]\,0

    If[latex]\,a<0,\,[/latex]the graph is either stretched or compressed and also reflected about the x-axis.

Graphing a Vertical Stretch

A function[latex]\,P\left(t\right)\,[/latex]models the population of fruit flies. The graph is shown in (Figure).

Graph to represent the growth of the population of fruit flies.
Figure 20.

A scientist is comparing this population to another population,[latex]\,Q,\,[/latex]whose growth follows the same pattern, but is twice as large. Sketch a graph of this population.

[reveal-answer q=”fs-id1165137482306″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137482306″]

Because the population is always twice as large, the new population’s output values are always twice the original function’s output values. Graphically, this is shown in (Figure).

If we choose four reference points, (0, 1), (3, 3), (6, 2) and (7, 0) we will multiply all of the outputs by 2.

The following shows where the new points for the new graph will be located.

[latex]\begin{array}{l}\left(0,\text{ }1\right)\to \left(0,\text{ }2\right)\hfill \\ \left(3,\text{ }3\right)\to \left(3,\text{ }6\right)\hfill \\ \left(6,\text{ }2\right)\to \left(6,\text{ }4\right)\hfill \\ \left(7,\text{ }0\right)\to \left(7,\text{ }0\right)\hfill \end{array}[/latex]
Graph of the population function doubled.
Figure 21.

Symbolically, the relationship is written as

[latex]Q\left(t\right)=2P\left(t\right)[/latex]

This means that for any input[latex]\,t,\,[/latex]the value of the function[latex]\,Q\,[/latex]is twice the value of the function[latex]\,P.\,[/latex]Notice that the effect on the graph is a vertical stretching of the graph, where every point doubles its distance from the horizontal axis. The input values,[latex]\,t,\,[/latex]stay the same while the output values are twice as large as before.[/hidden-answer]

How To

Given a tabular function and assuming that the transformation is a vertical stretch or compression, create a table for a vertical compression.

  1. Determine the value of [latex]\,a.[/latex]
  2. Multiply all of the output values by[latex]\,a.[/latex]

Finding a Vertical Compression of a Tabular Function

A function[latex]\,f\,[/latex]is given as (Figure). Create a table for the function[latex]\,g\left(x\right)=\frac{1}{2}f\left(x\right).[/latex]

[latex]x[/latex] 2 4 6 8
[latex]f\left(x\right)\,[/latex] 1 3 7 11
[reveal-answer q=”fs-id1165137780720″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137780720″]

The formula[latex]\,g\left(x\right)=\frac{1}{2}f\left(x\right)\,[/latex]tells us that the output values of[latex]\,g\,[/latex]are half of the output values of[latex]\,f\,[/latex]with the same inputs. For example, we know that[latex]\,f\left(4\right)=3.\,[/latex]Then

[latex]g\left(4\right)=\frac{1}{2}f\left(4\right)=\frac{1}{2}\left(3\right)=\frac{3}{2}[/latex]

We do the same for the other values to produce (Figure).

[latex]x[/latex] [latex]2[/latex] [latex]4[/latex] [latex]6[/latex] [latex]8[/latex]
[latex]g\left(x\right)[/latex] [latex]\frac{1}{2}[/latex] [latex]\frac{3}{2}[/latex] [latex]\frac{7}{2}[/latex] [latex]\frac{11}{2}[/latex]

[/hidden-answer]

Analysis

The result is that the function[latex]\,g\left(x\right)\,[/latex]has been compressed vertically by[latex]\,\frac{1}{2}.\,[/latex]Each output value is divided in half, so the graph is half the original height.

Try It

A function[latex]\,f\,[/latex]is given as (Figure). Create a table for the function[latex]\,g\left(x\right)=\frac{3}{4}f\left(x\right).[/latex]

[latex]x[/latex] 2 4 6 8
[latex]f\left(x\right)[/latex] 12 16 20 0
[reveal-answer q=”fs-id1165134261677″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165134261677″]

[latex]x[/latex] 2 4 6 8
[latex]g\left(x\right)[/latex] 9 12 15 0

[/hidden-answer]

Recognizing a Vertical Stretch

The graph in (Figure) is a transformation of the toolkit function[latex]\,f\left(x\right)={x}^{3}.\,[/latex]Relate this new function[latex]\,g\left(x\right)\,[/latex]to[latex]\,f\left(x\right),\,[/latex]and then find a formula for[latex]\,g\left(x\right).[/latex]

Graph of a transformation of f(x)=x^3.
Figure 22.
[reveal-answer q=”fs-id1165135173356″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135173356″]

When trying to determine a vertical stretch or shift, it is helpful to look for a point on the graph that is relatively clear. In this graph, it appears that[latex]\,g\left(2\right)=2.\,[/latex]With the basic cubic function at the same input,[latex]\,f\left(2\right)={2}^{3}=8.\,[/latex] Based on that, it appears that the outputs of[latex]\,g\,[/latex]are[latex]\,\frac{1}{4}\,[/latex]the outputs of the function[latex]\,f\,[/latex]because[latex]\,g\left(2\right)=\frac{1}{4}f\left(2\right).\,[/latex]From this we can fairly safely conclude that [latex]\,g\left(x\right)=\frac{1}{4}f\left(x\right).[/latex]

We can write a formula for[latex]\,g\,[/latex]by using the definition of the function[latex]\,f.[/latex]

[latex]g\left(x\right)=\frac{1}{4}f\left(x\right)=\frac{1}{4}{x}^{3}[/latex][/hidden-answer]

Try It

Write the formula for the function that we get when we stretch the identity toolkit function by a factor of 3, and then shift it down by 2 units.

[reveal-answer q=”fs-id1165137834210″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137834210″]

[latex]g\left(x\right)=3x-2[/latex]

[/hidden-answer]

Horizontal Stretches and Compressions

Now we consider changes to the inside of a function. When we multiply a function’s input by a positive constant, we get a function whose graph is stretched or compressed horizontally in relation to the graph of the original function. If the constant is between 0 and 1, we get a horizontal stretch; if the constant is greater than 1, we get a horizontal compression of the function.

Graph of the vertical stretch and compression of x^2.
Figure 23.

Given a function[latex]\,y=f\left(x\right),\,[/latex]the form[latex]\,y=f\left(bx\right)\,[/latex]results in a horizontal stretch or compression. Consider the function[latex]\,y={x}^{2}.\,[/latex]Observe (Figure). The graph of[latex]\,y={\left(0.5x\right)}^{2}\,[/latex]is a horizontal stretch of the graph of the function[latex]\,y={x}^{2}\,[/latex]by a factor of 2. The graph of[latex]\,y={\left(2x\right)}^{2}\,[/latex]is a horizontal compression of the graph of the function[latex]\,y={x}^{2}\,[/latex]by a factor of 2.

Horizontal Stretches and Compressions

Given a function[latex]\,f\left(x\right),\,[/latex]a new function[latex]\,g\left(x\right)=f\left(bx\right),\,[/latex]where[latex]\,b\,[/latex]is a constant, is a horizontal stretch or horizontal compression of the function[latex]\,f\left(x\right).[/latex]

  • If[latex]\,b>1,\,[/latex]then the graph will be compressed by[latex]\,\frac{1}{b}.[/latex]
  • If[latex]\,0
  • If[latex]\,b<0,\,[/latex]then there will be combination of a horizontal stretch or compression with a horizontal reflection.

How To

Given a description of a function, sketch a horizontal compression or stretch.

  1. Write a formula to represent the function.
  2. Set[latex]\,g\left(x\right)=f\left(bx\right)\,[/latex]where[latex]\,b>1\,[/latex]for a compression or[latex]\,0

Graphing a Horizontal Compression

Suppose a scientist is comparing a population of fruit flies to a population that progresses through its lifespan twice as fast as the original population. In other words, this new population,[latex]\,R,\,[/latex]will progress in 1 hour the same amount as the original population does in 2 hours, and in 2 hours, it will progress as much as the original population does in 4 hours. Sketch a graph of this population.

[reveal-answer q=”fs-id1165137837246″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137837246″]

Symbolically, we could write

[latex]\begin{array}{ccc}\hfill R\left(1\right)& =& P\left(2\right),\hfill \\ \hfill R\left(2\right)& =& P\left(4\right),\text{ and in general,}\hfill \\ \hfill R\left(t\right)& =& P\left(2t\right).\hfill \end{array}[/latex]

See (Figure) for a graphical comparison of the original population and the compressed population.

Two side-by-side graphs. The first graph has function for original population whose domain is [0,7] and range is [0,3]. The maximum value occurs at (3,3). The second graph has the same shape as the first except it is half as wide. It is a graph of transformed population, with a domain of [0, 3.5] and a range of [0,3]. The maximum occurs at (1.5, 3).
Figure 24. (a) Original population graph (b) Compressed population graph

[/hidden-answer]

Analysis

Note that the effect on the graph is a horizontal compression where all input values are half of their original distance from the vertical axis.

Finding a Horizontal Stretch for a Tabular Function

A function[latex]\,f\left(x\right)\,[/latex]is given as (Figure). Create a table for the function[latex]\,g\left(x\right)=f\left(\frac{1}{2}x\right).[/latex]

[latex]x[/latex] 2 4 6 8
[latex]f\left(x\right)[/latex] 1 3 7 11
[reveal-answer q=”fs-id1165137401572″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137401572″]

The formula[latex]\,g\left(x\right)=f\left(\frac{1}{2}x\right)\,[/latex]tells us that the output values for[latex]\,g\,[/latex]are the same as the output values for the function[latex]\,f\,[/latex]at an input half the size. Notice that we do not have enough information to determine[latex]\,g\left(2\right)\,[/latex]because[latex]\,g\left(2\right)=f\left(\frac{1}{2}\cdot 2\right)=f\left(1\right),\,[/latex]and we do not have a value for[latex]\,f\left(1\right)\,[/latex]in our table. Our input values to[latex]\,g\,[/latex]will need to be twice as large to get inputs for[latex]\,f\,[/latex]that we can evaluate. For example, we can determine[latex]\,g\left(4\right)\text{.}[/latex]

[latex]g\left(4\right)=f\left(\frac{1}{2}\cdot 4\right)=f\left(2\right)=1[/latex]

We do the same for the other values to produce (Figure).

[latex]x[/latex] 4 8 12 16
[latex]g\left(x\right)[/latex] 1 3 7 11

(Figure) shows the graphs of both of these sets of points.

Graph of the previous table.
Figure 25.

[/hidden-answer]

Analysis

Because each input value has been doubled, the result is that the function[latex]\,g\left(x\right)\,[/latex]has been stretched horizontally by a factor of 2.

Recognizing a Horizontal Compression on a Graph

Relate the function[latex]\,g\left(x\right)\,[/latex]to[latex]\,f\left(x\right)\,[/latex]in (Figure).

Graph of f(x) being vertically compressed to g(x).
Figure 26.
[reveal-answer q=”fs-id1165137737597″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165137737597″]The graph of[latex]\,g\left(x\right)\,[/latex]looks like the graph of[latex]\,f\left(x\right)\,[/latex]horizontally compressed. Because[latex]\,f\left(x\right)\,[/latex]ends at[latex]\,\left(6,4\right)\,[/latex]and[latex]\,g\left(x\right)\,[/latex]ends at[latex]\,\left(2,4\right),\,[/latex]we can see that the [latex]\,x\text{-}[/latex]values have been compressed by[latex]\,\frac{1}{3},\,[/latex]because[latex]\,6\left(\frac{1}{3}\right)=2.\,[/latex]We might also notice that[latex]\,g\left(2\right)=f\left(6\right)\,[/latex]and[latex]\,g\left(1\right)=f\left(3\right).\,[/latex]Either way, we can describe this relationship as[latex]\,g\left(x\right)=f\left(3x\right).\,[/latex]This is a horizontal compression by[latex]\,\frac{1}{3}.[/latex][/hidden-answer]

Analysis

Notice that the coefficient needed for a horizontal stretch or compression is the reciprocal of the stretch or compression. So to stretch the graph horizontally by a scale factor of 4, we need a coefficient of[latex]\,\frac{1}{4}\,[/latex]in our function:[latex]\,f\left(\frac{1}{4}x\right).\,[/latex]This means that the input values must be four times larger to produce the same result, requiring the input to be larger, causing the horizontal stretching.

Try It

Write a formula for the toolkit square root function horizontally stretched by a factor of 3.

[reveal-answer q=”fs-id1165132945546″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165132945546″]

[latex]g\left(x\right)=f\left(\frac{1}{3}x\right)\,[/latex]so using the square root function we get[latex]\,g\left(x\right)=\sqrt{\frac{1}{3}x}[/latex]

[/hidden-answer]

Performing a Sequence of Transformations

When combining transformations, it is very important to consider the order of the transformations. For example, vertically shifting by 3 and then vertically stretching by 2 does not create the same graph as vertically stretching by 2 and then vertically shifting by 3, because when we shift first, both the original function and the shift get stretched, while only the original function gets stretched when we stretch first.

When we see an expression such as[latex]\,\,2f\left(x\right)+3,\,[/latex]which transformation should we start with? The answer here follows nicely from the order of operations. Given the output value of[latex]\,f\left(x\right),\,[/latex]we first multiply by 2, causing the vertical stretch, and then add 3, causing the vertical shift. In other words, multiplication before addition.

Horizontal transformations are a little trickier to think about. When we write[latex]\,g\left(x\right)=f\left(2x+3\right),\,[/latex]for example, we have to think about how the inputs to the function[latex]\,g\,[/latex]relate to the inputs to the function[latex]\,\,f.\,[/latex]Suppose we know[latex]\,f\left(7\right)=12.\,[/latex]What input to[latex]\,g\,[/latex]would produce that output? In other words, what value of[latex]\,x\,[/latex]will allow[latex]\,g\left(x\right)=f\left(2x+3\right)=12?\,[/latex]We would need[latex]\,2x+3=7.\,[/latex]To solve for[latex]\,x,\,[/latex]we would first subtract 3, resulting in a horizontal shift, and then divide by 2, causing a horizontal compression.

This format ends up being very difficult to work with, because it is usually much easier to horizontally stretch a graph before shifting. We can work around this by factoring inside the function.

[latex]f\left(bx+p\right)=f\left(b\left(x+\frac{p}{b}\right)\right)[/latex]

Let’s work through an example.

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

We can factor out a 2.

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

Now we can more clearly observe a horizontal shift to the left 2 units and a horizontal compression. Factoring in this way allows us to horizontally stretch first and then shift horizontally.

Combining Transformations

When combining vertical transformations written in the form[latex]\,af\left(x\right)+k,\,[/latex]first vertically stretch by[latex]\,a\,[/latex]and then vertically shift by[latex]\,k.[/latex]

When combining horizontal transformations written in the form[latex]\,f\left(bx-h\right),\,[/latex]first horizontally shift by[latex]\,h\,[/latex]and then horizontally stretch by[latex]\,\frac{1}{b}.[/latex]

When combining horizontal transformations written in the form[latex]\,f\left(b\left(x-h\right)\right),\,[/latex]first horizontally stretch by[latex]\,\frac{1}{b}\,[/latex]and then horizontally shift by[latex]\,h.[/latex]

Horizontal and vertical transformations are independent. It does not matter whether horizontal or vertical transformations are performed first.

Finding a Triple Transformation of a Tabular Function

Given (Figure) for the function[latex]\,f\left(x\right),\,[/latex]create a table of values for the function[latex]\,g\left(x\right)=2f\left(3x\right)+1.[/latex]

[latex]x[/latex] 6 12 18 24
[latex]f\left(x\right)[/latex] 10 14 15 17
[reveal-answer q=”fs-id1165135151321″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165135151321″]

There are three steps to this transformation, and we will work from the inside out. Starting with the horizontal transformations,[latex]\,f\left(3x\right)\,[/latex]is a horizontal compression by[latex]\,\frac{1}{3},\,[/latex]which means we multiply each [latex]\,x\text{-}[/latex]value by[latex]\,\frac{1}{3}.[/latex]See (Figure).

[latex]x[/latex] 2 4 6 8
[latex]f\left(3x\right)[/latex] 10 14 15 17

Looking now to the vertical transformations, we start with the vertical stretch, which will multiply the output values by 2. We apply this to the previous transformation. See (Figure).

[latex]x[/latex] 2 4 6 8
[latex]2f\left(3x\right)[/latex] 20 28 30 34

Finally, we can apply the vertical shift, which will add 1 to all the output values. See (Figure).

[latex]x[/latex] 2 4 6 8
[latex]g\left(x\right)=2f\left(3x\right)+1[/latex] 21 29 31 35

[/hidden-answer]

Finding a Triple Transformation of a Graph

Use the graph of[latex]\,f\left(x\right)\,[/latex]in (Figure) to sketch a graph of[latex]\,k\left(x\right)=f\left(\frac{1}{2}x+1\right)-3.[/latex]

Graph of a half-circle.
Figure 27.
[reveal-answer q=”fs-id1165134148412″]Show Solution[/reveal-answer]
[hidden-answer a=”fs-id1165134148412″]

To simplify, let’s start by factoring out the inside of the function.

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

By factoring the inside, we can first horizontally stretch by 2, as indicated by the[latex]\,\frac{1}{2}\,[/latex]on the inside of the function. Remember that twice the size of 0 is still 0, so the point (0,2) remains at (0,2) while the point (2,0) will stretch to (4,0). See (Figure).

Graph of a vertically stretch half-circle.
Figure 28.

Next, we horizontally shift left by 2 units, as indicated by[latex]\,x+2.\,[/latex]See (Figure).

Graph of a vertically stretch and translated half-circle.
Figure 29.
Graph of a vertically stretch and translated half-circle.
Figure 30.

Last, we vertically shift down by 3 to complete our sketch, as indicated by the[latex]\,-3\,[/latex]on the outside of the function. See (Figure).][/hidden-answer]

Access this online resource for additional instruction and practice with transformation of functions.

Key Equations

Vertical shift [latex]g\left(x\right)=f\left(x\right)+k\,[/latex](up for[latex]\,k>0[/latex])
Horizontal shift [latex]g\left(x\right)=f\left(x-h\right)[/latex](right for[latex]\,h>0[/latex])
Vertical reflection [latex]g\left(x\right)=-f\left(x\right)[/latex]
Horizontal reflection [latex]g\left(x\right)=f\left(-x\right)[/latex]
Vertical stretch [latex]g\left(x\right)=af\left(x\right)\,[/latex]([latex]a>0[/latex]
)
Vertical compression [latex]g\left(x\right)=af\left(x\right)\,[/latex][latex]\left(0
Horizontal stretch [latex]g\left(x\right)=f\left(bx\right)[/latex][latex]\left(0
Horizontal compression. [latex]g\left(x\right)=f\left(bx\right)\,[/latex]([latex]b>1[/latex])

Key Concepts

  • A function can be shifted vertically by adding a constant to the output. See (Figure) and (Figure).
  • A function can be shifted horizontally by adding a constant to the input. See (Figure), (Figure), and (Figure).
  • Relating the shift to the context of a problem makes it possible to compare and interpret vertical and horizontal shifts. See (Figure).
  • Vertical and horizontal shifts are often combined. See (Figure) and (Figure).
  • A vertical reflection reflects a graph about the [latex]\,x\text{-}[/latex]axis. A graph can be reflected vertically by multiplying the output by –1.
  • A horizontal reflection reflects a graph about the [latex]y\text{-}[/latex]axis. A graph can be reflected horizontally by multiplying the input by –1.
  • A graph can be reflected both vertically and horizontally. The order in which the reflections are applied does not affect the final graph. See (Figure).
  • A function presented in tabular form can also be reflected by multiplying the values in the input and output rows or columns accordingly. See (Figure).
  • A function presented as an equation can be reflected by applying transformations one at a time. See (Figure).
  • Even functions are symmetric about the [latex]y\text{-}[/latex]axis, whereas odd functions are symmetric about the origin.
  • Even functions satisfy the condition[latex]\,f\left(x\right)=f\left(-x\right).[/latex]
  • Odd functions satisfy the condition[latex]\,f\left(x\right)=-f\left(-x\right).[/latex]
  • A function can be odd, even, or neither. See (Figure).
  • A function can be compressed or stretched vertically by multiplying the output by a constant. See (Figure), (Figure), and (Figure).
  • A function can be compressed or stretched horizontally by multiplying the input by a constant. See (Figure), (Figure), and (Figure).
  • The order in which different transformations are applied does affect the final function. Both vertical and horizontal transformations must be applied in the order given. However, a vertical transformation may be combined with a horizontal transformation in any order. See (Figure) and (Figure).

Section Exercises

Verbal

When examining the formula of a function that is the result of multiple transformations, how can you tell a horizontal shift from a vertical shift?

[reveal-answer q="fs-id1165133297372"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165133297372"]

A horizontal shift results when a constant is added to or subtracted from the input. A vertical shifts results when a constant is added to or subtracted from the output.

[/hidden-answer]

When examining the formula of a function that is the result of multiple transformations, how can you tell a horizontal stretch from a vertical stretch?

When examining the formula of a function that is the result of multiple transformations, how can you tell a horizontal compression from a vertical compression?

[reveal-answer q="fs-id1165135541729"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165135541729"]

A horizontal compression results when a constant greater than 1 is multiplied by the input. A vertical compression results when a constant between 0 and 1 is multiplied by the output.

[/hidden-answer]

When examining the formula of a function that is the result of multiple transformations, how can you tell a reflection with respect to the x-axis from a reflection with respect to the y-axis?

How can you determine whether a function is odd or even from the formula of the function?

[reveal-answer q="fs-id1165137644805"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165137644805"]

For a function[latex]\,f,\,[/latex]substitute[latex]\,\left(-x\right)\,[/latex]for[latex]\,\left(x\right)\,[/latex]in[latex]\,f\left(x\right).\,[/latex]Simplify. If the resulting function is the same as the original function,[latex]\,f\left(-x\right)=f\left(x\right),\,[/latex]then the function is even. If the resulting function is the opposite of the original function,[latex]\,f\left(-x\right)=-f\left(x\right),\,[/latex]then the original function is odd. If the function is not the same or the opposite, then the function is neither odd nor even.

[/hidden-answer]

Algebraic

For the following exercises, write a formula for the function obtained when the graph is shifted as described.

[latex]\,f\left(x\right)=\sqrt{x}\,[/latex]is shifted up 1 unit and to the left 2 units.

[latex]\,f\left(x\right)=|x|\,[/latex]
is shifted down 3 units and to the right 1 unit.

[reveal-answer q="fs-id1165133334343"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165133334343"]

[latex]g\left(x\right)=|x-1|-3[/latex]

[/hidden-answer]

[latex]\,f\left(x\right)=\frac{1}{x}\,[/latex]is shifted down 4 units and to the right 3 units.

[latex]\,f\left(x\right)=\frac{1}{{x}^{2}}\,[/latex]is shifted up 2 units and to the left 4 units.

[reveal-answer q="fs-id1165135524467"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165135524467"]

[latex]g\left(x\right)=\frac{1}{{\left(x+4\right)}^{2}}+2[/latex]

[/hidden-answer]

For the following exercises, describe how the graph of the function is a transformation of the graph of the original function[latex]\,f.[/latex]

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

[latex]y=f\left(x+43\right)[/latex]

[reveal-answer q="fs-id1165134038728"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165134038728"]

The graph of[latex]\,f\left(x+43\right)\,[/latex]is a horizontal shift to the left 43 units of the graph of[latex]\,f.[/latex]

[/hidden-answer]

[latex]y=f\left(x+3\right)[/latex]

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

[reveal-answer q="fs-id1165137400039"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165137400039"]

The graph of[latex]\,f\left(x-4\right)\,[/latex]is a horizontal shift to the right 4 units of the graph of[latex]\,f.[/latex]

[/hidden-answer]

[latex]y=f\left(x\right)+5[/latex]

[latex]y=f\left(x\right)+8[/latex]

[reveal-answer q="fs-id1165137704820"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165137704820"]

The graph of[latex]\,f\left(x\right)+8\,[/latex]is a vertical shift up 8 units of the graph of[latex]\,f.[/latex]

[/hidden-answer]

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

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

[reveal-answer q="fs-id1165135545762"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165135545762"]

The graph of[latex]\,f\left(x\right)-7\,[/latex]is a vertical shift down 7 units of the graph of[latex]\,f.[/latex]

[/hidden-answer]

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

[latex]y=f\left(x+4\right)-1[/latex]

[reveal-answer q="fs-id1165137782282"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165137782282"]

The graph of [latex]f\left(x+4\right)-1[/latex] is a horizontal shift to the left 4 units and a vertical shift down 1 unit of the graph of [latex]f.[/latex]

[/hidden-answer]

For the following exercises, determine the interval(s) on which the function is increasing and decreasing.

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

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

[reveal-answer q="fs-id1165133086204"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165133086204"]

decreasing on[latex]\,\left(-\infty ,-3\right)\,[/latex]and increasing on[latex]\,\left(-3,\infty \right)[/latex]

[/hidden-answer]

[latex]a\left(x\right)=\sqrt{-x+4}[/latex]

[latex]k\left(x\right)=-3\sqrt{x}-1[/latex]

[reveal-answer q="fs-id1165135628497"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165135628497"]

decreasing on [latex]\left(0,\,\infty \right)[/latex]

[/hidden-answer]

Graphical

For the following exercises, use the graph of[latex]\,f\left(x\right)={2}^{x}\,[/latex]shown in (Figure) to sketch a graph of each transformation of[latex]\,f\left(x\right).[/latex]

Graph of f(x).
[latex]g\left(x\right)={2}^{x}+1[/latex]

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

[reveal-answer q="fs-id1165137644136"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165137644136"]Graph of k(x).[/hidden-answer]

[latex]w\left(x\right)={2}^{x-1}[/latex]

For the following exercises, sketch a graph of the function as a transformation of the graph of one of the toolkit functions.

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

[reveal-answer q="fs-id1165135631538"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165135631538"]Graph of f(t).[/hidden-answer]

[latex]h\left(x\right)=|x-1|+4[/latex]

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

[reveal-answer q="fs-id1165134234193"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165134234193"]Graph of k(x).[/hidden-answer]

[latex]m\left(t\right)=3+\sqrt{t+2}[/latex]

Numeric

Tabular representations for the functions[latex]\,f,\,g,\,[/latex]and[latex]\,h\,[/latex]are given below. Write[latex]\,g\left(x\right)\,[/latex]and[latex]\,h\left(x\right)\,[/latex]as transformations of[latex]\,f\left(x\right).[/latex]

[latex]x[/latex] −2 −1 0 1 2
[latex]f\left(x\right)[/latex] −2 −1 −3 1 2
[latex]x[/latex] −1 0 1 2 3
[latex]g\left(x\right)[/latex] −2 −1 −3 1 2
[latex]x[/latex] −2 −1 0 1 2
[latex]h\left(x\right)[/latex] −1 0 −2 2 3
[reveal-answer q="fs-id1165137443424"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165137443424"]

[latex]g\left(x\right)=f\left(x-1\right),\,h\left(x\right)=f\left(x\right)+1[/latex]

[/hidden-answer]

Tabular representations for the functions[latex]\,f,\,g,\,[/latex]and[latex]\,h\,[/latex]are given below. Write[latex]\,g\left(x\right)\,[/latex]and[latex]\,h\left(x\right)\,[/latex]as transformations of[latex]\,f\left(x\right).[/latex]

[latex]x[/latex] −2 −1 0 1 2
[latex]f\left(x\right)[/latex] −1 −3 4 2 1
[latex]x[/latex] −3 −2 −1 0 1
[latex]g\left(x\right)[/latex] −1 −3 4 2 1
[latex]x[/latex] −2 −1 0 1 2
[latex]h\left(x\right)[/latex] −2 −4 3 1 0

For the following exercises, write an equation for each graphed function by using transformations of the graphs of one of the toolkit functions.

Graph of an absolute function.
[reveal-answer q="fs-id1165135516945"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165135516945"]

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

[/hidden-answer]

Graph of a parabola.
Graph of a square root function.
[reveal-answer q="fs-id1165135190190"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165135190190"]

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

[/hidden-answer]

Graph of an absolute function.
Graph of a parabola
[reveal-answer q="fs-id1165135560630"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165135560630"]

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

[/hidden-answer]

Graph of a square root function.
Graph of an absolute function.
[reveal-answer q="fs-id1165133030812"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165133030812"]

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

[/hidden-answer]

Graph of a square root function.

For the following exercises, use the graphs of transformations of the square root function to find a formula for each of the functions.

Graph of a square root function.
[reveal-answer q="fs-id1165134190724"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165134190724"]

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

[/hidden-answer]

Graph of a square root function.

For the following exercises, use the graphs of the transformed toolkit functions to write a formula for each of the resulting functions.

Graph of a parabola.
[reveal-answer q="fs-id1165137889877"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165137889877"]

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

[/hidden-answer]

Graph of a cubic function.
Graph of a square root function.
[reveal-answer q="fs-id1165134159665"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165134159665"]

[latex]f\left(x\right)=\sqrt{-x}+1[/latex]

[/hidden-answer]

Graph of an absolute function.

For the following exercises, determine whether the function is odd, even, or neither.

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

[reveal-answer q="fs-id1165135671506"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165135671506"]

even

[/hidden-answer]

[latex]g\left(x\right)=\sqrt{x}[/latex]

[latex]h\left(x\right)=\frac{1}{x}+3x[/latex]

[reveal-answer q="fs-id1165137610991"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165137610991"]

odd

[/hidden-answer]

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

[latex]g\left(x\right)=2{x}^{4}[/latex]

[reveal-answer q="fs-id1165137679220"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165137679220"]

even

[/hidden-answer]

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

For the following exercises, describe how the graph of each function is a transformation of the graph of the original function[latex]\,f.[/latex]

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

[reveal-answer q="fs-id1165135208810"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165135208810"]

The graph of[latex]\,g\,[/latex]is a vertical reflection (across the [latex]\,x[/latex]-axis) of the graph of[latex]\,f.[/latex]

[/hidden-answer]

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

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

[reveal-answer q="fs-id1165135193808"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165135193808"]

The graph of[latex]\,g\,[/latex]is a vertical stretch by a factor of 4 of the graph of[latex]\,f.[/latex]

[/hidden-answer]

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

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

[reveal-answer q="fs-id1165135481187"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165135481187"]

The graph of[latex]\,g\,[/latex]is a horizontal compression by a factor of[latex]\,\frac{1}{5}\,[/latex]of the graph of[latex]\,f.[/latex]

[/hidden-answer]

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

[latex]g\left(x\right)=f\left(\frac{1}{3}x\right)[/latex]

[reveal-answer q="fs-id1165137749379"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165137749379"]

The graph of[latex]\,g\,[/latex]is a horizontal stretch by a factor of 3 of the graph of[latex]\,f.[/latex]

[/hidden-answer]

[latex]g\left(x\right)=f\left(\frac{1}{5}x\right)[/latex]

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

[reveal-answer q="fs-id1165135301694"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165135301694"]

The graph of[latex]\,g\,[/latex]is a horizontal reflection across the[latex]\,y[/latex]-axis and a vertical stretch by a factor of 3 of the graph of[latex]\,f.[/latex]

[/hidden-answer]

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

For the following exercises, write a formula for the function[latex]\,g\,[/latex]that results when the graph of a given toolkit function is transformed as described.

The graph of[latex]\,f\left(x\right)=|x|\,[/latex]is reflected over the[latex]\,y[/latex]-axis and horizontally compressed by a factor of[latex]\,\frac{1}{4}[/latex]
.

[reveal-answer q="fs-id1165137810354"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165137810354"]

[latex]g\left(x\right)=|-4x|[/latex]

[/hidden-answer]

The graph of[latex]\,f\left(x\right)=\sqrt{x}\,[/latex]is reflected over the[latex]\,x[/latex]-axis and horizontally stretched by a factor of 2.

The graph of[latex]\,f\left(x\right)=\frac{1}{{x}^{2}}\,[/latex]is vertically compressed by a factor of[latex]\,\frac{1}{3},\,[/latex]then shifted to the left 2 units and down 3 units.

[reveal-answer q="fs-id1165137812539"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165137812539"]

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

[/hidden-answer]

The graph of[latex]\,f\left(x\right)=\frac{1}{x}\,[/latex]is vertically stretched by a factor of 8, then shifted to the right 4 units and up 2 units.

The graph of[latex]\,f\left(x\right)={x}^{2}\,[/latex]is vertically compressed by a factor of[latex]\,\frac{1}{2},\,[/latex]then shifted to the right 5 units and up 1 unit.

[reveal-answer q="fs-id1165133047549"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165133047549"]

[latex]g\left(x\right)=\frac{1}{2}{\left(x-5\right)}^{2}+1[/latex]

[/hidden-answer]

The graph of[latex]\,f\left(x\right)={x}^{2}\,[/latex]is horizontally stretched by a factor of 3, then shifted to the left 4 units and down 3 units.

For the following exercises, describe how the formula is a transformation of a toolkit function. Then sketch a graph of the transformation.

[latex]g\left(x\right)=4{\left(x+1\right)}^{2}-5[/latex]

[reveal-answer q="fs-id1165137445949"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165137445949"]

The graph of the function[latex]\,f\left(x\right)={x}^{2}\,[/latex]is shifted to the left 1 unit, stretched vertically by a factor of 4, and shifted down 5 units.

Graph of a parabola.[/hidden-answer]

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

[latex]h\left(x\right)=-2|x-4|+3[/latex]

[reveal-answer q="fs-id1165137762365"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165137762365"]

The graph of[latex]\,f\left(x\right)=|x|\,[/latex]is stretched vertically by a factor of 2, shifted horizontally 4 units to the right, reflected across the horizontal axis, and then shifted vertically 3 units up.

Graph of an absolute function.[/hidden-answer]

[latex]k\left(x\right)=-3\sqrt{x}-1[/latex]

[latex]m\left(x\right)=\frac{1}{2}{x}^{3}[/latex]

[reveal-answer q="fs-id1165137817390"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165137817390"]

The graph of the function[latex]\,f\left(x\right)={x}^{3}\,[/latex]is compressed vertically by a factor of[latex]\,\frac{1}{2}.[/latex]

Graph of a cubic function.[/hidden-answer]

[latex]n\left(x\right)=\frac{1}{3}|x-2|[/latex]

[latex]p\left(x\right)={\left(\frac{1}{3}x\right)}^{3}-3[/latex]
[reveal-answer q="fs-id1165135253220"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165135253220"]

The graph of the function is stretched horizontally by a factor of 3 and then shifted vertically downward by 3 units.

Graph of a cubic function.[/hidden-answer]

[latex]q\left(x\right)={\left(\frac{1}{4}x\right)}^{3}+1[/latex]

[latex]a\left(x\right)=\sqrt{-x+4}[/latex]

[reveal-answer q="fs-id1165135433479"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165135433479"]

The graph of[latex]\,f\left(x\right)=\sqrt{x}\,[/latex]is shifted right 4 units and then reflected across the vertical line[latex]\,x=4.[/latex]

Graph of a square root function.[/hidden-answer]

For the following exercises, use the graph in (Figure) to sketch the given transformations.

Graph of a polynomial.

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

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

[reveal-answer q="fs-id1165137936918"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165137936918"]Graph of a polynomial.[/hidden-answer]

[latex]g\left(x\right)=f\left(x+1\right)[/latex]

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

[reveal-answer q="fs-id1165134211351"]Show Solution[/reveal-answer]
[hidden-answer a="fs-id1165134211351"]Graph of a polynomial.[/hidden-answer]

Glossary

even function
a function whose graph is unchanged by horizontal reflection,[latex]\,f\left(x\right)=f\left(-x\right),\,[/latex]and is symmetric about the [latex]y\text{-}[/latex]axis
horizontal compression
a transformation that compresses a function’s graph horizontally, by multiplying the input by a constant[latex]\,b>1[/latex]
horizontal reflection
a transformation that reflects a function’s graph across the y-axis by multiplying the input by[latex]\,-1[/latex]
horizontal shift
a transformation that shifts a function’s graph left or right by adding a positive or negative constant to the input
horizontal stretch
a transformation that stretches a function’s graph horizontally by multiplying the input by a constant[latex]\,0
odd function
a function whose graph is unchanged by combined horizontal and vertical reflection,[latex]\,f\left(x\right)=-f\left(-x\right),\,[/latex]and is symmetric about the origin
vertical compression
a function transformation that compresses the function’s graph vertically by multiplying the output by a constant[latex]\,0
vertical reflection
a transformation that reflects a function’s graph across the x-axis by multiplying the output by[latex]\,-1[/latex]
vertical shift
a transformation that shifts a function’s graph up or down by adding a positive or negative constant to the output
vertical stretch
a transformation that stretches a function’s graph vertically by multiplying the output by a constant[latex]\,a>1[/latex]

License

Icon for the Creative Commons Attribution 4.0 International License

PPSC MAT 1420: Algebra and Trigonometry by OpenStax is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.

Share This Book