Precalculus with Integrated CalculusXYZ Homework Edition

⇩ Download ▾

5.4 Transformations of Graphs

Theorems 1.2, 1.3, 2.1, 3.1, 4.1 and 4.4 all describe ways in which the graph of a function can changed, or `transformed' to obtain the graph of a related function. The results and proofs of each of these theorems are virtually identical, and with the language of function composition, we can see better why.

Consider, for instance, Theorem 4.4, in which we describe how to transform the graph of f ( x ) = x r to F ( x ) = a ( b x h ) r + k . We may think of F as being build up from f by composing f with linear functions. Specifically, if we let i ( x ) = b x h , then ( f i ) ( x ) = f ( i ( x ) ) = f ( b x h ) = ( b x h ) r . If, additionally, we let and j ( x ) = a x + k , then ( j ( f i ) ) ( x ) = j ( ( f i ) ( x ) ) = j ( ( b x h ) r ) = a ( b x h ) r + k = F ( x ) . Hence, we can view F = j f i .

In this section, our goal is to generalize the aforementioned theorems to the graphs of all functions. Along the way, you'll see some very familiar arguments, but, additionally, we hope this section affords the reader an opportunity to not only see how these transformations work they way they do, but why.

Our motivational example for the results in this section is the graph of y = f ( x ) below. While we could formulate an expression for f ( x ) as a piecewise-defined function consisting of linear and constant parts, we wish to focus more on the geometry here. That being said, we do record some of the function values - the `key points' if you will - to track through each transformation.

Coordinate-plane figure.
Figure 5.49 y = f ( x )

x ( x , f ( x ) ) f ( x ) 0 ( 0 , 1 ) 1 2 ( 2 , 3 ) 3 4 ( 4 , 3 ) 3 5 ( 5 , 5 ) 5

Vertical and Horizontal Shifts

Suppose we wished to graph g ( x ) = f ( x ) + 2 . From a procedural point of view, we start with an input x to the function f and we obtain the output f ( x ) . The function g takes the output f ( x ) and adds 2 to it. Using the sample values for f from the table above we can create a table of values for g below, hence generating points on the graph of g .

x ( x , f ( x ) ) f ( x ) g ( x ) = f ( x ) + 2 ( x , g ( x ) ) 0 ( 0 , 1 ) 1 1 + 2 = 3 ( 0 , 3 ) 2 ( 2 , 3 ) 3 3 + 2 = 5 ( 2 , 5 ) 4 ( 4 , 3 ) 3 3 + 2 = 5 ( 4 , 5 ) 5 ( 5 , 5 ) 5 5 + 2 = 7 ( 5 , 7 )

In general, if ( a , b ) is on the graph of y = f ( x ) , then f ( a ) = b . Hence, g ( a ) = f ( a ) + 2 = b + 2 , so the point ( a , b + 2 ) is on the graph of g . In other words, to obtain the graph of g , we add 2 to the y -coordinate of each point on the graph of f .

Geometrically, adding 2 to the y -coordinate of a point moves the point 2 units above its previous location. Adding 2 to every y -coordinate on a graph en masse is moves or `shifts' the entire graph of f up 2 units. Notice that the graph retains the same basic shape as before, it is just 2 units above its original location. In other words, we connect the four `key points' we moved in the same manner in which they were connected before.

Coordinate-plane figure.
Figure 5.50 y = f ( x )

  add  2  to each  y -coordinate shift up  2  units

Coordinate-plane figure.
Figure 5.51 y = g ( x ) = f ( x ) + 2

You'll note that the domain of f and the domain of g are the same, namely [ 0 , 5 ] , but that the range of f is [ 1 , 5 ] while the range of g is [ 3 , 7 ] . In general, shifting a function vertically like this will leave the domain unchanged, but could very well affect the range.

You can easily imagine what would happen if we wanted to graph the function j ( x ) = f ( x ) 2 . Instead of adding 2 to each of the y -coordinates on the graph of f , we'd be subtracting 2 . Geometrically, we would be moving the graph down 2 units. We leave it to the reader to verify that the domain of j is the same as f , but the range of j is [ 1 , 3 ] . In general, we have:

To prove Theorem 5.6, we first note that f and F have the same domain (why?) Let c be an element in the domain of F and, hence, the domain of f . The fact that f and F are functions guarantees there is exactly one point on each of their graphs corresponding to x = c . On y = f ( x ) , this point is ( c , f ( c ) ) ; on y = F ( x ) , this point is ( c , F ( c ) ) = ( c , f ( c ) + k ) . This sets up a nice correspondence between the two graphs and shows that each of the points on the graph of F can be obtained to by adding k to each of the y -coordinates of the corresponding point on the graph of f . This proves Theorem 5.6. In the language of `inputs' and `outputs', Theorem 5.6 says adding to the output of a function causes the graph to shift vertically.

Keeping with the graph of y = f ( x ) above, suppose we wanted to graph g ( x ) = f ( x + 2 ) . In other words, we are looking to see what happens when we add 2 to the input of the function. Let's try to generate a table of values of g based on those we know for f . We quickly find that we run into some difficulties. For instance, when we substitute x = 4 into the formula g ( x ) = f ( x + 2 ) , we are asked to find f ( 4 + 2 ) = f ( 6 ) which doesn't exist because the domain of f is only [ 0 , 5 ] . The same thing happens when we attempt to find g ( 5 ) .

x ( x , f ( x ) ) f ( x ) g ( x ) = f ( x + 2 ) ( x , g ( x ) ) 0 ( 0 , 1 ) 1 g ( 0 ) = f ( 0 + 2 ) = f ( 2 ) = 3 ( 0 , 3 ) 2 ( 2 , 3 ) 3 g ( 2 ) = f ( 2 + 2 ) = f ( 4 ) = 3 ( 2 , 3 ) 4 ( 4 , 3 ) 3 g ( 4 ) = f ( 4 + 2 ) = f ( 6 ) = ? 5 ( 5 , 5 ) 5 g ( 5 ) = f ( 5 + 2 ) = f ( 7 ) = ?

What we need here is a new strategy. We know, for instance, f ( 0 ) = 1 . To determine the corresponding point on the graph of g , we need to figure out what value of x we must substitute into g ( x ) = f ( x + 2 ) so that the quantity x + 2 , works out to be 0 . Solving x + 2 = 0 gives x = 2 , and g ( 2 ) = f ( ( 2 ) + 2 ) = f ( 0 ) = 1 so ( 2 , 1 ) on the graph of g . To use the fact f ( 2 ) = 3 , we set x + 2 = 2 to get x = 0 . Substituting gives g ( 0 ) = f ( 0 + 2 ) = f ( 2 ) = 3 . Continuing in this fashion, we produce the table below.

x x + 2 g ( x ) = f ( x + 2 ) ( x , g ( x ) ) 2 0 g ( 2 ) = f ( 2 + 2 ) = f ( 0 ) = 1 ( 2 , 1 ) 0 2 g ( 0 ) = f ( 0 + 2 ) = f ( 2 ) = 3 ( 0 , 3 ) 2 4 g ( 2 ) = f ( 2 + 2 ) = f ( 4 ) = 3 ( 2 , 3 ) 3 5 g ( 3 ) = f ( 3 + 2 ) = f ( 5 ) = 5 ( 3 , 5 )

In summary, the points ( 0 , 1 ) , ( 2 , 3 ) , ( 4 , 3 ) and ( 5 , 5 ) on the graph of y = f ( x ) give rise to the points ( 2 , 1 ) , ( 0 , 3 ) , ( 2 , 3 ) and ( 3 , 5 ) on the graph of y = g ( x ) , respectively. In general, if ( a , b ) is on the graph of y = f ( x ) , then f ( a ) = b . Solving x + 2 = a gives x = a 2 so that g ( a 2 ) = f ( ( a 2 ) + 2 ) = f ( a ) = b . As such, ( a 2 , b ) is on the graph of y = g ( x ) . The point ( a 2 , b ) is exactly 2 units to the left of the point ( a , b ) so the graph of y = g ( x ) is obtained by shifting the graph y = f ( x ) to the left 2 units, as pictured below.

Coordinate-plane figure.
Figure 5.52 y = f ( x )

  subtract  2  from each  x -coordinate shift left  2  units

Coordinate-plane figure.
Figure 5.53 y = g ( x ) = f ( x + 2 )

Note that while the ranges of f and g are the same, the domain of g is [ 2 , 3 ] whereas the domain of f is [ 0 , 5 ] . In general, when we shift the graph horizontally, the range will remain the same, but the domain could change. If we set out to graph j ( x ) = f ( x 2 ) , we would find ourselves adding 2 to all of the x values of the points on the graph of y = f ( x ) to effect a shift to the right 2 units. Generalizing these notions produces the following result.

To prove Theorem 5.7, we first note the domains of f and F may be different. If c is in the domain of f , then the only number we know for sure is in the domain of F is c + h , since F ( c + h ) = f ( ( c + h ) h ) = f ( c ) . This sets up a nice correspondence between the domain of f and the domain of F which spills over to a correspondence between their graphs, The point ( c , f ( c ) ) is the one and only point on the graph of y = f ( x ) corresponding to x = c just as the point ( c + h , F ( c + h ) ) = ( c + h , f ( c ) ) is the one and only point on the graph of y = F ( x ) corresponding to x = c + h . This correspondence shows we may obtain the graph of F by adding h to each x -coordinate of each point on the graph of f , which establishes the theorem. In words, Theorem 5.7 says that subtracting from the input to a function amounts to shifting the graph horizontally.

Theorems 5.6 and 5.7 present a theme which will run common throughout the section: changes to the outputs from a function result in some kind of vertical change; changes to the inputs to a function result in some kind of horizontal change. We demonstrate Theorems 5.6 and 5.7 in the example below.

Reflections about the Coordinate Axes

We now turn our attention to reflections. We know from Section A.3 that to reflect a point ( x , y ) across the x -axis, we replace y with y . If ( x , y ) is on the graph of f , then y = f ( x ) , so replacing y with y is the same as replacing f ( x ) with f ( x ) . Hence, the graph of y = f ( x ) is the graph of f reflected across the x -axis. Similarly, the graph of y = f ( x ) is the graph of y = f ( x ) reflected across the y -axis.1

The proof of Theorem 5.8 follows in much the same way as the proofs of Theorems 5.6 and 5.7. If c is an element of the domain of f and F ( x ) = f ( x ) , then the point ( c , f ( c ) ) corresponds to the point ( c , F ( c ) ) = ( c , f ( c ) ) . Comparing the corresponding points ( c , f ( c ) ) and ( c , f ( c ) ) , we see they only difference is the y -coordinates are the exact opposite - indicating they are mirror-images across the x -axis. Similarly, if c is an element in the domain of f , then c corresponds to the element c in the domain of F ( x ) = f ( x ) since F ( c ) = f ( ( c ) ) = f ( c ) . Hence, the corresponding points here are ( c , f ( c ) ) and ( c , F ( c ) ) = ( c , f ( c ) ) . Comparing ( c , f ( c ) ) with ( c , f ( c ) ) , we see they are reflections about the y -axis.

Using the language of inputs and outputs, Theorem 5.8 says that multiplying the outputs from a function by 1 reflects its graph across the horizontal axis, while multiplying the inputs to a function by 1 reflects the graph across the vertical axis.

Applying Theorem 5.8 to the graph of y = f ( x ) given at the beginning of the section, we can graph y = f ( x ) by reflecting the graph of f about the x -axis.

x ( x , f ( x ) ) f ( x ) g ( x ) = f ( x ) ( x , g ( x ) ) 0 ( 0 , 1 ) 1 1 ( 0 , 1 ) 2 ( 2 , 3 ) 3 3 ( 2 , 3 ) 4 ( 4 , 3 ) 3 3 ( 4 , 3 ) 5 ( 5 , 5 ) 5 5 ( 5 , 5 )

Coordinate-plane figure.
Figure 5.67 y = f ( x )

  multiply each  y -coordinate by  1 reflect across  x -axis

Coordinate-plane figure.
Figure 5.68 y = f ( x )

By reflecting the graph of f across the y -axis, we obtain the graph of y = f ( x ) .

x x g ( x ) = f ( x ) ( x , g ( x ) ) 0 0 g ( 0 ) = f ( ( 0 ) ) = f ( 0 ) = 1 ( 0 , 1 ) 2 2 g ( 2 ) = f ( ( 2 ) ) = f ( 2 ) = 3 ( 2 , 3 ) 4 4 g ( 4 ) = f ( ( 4 ) ) = f ( 4 ) = 3 ( 4 , 3 ) 5 5 g ( 5 ) = f ( ( 5 ) ) = f ( 5 ) = 5 ( 5 , 5 )

Coordinate-plane figure.
Figure 5.69 y = f ( x )

  multiply each  x -coordinate by  1 reflect across  y -axis

Coordinate-plane figure.
Figure 5.70 y = f ( x )

Some remarks about Example 5.4.2 are in order. In number above, to find a point on the graph of y = f ( x + 8 ) , we took the given x -coordinate on our starting graph, 2 , and subtracted 8 first then multiplied by 1 . If this seems somehow `backwards' it should.

When evaluating the expression x + 8 , the order of operations mandates we multiply by 1 first then add 8 . Here, however, we weren't evaluating an expression - we were solving an equation: x + 8 = 2 , which meant we did the exact opposite steps in the opposite order.4 This exemplifies a larger theme with transformations: when adjusting inputs, the resulting points on the graph are obtained by applying the opposite operations indicated by the formula in the opposite order of operations.

On the other hand, when it came to multiple transformations involving the y -coordinates, we followed the order of operations. As in above, when it came to applying a reflection about the x -axis and a vertical shift, we applied the reflection first, then the shift. This is because instead of solving an equation to find the new y -coordinates, we were simplifying an expression. Again, this is an example of a much larger theme: when adjusting outputs, the resulting points on the graph are obtained by applying the stated operations in the usual order.

Last but not least, in number, to find f in terms of g , we reversed the steps used to transform f into g . Another tact is to approach the problem in the same way we approached transforming f into g : namely, starting with the graph of g , determine values h and k and signs ± so that f ( x ) = ± g ( ± x h ) + k . We leave this to the reader.

Scalings

We now turn our attention to our last class of transformations: scalings. A thorough discussion of scalings can get complicated because they are not as straight-forward as the previous transformations. A quick review of what we've covered so far, namely vertical shifts, horizontal shifts and reflections, will show you why those transformations are known as rigid transformations.

Simply put, rigid transformations preserve the distances between points on the graph - only their position and orientation in the plane change.5 If, however, we wanted to make a new graph twice as tall as a given graph, or one-third as wide, we would be affecting the distance between points. These sorts of transformations are hence called non-rigid. As always, we motivate the general theory with an example.

Suppose we wish to graph the function g ( x ) = 2 f ( x ) where f ( x ) is the function whose graph is given at the beginning of the section. From its graph, we can build a table of values for g as before.

Coordinate-plane figure.
Figure 5.87 y = f ( x )

x ( x , f ( x ) ) f ( x ) g ( x ) = 2 f ( x ) ( x , g ( x ) ) 0 ( 0 , 1 ) 1 2 ( 0 , 2 ) 2 ( 2 , 3 ) 3 6 ( 2 , 6 ) 4 ( 4 , 3 ) 3 6 ( 4 , 6 ) 5 ( 5 , 5 ) 5 10 ( 5 , 10 )

Graphing, we get:

Coordinate-plane figure.
Figure 5.88 y = f ( x )

  multiply each  y -coordinate by  2 vertical scaling by a factor of  2  

Coordinate-plane figure.
Figure 5.89 y = 2 f ( x )

In general, if ( a , b ) is on the graph of f , then f ( a ) = b so that g ( a ) = 2 f ( a ) = 2 b puts ( a , 2 b ) on the graph of g . In other words, to obtain the graph of g , we multiply all of the y -coordinates of the points on the graph of f by 2 . Multiplying all of the y -coordinates of all of the points on the graph of f by 2 causes what is known as a `vertical scaling6 by a factor of 2 .'

If we wish to graph y = 1 2 f ( x ) , we multiply the all of the y -coordinates of the points on the graph of f by 1 2 . This creates a `vertical scaling7 by a factor of 1 2 ' as seen below.

Coordinate-plane figure.
Figure 5.90 y = f ( x )

  multiply each  y -coordinate by  1 2 vertical scaling by a factor of  1 2  

Coordinate-plane figure.
Figure 5.91 y = 1 2 f ( x )

These results are generalized in the following theorem.

The proof of Theorem 5.9 mimics the proofs of Theorems 5.6 and 5.8. If c is in the domain of f , then ( c , f ( c ) ) is on the graph of f and the corresponding point on the graph of F ( x ) = a f ( x ) is ( c , F ( c ) ) = ( c , a f ( c ) ) . Comparing the points ( c , f ( c ) ) and ( c , a f ( c ) ) proves the theorem.

A few remarks about Theorem 5.9 are in order. First, a note about the verbiage. To the authors, the words `stretch', `expansion', and `dilation' all indicate something getting bigger. Hence, `stretched by a factor of 2 ' makes sense if we are scaling something by multiplying it by 2 . Similarly, we believe words like `shrink', `compression' and `contraction' all indicate something getting smaller, so if we scale something by a factor of 1 2 , we would say it `shrinks by a factor of 2 ' - not `shrinks by a factor of 1 2 '. This is why we have written the descriptions `stretch by a factor of a ' and `shrink by a factor of 1 a ' in the statement of the theorem.

Second, in terms of inputs and outputs, Theorem 5.9 says multiplying the outputs from a function by positive number a causes the graph to be vertically scaled by a factor of a . It is natural to ask what would happen if we multiply the inputs of a function by a positive number. This leads us to our last transformation of the section.

Referring to the graph of f given at the beginning of this section, suppose we want to graph g ( x ) = f ( 2 x ) . In other words, we are looking to see what effect multiplying the inputs to f by 2 has on its graph. If we attempt to build a table directly, we quickly run into the same problem we had in our discussion leading up to Theorem 5.7, as seen in the table on the left below.

We solve this problem in the same way we solved this problem before. For example, if we want to determine the point on g which corresponds to the point ( 2 , 3 ) on the graph of f , we set 2 x = 2 so that x = 1 . Substituting x = 1 into g ( x ) , we obtain g ( 1 ) = f ( 2 1 ) = f ( 2 ) = 3 , so that ( 1 , 3 ) is on the graph of g . Continuing in this fashion, we obtain the table on the lower right.

In general, if ( a , b ) is on the graph of f , then f ( a ) = b . Hence g ( a 2 ) = f ( 2 a 2 ) = f ( a ) = b so that ( a 2 , b ) is on the graph of g . In other words, to graph g we divide the x -coordinates of the points on the graph of f by 2 . This results in a horizontal scaling10 by a factor of 1 2 .

Coordinate-plane figure.
Figure 5.92 y = f ( x )

  multiply each  x -coordinate by  1 2 horizontal scaling by a factor of  1 2  

Coordinate-plane figure.
Figure 5.93 y = g ( x ) = f ( 2 x )

If, on the other hand, we wish to graph y = f ( 1 2 x ) , we end up multiplying the x -coordinates of the points on the graph of f by 2 which results in a horizontal scaling11 by a factor of 2 , as demonstrated below.

Coordinate-plane figure.
Figure 5.94 y = f ( x )

  multiply each  x -coordinate by  2 horizontal scaling by a factor of  2  

Coordinate-plane figure.
Figure 5.95 y = g ( x ) = f ( 1 2 x )

We have the following theorem.

The proof of Theorem 5.10 follows closely the spirit of the proof of Theorems 5.7 and 5.8. If c is an element of the domain of f , them the number c b corresponds to a domain element of F ( x ) = f ( b x ) since F ( c b ) = f ( b c b ) = f ( c ) . Hence, there is a correspondence between the point ( c , f ( c ) ) on the graph of f and the point ( c b , F ( c b ) ) = ( c b , f ( c ) ) on the graph of F . We can obtain ( c b , f ( c ) ) by dividing the x -coordinate of ( c , f ( c ) ) by b and the result follows.

Theorem 5.10 tells us that if we multiply the input to a function by b , the resulting graph is scaled horizontally by a factor of 1 b . The next example explores how vertical and horizontal scalings sometimes interact with each other and with the other transformations introduced in this section.

Transformations in Sequence

Now that we have studied three basic classes of transformations: shifts, reflections, and scalings, we present a result below which provides one algorithm to follow to transform the graph of y = f ( x ) into the graph of y = a f ( b x h ) + k without the need of using Theorems 5.6, 5.7, 5.8, 5.9 and 5.10 individually.

Theorem 5.11 is the ultimate generalization of Theorems 1.2, 1.3, 2.1, 3.1, 4.1 and 4.4. We note the underlying assumption here is that regardless of the order or number of shifts, reflections and scalings applied to the graph of a function f , we can always represent the final result in the form g ( x ) = a f ( b x h ) + k . Since each of these transformations can ultimately be traced back to composing f with linear functions,15 this fact is verified by showing compositions of linear functions results in a linear function.16

Theorem 5.11 can be established by generalizing the techniques developed in this section. Suppose ( c , f ( c ) ) is on the graph of f . To match up the inputs of f ( b x h ) and f ( c ) , we solve b x h = c and solve.

We first add the h (causing the horizontal shift) and then divide by b . If b is a positive number, this induces only a horizontal scaling by a factor of 1 b . If b < 0 , then we have a factor of 1 in play, and dividing by it induces a reflection about the y -axis. So we have x = c + h b as the input to g which corresponds to the input x = c to f .

We now evaluate g ( c + h b ) = a f ( b c + h b h ) + K = a f ( c + h h ) = a f ( c ) + k . We notice that the output from f is first multiplied by a . As with the constant b , if a > 0 , this induces only a vertical scaling. If a < 0 , then the 1 induces a reflection across the x -axis. Finally, we add k to the result, which is our vertical shift.

A less precise, but more intuitive way to paraphrase Theorem 5.11 is to think of the quantity b x h is the `inside' of the function f . What's happening inside f affects the inputs or x -coordinates of the points on the graph of f . To find the x -coordinates of the corresponding points on g , we undo what has been done to x in the same way we would solve an equation.

What's happening to the output can be thought of as things happening `outside' the function, f . Things happening outside affect the outputs or y -coordinates of the points on the graph of f . Here, we follow the usual order of operations to simplify the new y -value: we first multiply by a then add k to find the corresponding y -coordinates on the graph of g .

It needs to be stressed that our approach to handling multiple transformations, as summarized in Theorem 5.11 is only one approach. Your instructor may have a different algorithm. As always, the more you understand, the less you'll ultimately need to memorize, so whatever algorithm you choose to follow, it is worth thinking through each step both algebraically and geometrically.

We make good use of Theorem 5.11 in the following example.

The reader is strongly encouraged to graph the series of functions which shows the gradual transformation of the graph of f into the graph of g in Example 5.4.4. We have outlined the sequence of transformations in the above exposition; all that remains is to plot the five intermediate stages. Our next example turns the tables and asks for the formula of a function given a desired sequence of transformations.

It is instructive to show that the expression g ( x ) in Example 5.4.4 can be written as g ( x ) = a f ( b x h ) + k .

One way is to compare the graphs of f and g and work backwards. A more methodical way is to repeat the work of Example 5.4.4, but never substitute the formula for f ( x ) as follows:

  1. Per Theorem 5.6, g 1 ( x ) = f ( x ) + 2 .
  2. Per Theorem 5.8, g 2 ( x ) = g 1 ( x ) = [ f ( x ) + 2 ] = f ( x ) 2 .
  3. Per Theorem 5.7, g 3 ( x ) = g 2 ( x 1 ) = f ( x 1 ) 2 .
  4. Per Theorem 5.10, g 4 ( x ) = g 3 ( 2 x ) = f ( 2 x 1 ) 2 .
  5. Per Theorem 5.6, g 5 ( x ) = g 4 ( x ) + 3 = f ( 2 x 1 ) 2 + 3 = f ( 2 x 1 ) + 1 .
  6. Per Theorem 5.8, g 6 ( x ) = g 5 ( x ) = f ( 2 ( x ) 1 ) + 1 = f ( 2 x 1 ) + 1 .

Hence g ( x ) = f ( 2 x 1 ) + 1 . Note we can show f is even,18 so f ( 2 x 1 ) = f ( ( 2 x + 1 ) ) = f ( 2 x + 1 ) and obtain g ( x ) = f ( 2 x + 1 ) + 1 .

At the beginning of this section, we discussed how all of the transformations we'd be discussing are the result of composing given functions with linear functions. Not all transformations, not even all rigid transformations,19 fall into these categories.

For example, consider the graphs of y = f ( x ) and y = g ( x ) below.

Coordinate-plane figure.
Figure 5.127 y = f ( x )

Coordinate-plane figure.
Figure 5.128 y = g ( x )

In Exercise, we explore a non-linear transformation and revisit the pair of functions f and g then.

Exercises

Suppose ( 2 , 3 ) is on the graph of y = f ( x ) . In Exercises -, use Theorem 5.11 to find a point on the graph of the given transformed function.

  1. y = f ( x ) + 3
  2. y = f ( x + 3 )
  3. y = f ( x ) 1
  4. y = f ( x 1 )
  5. y = 3 f ( x )
  6. y = f ( 3 x )
  7. y = f ( x )
  8. y = f ( x )
  9. y = f ( x 3 ) + 1
  10. y = 2 f ( x + 1 )
  11. y = 10 f ( x )
  12. y = 3 f ( 2 x ) 1
  13. y = 1 2 f ( 4 x )
  14. y = 5 f ( 2 x + 1 ) + 3
  15. y = 2 f ( 1 x ) 1
  16. y = f ( 7 2 x 4 )
  17. y = f ( 3 x ) 1 2
  18. y = 4 f ( 3 x 1 ) 7

The complete graph of y = f ( x ) is given below. In Exercises -, use it and Theorem 5.11 to graph the given transformed function.

Figure: The graph of for Ex. -
Figure 5.129 The graph of y = f ( x ) for Ex. -
  1. y = f ( x ) + 1
  2. y = f ( x ) 2
  3. y = f ( x + 1 )
  4. y = f ( x 2 )
  5. y = 2 f ( x )
  6. y = f ( 2 x )
  7. y = 2 f ( x )
  8. y = f ( 2 x )
  9. y = 2 f ( 2 x )
  10. Some of the answers to Exercises - above should be the same. Which ones match up? What properties of the graph of y = f ( x ) contribute to the duplication?
  11. The function f used in Exercises - should look familiar. What is f ( x ) ? How does this this explain some of the duplication in the answers to Exercises - mentioned in Exercise ?

The complete graph of y = g ( t ) is given below. In Exercises -, use it and Theorem 5.11 to graph the given transformed function.

Figure: The graph of for Ex. -
Figure 5.130 The graph of y = g ( t ) for Ex. -
  1. y = g ( t ) 1
  2. y = g ( t + 1 )
  3. y = 1 2 g ( t )
  4. y = g ( 2 t )
  5. y = g ( t )
  6. y = g ( t )
  7. y = g ( t + 1 ) 1
  8. y = 1 g ( t )
  9. y = 1 2 g ( t + 1 ) 1

The complete graph of y = f ( x ) is given below. In Exercises -, use it and Theorem 5.11 to graph the given transformed function.

Figure: The graph of for Ex. -
Figure 5.131 The graph of y = f ( x ) for Ex. -
  1. g ( x ) = f ( x ) + 3
  2. h ( x ) = f ( x ) 1 2
  3. j ( x ) = f ( x 2 3 )
  4. a ( x ) = f ( x + 4 )
  5. b ( x ) = f ( x + 1 ) 1
  6. c ( x ) = 3 5 f ( x )
  7. d ( x ) = 2 f ( x )
  8. k ( x ) = f ( 2 3 x )
  9. m ( x ) = 1 4 f ( 3 x )
  10. n ( x ) = 4 f ( x 3 ) 6
  11. p ( x ) = 4 + f ( 1 2 x )
  12. q ( x ) = 1 2 f ( x + 4 2 ) 3

The complete graph of y = S ( t ) is given below.

Figure: The graph of
Figure 5.132 The graph of y = S ( t )

The purpose of Exercises - is to build up to the graph of y = 1 2 S ( t + 1 ) + 1 one step at a time.

  1. y = S 1 ( t ) = S ( t + 1 )
  2. y = S 2 ( t ) = S 1 ( t ) = S ( t + 1 )
  3. y = S 3 ( t ) = 1 2 S 2 ( t ) = 1 2 S ( t + 1 )
  4. y = S 4 ( t ) = S 3 ( t ) + 1 = 1 2 S ( t + 1 ) + 1

Let f ( x ) = x . Find a formula for a function g whose graph is obtained from f from the given sequence of transformations.

  1. (1) shift right 2 units; (2) shift down 3 units
  2. (1) shift down 3 units; (2) shift right 2 units
  3. (1) reflect across the x -axis; (2) shift up 1 unit
  4. (1) shift up 1 unit; (2) reflect across the x -axis
  5. (1) shift left 1 unit; (2) reflect across the y -axis; (3) shift up 2 units
  6. (1) reflect across the y -axis; (2) shift left 1 unit; (3) shift up 2 units
  7. (1) shift left 3 units; (2) vertical stretch by a factor of 2; (3) shift down 4 units
  8. (1) shift left 3 units; (2) shift down 4 units; (3) vertical stretch by a factor of 2
  9. (1) shift right 3 units; (2) horizontal shrink by a factor of 2; (3) shift up 1 unit
  10. (1) horizontal shrink by a factor of 2; (2) shift right 3 units; (3) shift up 1 unit

For Exercises -, use the given of y = f ( x ) to write each function in terms of f ( x ) .

Figure: The graph of for Ex. - .
Figure 5.133 The graph of y = f ( x ) for Ex. -.
  1. y = g ( x )

    Coordinate-plane figure.
    Figure 5.134
  2. y = h ( x )

    Coordinate-plane figure.
    Figure 5.135
  3. y = p ( x )

    Coordinate-plane figure.
    Figure 5.136
  4. y = q ( x )

    Coordinate-plane figure.
    Figure 5.137
  5. y = r ( x )

    Coordinate-plane figure.
    Figure 5.138
  6. y = s ( x )

    Coordinate-plane figure.
    Figure 5.139
  7. The graph of y = f ( x ) = x 3 is given below on the left and the graph of y = g ( x ) is given on the right. Find a formula for g based on transformations of the graph of f . Check your answer by confirming that the points shown on the graph of g satisfy the equation y = g ( x ) .

    Coordinate-plane figure.
    Figure 5.140 y = x 3
    Coordinate-plane figure.
    Figure 5.141 y = g ( x )
  8. Show that the composition of two linear functions is a linear function. Hence any (finite) sequence of transformations discussed in this section can be combined into the form given in Theorem 5.11.

    (HINT: Let f ( x ) = a x + b and g ( x ) = c x + d . Find ( f g ) ( x ) .)

  9. For many common functions, the properties of Algebra make a horizontal scaling the same as a vertical scaling by (possibly) a different factor. For example, 9 x = 3 x , so a horizontal compression of y = x by a factor of 9 results in the same graph as a vertical stretch of y = x by a factor of 3 .

    With the help of your classmates, find the equivalent vertical scaling produced by the horizontal scalings y = ( 2 x ) 3 , y = | 5 x | , y = 27 x 3 and y = ( 1 2 x ) 2 .

    What about y = ( 2 x ) 3 , y = | 5 x | , y = 27 x 3 and y = ( 1 2 x ) 2 ?

  10. Discuss the following questions with your classmates.

    • If f is even, what happens when you reflect the graph of y = f ( x ) across the y -axis?
    • If f is odd, what happens when you reflect the graph of y = f ( x ) across the y -axis?
    • If f is even, what happens when you reflect the graph of y = f ( x ) across the x -axis?
    • If f is odd, what happens when you reflect the graph of y = f ( x ) across the x -axis?
    • How would you describe symmetry about the origin in terms of reflections?
  11. We mentioned earlier in the section that, in general, the order in which transformations are applied matters, yet in our first example with two transformations the order did not matter. (You could perform the shift to the left followed by the shift down or you could shift down and then left to achieve the same result.) With the help of your classmates, determine the situations in which order does matter and those in which it does not.
  12. This Exercise is a follow-up to Exercise in Section 1.3.

    1. Fill in the table below.

      f ( x ) | f ( x ) | f ( | x | ) x + 2 x 2 4 x x 3 3 x 2 ( x + 1 ) 1 x + 2 3

    2. For each function f above, graph y = f ( x ) and y = | f ( x ) | using a graphing utility.

      1. Write a sentence (or two!) explaining how to obtain the graph of y = | f ( x ) | from y = f ( x ) .
      2. How does your explanation relate to Definition 1.9?
    3. For each function f above, graph y = f ( x ) and y = f ( | x | ) using a graphing utility.

      1. Write a sentence (or two!) explaining how to obtain the graph of y = f ( | x | ) from y = f ( x ) .
      2. How does your explanation relate to Definition 1.9?
    4. Use the graph of y = f ( x ) below to graph y = | f ( x ) | and y = f ( | x | ) .

      Coordinate-plane figure.
      Figure 5.142 y = f ( x )
    5. Referring to the functions f and g graphed on page, write g in terms of f .

Answers

  1. ( 2 , 0 )
  2. ( 1 , 3 )
  3. ( 2 , 4 )
  4. ( 3 , 3 )
  5. ( 2 , 9 )
  6. ( 2 3 , 3 )
  7. ( 2 , 3 )
  8. ( 2 , 3 )
  9. ( 5 , 2 )
  10. ( 1 , 6 )
  11. ( 2 , 13 )
  12. y = ( 1 , 10 )
  13. ( 2 , 3 2 )
  14. ( 1 2 , 12 )
  15. ( 1 , 7 )
  16. ( 1 2 , 3 )
  17. ( 2 3 , 2 )
  18. ( 1 , 1 )
  19. y = f ( x ) + 1

    Coordinate-plane figure.
    Figure 5.143
  20. y = f ( x ) 2

    Coordinate-plane figure.
    Figure 5.144
  21. y = f ( x + 1 )

    Coordinate-plane figure.
    Figure 5.145
  22. y = f ( x 2 )

    Coordinate-plane figure.
    Figure 5.146
  23. y = 2 f ( x )

    Coordinate-plane figure.
    Figure 5.147
  24. y = f ( 2 x )

    Coordinate-plane figure.
    Figure 5.148
  25. y = 2 f ( x )

    Coordinate-plane figure.
    Figure 5.149
  26. y = f ( 2 x )

    Coordinate-plane figure.
    Figure 5.150
  27. y = 2 f ( 2 x )

    Coordinate-plane figure.
    Figure 5.151
  28. y = g ( t ) 1

    Coordinate-plane figure.
    Figure 5.152
  29. y = g ( t + 1 )

    Coordinate-plane figure.
    Figure 5.153
  30. y = 1 2 g ( t )

    Coordinate-plane figure.
    Figure 5.154
  31. y = g ( 2 t )

    Coordinate-plane figure.
    Figure 5.155
  32. y = g ( t )

    Coordinate-plane figure.
    Figure 5.156
  33. y = g ( t )

    Coordinate-plane figure.
    Figure 5.157
  34. y = g ( t + 1 ) 1

    Coordinate-plane figure.
    Figure 5.158
  35. y = 1 g ( t )

    Coordinate-plane figure.
    Figure 5.159
  36. y = 1 2 g ( t + 1 ) 1

    Coordinate-plane figure.
    Figure 5.160
  37. g ( x ) = f ( x ) + 3

    Coordinate-plane figure.
    Figure 5.161
  38. h ( x ) = f ( x ) 1 2

    Coordinate-plane figure.
    Figure 5.162
  39. j ( x ) = f ( x 2 3 )

    Coordinate-plane figure.
    Figure 5.163
  40. a ( x ) = f ( x + 4 )

    Coordinate-plane figure.
    Figure 5.164
  41. b ( x ) = f ( x + 1 ) 1

    Coordinate-plane figure.
    Figure 5.165
  42. c ( x ) = 3 5 f ( x )

    Coordinate-plane figure.
    Figure 5.166
  43. d ( x ) = 2 f ( x )

    Coordinate-plane figure.
    Figure 5.167
  44. k ( x ) = f ( 2 3 x )

    Coordinate-plane figure.
    Figure 5.168
  45. m ( x ) = 1 4 f ( 3 x )

    Coordinate-plane figure.
    Figure 5.169
  46. n ( x ) = 4 f ( x 3 ) 6

    Coordinate-plane figure.
    Figure 5.170
  47. p ( x ) = 4 + f ( 1 2 x ) = f ( 2 x + 1 ) + 4

    Coordinate-plane figure.
    Figure 5.171
  48. q ( x ) = 1 2 f ( x + 4 2 ) 3 = 1 2 f ( 1 2 x + 2 ) 3

    Coordinate-plane figure.
    Figure 5.172
  49. y = S 1 ( t ) = S ( t + 1 )

    Coordinate-plane figure.
    Figure 5.173
  50. y = S 2 ( t ) = S 1 ( t ) = S ( t + 1 )

    Coordinate-plane figure.
    Figure 5.174
  51. y = S 3 ( t ) = 1 2 S 2 ( t ) = 1 2 S ( t + 1 )

    Coordinate-plane figure.
    Figure 5.175
  52. y = S 4 ( t ) = S 3 ( t ) + 1 = 1 2 S ( t + 1 ) + 1

    Coordinate-plane figure.
    Figure 5.176
  53. g ( x ) = x 2 3
  54. g ( x ) = x 2 3
  55. g ( x ) = x + 1
  56. g ( x ) = ( x + 1 ) = x 1
  57. g ( x ) = x + 1 + 2
  58. g ( x ) = ( x + 1 ) + 2 = x 1 + 2
  59. g ( x ) = 2 x + 3 4
  60. g ( x ) = 2 ( x + 3 4 ) = 2 x + 3 8
  61. g ( x ) = 2 x 3 + 1
  62. g ( x ) = 2 ( x 3 ) + 1 = 2 x 6 + 1
  63. g ( x ) = f ( x ) + 1
  64. h ( x ) = f ( x 2 )
  65. p ( x ) = f ( x 2 ) 1
  66. q ( x ) = 2 f ( x ) = 2 f ( x )
  67. r ( x ) = 2 f ( x + 1 ) 3
  68. s ( x ) = 2 f ( x + 1 ) 3 = 2 f ( x 1 ) + 3
  69. g ( x ) = 2 x + 3 3 1 or g ( x ) = 2 x 3 3 1
    1. f ( x ) | f ( x ) | f ( | x | ) x + 2 | x + 2 | | x | + 2 x 2 4 x | x 2 4 x | | x | 2 3 | x | = x 2 4 | x | x 3 3 x 2 | x 3 3 x 2 | | x | 3 3 | x | 2 = | x | 3 3 x 2 ( x + 1 ) 1 | ( x + 1 ) 1 | ( | x | + 1 ) 1 x + 2 3 | x + 2 3 | | x | + 2 3

      1. To graph y = | f ( x ) | from the graph of y = f ( x ) , reflect about the x -axis any portion of the graph of y = f ( x ) which is below the x -axis.
      2. If the graph is below the x -axis, then f ( x ) < 0 . Since | f ( x ) | = f ( x ) if f ( x ) < 0 , we are graphing y = f ( x ) for these values of x which is a reflection across the x -axis.
      1. To graph y = f ( | x | ) from the graph of y = f ( x ) , replace the graph of y = f ( x ) for x 0 with the reflection about the y -axis of the graph of y = f ( x ) for x 0 .
      2. If x < 0 , then | x | = x , so f ( | x | ) = f ( x ) . Since if x < 0 , x > 0 , this means we reflect the graph of y = f ( x ) about the y -axis for x > 0 only.
    2. Coordinate-plane figure.
      Figure 5.177 y = | f ( x ) |
      Figure: - note the domain
      Figure 5.178 y = f ( | x | ) - note the domain
    3. g ( x ) = | f ( x ) | .

Adapted from Precalculus, Preliminary 4th Edition (integrated calculus), by Carl Stitz and Jeff Zeager (stitz-zeager.com), licensed under CC BY-NC-SA 3.0. Changes were made: reformatted as an accessible XYZ web edition. License: CC-BY-NC-SA-3.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.