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

Similar documents
Transformations of Functions. 1. Shifting, reflecting, and stretching graphs Symmetry of functions and equations

Topic 2 Transformations of Functions

2.2 Absolute Value Functions

Section 2.2: Absolute Value Functions, from College Algebra: Corrected Edition by Carl Stitz, Ph.D. and Jeff Zeager, Ph.D. is available under a

Unit 2: Function Transformation Chapter 1

Section 1.6: Graphs of Functions, from College Algebra: Corrected Edition by Carl Stitz, Ph.D. and Jeff Zeager, Ph.D. is available under a Creative

Using Characteristics of a Quadratic Function to Describe Its Graph. The graphs of quadratic functions can be described using key characteristics:

Intermediate Algebra. Gregg Waterman Oregon Institute of Technology

Exponential and Logarithmic Functions

Exponential and Logarithmic Functions

Transformations of Absolute Value Functions. Compression A compression is a. function a function of the form f(x) = a 0 x - h 0 + k

Pre-Algebra Notes Unit 8: Graphs and Functions

Chapter Goals: Evaluate limits. Evaluate one-sided limits. Understand the concepts of continuity and differentiability and their relationship.

1.1 Horizontal & Vertical Translations

1.3 Introduction to Functions

LESSON 3.1 INTRODUCTION TO GRAPHING

Module 2, Section 2 Graphs of Trigonometric Functions

20 Calculus and Structures

0 COORDINATE GEOMETRY

It s Not Complex Just Its Solutions Are Complex!

TIPS4RM: MHF4U: Unit 1 Polynomial Functions

Graphing square root functions. What would be the base graph for the square root function? What is the table of values?

9. f(x) = x f(x) = x g(x) = 2x g(x) = 5 2x. 13. h(x) = 1 3x. 14. h(x) = 2x f(x) = x x. 16.

1-1. Functions. Lesson 1-1. What You ll Learn. Active Vocabulary. Scan Lesson 1-1. Write two things that you already know about functions.

2-3. Attributes of Absolute Value Functions. Key Concept Absolute Value Parent Function f (x)= x VOCABULARY TEKS FOCUS ESSENTIAL UNDERSTANDING

LINEAR PROGRAMMING. Straight line graphs LESSON

3.2 Polynomial Functions of Higher Degree

Essential Question: What are the ways you can transform the graph of the function f(x)? Resource Locker. Investigating Translations

Section 1.5 Transformation of Functions

Graphing Quadratics: Vertex and Intercept Form

Lines and Their Slopes

Four Ways to Represent a Function: We can describe a specific function in the following four ways: * verbally (by a description in words);

Chapter 1. Limits and Continuity. 1.1 Limits

L3 Rigid Motion Transformations 3.1 Sequences of Transformations Per Date

Lesson 11 Skills Maintenance. Activity 1. Model. The addition problem is = 4. The subtraction problem is 5 9 = 4.

Implicit differentiation

Polar Functions Polar coordinates

Image Metamorphosis By Affine Transformations

Graphs, Linear Equations, and Functions

Graphing Cubic Functions

CHECK Your Understanding

Transformations. which the book introduces in this chapter. If you shift the graph of y 1 x to the left 2 units and up 3 units, the

M O T I O N A N D D R A W I N G

4.2 Graphs of Rational Functions

2.8 Distance and Midpoint Formulas; Circles

Transforming Polynomial Functions

Graphing Radical Functions

Graphs and Functions

2.3 Polynomial Functions of Higher Degree with Modeling

Unit 5 Lesson 2 Investigation 1

The Graph Scale-Change Theorem

4.4. Concavity and Curve Sketching. Concavity

1.1. Parent Functions and Transformations Essential Question What are the characteristics of some of the basic parent functions?

EXAMPLE A {(1, 2), (2, 4), (3, 6), (4, 8)}

11.4. You may have heard about the Richter scale rating. The Richter scale was. I Feel the Earth Move Logarithmic Functions KEY TERMS LEARNING GOALS

Matrix Representations

Laurie s Notes. Overview of Section 6.3

Appendix A.6 Functions

Transformations of y = x 2 Parent Parabola

Graphing Review. Math Tutorial Lab Special Topic

Graph each pair of functions on the same coordinate plane See margin. Technology Activity: A Family of Functions

Section 4.3 Features of a Line

Vocabulary. Term Page Definition Clarifying Example. dependent variable. domain. function. independent variable. parent function.

A Rational Shift in Behavior. Translating Rational Functions. LEARnIng goals

= = The number system. Module. Glossary Math Tools... 33

1.5 LIMITS. The Limit of a Function

Translations, Reflections, and Rotations

8.5 Quadratic Functions and Their Graphs

Think About. Unit 5 Lesson 3. Investigation. This Situation. Name: a Where do you think the origin of a coordinate system was placed in creating this

6-3. Transformations of Square Root Functions. Key Concept Square Root Function Family VOCABULARY TEKS FOCUS ESSENTIAL UNDERSTANDING

2.3. Horizontal and Vertical Translations of Functions. Investigate

The Graph of an Equation

3.5 Rational Functions

10. f(x) = 3 2 x f(x) = 3 x 12. f(x) = 1 x 2 + 1

Name Class Date. subtract 3 from each side. w 5z z 5 2 w p - 9 = = 15 + k = 10m. 10. n =

12.4 The Ellipse. Standard Form of an Ellipse Centered at (0, 0) (0, b) (0, -b) center

Integrating ICT into mathematics at KS4&5

ACTIVITY #6 SLOPE IN TWO AND THREE DIMENSIONS AND VERTICAL CHANGE ON A PLANE

Appendix C: Review of Graphs, Equations, and Inequalities

The Marching Cougars Lesson 9-1 Transformations

Functions Project Core Precalculus Extra Credit Project

Math 1050 Lab Activity: Graphing Transformations

science. In this course we investigate problems both algebraically and graphically.

Putting the V in Absolute Value Defining Absolute Value Functions and Transformations

Polynomial and Rational Functions

Optional: Building a processor from scratch

Limits. f(x) and lim. g(x) g(x)

Week 10. Topic 1 Polynomial Functions

Shifting, Reflecting, and Stretching Graphs

Divisibility Rules and Their Explanations

Unit 4 Part 1: Graphing Quadratic Functions. Day 1: Vertex Form Day 2: Intercept Form Day 3: Standard Form Day 4: Review Day 5: Quiz

2.2 Differential Forms

PROBLEM SOLVING WITH EXPONENTIAL FUNCTIONS

Section 0.3 The Order of Operations

Chapter 1 Notes, Calculus I with Precalculus 3e Larson/Edwards

Exponential Functions. Christopher Thomas

CMSC 425: Lecture 10 Basics of Skeletal Animation and Kinematics

Radical Expressions and Functions What is a square root of 25? How many square roots does 25 have? Do the following square roots exist?

Roberto s Notes on Differential Calculus Chapter 8: Graphical analysis Section 5. Graph sketching

Transforming Linear Functions

Transcription:

0 Relations and Functions.7 Transformations In this section, we stud how the graphs of functions change, or transform, when certain specialized modifications are made to their formulas. The transformations we will stud fall into three broad categories: shifts, reflections and scalings, and we will present them in that order. Suppose the graph below is the complete graph of a function f. (, ) (0, ) (, ) (, ) = f() The Fundamental Graphing Principle for Functions sas that for a point (a, b) to be on the graph, f(a) = b. In particular, we know f(0) =, f() =, f() = and f() =. Suppose we wanted to graph the function defined b the formula g() = f() +. Let s take a minute to remind ourselves of what g is doing. We start with an input to the function f and we obtain the output f(). The function g takes the output f() and adds to it. In order to graph g, we need to graph the points (, g()). How are we to find the values for g() without a formula for f()? The answer is that we don t need a formula for f(), we just need the values of f(). The values of f() are the values on the graph of = f(). For eample, using the points indicated on the graph of f, we can make the following table. (, f()) f() g() = f() + (, g()) 0 (0, ) (0, ) (, ) (, ) (, ) (, ) (, ) 7 (, 7) In general, if (a, b) is on the graph of = f(), then f(a) = b, so g(a) = f(a) + = b +. Hence, (a, b+) is on the graph of g. In other words, to obtain the graph of g, we add to the -coordinate of each point on the graph of f. Geometricall, adding to the -coordinate of a point moves the point units above its previous location. Adding to ever -coordinate on a graph en masse is usuall described as shifting the graph up units. Notice that the graph retains the same basic shape as before, it is just units above its original location. In other words, we connect the four points we moved in the same manner in which the were connected before. We have the results side-b-side at the top of the net page.

.7 Transformations 7 7 (, 7) 6 (, ) (, ) (, ) 6 (0, ) (, ) (, ) (0, ) = f() shift up units add to each -coordinate = g() = f() + You ll note that the domain of f and the domain of g are the same, namel [0, ], but that the range of f is [, ] while the range of g is [, 7]. In general, shifting a function verticall like this will leave the domain unchanged, but could ver well affect the range. You can easil imagine what would happen if we wanted to graph the function j() = f(). Instead of adding to each of the -coordinates on the graph of f, we d be subtracting. Geometricall, we would be moving the graph down units. We leave it to the reader to verif that the domain of j is the same as f, but the range of j is [, ]. What we have discussed is generalized in the following theorem. Theorem.. Vertical Shifts. Suppose f is a function and k is a positive number. To graph = f() + k, shift the graph of = f() up k units b adding k to the -coordinates of the points on the graph of f. To graph = f() k, shift the graph of = f() down k units b subtracting k from the -coordinates of the points on the graph of f. The ke to understanding Theorem. and, indeed, all of the theorems in this section comes from an understanding of the Fundamental Graphing Principle for Functions. If (a, b) is on the graph of f, then f(a) = b. Substituting = a into the equation = f() + k gives = f(a) + k = b + k. Hence, (a, b + k) is on the graph of = f() + k, and we have the result. In the language of inputs and outputs, Theorem. can be paraphrased as Adding to, or subtracting from, the output of a function causes the graph to shift up or down, respectivel. So what happens if we add to or subtract from the input of the function? Keeping with the graph of = f() above, suppose we wanted to graph g() = f( + ). In other words, we are looking to see what happens when we add to the input of the function. Let s tr to generate a table of values of g based on those we know for f. We quickl find that we run into some difficulties. We have spent a lot of time in this tet showing ou that f( + ) and f() + are, in general, wildl different algebraic animals. We will see momentaril that their geometr is also dramaticall different.

Relations and Functions (, f()) f() g() = f( + ) (, g()) 0 (0, ) f(0 + ) = f() = (0, ) (, ) f( + ) = f() = (, ) (, ) f( + ) = f(6) =? (, ) f( + ) = f(7) =? When we substitute = into the formula g() = f( + ), we are asked to find f( + ) = f(6) which doesn t eist because the domain of f is onl [0, ]. The same thing happens when we attempt to find g(). What we need here is a new strateg. We know, for instance, f(0) =. To determine the corresponding point on the graph of g, we need to figure out what value of we must substitute into g() = f( + ) so that the quantit +, works out to be 0. Solving + = 0 gives =, and g( ) = f(( ) + ) = f(0) = so (, ) on the graph of g. To use the fact f() =, we set + = to get = 0. Substituting gives g(0) = f(0 + ) = f() =. Continuing in this fashion, we get + g() = f( + ) (, g()) 0 g( ) = f(0) = (, ) 0 g(0) = f() = (0, ) g() = f() = (, ) g() = f() = (, ) In summar, the points (0, ), (, ), (, ) and (, ) on the graph of = f() give rise to the points (, ), (0, ), (, ) and (, ) on the graph of = g(), respectivel. In general, if (a, b) is on the graph of = f(), then f(a) = b. Solving + = a gives = a so that g(a ) = f((a ) + ) = f(a) = b. As such, (a, b) is on the graph of = g(). The point (a, b) is eactl units to the left of the point (a, b) so the graph of = g() is obtained b shifting the graph = f() to the left units, as pictured below. (, ) (, ) (, ) (, ) (0, ) (, ) (0, ) (, ) = f() shift left units subtract from each -coordinate = g() = f( + ) Note that while the ranges of f and g are the same, the domain of g is [, ] whereas the domain of f is [0, ]. In general, when we shift the graph horizontall, the range will remain the same, but the domain could change. If we set out to graph j() = f( ), we would find ourselves adding

.7 Transformations to all of the values of the points on the graph of = f() to effect a shift to the right units. Generalizing these notions produces the following result. Theorem.. Horizontal Shifts. Suppose f is a function and h is a positive number. To graph = f( + h), shift the graph of = f() left h units b subtracting h from the -coordinates of the points on the graph of f. To graph = f( h), shift the graph of = f() right h units b adding h to the -coordinates of the points on the graph of f. In other words, Theorem. sas that adding to or subtracting from the input to a function amounts to shifting the graph left or right, respectivel. Theorems. and. present a theme which will run common throughout the section: changes to the outputs from a function affect the -coordinates of the graph, resulting in some kind of vertical change; changes to the inputs to a function affect the -coordinates of the graph, resulting in some kind of horizontal change. Eample.7... Graph f() =. Plot at least three points.. Use our graph in to graph g() =.. Use our graph in to graph j() =.. Use our graph in to graph m() = +. Solution.. Owing to the square root, the domain of f is 0, or [0, ). We choose perfect squares to build our table and graph below. From the graph we verif the domain of f is [0, ) and the range of f is also [0, ). f() (, f()) 0 0 (, ) (, ) (, ) (, ) = f() =. The domain of g is the same as the domain of f, since the onl condition on both functions is that 0. If we compare the formula for g() with f(), we see that g() = f(). In other words, we have subtracted from the output of the function f. B Theorem., we know that in order to graph g, we shift the graph of f down one unit b subtracting from each of the -coordinates of the points on the graph of f. Appling this to the three points we have specified on the graph, we move to (0, ), (, ) to (, 0), and (, ) to (, ).

Relations and Functions The rest of the points follow suit, and we connect them with the same basic shape as before. We confirm the domain of g is [0, ) and find the range of g to be [, ). (, ) (, ) = f() = shift down unit subtract from each -coordinate (, ) (, 0) (0, ) = g() =. Solving 0 gives, so the domain of j is [, ). To graph j, we note that j() = f( ). In other words, we are subtracting from the input of f. According to Theorem., this induces a shift to the right of the graph of f. We add to the -coordinates of the points on the graph of f and get the result below. The graph reaffirms that the domain of j is [, ) and tells us that the range of j is [0, ). (, ) (, ) = f() = shift right unit add to each -coordinate (, ) (, ) (, 0) = j() =. To find the domain of m, we solve + 0 and get [, ). Comparing the formulas of f() and m(), we have m() = f( + ). We have being added to an input, indicating a horizontal shift, and being subtracted from an output, indicating a vertical shift. We leave it to the reader to verif that, in this particular case, the order in which we perform these transformations is immaterial; we will arrive at the same graph regardless as to which transformation we appl first. We follow the convention inputs first, and to that end we first tackle the horizontal shift. Letting m () = f( + ) denote this intermediate step, Theorem. tells us that the graph of = m () is the graph of f shifted to the left units. Hence, we subtract from each of the -coordinates of the points on the graph of f. We shall see in the net eample that order is generall important when appling more than one transformation to a graph. We could equall have chosen the convention outputs first.

.7 Transformations (, ) (, ) (, 0) (, ) (, ) = f() = shift left units subtract from each -coordinate = m () = f( + ) = + Since m() = f( + ) and f( + ) = m (), we have m() = m (). We can appl Theorem. and obtain the graph of m b subtracting from the -coordinates of each of the points on the graph of m (). The graph verifies that the domain of m is [, ) and we find the range of m to be [, ). (, 0) (, ) (, ) (, 0) (, ) = m () = f( + ) = + shift down units subtract from each -coordinate (, ) = m() = m () = + Keep in mind that we can check our answer to an of these kinds of problems b showing that an of the points we ve moved lie on the graph of our final answer. For eample, we can check that (, ) is on the graph of m b computing m( ) = ( ) + = 0 = We now turn our attention to reflections. We know from Section. that to reflect a point (, ) across the -ais, we replace with. If (, ) is on the graph of f, then = f(), so replacing with is the same as replacing f() with f(). Hence, the graph of = f() is the graph of f reflected across the -ais. Similarl, the graph of = f( ) is the graph of f reflected across the -ais. Returning to the language of inputs and outputs, multipling the output from a function b reflects its graph across the -ais, while multipling the input to a function b reflects the graph across the -ais. The epressions f() and f( ) should look familiar - the are the quantities we used in Section.6 to test if a function was even, odd or neither. The interested reader is invited to eplore the role of reflections and smmetr of functions. What happens if ou reflect an even function across the -ais? What happens if ou reflect an odd function across the -ais? What about the -ais?

6 Relations and Functions Theorem.. Reflections. Suppose f is a function. To graph = f(), reflect the graph of = f() across the -ais b multipling the -coordinates of the points on the graph of f b. To graph = f( ), reflect the graph of = f() across the -ais b multipling the -coordinates of the points on the graph of f b. Appling Theorem. to the graph of = f() given at the beginning of the section, we can graph = f() b reflecting the graph of f about the -ais (, ) (, ) (, ) (0, ) (0, ) (, ) (, ) = f() reflect across -ais multipl each -coordinate b = f() B reflecting the graph of f across the -ais, we obtain the graph of = f( ). (, ) (, ) (, ) (, ) (, ) (, ) (, ) (0, ) (0, ) = f() reflect across -ais multipl each -coordinate b = f( ) With the addition of reflections, it is now more important than ever to consider the order of transformations, as the net eample illustrates. Eample.7.. Let f() =. Use the graph of f from Eample.7. to graph the following functions. Also, state their domains and ranges.. g() =. j() =. m() =

.7 Transformations 7 Solution.. The mere sight of usuall causes alarm, if not panic. When we discussed domains in Section., we clearl banished negatives from the radicands of even roots. However, we must remember that is a variable, and as such, the quantit isn t alwas negative. For eample, if =, =, thus = ( ) = is perfectl well-defined. To find the domain analticall, we set 0 which gives 0, so that the domain of g is (, 0]. Since g() = f( ), Theorem. tells us that the graph of g is the reflection of the graph of f across the -ais. We accomplish this b multipling each -coordinate on the graph of f b, so that the points, (, ), and (, ) move to, (, ), and (, ), respectivel. Graphicall, we see that the domain of g is (, 0] and the range of g is the same as the range of f, namel [0, ). (, ) (, ) = f() = reflect across -ais multipl each -coordinate b (, ) (, ) = g() = f( ) =. To determine the domain of j() =, we solve 0 and get, or (, ]. To determine which transformations we need to appl to the graph of f to obtain the graph of j, we rewrite j() = + = f( + ). Comparing this formula with f() =, we see that not onl are we multipling the input b, which results in a reflection across the -ais, but also we are adding, which indicates a horizontal shift to the left. Does it matter in which order we do the transformations? If so, which order is the correct order? Let s consider the point (, ) on the graph of f. We refer to the discussion leading up to Theorem.. We know f() = and wish to find the point on = j() = f( + ) which corresponds to (, ). We set + = and solve. Our first step is to subtract from both sides to get =. Subtracting from the -coordinate is shifting the point (, ) to the left. From =, we then multipl both sides b to get =. Multipling the -coordinate b corresponds to reflecting the point about the -ais. Hence, we perform the horizontal shift first, then follow it with the reflection about the -ais. Starting with f() =, we let j () be the intermediate function which shifts the graph of f units to the left, j () = f( + ). (, ) (, ) = f() = shift left units subtract from each -coordinate (, ) (, ) (, 0) = j () = f( + ) = + Or divide - it amounts to the same thing.

8 Relations and Functions To obtain the function j, we reflect the graph of j about -ais. Theorem. tells us we have j() = j ( ). Putting it all together, we have j() = j ( ) = f( + ) = +, which is what we want. 6 From the graph, we confirm the domain of j is (, ] and we get that the range is [0, ). (, ) (, ) (, 0) = j () = + reflect across -ais multipl each -coordinate b (, ) (, ) (, 0) = j() = j ( ) = +. The domain of m works out to be the domain of f, [0, ). Rewriting m() = +, we see m() = f() +. Since we are multipling the output of f b and then adding, we once again have two transformations to deal with: a reflection across the -ais and a vertical shift. To determine the correct order in which to appl the transformations, we imagine tring to determine the point on the graph of m which corresponds to (, ) on the graph of f. Since in the formula for m(), the input to f is just, we substitute to find m() = f() + = + =. Hence, (, ) is the corresponding point on the graph of m. If we closel eamine the arithmetic, we see that we first multipl f() b, which corresponds to the reflection across the -ais, and then we add, which corresponds to the vertical shift. If we define an intermediate function m () = f() to take care of the reflection, we get (, ) (, ) = f() = reflect across -ais multipl each -coordinate b (, ) (, ) = m () = f() = To shift the graph of m up units, we set m() = m () +. Since m () = f(), when we put it all together, we get m() = m () + = f() + = +. We see from the graph that the range of m is (, ]. 6 If we had done the reflection first, then j () = f( ). Following this b a shift left would give us j() = j ( + ) = f( ( + )) = f( ) = which isn t what we want. However, if we did the reflection first and followed it b a shift to the right units, we would have arrived at the function j(). We leave it to the reader to verif the details.

.7 Transformations 9 (0, ) (, ) (, ) (, ) (, ) shift up units add to each -coordinate = m () = = m() = m () + = + We now turn our attention to our last class of transformations: scalings. A thorough discussion of scalings can get complicated because the are not as straight-forward as the previous transformations. A quick review of what we ve covered so far, namel vertical shifts, horizontal shifts and reflections, will show ou wh those transformations are known as rigid transformations. Simpl put, the do not change the shape of the graph, onl its position and orientation in the plane. If, however, we wanted to make a new graph twice as tall as a given graph, or one-third as wide, we would be changing the shape of the graph. This tpe of transformation is called non-rigid for obvious reasons. Not onl will it be important for us to differentiate between modifing inputs versus outputs, we must also pa close attention to the magnitude of the changes we make. As ou will see shortl, the Mathematics turns out to be easier than the associated grammar. Suppose we wish to graph the function g() = f() where f() 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. (, ) (0, ) (, ) (, ) = f() (, f()) f() g() = f() (, g()) 0 (0, ) (0, ) (, ) 6 (, 6) (, ) 6 (, 6) (, ) 0 (, 0) In general, if (a, b) is on the graph of f, then f(a) = b so that g(a) = f(a) = b puts (a, b) on the graph of g. In other words, to obtain the graph of g, we multipl all of the -coordinates of the points on the graph of f b. Multipling all of the -coordinates of all of the points on the graph of f b causes what is known as a vertical scaling 7 b a factor of, and the results are given on the net page. 7 Also called a vertical stretching, vertical epansion or vertical dilation b a factor of.

0 Relations and Functions 0 0 (, 0) 9 9 8 8 7 6 (, ) 7 6 (, 6) (, 6) (, ) (, ) (0, ) (0, ) = f() vertical scaling b a factor of multipl each -coordinate b = f() If we wish to graph = f(), we multipl the all of the -coordinates of the points on the graph of f b. This creates a vertical scaling8 b a factor of as seen below. (, ) (0, ) (, ) (, ) = f() vertical scaling b a factor of multipl each -coordinate b ( ) 0, ( ), ( ), ( ), = f() These results are generalized in the following theorem. Theorem.. Vertical Scalings. Suppose f is a function and a > 0. To graph = af(), multipl all of the -coordinates of the points on the graph of f b a. We sa the graph of f has been verticall scaled b a factor of a. If a >, we sa the graph of f has undergone a vertical stretching (epansion, dilation) b a factor of a. If 0 < a <, we sa the graph of f has undergone a vertical shrinking (compression, contraction) b a factor of a. 8 Also called vertical shrinking, vertical compression or vertical contraction b a factor of.

.7 Transformations A few remarks about Theorem. are in order. First, a note about the verbiage. To the authors, the words stretching, epansion, and dilation all indicate something getting bigger. Hence, stretched b a factor of makes sense if we are scaling something b multipling it b. Similarl, we believe words like shrinking, compression and contraction all indicate something getting smaller, so if we scale something b a factor of, we would sa it shrinks b a factor of - not shrinks b a factor of. This is wh we have written the descriptions stretching b a factor of a and shrinking b a factor of a in the statement of the theorem. Second, in terms of inputs and outputs, Theorem. sas multipling the outputs from a function b positive number a causes the graph to be verticall scaled b a factor of a. It is natural to ask what would happen if we multipl the inputs of a function b 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() = f(). In other words, we are looking to see what effect multipling the inputs to f b has on its graph. If we attempt to build a table directl, we quickl run into the same problem we had in our discussion leading up to Theorem., as seen in the table on the left below. We solve this problem in the same wa we solved this problem before. For eample, if we want to determine the point on g which corresponds to the point (, ) on the graph of f, we set = so that =. Substituting = into g(), we obtain g() = f( ) = f() =, so that (, ) is on the graph of g. Continuing in this fashion, we obtain the table on the lower right. (, f()) f() g() = f() (, g()) g() = f() (, g()) 0 (0, ) f( 0) = f(0) = (0, ) 0 0 g(0) = f(0) = (, ) f( ) = f() = (, ) g() = f() = (, ) (, ) f( ) = f(8) =? g() = f() = (, ) (, ) f( ) = f(0) =? g ( ) ( = f() =, ) In general, if (a, b) is on the graph of f, then f(a) = b. Hence g ( ) ( a = f a ( ) = f(a) = b so that a, b) is on the graph of g. In other words, to graph g we divide the -coordinates of the points on the graph of f b. This results in a horizontal scaling 9 b a factor of. (, ) (, ) (, ) (, ) (, ) (, ) (0, ) (0, ) = f() horizontal scaling b a factor of multipl each -coordinate b = g() = f() 9 Also called horizontal shrinking, horizontal compression or horizontal contraction b a factor of.

Relations and Functions If, on the other hand, we wish to graph = f ( ), we end up multipling the -coordinates of the points on the graph of f b which results in a horizontal scaling 0 b a factor of, as demonstrated below. (, ) (0, ) (, ) (, ) (, ) (8, ) (0, ) (0, ) 6 7 8 9 0 = f() horizontal scaling b a factor of multipl each -coordinate b 6 7 8 9 0 = g() = f ( ) We have the following theorem. Theorem.6. Horizontal Scalings. Suppose f is a function and b > 0. To graph = f(b), divide all of the -coordinates of the points on the graph of f b b. We sa the graph of f has been horizontall scaled b a factor of b. If 0 < b <, we sa the graph of f has undergone a horizontal stretching (epansion, dilation) b a factor of b. If b >, we sa the graph of f has undergone a horizontal shrinking (compression, contraction) b a factor of b. Theorem.6 tells us that if we multipl the input to a function b b, the resulting graph is scaled horizontall b a factor of b since the -values are divided b b to produce corresponding points on the graph of = f(b). The net eample eplores how vertical and horizontal scalings sometimes interact with each other and with the other transformations introduced in this section. Eample.7.. Let f() =. Use the graph of f from Eample.7. to graph the following functions. Also, state their domains and ranges.. g() =. j() = 9 +. m() = Solution.. First we note that the domain of g is [0, ) for the usual reason. Net, we have g() = f() so b Theorem., we obtain the graph of g b multipling all of the -coordinates of the points on the graph of f b. The result is a vertical scaling of the graph of f b a factor of. We find the range of g is also [0, ). 0 Also called horizontal stretching, horizontal epansion or horizontal dilation b a factor of.

.7 Transformations 6 6 (, 6) (, ) (, ) = f() = vertical scale b a factor of multipl each -coordinate b (, ) = g() = f() =. To determine the domain of j, we solve 9 0 to find 0. Our domain is once again [0, ). We recognize j() = f(9) and b Theorem.6, we obtain the graph of j b dividing the -coordinates of the points on the graph of f b 9. From the graph, we see the range of j is also [0, ). (, ) (, ) ( 9, ) ( 9, ) = f() = horizontal scale b a factor of 9 multipl each -coordinate b 9 = j() = f(9) = 9. Solving + 0 gives, so the domain of m is [, ). To take advantage of what we know of transformations, we rewrite m() = + +, or m() = f ( + ) +. Focusing on the inputs first, we note that the input to f in the formula for m() is +. Multipling the b corresponds to a horizontal stretching b a factor of, and adding the corresponds to a shift to the left b. As before, we resolve which to perform first b thinking about how we would find the point on m corresponding to a point on f, in this case, (, ). To use f() =, we solve + =. Our first step is to subtract the (the horizontal shift) to obtain =. Net, we multipl b (the horizontal stretching) and obtain =. We define two intermediate functions to handle first the shift, then the stretching. In accordance with Theorem., m () = f ( + ) = + will shift the graph of f to the left units.

Relations and Functions (, ) (, ) (, ) (, ) (, 0) = f() = shift left units subtract from each -coordinate = m () = f ( + ) = + ( Net, m () = m ) = + will, according to Theorem.6, horizontall stretch the graph of m b a factor of. (, ) (, ) (, ) (, ) (, 0) (, 0) = m () = + horizontal scale b a factor of multipl each -coordinate b ( = m () = m ) = + We now eamine what s happening to the outputs. From m() = f ( + ) +, we see that the output from f is being multiplied b (a reflection about the -ais) and then a is added (a vertical shift up ). As before, we can determine the correct order b looking at how the point (, ) is moved. We alread know that to make use of the equation f() =, we need to substitute =. We get m() = f ( () + ) + = f() + = + =. We see that f() (the output from f) is first multiplied b then the is added meaning we first reflect the graph about the -ais then shift up. Theorem. tells us m () = m () will handle the reflection. (, ) (, ) (, 0) (, 0) (, ) = m () = + reflect across -ais multipl each -coordinate b (, ) = m () = m () = +

.7 Transformations Finall, to handle the vertical shift, Theorem. gives m() = m () +, and we see that the range of m is (, ]. (, 0) (, ) (, ) = m () = m () = + shift up unit add to each -coordinate (, ) (, 0) (, ) = m() = m () + = + + Some comments about Eample.7. are in order. First, recalling the properties of radicals from Intermediate Algebra, we know that the functions g and j are the same, since j and g have the same domains and j() = 9 = 9 = = g(). (We invite the reader to verif that all of the points we plotted on the graph of g lie on the graph of j and vice-versa.) Hence, for f() =, a vertical stretch b a factor of and a horizontal shrinking b a factor of 9 result in the same transformation. While this kind of phenomenon is not universal, it happens commonl enough with some of the families of functions studied in College Algebra that it is worth of note. Secondl, to graph the function m, we applied a series of four transformations. While it would have been easier on the authors to simpl inform the reader of which steps to take, we have strived to eplain wh the order in which the transformations were applied made sense. We generalize the procedure in the theorem below. Theorem.7. Transformations. Suppose f is a function. If A 0 and B 0, then to graph g() = Af(B + H) + K. Subtract H from each of the -coordinates of the points on the graph of f. This results in a horizontal shift to the left if H > 0 or right if H < 0.. Divide the -coordinates of the points on the graph obtained in Step b B. This results in a horizontal scaling, but ma also include a reflection about the -ais if B < 0.. Multipl the -coordinates of the points on the graph obtained in Step b A. This results in a vertical scaling, but ma also include a reflection about the -ais if A < 0.. Add K to each of the -coordinates of the points on the graph obtained in Step. This results in a vertical shift up if K > 0 or down if K < 0. Theorem.7 can be established b generalizing the techniques developed in this section. Suppose (a, b) is on the graph of f. Then f(a) = b, and to make good use of this fact, we set B + H = a and solve. We first subtract the H (causing the horizontal shift) and then divide b B. If B

6 Relations and Functions is a positive number, this induces onl a horizontal scaling b a factor of B. If B < 0, then we have a factor of in pla, and dividing b it induces a reflection about the -ais. So we have = a H B as the input to g which corresponds to the input = a to f. We now evaluate g ( ) ( a H B = Af B a H B + H) + K = Af(a) + K = Ab + K. We notice that the output from f is first multiplied b A. As with the constant B, if A > 0, this induces onl a vertical scaling. If A < 0, then the induces a reflection across the -ais. Finall, we add K to the result, which is our vertical shift. A less precise, but more intuitive wa to paraphrase Theorem.7 is to think of the quantit B + H is the inside of the function f. What s happening inside f affects the inputs or -coordinates of the points on the graph of f. To find the -coordinates of the corresponding points on g, we undo what has been done to in the same wa 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 -coordinates of the points on the graph of f. Here, we follow the usual order of operations agreement: we first multipl b A then add K to find the corresponding -coordinates on the graph of g. Eample.7.. Below is the complete graph of = f(). Use it to graph g() = f( ). (0, ) (, 0) (, 0) (, ) (, ) Solution. We use Theorem.7 to track the five ke points (, ), (, 0), (0, ), (, 0) and (, ) indicated on the graph of f to their new locations. We first rewrite g() in the form presented in Theorem.7, g() = f( + ) +. We set + equal to the -coordinates of the ke points and solve. For eample, solving + =, we first subtract to get = then divide b to get =. Subtracting the is a horizontal shift to the left unit. Dividing b can be thought of as a two step process: dividing b which compresses the graph horizontall b a factor of followed b dividing (multipling) b which causes a reflection across the -ais. We summarize the results in the table on the net page.

.7 Transformations 7 (a, f(a)) a + = a (, ) + = = (, 0) + = = (0, ) 0 + = 0 = (, 0) + = = (, ) + = = Net, we take each of the values and substitute them into g() = f( + ) + to get the corresponding -values. Substituting =, and using the fact that f( ) =, we get ( ) g = ( ( ) ) f + + = f( ) + = ( ) + = 9 + = We see that the output from f is first multiplied b. Thinking of this as a two step process, multipling b then b, we have a vertical stretching b a factor of followed b a reflection across the -ais. Adding results in a vertical shift up units. Continuing in this manner, we get the table below. g() (, g()) (, ) ( (,, ) ( (, ), ) To graph g, we plot each of the points in the table above and connect them in the same order and fashion as the points to which the correspond. Plotting f and g side-b-side gives (, ) 6 (0, ) (, 0) (, 0) (, ) (, ) (, ) 6 (, ) (, ) (, )

8 Relations and Functions The reader is strongl encouraged to graph the series of functions which shows the gradual transformation of the graph of f into the graph of g. We have outlined the sequence of transformations in the above eposition; all that remains is to plot the five intermediate stages. Our last eample turns the tables and asks for the formula of a function given a desired sequence of transformations. If nothing else, it is a good review of function notation. Eample.7.. Let f() =. Find and simplif the formula of the function g() whose graph is the result of f undergoing the following sequence of transformations. Check our answer using a graphing calculator.. Vertical shift up units. Reflection across the -ais. Horizontal shift right unit. Horizontal stretching b a factor of Solution. We build up to a formula for g() using intermediate functions as we ve seen in previous eamples. We let g take care of our first step. Theorem. tells us g () = f()+ = +. Net, we reflect the graph of g about the -ais using Theorem.: g () = g () = ( + ) =. We shift the graph to the right unit, according to Theorem., b setting g () = g ( ) = ( ) = +. Finall, we induce a horizontal stretch b a factor of ( using Theorem.6 to get g() = g ) = ( ) ( + ) which ields g() = +. We use the calculator to graph the stages below to confirm our result. shift up units add to each -coordinate = f() = = g () = f() + = + reflect across -ais multipl each -coordinate b = g () = + = g () = g () = You reall should do this once in our life.

.7 Transformations 9 shift right unit add to each -coordinate = g () = = g () = g ( ) = + horizontal stretch b a factor of multipl each -coordinate b = g () = + = g() = g ( ) = + We have kept the viewing window the same in all of the graphs above. This had the undesirable consequence of making the last graph look incomplete in that we cannot see the original shape of f() =. Altering the viewing window results in a more complete graph of the transformed function as seen below. = g() This eample brings our first chapter to a close. In the chapters which lie ahead, be on the lookout for the concepts developed here to resurface as we stud different families of functions.