# User manual | Link to Chapter 1

Section 1.1 Functions and Function Notation 1

## Chapter 1: Functions

Section 1.1 Functions and Function Notation ................................................................. 1

Section 1.2 Domain and Range ..................................................................................... 21

Section 1.3 Rates of Change and Behavior of Graphs .................................................. 34

Section 1.4 Composition of Functions .......................................................................... 49

Section 1.5 Transformation of Functions...................................................................... 61

Section 1.6 Inverse Functions ....................................................................................... 90

## Section 1.1 Functions and Function Notation

What is a Function?

The natural world is full of relationships between quantities that change. When we see these relationships, it is natural for us to ask “If I know one quantity, can I then determine the other?” This establishes the idea of an input quantity, or independent variable, and a corresponding output quantity, or dependent variable. From this we get the notion of a functional relationship in which the output can be determined from the input.

For some quantities, like height and age, there are certainly relationships between these quantities. Given a specific person and any age, it is easy enough to determine their height, but if we tried to reverse that relationship and determine height from a given age, that would be problematic, since most people maintain the same height for many years.

Function

Function: A rule for a relationship between an input, or independent, quantity and an output, or dependent, quantity in which each input value uniquely determines one output value. We say “the output is a function of the input.”

Example 1

In the height and age example above, is height a function of age? Is age a function of height?

In the height and age example above, it would be correct to say that height is a function of age, since each age uniquely determines a height. For example, on my 18 th

birthday,

I had exactly one height of 69 inches.

However, age is not a function of height, since one height input might correspond with more than one output age. For example, for an input height of 70 inches, there is more than one output of age since I was 70 inches at the age of 20 and 21.

This chapter is part of Precalculus: An Investigation of Functions © Lippman & Rasmussen 2011.

2 Chapter 1

Example 2

At a coffee shop, the menu consists of items and their prices. Is price a function of the item? Is the item a function of the price?

We could say that price is a function of the item, since each input of an item has one output of a price corresponding to it. We could not say that item is a function of price, since two items might have the same price.

Example 3

In many classes the overall percentage you earn in the course corresponds to a decimal grade point. Is decimal grade a function of percentage? Is percentage a function of decimal grade?

For any percentage earned, there would be a decimal grade associated, so we could say that the decimal grade is a function of percentage. That is, if you input the percentage, your output would be a decimal grade. Percentage may or may not be a function of decimal grade, depending upon the teacher’s grading scheme. With some grading systems, there are a range of percentages that correspond to the same decimal grade.

One-to-One Function

Sometimes in a relationship each input corresponds to exactly one output, and every output corresponds to exactly one input. We call this kind of relationship a one-to-one

function.

From Example 3, if each unique percentage corresponds to one unique decimal grade point and each unique decimal grade point corresponds to one unique percentage then it is a one-to-one function.

Try it Now

Let’s consider bank account information.

(if you input a bank account number does it make sense that the output is your balance?)

(if you input a balance does it make sense that the output is your bank account number?)

Function Notation

To simplify writing out expressions and equations involving functions, a simplified notation is often used. We also use descriptive variables to help us remember the meaning of the quantities in the problem.

Section 1.1 Functions and Function Notation 3

Rather than write “height is a function of age”, we could use the descriptive variable h to represent height and we could use the descriptive variable a to represent age.

“height is a function of age” if we name the function f we write

h is f of a

h = f(a)

h(a) or more simply we could instead name the function h and write which is read “h of a

Remember we can use any variable to name the function; the notation h(a) shows us that

h depends on a. The value “a” must be put into the function “h” to get a result. Be careful - the parentheses indicate that age is input into the function (Note: do not confuse these parentheses with multiplication!).

Function Notation

The notation output = f(input) defines a function named f. This would be read “output is f of input”

Example 4

Introduce function notation to represent a function that takes as input the name of a month, and gives as output the number of days in that month.

The number of days in a month is a function of the name of the month, so if we name the function f, we could write “days = f(month)” or d = f(m). If we simply name the function d, we could write d(m)

For example, d(March) = 31, since March has 31 days. The notation d(m) reminds us that the number of days, d (the output) is dependent on the name of the month, m (the input)

Example 5

A function N = f(y) gives the number of police officers, N, in a town in year y. What does f(2005) = 300 tell us?

When we read f(2005) = 300, we see the input quantity is 2005, which is a value for the input quantity of the function, the year (y). The output value is 300, the number of police officers (N), a value for the output quantity. Remember N=f(y). So this tells us that in the year 2005 there were 300 police officers in the town.

Tables as Functions

Functions can be represented in many ways: Words (as we did in the last few examples), tables of values, graphs, or formulas. Represented as a table, we are presented with a list of input and output values.

4 Chapter 1

In some cases, these values represent everything we know about the relationship, while in other cases the table is simply providing us a few select values from a more complete relationship.

Table 1: This table represents the input, number of the month (January = 1, February = 2, and so on) while the output is the number of days in that month. This represents everything we know about the months & days for a given year (that is not a leap year)

(input) Month number, m

1 2 3 4 5 6 7 8 9 10 11 12

(output) Days in month, D

31 28 31 30 31 30 31 31 30 31 30 31

Table 2: The table below defines a function Q = g(n). Remember this notation tells us g is the name of the function that takes the input n and gives the output Q.

n

Q

1

8

2

6

3

7

4

6

5

8

Table 3: This table represents the age of children in years and their corresponding heights. This represents just some of the data available for height and ages of children.

(input) a, age in years

5 5 6 7 8 9 10

(output) h, height inches

40 42 44 47 50 52 54

Example 6

Which of these tables define a function (if any)? Are any of them one-to-one?

Input Output

2

5

8

1

3

6

Input Output

-3

0

4

5

1

5

Input Output

1

5

5

0

2

4

The first and second tables define functions. In both, each input corresponds to exactly one output. The third table does not define a function since the input value of 5 corresponds with two different output values.

Only the first table is one-to-one; it is both a function, and each output corresponds to exactly one input. Although table 2 is a function, because each input corresponds to exactly one output, each output does not correspond to exactly one input so this function is not one-to-one. Table 3 is not even a function and so we don’t even need to consider if it is a one-to-one function.

Section 1.1 Functions and Function Notation 5

Try it Now

3. If each percentage earned translated to one letter grade, would this be a function? Is it one-to-one?

Solving and Evaluating Functions:

When we work with functions, there are two typical things we do: evaluate and solve.

Evaluating a function is what we do when we know an input, and use the function to determine the corresponding output. Evaluating will always produce one result, since each input of a function corresponds to exactly one output.

Solving equations involving a function is what we do when we know an output, and use the function to determine the inputs that would produce that output. Solving a function could produce more than one solution, since different inputs can produce the same output.

Example 7

Using the table shown, where Q=g(n) a) Evaluate g(3)

Evaluating g(3) (read: “g of 3”)

n

Q

1

8

2

6

3

7

4

6

5

8 means that we need to determine the output value, Q, of the function g given the input value of n=3. Looking at the table, we see the output corresponding to n=3 is Q=7, allowing us to conclude g(3) = 7. b) Solve g(n) = 6

Solving g(n) = 6 means we need to determine what input values, n, produce an output value of 6. Looking at the table we see there are two solutions: n = 2 and n = 4.

When we input 2 into the function g, our output is Q = 6

When we input 4 into the function g, our output is also Q = 6

Try it Now

4. Using the function in Example 7, evaluate g(4)

Graphs as Functions

Oftentimes a graph of a relationship can be used to define a function. By convention, graphs are typically created with the input quantity along the horizontal axis and the output quantity along the vertical.

6 Chapter 1

The most common graph has y on the vertical axis and x on the horizontal axis, and we say y is a function of x, or y = f(x) when the function is named f.

y x

Example 8

Which of these graphs defines a function y=f(x)? Which of these graphs defines a oneto-one function?

Looking at the three graphs above, the first two define a function y=f(x), since for each input value along the horizontal axis there is exactly one output value corresponding, determined by the y-value of the graph. The 3 rd

graph does not define a function y=f(x) since some input values, such as x=2, correspond with more than one output value.

Graph 1 is not a one-to-one function. For example, the output value 3 has two corresponding input values, -2 and 2.3

Graph 2 is a one-to-one function; each input corresponds to exactly one output, and every output corresponds to exactly one input.

Graph 3 is not even a function so there is no reason to even check to see if it is a one-toone function.

Vertical Line Test

The vertical line test is a handy way to think about whether a graph defines the vertical output as a function of the horizontal input. Imagine drawing vertical lines through the graph. If any vertical line would cross the graph more than once, then the graph does not define only one vertical output for each horizontal input.

Section 1.1 Functions and Function Notation 7

Horizontal Line Test

Once you have determined that a graph defines a function, an easy way to determine if it is a one-to-one function is to use the horizontal line test. Draw horizontal lines through the graph. If any horizontal line crosses the graph more than once, then the graph does not define a one-to-one function.

Evaluating a function using a graph requires taking the given input and using the graph to look up the corresponding output. Solving a function equation using a graph requires taking the given output and looking on the graph to determine the corresponding input.

Example 9

Given the graph below, a) Evaluate f(2) b) Solve f(x) = 4 a) To evaluate f(2), we find the input of x=2 on the horizontal axis. Moving up to the graph gives the point (2, 1), giving an output of y=1. So f(2) = 1 b) To solve f(x) = 4, we find the value 4 on the vertical axis because if f(x) = 4 then 4 is the output. Moving horizontally across the graph gives two points with the output of 4:

(-1,4) and (3,4). These give the two solutions to f(x) = 4: x = -1 or x = 3

This means f(-1)=4 and f(3)=4, or when the input is -1 or 3, the output is 4.

Notice that while the graph in the previous example is a function, getting two input values for the output value of 4 shows us that this function is not one-to-one.

Try it Now

5. Using the graph from example 9, solve f(x)=1.

Formulas as Functions

When possible, it is very convenient to define relationships using formulas. If it is possible to express the output as a formula involving the input quantity, then we can define a function.

8 Chapter 1

Example 10

Express the relationship 2n + 6p = 12 as a function p = f(n) if possible.

To express the relationship in this form, we need to be able to write the relationship where p is a function of n, which means writing it as p = [something involving n].

2n + 6p = 12

6p = 12 - 2n

p

=

6

n

=

12 2

6

6

n

subtract 2n from both sides divide both sides by 6 and simplify

= −

1

3

n

Having rewritten the formula as p=, we can now express p as a function:

= −

1

3

n

It is important to note that not every relationship can be expressed as a function with a formula.

Note the important feature of an equation written as a function is that the output value can be determined directly from the input by doing evaluations - no further solving is required. This allows the relationship to act as a magic box that takes an input, processes it, and returns an output. Modern technology and computers rely on these functional relationships, since the evaluation of the function can be programmed into machines, whereas solving things is much more challenging.

Example 11

Express the relationship

x

2

+

y

2

= 1 as a function y = f(x) if possible.

If we try to solve for y in this equation:

y

2 = −

x

2

y

1

x

2

We end up with two outputs corresponding to the same input, so this relationship cannot be represented as a single function y = f(x)

As with tables and graphs, it is common to evaluate and solve functions involving formulas. Evaluating will require replacing the input variable in the formula with the value provided and calculating. Solving will require replacing the output variable in the formula with the value provided, and solving for the input(s) that would produce that output.

Section 1.1 Functions and Function Notation 9

Example 12

Given the function a) Evaluate k(2) b) Solve k(t) = 1

( )

t

2 a) To evaluate k(2), we plug in the input value 2 into the formula wherever we see the input variable t, then simplify

3

k

(2) 2 2

k

= +

So k(2) = 10 b) To solve k(t) = 1, we set the formula for k(t) equal to 1, and solve for the input value that will produce that output

k(t) = 1 substitute the original formula ( )

t

2

t + =

3

t = − 1

1 subtract 2 from each side take the cube root of each side

We want to know if ( ) 1 is true when t = − 1 .

k − = − +

= − +

= 1 which was the desired result.

Example 13

Given the function ( ) =

p

2

+ 2

p

a) Evaluate h(4) b) Solve h(p) = 3

To evaluate h(4) we substitute the value 4 for the input variable p in the given function.

+ a)

h

(4) (4)

= 24

2

= 16 + 8 b) h(p) = 3

2(4)

Substitute the original function ( ) =

p

2

+ 2

p p

2

+ 2

p

= 3 This is quadratic, so we can rearrange the equation to get it = 0

p

2

+ 2

p

− = subtract 3 from each side

p

2

+ 2

p

3 0

− = (

p

+ 3)(

p

1) 0 this is factorable, so we factor it

10 Chapter 1

By the zero factor theorem since (

p

+ 3)(

p

1) 0 , either ( 3) 0 or ( 1) 0 (or both of them equal 0) and so we solve both equations for p, finding p = -3 from the first equation and p = 1 from the second equation.

This gives us the solution: h(p) = 3 when p = 1 or p = -3

We found two solutions in this case, which tells us this function is not one-to-one.

Try it Now

6. Given the function

( ) a. Evaluate g(5) b. Solve g(m) = 2

Basic Toolkit Functions

=

m

− 4

In this text, we will be exploring functions – the shapes of their graphs, their unique features, their equations, and how to solve problems with them. When learning to read, we start with the alphabet. When learning to do arithmetic, we start with numbers.

When working with functions, it is similarly helpful to have a base set of elements to build from. We call these our “toolkit of functions” – a set of basic named functions for which we know the graph, equation, and special features.

For these definitions we will use x as the input variable and f(x) as the output variable.

Toolkit Functions

Linear

Constant:

Identity:

Absolute Value:

f

(

( ) =

c

( )

x

)

=

=

x x

, where c is a constant (number)

Power

f

(

x

) =

x

2

Cubic:

Reciprocal:

Square root:

Reciprocal squared:

f

(

x

) =

x

3

=

1

=

x

1

x

2

= 2

x

=

x

Cube root: =

3

x

Section 1.1 Functions and Function Notation 11

You will see these toolkit functions, combinations of toolkit functions, their graphs and their transformations frequently throughout this book. In order to successfully follow along later in the book, it will be very helpful if you can recognize these toolkit functions and their features quickly by name, equation, graph and basic table values.

Not every important equation can be written as y = f(x). An example of this is the equation of a circle. Recall the distance formula for the distance between two points:

dist

=

(

x

2

x

1

) (

y

2

y

1

)

2

A circle with radius r with center at (h, k) can be described as all points (x, y) a distance of r from the center, so using the distance formula,

r

=

(

x

h

) (

y

k

)

2

, giving

Equation of a circle

A circle with radius r with center (h, k) has equation

Graphs of the Toolkit Functions

Constant Function:

( ) 2

Identity:

( ) =

x r

2

=

(

x

h

) (

y

k

Absolute Value:

)

2

f

(

x

) =

x

f

(

x

) =

x

2

Cubic:

f

(

x

) =

x

3

Square root: ( ) =

x

12 Chapter 1

Cube root:

= 3

x

Reciprocal: =

1

x

Reciprocal squared: =

x

1

2

Important Topics of this Section

Definition of a function

Input (independent variable)

Output (dependent variable)

Definition of a one-to-one function

Function notation

Descriptive variables

Functions in words, tables, graphs & formulas

Vertical line test

Horizontal line test

Evaluating a function at a specific input value

Solving a function given a specific output value

Toolkit Functions

1. Yes

2. No

3. Yes it’s a function; No, it’s not one-to-one

4. Q=g(4)=6

5. x = 0 or x = 2

6. a. g(5)=1 b. m = 8

a d

Section 1.1 Functions and Function Notation 13

## Section 1.1 Exercises

1. The amount of garbage, G, produced by a city with population p is given by

. G is measured in tons per week, and p is measured in thousands of people. a. The town of Tola has a population of 40,000 and produces 13 tons of garbage each week. Express this information in terms of the function f. b. Explain the meaning of the statement

f

( )

= 2 .

2. The number of cubic yards of dirt, D, needed to cover a garden with area a square feet is given by . a. A garden with area 5000 ft

2

requires 50 cubic yards of dirt. Express this information in terms of the function g. b. Explain the meaning of the statement

g

( )

.

3. Let

( )

be the number of ducks in a lake t years after 1990. Explain the meaning of each statement: a.

f

( )

= 30

4. Let ( ) b.

f

( )

= 40

be the height above ground, in feet, of a rocket t seconds after launching.

Explain the meaning of each statement: a.

h

( ) b.

h

( )

= 350

5. Select all of the following graphs which represent y as a function of x.

b

e

c

f

14 Chapter 1

6. Select all of the following graphs which represent y as a function of x. a b c

d e f

7. Select all of the following tables which represent y as a function of x. a. x 5 10 15

y 3 8 14 b. x 5 10 15

y 3 8 8 c. x 5 10 10

y 3 8 14

8. Select all of the following tables which represent y as a function of x. a. x 2 6 13

y 3 10 10 b. x 2 6 6

y 3 10 14 c. x 2 6 13

y 3 10 14

9. Select all of the following tables which represent y as a function of x. a. x y

0 -2

3 1

4 6 b. x y

-1 -4

2 3

5 4 c. x y

0 -5

3 1

3 4 d. x y

-1 -4

1 2

4 2

8 9

3 1

8 7

12 11

9 8

16 13

9 7

12 13

10. Select all of the following tables which represent y as a function of x. a. x y

-4 -2

3 2

6 4

9 7

12 16 b. x y

-5 -3

2 1

2 4

7 9

11 10 c. x y

-1 -3

1 2

5 4

9 8

1 2 d. x y

-1 -5

3 1

5 1

8 7

14 12

a

d

Section 1.1 Functions and Function Notation 15

11. Select all of the following tables which represent y as a function of x and are one-toone. a. x 3 8 12

y 4 7 7 b. x 3 8 12

y 4 7 13 c. x 3 8 8

y 4 7 13

12. Select all of the following tables which represent y as a function of x and are one-toone. a. x 2 8 8

y 5 6 13 b. x 2 8 14

y 5 6 6 c. x 2 8 14

y 5 6 13

13. Select all of the following graphs which are one-to-one functions. a.

b.

c.

d.

e. f.

14. Select all of the following graphs which are one-to-one functions.

b

e

c

f

16 Chapter 1

Given each function ( ) graphed, evaluate

f

(1) and

f

(3)

15.

17. Given the function ( ) a. Evaluate

g

(2) b. Solve

( )

2

graphed here,

16.

18. Given the function ( ) a. Evaluate

f

( ) b. Solve ( ) 4

graphed here.

27.

29.

( )

3

x

+ 3

( ) (

x

)

x

+

28.

30.

19. Based on the table below,

f

x

0 1 2 3 4 5 6 7 8 9

74 28 1 53 56 3 36 45 14 47

20. Based on the table below, a. Evaluate

x

f

(8) b. Solve ( ) 7

0 1 2 3 4 5 6 7 8 9

62 8 7 38 86 73 70 39 75 34

For each of the following functions, evaluate:

( )

f

(0)

21.

( )

4 2

x

22.

( )

8 3

x

23.

25.

( )

= 8

x

2 − +

( )

x

3 2

x

24.

26.

( )

= 6

x

2 − +

( )

=

5

x

4 2

,

f

(1)

( )

4 3

x

− 2

, and

f

(2)

31.

33.

( )

( )

=

2

x x x

+

f x =

3

1

32.

34.

( ) (

x

+ 3

)(

x

− 1

)

2

( )

( )

=

3

x x x

+

f x =

2

2

Section 1.1 Functions and Function Notation 17

35. Suppose

( )

=

x

2

+

8

x

4 . Compute the following: a.

f

( 1)

f

(1)

36. Suppose

( )

=

x

2

b.

x

3

f

( 1)

f

(1)

37. Let a.

f

( 2)

f

(4)

( )

3 5 b.

f

( 2)

f

(4) a. Evaluate

f

(0) b. Solve

( )

0

38. Let

( )

6 2

p

a. Evaluate

g

(0) b. Solve

( )

0

39. Match each function name with its equation. a.

y x

b. c. d. e.

y y x

f. y

y x

3

y

= 3

x

=

1

=

x

2

x

i. Cube root ii. Reciprocal iii. Linear iv. Square Root v. Absolute Value vi. Quadratic vii. Reciprocal Squared viii. Cubic g. y x h.

y

=

x

1

2

40. Match each graph with its equation. a.

y x

i. ii. b.

y x

3 c.

d. e.

y

= 3

x y

=

1

y x x

2 v. vi. f.

y

=

x

g.

y x

h.

y

=

1

x

2 iii. vii. iv. viii.

18 Chapter 1

41. Match each table with its equation. a. b. c. d. e. f.

y y

=

=

=

=

=

1/

2

| |

y x

3

x x

a. Quadratic b. Absolute Value i. In Out

-2 -0.5

-1 -1

0 _

1 1

2 0.5

3 0.33

42. Match each equation with its table c. Square Root d. Linear e. Cubic f. Reciprocal iv. In Out

-2 4

-1 1

0 0

1 1

2 4

3 9 i. In Out

-2 -0.5

-1 -1

0 _

1 1

2 0.5

3 0.33 iv. In Out

-2 4

-1 1

0 0

1 1 ii. In Out

-2 -2

-1 -1

0 0

1 1

2 2

3 3 v. In Out

-2 _

-1 _

0 0

1 1

4 2

9 3

2 4

43. Write the equation of the circle centered at

(3 , 9 ) ii. In Out

-2 -2

-1 -1

0 0

1 1

2 2

3 3 v. In Out

-2 _

-1 _

0 0

1 1

4 2 iii. In Out

-2 -8

-1 -1

0 0

1 1

2 8

3 27 vi. In Out

-2 2

-1 1

0 0

1 1

2 2

3 3 iii. In Out

-2 -8

-1 -1

0 0

1 1

2 8

3 27 vi. In Out

-2 2

-1 1

0 0

1 1

2 2

3 3

44. Write the equation of the circle centered at

(9 , 8 )

45. Sketch a reasonable graph for each of the following functions. [UW] a. Height of a person depending on age. b. Height of the top of your head as you jump on a pogo stick for 5 seconds. c. The amount of postage you must put on a first class letter, depending on the weight of the letter.

Section 1.1 Functions and Function Notation 19

46. Sketch a reasonable graph for each of the following functions. [UW] a. Distance of your big toe from the ground as you ride your bike for 10 seconds. b. Your height above the water level in a swimming pool after you dive off the high board. c. The percentage of dates and names you’ll remember for a history test, depending on the time you study.

47. Using the graph shown, a. Evaluate ( ) b. Solve

( )

=

p a b t r

L c f(x) x

c. Suppose

( )

z

f z d. What are the coordinates of points L and K?

K p

48. Dave leaves his office in Padelford Hall on his way to teach in Gould Hall. Below are several different scenarios. In each case, sketch a plausible (reasonable) graph of the function s = d(t) which keeps track of Dave’s distance s from Padelford Hall at time t.

Take distance units to be “feet” and time units to be “minutes.” Assume Dave’s path to Gould Hall is long a straight line which is 2400 feet long. [UW] a. Dave leaves Padelford Hall and walks at a constant spend until he reaches Gould

Hall 10 minutes later. b. Dave leaves Padelford Hall and walks at a constant speed. It takes him 6 minutes to reach the half-way point. Then he gets confused and stops for 1 minute. He then continues on to Gould Hall at the same constant speed he had when he originally left Padelford Hall. c. Dave leaves Padelford Hall and walks at a constant speed. It takes him 6 minutes to reach the half-way point. Then he gets confused and stops for 1 minute to figure out where he is. Dave then continues on to Gould Hall at twice the constant speed he had when he originally left Padelford Hall.

20 Chapter 1 d. Dave leaves Padelford Hall and walks at a constant speed. It takes him 6 minutes to reach the half-way point. Then he gets confused and stops for 1 minute to figure out where he is. Dave is totally lost, so he simply heads back to his office, walking the same constant speed he had when he originally left Padelford Hall. e. Dave leaves Padelford heading for Gould Hall at the same instant Angela leaves

Gould Hall heading for Padelford Hall. Both walk at a constant speed, but Angela walks twice as fast as Dave. Indicate a plot of “distance from Padelford” vs.

“time” for the both Angela and Dave. f. Suppose you want to sketch the graph of a new function s = g(t) that keeps track of Dave’s distance s from Gould Hall at time t. How would your graphs change in

(a)-(e)?

Section 1.2 Domain and Range 21

## Section 1.2 Domain and Range

One of our main goals in mathematics is to model the real world with mathematical functions. In doing so, it is important to keep in mind the limitations of those models we create.

This table shows a relationship between circumference and height of a tree as it grows.

Circumference, c 1.7 2.5 5.5 8.2 13.7

Height, h 24.5 31 45.2 54.6 92.1

While there is a strong relationship between the two, it would certainly be ridiculous to talk about a tree with a circumference of -3 feet, or a height of 3000 feet. When we identify limitations on the inputs and outputs of a function, we are determining the domain and range of the function.

Domain and Range

Domain: The set of possible input values to a function

Range: The set of possible output values of a function

Example 1

Using the tree table above, determine a reasonable domain and range.

We could combine the data provided with our own experiences and reason to approximate the domain and range of the function h = f(c). For the domain, possible values for the input circumference c, it doesn’t make sense to have negative values, so c

> 0. We could make an educated guess at a maximum reasonable value, or look up that the maximum circumference measured is about 119 feet would say a reasonable domain is

Similarly for the range, it doesn’t make sense to have negative heights, and the maximum height of a tree could be looked up to be 379 feet, so a reasonable range is

0 379 feet.

0 119 feet.

1

. With this information we

Example 2

When sending a letter through the United States Postal Service, the price depends upon the weight of the letter

2

, as shown in the table below. Determine the domain and range.

1 http://en.wikipedia.org/wiki/Tree , retrieved July 19, 2010

2 http://www.usps.com/prices/first-class-mail-prices.htm

, retrieved July 19, 2010

22 Chapter 1

Letters

Weight not Over Price

1 ounce

2 ounces

3 ounces

3.5 ounces

\$0.44

\$0.61

\$0.78

\$0.95

Suppose we notate Weight by w and Price by p, and set up a function named P, where

Price, p is a function of Weight, w. p = P(w).

Since acceptable weights are 3.5 ounces or less, and negative weights don’t make sense, the domain would be

0 3.5

. Technically 0 could be included in the domain, but logically it would mean we are mailing nothing, so it doesn’t hurt to leave it out.

Since possible prices are from a limited set of values, we can only define the range of this function by listing the possible values. The range is p = \$0.44, \$0.61, \$0.78, or

\$0.95.

Try it Now

1. The population of a small town in the year 1960 was 100 people. Since then the population has grown to 1400 people reported during the 2010 census. Choose descriptive variables for your input and output and use interval notation to write the domain and range.

Notation

In the previous examples, we used inequalities to describe the domain and range of the functions. This is one way to describe intervals of input and output values, but is not the only way. Let us take a moment to discuss notation for domain and range.

Using inequalities, such as 0 163 , 0 3.5

, and 0 379 imply that we are interested in all values between the low and high values, including the high values in these examples.

However, occasionally we are interested in a specific list of numbers like the range for the price to send letters, p = \$0.44, \$0.61, \$0.78, or \$0.95. These numbers represent a set of specific values: {0.44, 0.61, 0.78, 0.95}

Representing values as a set, or giving instructions on how a set is built, leads us to another type of notation to describe the domain and range.

Suppose we want to describe the values for a variable x that are 10 or greater, but less than 30. In inequalities, we would write 10 30 .

Section 1.2 Domain and Range 23

When describing domains and ranges, we sometimes extend this into set-builder

notation, which would look like this:

{

x

|10

x

30

}

. The curly brackets {} are read as

“the set of”, and the vertical bar | is read as “such that”, so altogether we would read

{

x

|10

x

30

}

as “the set of x-values such that 10 is less than or equal to x and x is less than 30.”

When describing ranges in set-builder notation, we could similarly write something like

{

f x

<

f x

<

}

, or if the output had its own variable, we could use it. So for our tree height example above, we could write for the range

{

h

| 0 379

}

. In set-builder notation, if a domain or range is not limited, we could write

{ }

{ }

, or

A more compact alternative to set-builder notation is interval notation, in which intervals of values are referred to by the starting and ending values. Curved parentheses are used for “strictly less than,” and square brackets are used for “less than or equal to.”

Since infinity is not a number, we can’t include it in the interval, so we always use curved parentheses with ∞ and -∞. The table below will help you see how inequalities correspond to set-builder notation and interval notation:

Inequality

5 < ≤ 10

Set Builder Notation

{

h

| 5

h

10

}

Interval notation

(5, 10]

5

5

≤ < 10

< < 10

h < 10

h ≥ 10 all real numbers

{

{

{

{

h

{

h

| 5

| 5

h

10

}

h

10

}

| 10

}

| 10

}

}

[5, 10)

(5, 10)

( ,10)

−∞ ∞

To combine two intervals together, using inequalities or set-builder notation we can use the word “or”. In interval notation, we use the union symbol, ∪ , to combine two unconnected intervals together.

Example 3

Describe the intervals of values shown on the line graph below using set builder and interval notations.

24 Chapter 1

To describe the values, x, that lie in the intervals shown above we would say, “x is a real number greater than or equal to 1 and less than or equal to 3, or a real number greater than 5.”

As an inequality it is:

1 3 or

x

> 5

In set builder notation:

{

x

|1 ≤ ≤ 3 or

x

> 5

}

In interval notation: [1,3] (5, )

Remember when writing or reading interval notation:

Using a square bracket [ means the start value is included in the set

Using a parenthesis ( means the start value is not included in the set

Try it Now

2. Given the following interval, write its meaning in words, set builder notation, and interval notation.

Domain and Range from Graphs

We can also talk about domain and range based on graphs. Since domain refers to the set of possible input values, the domain of a graph consists of all the input values shown on the graph. Remember that input values are almost always shown along the horizontal axis of the graph. Likewise, since range is the set of possible output values, the range of a graph we can see from the possible values along the vertical axis of the graph.

Be careful – if the graph continues beyond the window on which we can see the graph, the domain and range might be larger than the values we can see.

Example 4

Determine the domain and range of the graph below.

Section 1.2 Domain and Range 25

In the graph above

3

, the input quantity along the horizontal axis appears to be “year”, which we could notate with the variable y. The output is “thousands of barrels of oil per day”, which we might notate with the variable b, for barrels. The graph would likely continue to the left and right beyond what is shown, but based on the portion of the graph that is shown to us, we can determine the domain is 1975 2008 , and the

. range is approximately 180 2010

In interval notation, the domain would be [1975, 2008] and the range would be about

[180, 2010]. For the range, we have to approximate the smallest and largest outputs since they don’t fall exactly on the grid lines.

Remember that, as in the previous example, x and y are not always the input and output variables. Using descriptive variables is an important tool to remembering the context of the problem.

, CC-BY-SA, July 19, 2010

26 Chapter 1

Try it Now

3. Given the graph below write the domain and range in interval notation

Domains and Ranges of the Toolkit functions

We will now return to our set of toolkit functions to note the domain and range of each.

Constant Function: ( ) =

c

The domain here is not restricted; x can be anything. When this is the case we say the domain is all real numbers. The outputs are limited to the constant value of the function.

Domain:

( , )

Range: [c]

Since there is only one output value, we list it by itself in square brackets.

Identity Function:

f x

=

x

Domain: ( , )

Range:

( , )

Domain:

( , )

( ) =

x

2

Range: [0, )

Multiplying a negative or positive number by itself can only yield a positive output.

Cubic Function:

Domain:

−∞ ∞

( ) =

x

3

Range: ( , )

Section 1.2 Domain and Range 27

Reciprocal:

Domain:

Range:

−∞

=

Reciprocal squared:

1

x

( ,0) (0, )

( ,0) (0, )

We cannot divide by 0 so we must exclude 0 from the domain.

One divide by any value can never be 0, so the range will not include 0.

=

1

x

2

Domain:

( ,0) (0, )

Range: (0, )

We cannot divide by 0 so we must exclude 0 from the domain.

Cube Root:

Domain:

Range:

( , )

−∞ ∞

= 3

x

Square Root: =

2

x

, commonly just written as, ( ) =

x

Domain: [0, )

Range: [0, )

When dealing with the set of real numbers we cannot take the square root of a negative number so the domain is limited to 0 or greater.

Absolute Value Function:

f x

=

x

Domain:

( , )

Range: [0, )

Since absolute value is defined as a distance from 0, the output can only be greater than or equal to 0.

Example 4.5

Find the domain of each function: a)

f

(

x

) = 2

x

+ 4 b)

g

(

x

) =

6 −

3

3

x

a) Since we cannot take the square root of a negative number, we need the inside of the square root to be non-negative.

x

+ 4 ≥ 0 when

x

≥ − 4

The domain of f(x) is

[ −

.

4 , ∞ )

. b) We cannot divide by zero, so we need the denominator to be non-zero.

6 − 3

x

= 0 when x = 2, so we must exclude 2 from the domain.

The domain of g(x) is

( −∞ , 2 ) ∪ ( 2 , ∞ )

.

28 Chapter 1

Piecewise Functions

In the toolkit functions we introduced the absolute value function ( ) =

x

.

With a domain of all real numbers and a range of values greater than or equal to 0, the absolute value can be defined as the magnitude or modulus of a number, a real number value regardless of sign, the size of the number, or the distance from 0 on the number line. All of these definitions require the output to be greater than or equal to 0.

If we input 0, or a positive value the output is unchanged

( ) =

x

if x ≥ 0

If we input a negative value the sign must change from negative to positive.

= −

x

if x <

0 since multiplying a negative value by -1 makes it positive.

Since this requires two different processes or pieces, the absolute value function is often called the most basic piecewise defined function.

Piecewise Function

A piecewise function is a function in which the formula used depends upon the domain the input lies in. We notate this idea like: formula 1 if domain to use formula 1

( ) = 

 formula 2 if domain to use formula 2 formula 3 if domain to use formula 3

Example 5

A museum charges \$5 per person for a guided tour with a group of 1 to 9 people, or a fixed \$50 fee for 10 or more people in the group. Set up a function relating the number of people, n, to the cost, C.

To set up this function, two different formulas would be needed. C = 5n would work for n values under 10, and C = 50 would work for values of n ten or greater. Notating this:

5

n if

0 10

50

if n

≥ 10

Example 6

A cell phone company uses the function below to determine the cost, C, in dollars for g gigabytes of data transfer.

25

if

0 2

+

g

− 2)

if g

≥ 2

Section 1.2 Domain and Range 29

Find the cost of using 1.5 gigabytes of data, and the cost of using 4 gigabytes of data.

To find the cost of using 1.5 gigabytes of data, C(1.5), we first look to see which piece of domain our input falls in. Since 1.5 is less than 2, we use the first formula, giving

C(1.5) = \$25.

The find the cost of using 4 gigabytes of data, C(4), we see that our input of 4 is greater than 2, so we’ll use the second formula. C(4) = 25 + 10(4-2) = \$45.

Example 7

Sketch a graph of the function

( ) =

x

3

2

if if x if

1

x x

>

1

2

2

Since each of the component functions are from our library of Toolkit functions, we know their shapes. We can imagine graphing each function, then limiting the graph to the indicated domain. At the endpoints of the domain, we put open circles to indicate where the endpoint is not included, due to a strictly-less-than inequality, and a closed circle where the endpoint is included, due to a less-than-or-equal-to inequality.

Now that we have each piece individually, we combine them onto the same graph:

30 Chapter 1

Try it Now

4. At Pierce College during the 2009-2010 school year tuition rates for in-state residents were \$89.50 per credit for the first 10 credits, \$33 per credit for credits 11-18, and for over 18 credits the rate is \$73 per credit

4

. Write a piecewise defined function for the

total tuition, T, at Pierce College during 2009-2010 as a function of the number of credits taken, c. Be sure to consider a reasonable domain and range.

Important Topics of this Section

Definition of domain

Definition of range

Inequalities

Interval notation

Set builder notation

Domain and Range from graphs

Domain and Range of toolkit functions

Piecewise defined functions

1. Domain; y = years [1960,2010] ; Range, p = population, [100,1400]

2. a. Values that are less than or equal to -2, or values that are greater than or equal to -

1 and less than 3

b.

{

≤ − 2

or

1

x

3

}

c. ( , 2] [ 1,3)

3. Domain; y=years, [1952,2002] ; Range, p=population in millions, [40,88]

4.

T

(

c

) =

895

1159

+

89 .

+

33

73

(

5

(

c c c

10

18

)

)

if if if

10

c c

<

>

c

10

18

18 Tuition, T, as a function of credits, c.

Reasonable domain should be whole numbers 0 to (answers may vary), e.g. [0,23]

Reasonable range should be \$0 – (answers may vary), e.g. [0,1524]

4 https://www.pierce.ctc.edu/dist/tuition/ref/files/0910_tuition_rate.pdf

, retrieved August 6, 2010

Section 1.2 Domain and Range 31

## Section 1.2 Exercises

Write the domain and range of the function using interval notation.

1. 2.

Write the domain and range of each graph as an inequality.

5.

3. 4.

Suppose that you are holding your toy submarine under the water. You release it and it begins to ascend. The graph models the depth of the submarine as a function of time, stopping once the sub surfaces. What is the domain and range of the function in the graph?

6.

32 Chapter 1

9.

Find the domain of each function

7.

( )

= 3

x

− 2

11.

( )

=

3

x

9

6 2

x

13. =

+

4

x

+ 2

8.

10.

12.

14.

( )

= 5

x

+ 3

( )

5 10 2

x

=

x

6

=

5

x

+ 3

15. =

x x

+

4

4

16. =

x x

+

6

5

17. =

x x

2 +

x

18. =

x x

2

x

Given each function, evaluate: ( 1)

19.

7

7

x x

+

+

3

6

if x if x

<

0

0

21.



4

x

2 − 2

5

if x if x

<

2

2

,

f

(0) ,

f

(2)

20.

22.

,

f

(4)

4

x

− 9

= 



x x

+

3

1

if x if x if x if x

<

<

1

1

0

0

23. =

5

x if x

3

if

0

x

2

if x

<

>

0

3

3 24. =

 +

x

4

 +

1

if if if

0

x

< 0

x

> 3

3

25.

27.

Section 1.2 Domain and Range 33

Write a formula for the piecewise function graphed below.

26.

28.

29.

Sketch a graph of each piecewise function

31. = 

x if x

5

if x

<

2

2

30.

32.

33.

35.

= 

x x

2

if x

+ 2

if x

<

0

0

3

3

1

if x if if x

≤ − 2

x

> 1

1

34.

36.

4

if x

<

x if x

0

0

x

+ 1

if x x

3

if x

<

1

1

− 3

=

x

0

1

if x if if x

≤ − 2

x

> 2

2

34 Chapter 1

## Section 1.3 Rates of Change and Behavior of Graphs

Since functions represent how an output quantity varies with an input quantity, it is natural to ask about the rate at which the values of the function are changing.

For example, the function C(t) below gives the average cost, in dollars, of a gallon of gasoline t years after 2000.

t

C(t)

2 3 4 5 6 7 8 9

1.47 1.69 1.94 2.30 2.51 2.64 3.01 2.14

If we were interested in how the gas prices had changed between 2002 and 2009, we could compute that the cost per gallon had increased from \$1.47 to \$2.14, an increase of

\$0.67. While this is interesting, it might be more useful to look at how much the price changed per year. You are probably noticing that the price didn’t change the same amount each year, so we would be finding the average rate of change over a specified amount of time.

The gas price increased by \$0.67 from 2002 to 2009, over 7 years, for an average of

\$ 67

0 .

096 dollars per year. On average, the price of gas increased by about 9.6

7

0 .

years

≈ cents each year.

Rate of Change

A rate of change describes how the output quantity changes in relation to the input quantity. The units on a rate of change are “output units per input units”

Some other examples of rates of change would be quantities like:

• A population of rats increases by 40 rats per week

• A barista earns \$9 per hour (dollars per hour)

• A farmer plants 60,000 onions per acre

• A car can drive 27 miles per gallon

• A population of grey whales decreases by 8 whales per year

• The amount of money in your college account decreases by \$4,000 per quarter

Average Rate of Change

The average rate of change between two input values is the total change of the function values (output values) divided by the change in the input values.

Average rate of change =

Change

Change of of

Output

Input

=

y x

=

y x

2

2

y x

1

1

Section 1.3 Rates of Change and Behavior of Graphs 35

Example 1

Using the cost-of-gas function from earlier, find the average rate of change between

2007 and 2009

From the table, in 2007 the cost of gas was \$2.64. In 2009 the cost was \$2.14.

The input (years) has changed by 2. The output has changed by \$2.14 - \$2.64 = -0.50.

The average rate of change is then

− \$ 0 .

50

years

2

= -0.25 dollars per year

Try it Now

1. Using the same cost-of-gas function, find the average rate of change between 2003 and 2008

Notice that in the last example the change of output was negative since the output value of the function had decreased. Correspondingly, the average rate of change is negative.

Example 2

Given the function g(t) shown here, find the average rate of change on the interval [0, 3].

At t = 0, the graph shows

At t = 3, the graph shows

g g

( =

)

) 1

4

The output has changed by 3 while the input has changed by 3, giving an average rate of change of:

3 − 0 3

1

Example 3

On a road trip, after picking up your friend who lives 10 miles away, you decide to

4 − 1

=

3

t (hours)

= record your distance from home over time. Find your average speed over the first 6 hours.

D(t) (miles)

0

10

1

55

2

90

3 4 5 6 7

153 214 240 292 300

Here, your average speed is the average rate of change.

You traveled 282 miles in 6 hours, for an average speed of

6

= 47 miles per hour

36 Chapter 1

We can more formally state the average rate of change calculation using function notation.

Average Rate of Change using Function Notation

Given a function f(x), the average rate of change on the interval [a, b] is

Average rate of change =

Change

Change of of

Output

Input

=

f

(

b b

) −

a f

(

a

)

Example 4

Compute the average rate of change of

f f

(

(

2 )

4 )

=

=

2

4

2

2

Try it Now

1

2

1

4

=

=

4

16

1

2

1

4

=

7

=

2

63

4

Average rate of change =

f

( 4 )

4

f

− 2

( 2 )

=

f

(

x

)

Now computing the average rate of change

63

4

4 −

=

7

2

2

x

2

=

1

4

2

x

We can start by computing the function values at each endpoint of the interval

49

on the interval [2, 4]

=

49

8

2. Find the average rate of change of

f

(

x

) =

x

− 2

x

on the interval [1, 9]

Example 5

The magnetic force F, measured in Newtons, between two magnets is related to the

2

. Find the distance between the magnets d, in centimeters, by the formula

F

(

d

) =

d

2 average rate of change of force if the distance between the magnets is increased from 2 cm to 6 cm.

We are computing the average rate of change of

F

(

d

) =

d

2

2

on the interval [2, 6]

Average rate of change =

F

( 6 )

6

F

− 2

( 2 )

Evaluating the function

Section 1.3 Rates of Change and Behavior of Graphs 37

F

( 6 )

6

6

2

2

36

6

2 −

4

16

2

2

2

F

2

2

2

4

( 2 )

=

Simplifying

Combining the numerator terms

36

4

1

Newtons per centimeter

Simplifying further

9

This tells us the magnetic force decreases, on average, by 1/9 Newtons per centimeter over this interval.

Example 6

g

(

t

=

t

2 + 3

t

+ 1 on the interval

]

. Your answer Find the average rate of change of will be an expression involving a.

)

Using the average rate of change formula

g

(

a

) −

g

( 0 )

Evaluating the function

(

a a

+

3

0

a

+ 1 ) ( 0

2

+ 3 ( 0 ) 1 )

a a

2

2

+

a

+

a

3

3

a a

3 )

+ 1

a

1

− 0

+

Try it Now

3. Find the average rate of change of

f

(

x

)

Simplifying

Simplifying further, and factoring

Cancelling the common factor a

This result tells us the average rate of change between t = 0 and any other point t = a.

For example, on the interval [0, 5], the average rate of change would be 5+3 = 8.

=

x

3

+ 2

on the interval

[

a h

]

.

38 Chapter 1

Graphical Behavior of Functions

As part of exploring how functions change, it is interesting to explore the graphical behavior of functions.

Increasing/Decreasing

A function is increasing on an interval if the function values increase as the inputs increase. More formally, a function is increasing if f(b) > f(a) for any two input values

a and b in the interval with b>a. The average rate of change of an increasing function is positive.

A function is decreasing on an interval if the function values decrease as the inputs increase. More formally, a function is decreasing if f(b) < f(a) for any two input values

a and b in the interval with b>a. The average rate of change of a decreasing function is

negative.

Example 7

Given the function p(t) graphed here, on what intervals does the function appear to be increasing?

The function appears to be increasing from t = 1 to t = 3, and from t = 4 on.

In interval notation, we would say the function appears to be increasing on the interval (1,3) and the interval ( ∞ )

Notice in the last example that we used open intervals (intervals that don’t include the endpoints) since the function is neither increasing nor decreasing at t = 1, 3, or 4.

Local Extrema

A point where a function changes from increasing to decreasing is called a local

maximum.

A point where a function changes from decreasing to increasing is called a local

minimum.

Together, local maxima and minima are called the local extrema, or local extreme values, of the function.

Section 1.3 Rates of Change and Behavior of Graphs 39

Example 8

Using the cost of gasoline function from the beginning of the section, find an interval on which the function appears to be decreasing. Estimate any local extrema using the table.

t

C(t)

2

1.47

3

1.69

4

1.94

5

2.30

6

2.51

7

2.64

8

3.01

9

2.14

It appears that the cost of gas increased from t = 2 to t = 8. It appears the cost of gas decreased from t = 8 to t = 9, so the function appears to be decreasing on the interval

(8, 9).

Since the function appears to change from increasing to decreasing at t = 8, there is local maximum at t = 8.

Example 9

Use a graph to estimate the local extrema of the function

f

(

x

) =

2

x

+

x

3

. Use these to determine the intervals on which the function is increasing.

Using technology to graph the function, it appears there is a local minimum somewhere between x = 2 and x =3, and a symmetric local maximum somewhere between x = -3 and x = -2.

Most graphing calculators and graphing utilities can estimate the location of maxima and minima. Below are screen images from two different technologies, showing the estimate for the local maximum and minimum.

Based on these estimates, the function is increasing on the intervals

( 2 .

449 , ∞ ) technologies agree only up to 4 decimals due to the differing approximation algorithms used by each.

( −∞ , − 2 .

449 ) and

. Notice that while we expect the extrema to be symmetric, the two different

40 Chapter 1

Try it Now

4. Use a graph of the function

f

(

x

) =

x

3 − 6

x

2 − 15

x

+ 20 to estimate the local extrema of the function. Use these to determine the intervals on which the function is increasing and decreasing.

Concavity

The total sales, in thousands of dollars, for two companies over 4 weeks are shown.

Company A Company B

As you can see, the sales for each company are increasing, but they are increasing in very different ways. To describe the difference in behavior, we can investigate how the average rate of change varies over different intervals. Using tables of values,

Company A

Week

2

3

0

1

4

Sales

0

5

7.1

8.7

10

Rate of

Change

5

2.1

1.6

1.3

Company B

Week

0

1

2

3

4

0

0.5

2

4.5

8

From the tables, we can see that the rate of change for company A is decreasing, while the rate of change for company B is increasing.

Sales Rate of

Change

0.5

1.5

2.5

3.5

Larger increase

Section 1.3 Rates of Change and Behavior of Graphs 41

Smaller increase

Larger increase

Smaller increase

When the rate of change is getting smaller, as with Company A, we say the function is

concave down. When the rate of change is getting larger, as with Company B, we say the function is concave up.

Concavity

A function is concave up if the rate of change is increasing.

A function is concave down if the rate of change is decreasing.

A point where a function changes from concave up to concave down or vice versa is called an inflection point.

Example 10

An object is thrown from the top of a building. The object’s height in feet above

h

) = 144 − 16

t

2 for

0 ≤

t

≤ 3

. Describe ground after t seconds is given by the function the concavity of the graph.

(

t

Sketching a graph of the function, we can see that the function is decreasing. We can calculate some rates of change to explore the behavior

t

2

3

0

1

h(t)

144

128

80

Rate of

Change

-16

-48

-80

0

Notice that the rates of change are becoming more negative, so the rates of change are

decreasing. This means the function is concave down.

42 Chapter 1

Example 11

The value, V, of a car after t years is given in the table below. Is the value increasing or decreasing? Is the function concave up or concave down?

t

V(t)

0 2 4 6 8

28000 24342 21162 18397 15994

Since the values are getting smaller, we can determine that the value is decreasing. We can compute rates of change to determine concavity.

t

V(t)

Rate of change

x

g(x)

0

0

28000

5

10000 9000

-1829

2

24342

10

7000

15

4

21162

-1590

4000

20

0

6

18397

-1382.5

Graphically, concave down functions bend downwards like a frown, and concave up function bend upwards like a smile.

8

15994

-1201.5

Since these values are becoming less negative, the rates of change are increasing, so this function is concave up.

Try it Now

5. Is the function described in the table below concave up or concave down?

Increasing

Decreasing

Concave

Down

Concave

Up

Section 1.3 Rates of Change and Behavior of Graphs 43

Example 12

Estimate from the graph shown the intervals on which the function is concave down and concave up.

On the far left, the graph is decreasing but concave up, since it is bending upwards. It begins increasing at x = -2, but it continues to bend upwards until about x = -1.

From x = -1 the graph starts to bend downward, and continues to do so until about x = 2. The graph then begins curving upwards for the remainder of the graph shown.

From this, we can estimate that the graph is concave up on the intervals

)

, and is concave down on the interval

= -1 and x = 2.

(− 1 , 2 )

( −∞ , − 1 ) and

. The graph has inflection points at x

Try it Now

6. Using the graph from Try it Now 4,

x

) , estimate the

f

( =

x

3 − 6

x

2 − 15

x

+ 20 intervals on which the function is concave up and concave down.

Behaviors of the Toolkit Functions

We will now return to our toolkit functions and discuss their graphical behavior.

Function

Constant Function

( ) =

c

Identity Function

( ) =

x

Increasing/Decreasing

Neither increasing nor decreasing

Increasing

Concavity

Neither concave up nor down

Neither concave up nor down

( ) =

x

2

Increasing on ( ∞ )

Decreasing on (−∞

Minimum at x = 0

Increasing

, 0 )

Concave up ( , )

Cubic Function

( ) =

x

3

Reciprocal

=

1

x

Decreasing (

−∞

, 0 )

( 0 ,

)

Concave down on

Concave up on ( ∞

Inflection point at (0,0)

Concave down on

)

(−∞ , 0 )

Concave up on

(−∞ , 0 )

( ∞ )

44 Chapter 1

Function

Reciprocal squared

=

1

x

2

Cube Root

= 3

x

Square Root

Increasing/Decreasing

Increasing on

Decreasing on

(−∞ ,

( ∞

0 )

)

Increasing

Increasing on ( ∞ )

Concavity

Concave up on ( −∞ , 0 ) ∪

Concave down on

Concave up on (−∞

Inflection point at (0,0)

Concave down on

( ∞

, 0 )

( ∞

)

)

( 0 , ∞ )

( )

=

x

Absolute Value

=

x

Increasing on

Decreasing on

( ∞

(−∞ ,

)

0 )

Neither concave up or down

Important Topics of This Section

Rate of Change

Average Rate of Change

Calculating Average Rate of Change using Function Notation

Increasing/Decreasing

Local Maxima and Minima (Extrema)

Inflection points

Concavity

1.

\$ 3 .

01

5

− \$ 1

years

.

69

=

5

\$ 1 .

32

years

= 0.264 dollars per year.

2. Average rate of change =

f

( 9 ) −

f

( 1 )

=

(

9 − 2 9

) (

9

1 9

3.

3

f a

(

a

2

(

a h

+

+

+

h

)

h

)

3

h

ah

2

f a

(

a

+

h

)

3

=

=

(

(

a h

(

+

3

a h

)

2

3

+

+

3

h h

2

ah

) (

+

h a

2

3

)

+

=

2

3

)

a

=

2

4. Based on the graph, the local maximum appears to occur at (-1, 28), and the local minimum occurs at (5,-80). The function is increasing on ( −∞ , − 1 ) ∪ ( 5 , ∞ ) and decreasing on (− 1 , 5 )

a

+

3

.

3

+

ah

3

a

+

1

2

1

h h

2

+

2 1

3

ah

2

)

=

h

+

( ) ( )

h

3

9

+

1

2 −

a

=

3

4

8

=

2

1

2

=

Section 1.3 Rates of Change and Behavior of Graphs 45

5. Calculating the rates of change, we see the rates of change become more negative, so the rates of change are decreasing. This function is concave down.

x

g(x)

Rate of change

0

10000

5

9000

-1000

10

7000

-2000

15

4000

-3000

6. Looking at the graph, it appears the function is concave down on

20

0

-4000

(−∞ , 2 ) and concave up on ) .

46 Chapter 1

## Section 1.3 Exercises

1. The table below gives the annual sales (in millions of dollars) of a product. What was the average rate of change of annual sales… a) Between 2001 and 2002? b) Between 2001 and 2004?

year 1998 1999 2000 2001 2002 2003 2004 2005 2006

sales 201 219 233 243 249 251 249 243 233

2. The table below gives the population of a town, in thousands. What was the average rate of change of population… a) Between 2002 and 2004? b) Between 2002 and 2006?

year

2000 2001 2002 2003 2004 2005 2006 2007 2008

population 87 84 83 80 77 76 75 78 81

3. Based on the graph shown, estimate the average rate of change from x = 1 to x = 4.

4. Based on the graph shown, estimate the average rate of change from x = 2 to x = 5.

Find the average rate of change of each function on the interval specified.

5.

f

(

x

) =

x

2 on [1, 5] 6.

q

(

x

) =

x

3 on [-4, 2]

7.

g

(

x

) = 3

x

3 − 1 on [-3, 3] 8.

h

(

x

) = 5 − 2

x

2 on [-2, 4]

9.

k

(

t

) = 6

t

2 +

t

4

3

on [-1, 3] 10.

p

(

t

) =

t

2

t

2

4

+

x

3

+ 1

on [-3, 1]

Find the average rate of change of each function on the interval specified. Your answers will be expressions involving a parameter (b or h).

11.

13.

f h

(

(

x x

)

) = 4

= 3

x x

2

+

4

7 on [1, b]

on [2, 2+h]

12.

14.

k g

(

(

x x

)

) = 2

= 4

x x

2

2

9 on [4, b]

on [3, 3+h]

15.

17.

a

(

t j

(

x

)

)

=

=

t

3

1

+

x

3

4

on [9, 9+h]

on [1, 1+h]

16.

18.

b

(

(

t x

)

)

=

4

x t

3

1

+ 3

on [1, 1+h]

r

= on [2, 2+h]

19.

f

(

x

) = 2

x

2

+ 1 on [x, x+h] 20.

g

(

x

) = 3

x

2

− 2 on [x, x+h]

Section 1.3 Rates of Change and Behavior of Graphs 47

For each function graphed, estimate the intervals on which the function is increasing and decreasing.

21. 22.

23. 24.

For each table below, select whether the table represents a function that is increasing or decreasing, and whether the function is concave up or concave down.

25. x f(x)

1 2

2 4

3 8

4 16

5 32

29. x f(x)

1 -10

2 -25

3 -37

4 -47

5 -54

26. x g(x)

1 90

2 70

3 80

4 75

5 72

30. x g(x)

1 -200

2 -190

3 -160

4 -100

5 0

27. x h(x)

1 300

2 290

3 270

4 240

5 200

31. x h(x)

1 -

2 -50

3 -25

4 -10

5 0

100

28. x k(x)

1 0

2 15

3 25

4 32

5 35

32. x k(x)

1 -50

2 -100

3 -200

4 -400

5 -900

48 Chapter 1

For each function graphed, estimate the intervals on which the function is concave up and concave down, and the location of any inflection points.

33. 34.

39.

41.

35. 36.

Use a graph to estimate the local extrema and inflection points of each function, and to estimate the intervals on which the function is increasing, decreasing, concave up, and concave down.

37.

f

(

x

) =

x

4

− 4

x

3

+ 5 38.

h

(

x

) =

x

5

+ 5

x

4

+ 10

x

3

+ 10

x

2

− 1

g

(

t

)

m

(

x

)

=

t t

=

x

4

+

+

3

2

x

3

− 12

x

2

− 10

x

+ 4

40.

42.

k

(

t

)

n

(

x

)

=

=

3

t x

4

2 / 3

t

8

x

3

+ 18

x

2

− 6

x

+ 2

Section 1.4 Composition of Functions 49

## Section 1.4 Composition of Functions

Suppose we wanted to calculate how much it costs to heat a house on a particular day of the year. The cost to heat a house will depend on the average daily temperature, and the average daily temperature depends on the particular day of the year. Notice how we have just defined two relationships: The temperature depends on the day, and the cost depends on the temperature. Using descriptive variables, we can notate these two functions.

The first function, C(T), gives the cost C of heating a house when the average daily temperature is T degrees Celsius, and the second, T(d), gives the average daily temperature of a particular city on day d of the year. If we wanted to determine the cost of heating the house on the 5 th

day of the year, we could do this by linking our two functions together, an idea called composition of functions. Using the function T(d), we could evaluate T(5) to determine the average daily temperature on the 5 th

day of the year.

We could then use that temperature as the input to the C(T) function to find the cost to heat the house on the 5 th

day of the year: C(T(5)).

Composition of Functions

When the output of one function is used as the input of another, we call the entire operation a composition of functions. We write f(g(x)), and read this as “f of g of x” or

f composed with g at x”.

An alternate notation for composition uses the composition operator: 

(

f

g

)(

x

)

is read “f of g of x” or “f composed with g at x”, just like f(g(x)).

Example 1

Suppose c(s) gives the number of calories burned doing s sit-ups, and s(t) gives the number of sit-ups a person can do in t minutes. Interpret c(s(3)).

When we are asked to interpret, we are being asked to explain the meaning of the expression in words. The inside expression in the composition is s(3). Since the input to the s function is time, the 3 is representing 3 minutes, and s(3) is the number of situps that can be done in 3 minutes. Taking this output and using it as the input to the

c(s) function will gives us the calories that can be burned by the number of sit-ups that can be done in 3 minutes.

Note that it is not important that the same variable be used for the output of the inside function and the input to the outside function. However, it is essential that the units on the output of the inside function match the units on the input to the outside function, if the units are specified.

50 Chapter 1

Example 2

Suppose f(x) gives miles that can be driven in x hours, and g(y) gives the gallons of gas used in driving y miles. Which of these expressions is meaningful: f(g(y)) or g(f(x))?

The expression g(y) takes miles as the input and outputs a number of gallons. The function f(x) is expecting a number of hours as the input; trying to give it a number of gallons as input does not make sense. Remember the units have to match, and number of gallons does not match number of hours, so the expression f(g(y)) is meaningless.

The expression f(x) takes hours as input and outputs a number of miles driven. The function g(y) is expecting a number of miles as the input, so giving the output of the f(x) function (miles driven) as an input value for g(y), where gallons of gas depends on miles driven, does make sense. The expression g(f(x)) makes sense, and will give the number of gallons of gas used, g, driving a certain number of miles, f(x), in x hours.

Try it Now

1. In a department store you see a sign that says 50% off of clearance merchandise, so final cost C depends on the clearance price, p, according to the function C(p). Clearance price, p, depends on the original discount, d, given to the clearance item, p(d).

Interpret C(p(d)).

Composition of Functions using Tables and Graphs

When working with functions given as tables and graphs, we can look up values for the functions using a provided table or graph, as discussed in section 1.1. We start evaluation from the provided input, and first evaluate the inside function. We can then use the output of the inside function as the input to the outside function. To remember this, always work from the inside out.

Example 3

Using the tables below, evaluate

( (3)) and

( (4))

3

4

x

1

2

f(x)

6

8

3

1

x

1

2

3

4

g(x)

3

5

2

7

, we start from the inside with the value 3. We then evaluate the To evaluate

( (3)) inside expression

g

(3) using the table that defines the function g:

g

(3) 2 use that result as the input to the f function, so

g

(3) and we get

f

(2)

. We can then

is replaced by the equivalent value 2

. Then using the table that defines the function f, we find that

f

(2) 8 .

( (3)) =

f

= .

Section 1.4 Composition of Functions 51

To evaluate ( (4))

f

(4) 1

( (4)) =

g g f

=

, we first evaluate the inside expression

. Then using the table for g we can evaluate:

f

(4)

Try it Now

2. Using the tables from the example above, evaluate ( (1)) using the first table:

and ( (3))

Example 4

Using the graphs below, evaluate ( (1))

.

g(x) f(x)

.

, we again start with the inside evaluation. We evaluate (1) To evaluate ( (1))

g

using the graph of the g(x) function, finding the input of 1 on the horizontal axis and finding the output value of the graph at that input. Here, to the f function, ( (1))

=

f

(3)

(1) 3 . Using this value as the input

. We can then evaluate this by looking to the graph of the f(x) function, finding the input of 3 on the horizontal axis, and reading the output value of the graph at this input. Here,

f

(3) 6 , so ( (1)) 6 .

Try it Now

3. Using the graphs from the previous example, evaluate ( (2))

.

Composition using Formulas

When evaluating a composition of functions where we have either created or been given formulas, the concept of working from the inside out remains the same. First we evaluate the inside function using the input value provided, then use the resulting output as the input to the outside function.

52 Chapter 1

Example 5

Given

f

(

t

) =

t

2 −

t

and

h

(

x

)

Since the inside evaluation is

h

= 3

x

(1)

+ 2 , evaluate ( (1)) . we start by evaluating the h(x) function at 1:

h

( 1 ) = 3 ( 1 )

f h

+ 2

=

=

f

5

Then ( (1)) (5) , so we evaluate the f(t) function at an input of 5:

f

(

h

( 1 )) =

f

( 5 ) = 5 2 − 5 = 20

Try it Now

4. Using the functions from the example above, evaluate

( ( 2))

.

While we can compose the functions as above for each individual input value, sometimes it would be really helpful to find a single formula which will calculate the result of a composition f(g(x)). To do this, we will extend our idea of function evaluation. Recall that when we evaluate a function like

2

f

(

t

) =

t t

, we put whatever value is inside the parentheses after the function name into the formula wherever we see the input variable.

Example 6

Given

f

(

t

)

f

( 3 )

=

3 2

=

3

t

2

t

, evaluate

f

(3) and ( 2) .

f

(

2 )

=

(

2 ) 2

(

2 )

We could simplify the results above if we wanted to

f

=

2

− = − =

f − = −

2

− − = + =

We are not limited, however, to using a numerical value as the input to the function. We can put anything into the function: a value, a different variable, or even an algebraic expression, provided we use the input expression everywhere we see the input variable.

Example 7

Using the function from the previous example, evaluate f(a)

This means that the input value for t is some unknown quantity a. As before, we evaluate by replacing the input variable t with the input quantity, in this case a.

f

(

a

) =

a

2 −

a

Section 1.4 Composition of Functions 53

The same idea can then be applied to expressions more complicated than a single letter.

Example 8

Using the same f(t) function from above, evaluate

f

2 )

.

Everywhere in the formula for f where there was a t, we would replace it with the input

( x + 2) . Since in the original formula the input t was squared in the first term, the entire

x + input

2

needs to be squared when we substitute, so we need to use grouping parentheses. To avoid problems, it is advisable to always use parentheses around inputs.

f

(

x

+ =

2

− 2 ) (

x

+ 2 ) (

x

+ 2 )

We could simplify this expression further to

( + =

x

+ 2)(

x

+ − + 2)

f

(

x

+ 2 ) =

x

2 + 3

x

+ 2 if we wanted to:

Use the “FOIL” technique (first, outside, inside, last)

(

( +

+

2)

2)

=

=

x x

2

2

+

+

2

2

x x

+

+

2

2

x x

+ − +

4

x

2

2) distribute the negative sign combine like terms

( + 2) =

x

2 + 3

x

+ 2

Example 9

Using the same function, evaluate

f

(

t

3

)

.

Note that in this example, the same variable is used in the input expression and as the input variable of the function. This doesn’t matter – we still replace the original input t in the formula with the new input expression,

t

3 .

f

(

t

3

) = (

t

Try it Now

3

)

2

− (

t

3

) =

t

6

t

3

5. Given

g

(

x

) = 3

x

x

, evaluate

g

2 ) .

This now allows us to find an expression for a composition of functions. If we want to find a formula for f(g(x)), we can start by writing out the formula for g(x). We can then evaluate the function f(x) at that expression, as in the examples above.

54 Chapter 1

Example 10

Let

f

(

x

) =

x

2 and

g

(

x

) =

1

x

− 2

x

, find f(g(x)) and g(f(x)).

To find f(g(x)), we start by evaluating the inside, writing out the formula for g(x)

g

(

x

) =

1

x

− 2

x

We then use the expression

as input for the function f.

f

(

g

(

x

)) =

f

2

x

We then evaluate the function f(x) using the formula for g(x) as the input.

2

Since

f

(

x

) =

x

2

then

f

2

x

= 2

x

This gives us the formula for the composition:

f

(

g

(

x

)) = 2

x

2

Likewise, to find g(f(x)), we evaluate the inside, writing out the formula for f(x)

g

( )

Now we evaluate the function g(x) using x

g

(

(

f f

(

(

x x

))

))

=

=

Try it Now

g x

1

2

x

2

− 2

x

2

2

as the input.

6. Let

f

(

x

) =

x

3 + 3

x

and

g

(

x

) =

x

, find f(g(x)) and g(f(x)).

Example 11

A city manager determines that the tax revenue, R, in millions of dollars collected on a population of p thousand people is given by the formula

R

(

p

) = 0 .

03

p

+

p

, and that the city’s population, in thousands, is predicted to follow the formula

p

(

t

) = 60 + 2

t

+ 0 .

3

t

2 , where t is measured in years after 2010. Find a formula for the tax revenue as a function of the year.

Since we want tax revenue as a function of the year, we want year to be our initial input, and revenue to be our final output. To find revenue, we will first have to predict the city population, and then use that result as the input to the tax function. So we need to find R(p(t)). Evaluating this,

Section 1.4 Composition of Functions 55

R

(

p

(

t

)) =

R

(

60 + 2

t

+ 0 .

3

t

2

)

= 0 .

03

(

60 + 2

t

+ 0 .

3

t

2

)

+ 60 + 2

t

+ 0 .

3

t

2

This composition gives us a single formula which can be used to predict the tax revenue during a given year, without needing to find the intermediary population value.

For example, to predict the tax revenue in 2017, when t = 7 (because t is measured in years after 2010)

R

(

p

( 7 )) = 0 .

03

(

60 + 2 ( 7 ) + 0 .

3 ( 7 ) 2

)

+ 60 + 2 ( 7 ) + 0 .

3 ( 7 ) 2 ≈ 12 .

079 million dollars

In some cases, it is desirable to decompose a function – to write it as a composition of two simpler functions.

Example 12

Write

f

(

x

) = 3 + 5 −

x

2 as the composition of two functions.

We are looking for two functions, g and h, so

2

f

(

x

) =

g

(

h

(

x

)) . To do this, we look for a function inside a function in the formula for f(x). As one possibility, we might notice that

h

(

x

) = 5 −

is the inside of the square root. We could then decompose the function as:

x

2

g g

(

x

) = 3 +

x

We can check our answer by recomposing the functions:

(

h

(

x

)) =

g

(

5 −

x

2

)

= 3 + 5 −

x

2

Note that this is not the only solution to the problem. Another non-trivial decomposition would be

Important Topics of this Section

Definition of Composition of Functions

g

Compositions using:

Words

Tables

Graphs

Equations

h

(

x

) =

x

2 and (

x

) = 3 + 5 −

x

56 Chapter 1

1. The final cost, C, depends on the clearance price, p, which is based on the original

2.

3.

4. discount, d. (Or the original discount d, determines the clearance price and the final cost is half of the clearance price.)

( (1))

( (2))

=

( ( 2))

=

=

f g h

(3) 3

(5) 3

(6) 20

and

( (3)) =

g

(3) 2

did you remember to insert your input values using parentheses?

6.

− =

t

− −

t

( ( )) =

f

( ) ( ) ( )

( ( )) =

(

3

+ 3

x

) (

x

3

+ 3

x

)

Section 1.4 Composition of Functions 57

## Section 1.4 Exercises

Given each pair of functions, calculate

1.

( )

= 4

x

+ 8 , 7

x

2

3. =

x

+ 4 , = 12

x

( )

2.

and

( )

( )

= 5

x

+ 7 ,

.

4. =

x

1

+ 2

,

Use the table of values to evaluate each expression

5. ( (8))

6.

( )

7. ( (5))

8.

( )

9. ( (4))

10.

( )

11. ( (2))

12.

( )

4 2

x

2

( )

= 4

x

3

x

( )

0 7

1 6

2 5

3 8

4 4

5 0

6 2

7 1

8 9

9 3

Use the graphs to evaluate the expressions below.

13.

( (3))

14.

(

( )

)

15. ( (1))

16.

( )

17. ( (5))

18.

( )

19.

( (2))

20.

( )

For each pair of functions, find

21. =

x

1

− 6

,

( )

and

( )

7 6

22.

( )

=

x

1

− 4

,

( )

2 4

23.

( )

=

x

2

+ 1 , =

x

+ 2 24. =

x

+ 2 ,

( )

=

x

2

+ 3

g x

1

8

7

3

9

5

6

2

4

0

58 Chapter 1

25.

( )

=

x

,

( )

= 5 1 26.

( )

=

3

x

, =

x

+

x

3

1

27. If

( )

4

( ) 6 ( )

x

, find

( ( ( )))

28. If

( )

2

29. Given functions

,

( )

( )

=

=

1

x

1

p x m x x

functions using interval notation. a. Domain of

( )

( )

and

and

( )

( )

3

2

, find

f g h x

= − , state the domains of the following b. Domain of ( ( )) c. Domain of ( ( ))

30. Given functions

( )

=

1

x

( )

( )

and functions using interval notation. a. Domain of

q x h x

( )

2

, state the domains of the following b. Domain of ( ( )) c. Domain of ( ( ))

31. The function ( ) gives the number of items that will be demanded when the price is p. The production cost,

( )

C x

is the cost of producing x items. To determine the cost of production when the price is \$6, you would do which of the following: a. Evaluate

( (6)) b. Evaluate

( (6)) d. Solve ( ( )) 6 c. Solve ( ( )) 6

32. The function ( ) gives the pain level on a scale of 0-10 experienced by a patient with d milligrams of a pain reduction drug in their system. The milligrams of drug in the patient’s system after t minutes is modeled by ( ) patient will be at a pain level of 4, you would need to:

. To determine when the a. Evaluate c. Solve

( )

(

( )

)

4 b. Evaluate d. Solve

( )

(

( )

)

4

Section 1.4 Composition of Functions 59

33. The radius r, in inches, of a spherical balloon is related to the volume, V, by by

=

( )

3

=

3

V

4

π

. Air is pumped into the balloon, so the volume after t seconds is given

10 20

t

. a. Find the composite function

(

( )

)

34. The number of bacteria in a refrigerated food product is given by

( )

= b. Find the time when the radius reaches 10 inches.

23

T

2

− 56

T

1 3 33 , where T is the temperature of the food. When the food is removed from the refrigerator, the temperature is given by where t is the time in hours.

( ) 5 1.5

a. Find the composite function

(

( )

) b. Find the time when the bacteria count reaches 6752

Find functions

( )

and

( )

so the given function can be expressed as

( )

=

( )

.

,

35.

37.

39.

( ) (

x

+ 2

)

2

=

x

3

− 5

( )

3

x

− 2

36.

38.

40.

( ) (

x

− 5

)

3

=

(

x

+

4

2

)

2

( )

4 3

x

41. Let

( )

be a linear function, with form

( )

=

ax b

a. Show that

( ) b. Find a function ( )

is a linear function

such that

( )

= 6

x

8

42. Let

=

1

2

x

+ 3

[UW] a. Sketch the graphs of

( )

(

( )

)

(

(

( )

)

)

on the interval −2 ≤ x ≤ 10. b. Your graphs should all intersect at the point (6, 6). The value x = 6 is called a fixed point of the function f(x)since

f

(6) 6 ; that is, 6 is fixed - it doesn’t move when f is applied to it. Give an explanation for why 6 is a fixed point for any function

( ( (... ( )...)))

. c. Linear functions (with the exception of ( ) =

x

) can have at most one fixed point. Quadratic functions can have at most two. Find the fixed points of the function

( )

=

x

2

− 2 . d. Give a quadratic function whose fixed points are x = −2 and x = 3.

60 Chapter 1

43. A car leaves Seattle heading east. The speed of the car in mph after m minutes is given by the function a. Find a function

=

70

10 +

m m

2

2

. [UW]

that converts seconds s into minutes m. Write out the b. Find a function ) that converts hours h into minutes m. Write out the c. Find a function that converts mph s into ft/sec z. Write out the formula for the new function ( ( ) ; what does this function calculate?

Section 1.5 Transformation of Functions 61

## Section 1.5 Transformation of Functions

Often when given a problem, we try to model the scenario using mathematics in the form of words, tables, graphs and equations in order to explain or solve it. When building models, it is often helpful to build off of existing formulas or models. Knowing the basic graphs of your tool-kit functions can help you solve problems by being able to model new behavior by adapting something you already know. Unfortunately, the models and existing formulas we know are not always exactly the same as the ones presented in the problems we face.

Fortunately, there are systematic ways to shift, stretch, compress, flip and combine functions to help them become better models for the problems we are trying to solve. We can transform what we already know into what we need, hence the name,

“Transformation of functions.” When we have a story problem, formula, graph, or table, we can then transform that function in a variety of ways to form new functions.

Shifts

Example 1

To regulate temperature in our green building, air flow vents near the roof open and close throughout the day to allow warm air to escape. The graph below shows the open vents V (in square feet) throughout the day, t in hours after midnight. During the summer, the facilities staff decides to try to better regulate temperature by increasing the amount of open vents by 20 square feet throughout the day. Sketch a graph of this new function.

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

62 Chapter 1

Notice that in the second graph, for each input value, the output value has increased by twenty, so if we call the new function S(t), we could write

( ) = +

.

Note that this notation tells us that for any value of t, S(t) can be found by evaluating the V function at the same input, then adding twenty to the result.

This defines S as a transformation of the function V, 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.

Vertical Shift

Given a function f(x), if we define a new function g(x) as

( ) = ( ) + , where k is a constant then g(x) is a vertical shift of the function f(x), where all the output values have been increased by k.

If k is positive, then the graph will shift up

If k is negative, then the graph will shift down

Example 2

A function f(x) is given as a table below. Create a table for the function

( ) =

f x

x

2

f(x) 1

4

3

The formula ( ) = ( ) 3

6

7

8

11

tells us that we can find the output values of the g function by subtracting 3 from the output values of the f function. For example,

is found from the given table

g f

(2) 1

g x

(2)

=

=

=

f f x

(2) 3 1 3 2

− is our given transformation

− = − = −

Subtracting 3 from each f(x) value, we can complete a table of values for g(x)

6

4

8

8

x

2 4

g(x) -2 0

Section 1.5 Transformation of Functions 63

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

Try it Now

1. The function ( ) = − 4.9

t

2 + 30

t

gives the height h of a ball (in meters) thrown upwards from the ground after t seconds. Suppose the ball was instead thrown from the top of a 10 meter building. Relate this new height function b(t) to h(t), then find a formula for b(t).

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.

Example 3

Returning to our building air flow example from the beginning of the section, suppose that in Fall, the facilities staff decides that the original venting plan starts too late, and they want to move the entire venting program to start two hours earlier. Sketch a graph of the new function.

V(t) = the original venting plan F(t) = starting 2 hrs sooner

In the new graph, which we can call F(t), at each time, the air flow is the same as the original function V(t) was two hours later. For example, in the original function V, the air flow starts to change at 8am, while for the function F(t) the air flow starts to change

=

F

. at 6am. The comparable function values are

V

(8) (6)

Notice also that the vents first opened to 220 sq. ft. at 10 a.m. under the original plan,

=

F

. while under the new plan the vents reach 220 sq. ft. at 8 a.m., so

V

(10) (8)

In both cases we see that since F(t) starts 2 hours sooner, the same output values are reached when, ( ) = ( 2)

Note that ( 2) had the affect of shifting the graph to the left.

64 Chapter 1

Horizontal changes or “inside changes” affect the domain of a function (the input) instead of the range and often seem counterintuitive. The new function F(t) uses the same outputs as V(t), but matches those outputs to inputs two hours earlier than those of V(t).

Said another way, we must add 2 hours to the input of V to find the corresponding output

F t V t

+

. for F:

( ) ( 2)

Horizontal Shift

Given a function f(x), if we define a new function g(x) as

( ) = ( + ) , where k is a constant then g(x) is a horizontal shift of the function f(x)

If k is positive, then the graph will shift left

If k is negative, then the graph will shift right

Example 4

A function f(x) is given as a table below. Create a table for the function ( ) = ( − 3)

x

2

f(x) 1

4

3

The formula ( ) = ( − 3)

6

7

8

11

tells us that the output values of g are the same as the output value of f with an input value three smaller. For example, we know that

f

(2) 1

To get the same output from the g function, we will need an input value that is 3 larger:

.

g

We input a value that is three larger for g(x) because the function takes three away before evaluating the function f.

(5) =

f

− =

f

=

x

5

g(x) 1

7

3

9

7

11

11

The result is that the function g(x) has been shifted to the right by 3. Notice the output values for g(x) remain the same as the output values for f(x) in the chart, but the corresponding input values, x, have shifted to the right by 3: 2 shifted to 5, 4 shifted to

7, 6 shifted to 9 and 8 shifted to 11.

Section 1.5 Transformation of Functions 65

Example 5

The graph shown is a transformation of the toolkit function

( ) =

x

2 . Relate this new function g(x) to f(x), and then find a formula for g(x).

Notice that the graph looks almost identical in shape to the ( ) =

x

2

function, but the x values are shifted to the right two 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 two to the right, so

( )

=

(

2)

Notice how we must input the value x = 2, to get the output value y = 0; the x values must be two units larger, because of the shift to the right by 2 units.

We can then use the definition of the f(x) function to write a formula for g(x) by evaluating ( 2) :

Since ( ) =

x

2 and ( ) = ( − 2)

( ) = ( − 2) (

x

− 2) 2

If you find yourself having trouble determining whether the shift is +2 or -2, it might help to consider a single point on the graph. For a quadratic, looking at the bottommost point is convenient. In the original function,

f

(0) 0

. In our shifted function,

g

(2) 0 . To obtain the output value of 0 from the f function, we need to decide whether a +2 or -2 will work to satisfy

g

(2) = will need to subtract 2 from our input values.

f

(2 ? 2) =

f

(0) 0 . For this to work, we

When thinking about horizontal and vertical shifts, it is good to keep in mind that vertical shifts are affecting the output values of the function, while horizontal shifts are affecting the input values of the function.

Example 6

The function G(m) gives the number of gallons of gas required to drive m miles.

and ( 10) Interpret ( ) 10

is adding 10 to the output, gallons. So this is 10 gallons of gas more than is required to drive m miles. So this is the gas required to drive m miles, plus another 10 gallons of gas.

( 10) is adding 10 to the input, miles. So this is the number of gallons of gas required to drive 10 miles more than m miles.

66 Chapter 1

Try it Now

2. Given the function

x

) =

f f

(

(

x x

) =

+

x

graph the original function

f

(x ) transformation

g

( 2 ) . a. Is this a horizontal or a vertical change? b. Which way is the graph shifted and by how many units? c. Graph f(x) and g(x) on the same axes. and the

Now that we have two transformations, we can combine them together.

Remember:

Vertical Shifts are outside changes that affect the output (vertical) axis values shifting the transformed function up or down.

Horizontal Shifts are inside changes that affect the input (horizontal) axis values shifting the transformed function left or right.

Example 7

Given ( ) =

x h x

=

f x

+ − .

The function f is our toolkit absolute value function. We know that this graph has a V shape, with the point at the origin. The graph of h has transformed f in two ways:

( 1)

is a change on the inside of the function, giving a horizontal shift left by 1, then the subtraction by 3 in ( 1) 3 is a change to the outside of the function, giving a vertical shift down by 3. Transforming the graph gives

We could also find a formula for this transformation by evaluating the expression for

h(x):

( ) = ( 1) 3

( )

x

Section 1.5 Transformation of Functions 67

Example 8

Write a formula for the graph shown, a transformation of the toolkit square root function.

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 ( ) = ( 1) 2 . Using the formula for the square root function we can write

=

x

− +

Note that this transformation has changed the domain and range of the function. This new graph has domain [1, ) . and range [2, )

Reflections

Another transformation that can be applied to a function is a reflection over the horizontal or vertical axis.

Example 9

Reflect the graph of ( ) =

t

both vertically and horizontally.

Reflecting the graph vertically, each output value will be reflected over the horizontal t axis:

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

= −

= −

t

Notice this is an outside change or vertical change that affects the output s(t) values so the negative sign belongs outside of the function.

68 Chapter 1

Reflecting horizontally, each input value will be reflected over the vertical axis:

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

( ) = −

= −

t

Notice 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 [0, ) and range [0, ) , the vertical

, and the horizontal reflection gives reflection gives the V(t) function the range ( ,0] the H(t) function the domain

( ,0]

.

Reflections

Given a function f(x), if we define a new function g(x) as

= − ,

g x

( ) then g(x) is a vertical reflection of the function f(x), sometimes called a reflection about the x-axis

If we define a new function g(x) as

( ) = − , then g(x) is a horizontal reflection of the function f(x), sometimes called a reflection about the y-axis

Example 10

A function f(x) is given as a table below. Create a table for the function ( ) = − and ( ) = −

x

2

f(x) 1

4

3

6

7

8

11

Section 1.5 Transformation of Functions 69

For g(x), this is a vertical reflection, so the x values stay the same and each output value will be the opposite of the original output value:

x

For h(x), this is a horizontal reflection, and each input value will be the opposite of the original input value and the h(x) values stay the same as the f(x) values:

x

-2

h(x) 1

-4

3

-6

7

-8

11

Example 11

A common model for learning has an equation similar to

t

( ) = − 2 + 1 , where k is the percentage of mastery that can be achieved after t practice sessions. This is a

f t = shown here. transformation of the function ( ) 2

t

Sketch a graph of k(t).

This equation combines three transformations into one equation.

A horizontal reflection: ( ) 2

t

combined with

A vertical reflection: ( ) 2

t

combined with

A vertical shift up 1:

f t

2

t

+ 1

We can sketch a graph by applying these transformations one at a time to the original function:

The original graph Horizontally reflected Then vertically reflected

Then, after shifting up 1, we get the final graph:

70 Chapter 1

( )

f t

2 −

t

+ 1 .

Note: As a model for learning, this function would be limited to a domain of t ≥ 0 with corresponding range [0,1) .

Try it Now

3. Given the toolkit function ( ) =

x

2 , graph g(x) = -f(x) and h(x) = f(-x).

Do you notice anything surprising? Discuss your findings with a friend.

,

Some functions exhibit symmetry, in which reflections result in the original graph. For example, reflecting the toolkit functions ( ) =

x

2 or ( ) =

x

will result in the original graph. We call these types of graphs symmetric about the y-axis.

Likewise, if the graphs of ( ) =

x

3 or =

1

x

were reflected over both axes, the result would be the original graph:

( ) =

x

3 − − −

We call these graphs symmetric about the origin.

Section 1.5 Transformation of Functions 71

Even and Odd Functions

A function is called an even function if

( ) = −

The graph of an even function is symmetric about the vertical axis

A function is called an odd function if

= − −

The graph of an odd function is symmetric about the origin

Note: A function can be neither even nor odd if it does not exhibit either symmetry. For example, the ( ) 2

Example 12

Is the function ( ) =

x

3 + 2

x

even, odd, or neither?

Without looking at a graph, we can determine this by finding formulas for the reflections, and seeing if they return us to the original function:

− = −

x

3

2

x

This does not return us to the original function, so this function is not even. We can now try also applying a horizontal reflection:

(

x

3 2

x

)

=

x

3 + 2

x

Since ( ) ( ) , this is an odd function

Stretches and Compressions

With shifts, we saw the effect of adding or subtracting to the inputs or outputs of a function. We now explore the effects of multiplying the inputs or outputs.

Remember, 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.

72 Chapter 1

Example 13

A function P(t) models the growth of a population of fruit flies. The growth is shown below.

A scientist is comparing this to another population, Q, that grows the same way, but starts twice as large. Sketch a graph of this population.

Since the population is always twice as large, the new population’s output values are always twice the original function output values. Graphically, this would look like

Symbolically,

(

t

2

P

(

t

)

This means that for any input t, the value of the Q function is twice the value of the P function. Notice 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, t, stay the same while the output values are twice as large as before.

Vertical Stretch/Compression

Given a function f(x), if we define a new function g(x) as

g

(

x

) =

kf

(

x

) , where k is a constant then g(x) is a vertical stretch or compression of the function f(x).

If k > 1, then the graph will be stretched

If 0< k < 1, then the graph will be compressed

If k < 0, then there will be combination of a vertical stretch or compression with a vertical reflection

Section 1.5 Transformation of Functions 73

Example 14

A function f(x) is given as a table below. Create a table for the function

x

2

f(x) 1

4

3

6

7

8

11

g

(

x

) =

1

2

f

The formula

g

(

x

) =

1

2

f

(

x

) tells us that the output values of g are half of the output values of f with the same inputs. For example, we know that

f

3 . Then

(

x

)

g

( 4 ) =

1

2

f

( 4 ) =

1

2

( 3 ) =

3

2

x

2 4 6 8

g(x) 1/2

3/2 7/2 11/2

The result is that the function g(x) has been compressed vertically by ½. Each output value has been cut in half, so the graph would now be half the original height.

Example 15

The graph to the right is a transformation of the toolkit function

f

(

x

) =

x

3

. Relate this new function

g(x) to f(x), then find a formula for g(x).

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

g

2

. With the basic cubic function at the same input,

f

( 2 ) = 2

3

= 8

. Based on that, it appears that the outputs of g are ¼ the outputs of the function f, since conclude that:

g

(

x

) =

g

( 2 ) =

1

x

1

4

f

( 2 ) . From this we can fairly safely

4

f

( )

We can write a formula for g by using the definition of the function f

1 1

g

(

x

) =

f

(

x

) =

x

3

4 4

Now we consider changes to the inside of a function.

74 Chapter 1

Example 16

Returning to the fruit fly population we looked at earlier, suppose the scientist is now comparing it to a population that progresses through its lifespan twice as fast as the original population. In other words, this new population, R, will progress in 1 hour the same amount the original population did in 2 hours, and in 2 hours, will progress as much as the original population did in 4 hours. Sketch a graph of this population.

Symbolically, we could write

R =

R

(

(

(

t

1

2

)

)

) =

P

(

P

(

P

( 2

t

2 )

4 )

)

, and in general,

Graphing this,

Original population, P(t) Transformed, R(t)

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

Horizontal Stretch/Compression

Given a function f(x), if we define a new function g(x) as

g

(

x

) = (

kx

)

f

, where k is a constant then g(x) is a horizontal stretch or compression of the function f(x).

If k > 1, then the graph will be compressed by k

If 0< k < 1, then the graph will be stretched by k

If k < 0, then there will be combination of a horizontal stretch or compression with a horizontal reflection.

Section 1.5 Transformation of Functions 75

Example 17

A function f(x) is given as a table below. Create a table for the function

x

2

f(x) 1

4

3

6

7

The formula

g

(

x

) =

f

1

2

x

tells us that the output values for g are the same as the output values for the function f at an input half the size. Notice that we don’t have enough information to determine

g

8

11

( 2 ) since

g

( 2 ) =

f

1

2 =

f

( 1 )

g

(

x

) =

f

, and we do not

1

2

x

have a value for

f

( 1 ) in our table. Our input values to g will need to be twice as large to get inputs for f that we can evaluate. For example, we can determine

g

( 4 ) since

g

( 4 ) =

f

1

4 =

f

( 2 ) = 1 .

x

4

g(x) 1

8

3

12

7

16

11

Since each input value has been doubled, the result is that the function g(x) has been stretched horizontally by 2.

Example 18

Two graphs are shown below. Relate the function g(x) to f(x)

f(x) g(x)

The graph of g(x) looks like the graph of f(x) horizontally compressed. Since f(x) ends at

(6,4) and g(x) ends at (2,4) we can see that the x values have been compressed by 1/3, because 6(1/3) = 2. We might also notice that

g

( 2 ) =

f

( )

, and

g

( 1 ) =

f

( )

. Either way, we can describe this relationship as compression by 1/3.

g

)

f

. This is a horizontal

76 Chapter 1

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 4, we need a coefficient of 1/4 in our function:

f

1

4

x

. This means 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 Now

4. Write a formula for the toolkit square root function horizontally stretched by three.

It is useful to note that for most toolkit functions, a horizontal stretch or vertical stretch can be represented in other ways. For example, a horizontal compression of the function

( )

=

x

2

by ½ would result in a new function

( ) ( )

2

, but this can also be written as

( )

= 4

x

2

, a vertical stretch of f(x) by 4. When writing a formula for a transformed toolkit, we only need to find one transformation that would produce the graph.

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

When we see an expression like 2

f

(

x

The answer here follows nicely from order of operations, for outside transformations.

Given the output value of f(x), we first multiply by 2, causing the vertical stretch, then add 3, causing the vertical shift. (Multiplication before Addition)

Combining Vertical Transformations

When combining vertical transformations written in the form first vertically stretch by a, then vertically shift by k.

af

(

x

) +

k

,

Horizontal transformations are a little trickier to think about. When we write

g

( ) =

f x

+ for example, we have to think about how the inputs to the g function relate to the inputs to the f function. Suppose we know

f

would produce that output? In other words, what value of x will allow

g

(

x x

) =

f

( 2

( 2

x

+ compression.

3 )

3 ) =

f

( 12 ) ? We would need 2

x

+ 3 = 12

12 . What input to g

. To solve for x, we would first subtract 3, resulting in horizontal shift, then divide by 2, causing a horizontal

Section 1.5 Transformation of Functions 77

Combining Horizontal Transformations

When combining horizontal transformations written in the form first horizontally shift by p, then horizontally stretch by 1/b.

f

(

bx

+

p

)

,

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

f

(

bx

+

p

) =

f



b

p b



Factoring in this way allows us to horizontally stretch first, then shift horizontally.

Combining Horizontal Transformations (Factored Form)

f

(

b

(

x

+

h

)) , When combining horizontal transformations written in the form first horizontally stretch by 1/b, then horizontally shift by h.

Independence of Horizontal and Vertical Transformations

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

Example 19

Given the table of values for the function f(x) below, create a table of values for the

g

(

x

) = 2

f

( 3

x

) + 1 function

x

6 12 18 24

f(x) 10 14 15 17

There are 3 steps to this transformation and we will work from the inside out. Starting

)

is a horizontal compression by 1/3, which with the horizontal transformations,

f

means we multiply each x value by 1/3.

x f

)

2

10

4

14

6

15

8

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.

x

2

f

( 3

x

)

2

20

4

28

6

30

8

34

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

x g

(

x

) = 2

f

( 3

x

) + 1

2 4 6 8

21 29 31 35

78 Chapter 1

Example 20

Using the graph of f(x) below, sketch a graph of

k

(

x

) =

f

1

2

x

+ 1

− 3

To make things simpler, we’ll start by factoring out the inside of the function

f

1

2

x

+

1

3

=

f

1

2

(

x

+

2 )

3

By factoring the inside, we can first horizontally stretch by 2, as indicated by the ½ on the inside of the function. Remember 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).

Next, we horizontally shift left by 2 units, as indicated by the x+2.

Last, we vertically shift down by 3 to complete our sketch, as indicated by the -3 on the outside of the function.

Horizontal stretch by 2 Horizontal shift left by 2 Vertical shift down 3

Section 1.5 Transformation of Functions 79

Example 21

Write an equation for the transformed graph of the quadratic function shown.

Since this is a quadratic function, first consider what the basic quadratic tool kit function looks like and how this has changed. Observing the graph, we notice several transformations:

The original tool kit function has been flipped over the x axis, some kind of stretch or compression has occurred, and we can see a shift to the right 3 units and a shift up 1 unit.

In total there are four operations:

Vertical reflection, requiring a negative sign outside the function

Vertical Stretch or Horizontal Compression

*

Horizontal Shift Right 3 units, which tells us to put x-3 on the inside of the function

Vertical Shift up 1 unit, telling us to add 1 on the outside of the function

*

It is unclear from the graph whether it is showing a vertical stretch or a horizontal compression. For the quadratic, it turns out we could represent it either way, so we’ll use a vertical stretch. You may be able to determine the vertical stretch by observation.

By observation, the basic tool kit function has a vertex at (0, 0) and symmetrical points at (1, 1) and (-1, 1). These points are one unit up and one unit over from the vertex.

The new points on the transformed graph are one unit away horizontally but 2 units away vertically. They have been stretched vertically by two.

Not everyone can see this by simply looking at the graph. If you can, great, but if not, we can solve for it. First, we will write the equation for this graph, with an unknown vertical stretch.

f

(

x

) =

x

2

The original function

f

(

x

) = −

x

2

Vertically reflected

af

(

x

) = −

ax

2

Vertically stretched

af

(

x

− 3 ) = −

a

(

x

− 3 )

2

Shifted right 3

af

(

x

− 3 ) + 1 = −

a

(

x

− 3 )

2

+ 1 Shifted up 1

We now know our graph is going to have an equation of the form highest point), such as the point (2,-1), which tells us formula, and substituting 2 for x, and -1 for g(x)

g

(

x

) = −

a

(

x

− 3

To find the vertical stretch, we can identify any point on the graph (other than the

g

( 2 ) = − 1

)

2

. Using our general

+ 1

.

80 Chapter 1

− 1 = −

a

( 2

− 1

− 2

=

=

a

a

+ 1

− 3 )

2

+ 1

2 =

a

This tells us that to produce the graph we need a vertical stretch by two.

The function that produces this graph is therefore ( −

2

+ 1

g x

) = − 2 (

x

3 ) .

Try it Now

5. Consider the linear function

g

(

x

) = − 2

x

+ 1 . Describe its transformation in words using the identity tool kit function f(x) = x as a reference.

Example 22

On what interval(s) is the function

2

2

2

f f f

(

(

(

(

(

)

2

)

g

( =

x

2

1

2

+ 3

The basic reciprocal squared function is increasing on

, 0 )

x x x

)

=

1 )

1 )

x

=

+

2

2

3

x

=

2

1

x

2

1

2

+ 3

0 , )

x

)

( )

increasing and decreasing?

This is a transformation of the toolkit reciprocal squared function,

A shift right by 1

A shift up by 3

f

(

x

) =

A vertical flip and vertical stretch by 2

x

1

2

:

(−∞ and decreasing on . Because of the vertical flip, the g(x) function will be decreasing on the left and increasing on the right. The horizontal shift right by 1 will also shift these intervals to the right one. From this, we can determine g(x) will be increasing on

(−∞ , 1 ) determine these intervals.

) and decreasing on

. We also could graph the transformation to help us

Try it Now

6. On what interval(s) is the function

h

(

t

) = (

t

− 3 )

3

+ 2 concave up and down?

Section 1.5 Transformation of Functions 81

Important Topics of This Section

Transformations

Vertical Shift (up & down)

Horizontal Shifts (left & right)

Reflections over the vertical & horizontal axis

Even & Odd functions

Vertical Stretches & Compressions

Horizontal Stretches & Compressions

Combinations of Transformation

1. ( ) ( ) 10 4.9

t

2

30 10

b t

=

h t

+ = − +

t

+

2. a. Horizontal shift

b. The function is shifted to the LEFT by 2 units.

c. Shown to the right

3. Shown to the right

Notice: g(x) = f(-x) looks the same as f(x)

4.

g

(

x

) =

f

1

3

x

so using the square root function we get

=

1

3

x

5. The identity tool kit function f(x) = x has been transformed in 3 steps

a. Vertically stretched by 2.

b. Vertically reflected over the x axis.

c. Vertically shifted up by 1 unit.

6. h(t) is concave down on (−∞ , 3 ) and concave up on ( ∞ )

82 Chapter 1

## Section 1.5 Exercises

f x

1.

(

49

)

2. ( 43)

3. ( 3)

5.

( )

5

7.

9.

( )

2

( )

4. ( 4)

6.

( )

8

8.

10.

( )

7

( )

=

x

shifted up 1 unit and left 2 units.

12. Write a formula for ( ) =

x

shifted down 3 units and right 1 unit.

13. Write a formula for

14. Write a formula for

=

1

shifted down 4 units and right 3 units.

=

x

1

x

2

shifted up 2 units and left 4 units.

15. Tables of values for ( ) as transformations of ( )

, ( )

.

, and ( ) are given below. Write ( ) and ( )

x -2 -1 0 1 2

f(x) -2 -1 -3 1 2

16. Tables of values for

( ) as transformations of ( )

,

( )

.

x -1 0 1 2 3

g(x) -2 -1 -3 1 2

, and

( )

are given below. Write

x -2 -1 0 1 2

h(x) -1 0 -2 2 3

( )

and

( )

x -2 -1 0 1 2

f(x) -1 -3 4 2 1

The graph of

( )

2

x

x -3 -2 -1 0 1

g(x) -1 -3 4 2 1

x -2 -1 0 1 2

h(x) -2 -4 3 1 0

f x = is shown. Sketch a graph of each transformation of ( )

17.

18.

19.

20.

( )

2 1

( )

2 3

( )

= 2

x

− 1

( )

= 2

x

+ 3

Section 1.5 Transformation of Functions 83

Sketch a graph of each function as a transformation of a toolkit function.

21.

22.

23.

24.

( )

= + −

( )

x

1 4

( ) (

x

− 2

)

3

− 1

( )

3

t

+ 2

Write an equation for each function graphed below.

25.

26.

27.

28.

Find a formula for each of the transformations of the square root whose graphs are given below.

29. 30.

35.

37.

84 Chapter 1

The graph of

( )

2

x

transformation of ( )

31.

32.

( )

2 1

( )

= 2

x

33. Starting with the graph of

( )

6

x

a. reflecting

( ) b. reflecting ( )

about the x-axis and the y-axis

about the x-axis, shifting left 2 units, and down 3 units

34. Starting with the graph of

( )

4

x

a. reflecting b. reflecting

( )

( )

Write an equation for each function graphed below.

about the y-axis, shifting right 4 units, and up 2 units

36.

38.

Section 1.5 Transformation of Functions 85

39. For each equation below, determine if the function is Odd, Even, or Neither. a.

( )

= 3

x

4 b. ( ) c.

( )

=

x

1 3

x

40. For each equation below, determine if the function is Odd, Even, or Neither. a.

( ) (

x

2

)

2 b.

( )

= 2

x

4 c. =

2

x x

Describe how each function is a transformation of the original function

( )

41. − ( )

43.

f x

45.

(5 )

42.

44. 6 ( )

46.

( )

f x

(2 )

.

47.

49.

f

1

3

x

3 f

( )

48.

f

1

5

x

50.

− (3 )

Write a formula for the function that results when the given toolkit function is transformed as described.

51. ( ) =

x

reflected over the y axis and horizontally compressed by a factor of

1

4

.

52. ( ) =

54. =

2 units.

1

x x

reflected over the x axis and horizontally stretched by a factor of 2.

53. =

x

1

2

vertically compressed by a factor of down 3 units.

1

3

, then shifted to the left 2 units and

vertically stretched by a factor of 8, then shifted to the right 4 units and up

55. ( ) =

x

2

horizontally compressed by a factor of

1

2

, then shifted to the right 5 units

56. and up 1 unit.

( ) =

x

2

horizontally stretched by a factor of 3, then shifted to the left 4 units and down 3 units.

86 Chapter 1

Describe how each formula is a transformation of a toolkit function. Then sketch a graph of the transformation.

57.

( ) (

x

+ 1

)

2

− 5 58. =

(

x

+ 3

)

2

− 2

59.

( )

= − 2

x

4 3 60.

( )

= − 3

x

− 1

61.

63.

( )

=

1

2

x

3

=

1

3

x

2

− 3

62.

64.

=

1

3

x

− 2

=

1

4

x

3

+ 1

65.

x

4 66.

( )

3

x

6

Determine the interval(s) on which the function is increasing and decreasing.

67.

( ) (

x

+ 1

)

2

− 5 68. =

(

x

+ 3

)

2

− 2

69.

73. =

x

4

3

70.

( )

= − 3

x

− 1

Determine the interval(s) on which the function is concave up and concave down.

71.

m

( )

= − 2 (

x

+ 3 ) 3 + 1 72.

( )

3

x

6

1

3

x

2

− 74.

( )

= − 3

x

− 1

81.

84.

75.

78.

Section 1.5 Transformation of Functions 87

The function ( ) is graphed here. Write an equation for each graph below as a transformation of ( ) .

76.

77.

79.

80.

82.

85.

83.

86.

93.

96.

87.

90.

88 Chapter 1

Write an equation for each transformed toolkit function graphed below.

88.

89.

91.

92.

94.

97.

95.

98.

Section 1.5 Transformation of Functions 89

99. Suppose you have a function ( ) the range of ( ) is −3 ≤ y ≤ 5. [UW] a. What is the domain of (2( x

such that the domain of ( )

3))

is 1 ≤ x ≤ 6 and b. What is the range of

f

( 2 (

x

− 3 )) c. What is the domain of 2 ( ) 3

?

? d. What is the range of

2 ( ) 3

? f. Can you find constants A and D so that the range of ( )

− )) is 8 ≤ x ≤ 9?

is 0 ≤ y ≤ 1?

90 Chapter 1

## Section 1.6 Inverse Functions

A fashion designer is travelling to Milan for a fashion show. He asks his assistant, Betty, what 75 degrees Fahrenheit is in Celsius, and after a quick search on Google, she finds the formula

C

=

5

9

(

F

− 32 ) . Using this formula, she calculates

Milan, and asks her to convert the temperatures to Fahrenheit.

5

9

( 75 − 32 ) ≈ 24 degrees

Celsius. The next day, the designer sends his assistant the week’s weather forecast for

At first, Betty might consider using the formula she has already found to do the conversions. After all, she knows her algebra, and can easily solve the equation for F after substituting a value for C. For example, to convert 26 degrees Celsius, she could write:

26

26 ⋅

=

9

9

5

5

=

(

F

F

32

32

)

F

= 26 ⋅

9

5

+ 32 ≈ 79

After considering this option for a moment, she realizes that solving the equation for each of the temperatures would get awfully tedious, and realizes that since evaluation is easier than solving, it would be much more convenient to have a different formula, one which takes the Celsius temperature and outputs the Fahrenheit temperature. This is the idea of an inverse function, where the input becomes the output and the output becomes the input.

Inverse Function

If

f

(

a

) =

b

, then a function g(x) is an inverse of f if

g

(

b

) =

a

.

The inverse of f(x) is typically notated

f

− 1

(

x

) , which is read “f inverse of x”, so equivalently, if

f

(

a

) =

b

then

f

− 1

(

b

) =

a

.

Important: The raised -1 used in the notation for inverse functions is simply a notation, and does not designate an exponent or power of -1.

Section 1.6 Inverse Functions 91

Example 1

If for a particular function,

f f

− 1

( 4 ) =

f

4

, what do we know about the inverse?

The inverse function reverses which quantity is input and which quantity is output, so if

4 , then 2 .

Alternatively, if you want to re-name the inverse function g(x), then g(4) = 2

Try it Now

1. Given that

h

− 1 ( 6 ) = 2 , what do we know about the original function h(x)?

Notice that original function and the inverse function undo each other. If

f

(

a

) =

b

, then

− 1 ( ) =

a

, returning us to the original input. More simply put, if you compose these functions together you get the original input as your answer.

f

− 1

(

( )

)

=

a

and

(

− 1 ( )

)

=

b

Domain of f

f

(x )

Range of f

a f

− 1 (

x

)

b

Since the outputs of the function f are the inputs to of range of

Basically, like how the input and output values switch, the domain & ranges switch as well. But be careful, because sometimes a function doesn’t even have an inverse function, or only has an inverse on a limited domain. For example, the inverse of

=

x

is

f

− 1

( ) =

x

2

, since a square “undoes” a square root, but it is only the inverse of f(x) on the domain [0,∞), since that is the range of

( )

Example 2

The function

f x

) 2 ( −∞ , ∞ )

and range

)

=

x

.

, what would we expect the domain and range of

We would expect domain

)

f to swap the domain and range of f, so

and range

( , )

.

92 Chapter 1

Example 3

A function f(t) is given as a table below, showing distance in miles that a car has traveled in t minutes. Find and interpret

t (minutes)

f(t) (miles)

30

20

50

40

70

60

f

− 1

90

70

( 70 )

The inverse function takes an output of f and returns an input for f. So in the

− 1 expression miles. The inverse will return the corresponding input of the original function f, 90 minutes, so minutes.

f f

− 1

(

(

70

70

)

)

, the 70 is an output value of the original function, representing 70

= 90 . Interpreting this, it means that to drive 70 miles, it took 90

Alternatively, recall the definition of the inverse was that if

f

(

a

) =

b

then

f

− 1 (

b

) =

a

.

By this definition, if you are given that

90.

f a

) 70

f

− 1 ( 70 ) =

a

then you are looking for a value a so

. In this case, we are looking for a t so that

Try it Now

2. Using the table below

Find and interpret the following a.

f

t (minutes)

f(t) (miles)

( 60 )

30

20

50

40

60

50

70

60

90

70

f

70 , which is when t = b.

f

− 1 ( 60 )

Example 4

A function g(x) is given as a graph below. Find

g

( 3 )

and

g

− 1 ( 3 )

To evaluate

g

( 3 ) , we find 3 on the horizontal axis and find the corresponding output value on the vertical axis. The point (3, 1) tells us that

g

1

Section 1.6 Inverse Functions 93

To evaluate

g

− 1 ( 3 ) , recall that by definition g(5) = 3, so by definition

g

− 1 ( = 5 .

g

− 1 ( 3 ) means g(x) = 3. By looking for the output value 3 on the vertical axis we find the point (5, 3) on the graph, which means

1 )

3 )

Try it Now

3. Using the graph in Example 4 above

a. find

g

− 1

(

b. estimate

g

− 1

( 4 )

Example 5

Returning to our designer’s assistant, find a formula for the inverse function that gives

Fahrenheit temperature given a Celsius temperature.

A quick Google search would find the inverse function, but alternatively, Betty might look back at how she solved for the Fahrenheit temperature for a specific Celsius value, and repeat the process in general

C

C

=

=

9

9

5

5

9

=

(

F

F

32

32

)

F

5

C

+ 32

By solving in general, we have uncovered the inverse function. If

C

=

F

)

5

− 32 )

Then

F

=

h h

(

− 1

(

C

=

)

9

=

(

9

5

F

C

+ 32

In this case, we introduced a function h to represent the conversion since the input and output variables are descriptive, and writing

C

− 1 could get confusing.

It is important to note that not all functions will have an inverse function. Since the inverse

f

− 1 (

x

) takes an output of f and returns an input of f, in order for a function, then each output of f (input to

(output of f ) in order for f to be a function. You might recall that this is the definition of a one-to-one function.

94 Chapter 1

Properties of Inverses

In order for a function to have an inverse, it must be a one-to-one function.

In some cases, it is desirable to have an inverse for a function even though the function is not one-to-one. In those cases, we can often limit the domain of the original function to an interval on which the function is one-to-one, then find an inverse only on that interval.

If you have not already done so, go back to the toolkit functions that were not one-to-one and limit or restrict the domain of the original function so that it is one-to-one. If you are not sure how to do this, proceed to Example 6.

Example 6

h

(

x

) =

x

2 is not one-to-one. Find a domain on which this function is one-to-one, and find the inverse on that domain.

We can limit the domain to ) to restrict the graph to a portion that is one-to-one, and find an inverse on this limited domain.

You may have already guessed that since we undo a square with a square root, the inverse of

h

(

x

) =

x

2 on this domain is

h

− 1 (

x

) =

x

.

You can also solve for the inverse function algebraically. If

h

(

x

) =

x

2

, we can introduce the variable y to represent the output values, allowing us to write find the inverse we solve for the input variable

x

To solve for x we take the square root of each side.

y =

x

2

and get

y x

, so

x

= ±

y

. We have restricted x to being non-negative, so we’ll use the positive square root, x =

y

or

h

− 1 (

y

) =

y

. In cases like this where the variables are not descriptive, it is common to see the inverse function rewritten with the variable x:

h

− 1 (

x

) =

Rewriting the inverse using the variable x is often required for graphing inverse functions using calculators or computers.

Note that the domain and range of the square root function do correspond with the range and domain of the quadratic

h

(x ) function on the limited domain. In fact, if we graph h(x) on the restricted domain and

h

− 1 (

x

) on the same axes, we can notice symmetry: the graph of reflected over the line y = x.

h

− 1 (

x

) is the graph of h(x)

x

.

y = x

h

− 1

(

x

)

Section 1.6 Inverse Functions 95

Example 7

Given the graph of f(x) shown, sketch a graph of

f

− 1 (

x

) .

This is a one-to-one function, so we will be able to sketch an inverse. Note that the graph shown has an apparent domain of (0,∞) and range of (-∞,∞), so the inverse will have a domain of (-∞,∞) and range of (0,∞).

Reflecting this graph of the line y = x, the point (1, 0) reflects to (0, 1), and the point (4, 2) reflects to (2, 4). Sketching the inverse on the same axes as the original graph:

f

− 1 (

x

)

f

(x )

Important Topics of this Section

Definition of an inverse function

Composition of inverse functions yield the original input value

Not every function has an inverse function

To have an inverse a function must be one-to-one

Restricting the domain of functions that are not one-to-one.

1.

g

2.a.

( =

f

( 60 )

6

= 50

. In 60 minutes, 50 miles are traveled.

b.

f

− 1 ( 60 ) = 70 . To travel 60 miles, it will take 70 minutes.

3. a.

g

b.

g

− 1 ( 1 )

− 1 ( 4 )

=

=

3

5 .

5 (this is an approximation – answers may vary slightly)

96 Chapter 1

## Section 1.6 Exercises

Assume that the function f is a one-to-one function.

1. If (6) 7 , find

f

− 1

(7)

2. If (3) 2 , find

3. If

f

− 1

( )

8 , find

f

4. If

f

− 1

f

− 1

(2)

( )

1 , find

f

5. If

f

( )

= 2 , find

(

f

)

− 1

7. Using the graph of

( ) a. Find

f

( )

shown

6. If

f

( )

, find

(

f

)

− 1 b. Solve ( ) 0 c. Find

f

− 1 d. Solve

f

− 1

( )

= 0

8. Using the graph shown a. Find

g

(1) b. Solve ( ) 1 c. Find d. Solve

g

− 1

(1)

( )

9. Use the table below to find the indicated quantities.

0

8

1

0

2

7

3

4

4

2

5

6

x

f(x)

a. Find

f

( ) b. Solve ( ) 3 c. Find d. Solve

f

− 1

f

− 1

( )

= 7

6

5

7

3

8

9

9

1

Section 1.6 Inverse Functions 97

10. Use the table below to fill in the missing values.

t

h(t)

0

6 a. Find

( )

1

0

h

6

2

1

3

7

4

2 b. Solve

( ) 0 c. Find

h

− 1 d. Solve

( )

= 1

5

3

6

5

7

4

8

9

For each table below, create a table for

11. x

3 6 9 13 14

f(x) 1 4 7 12 16

For each function below, find

13.

( )

x

3

15.

17.

( )

= 2 –

x

( )

= 11

x

+ 7

f

− 1 ( )

f

− 1

( )

.

12. x

3 5 7 13 15

f(x) 2 6 9 11 16

14.

16.

18.

( )

x

5

( )

3

x

( )

9 10

x

For each function, find a domain on which f is one-to-one and non-decreasing, then find the inverse of f restricted to that domain.

19.

( ) ( )

2

20.

( ) (

x

− 6

)

2

21.

( )

=

x

2 − 5 22.

( )

=

x

2 + 1

23. If

( )

=

x

3 − 5 and =

3

x

+ 5 , find b. ( ( )) c. What does this tell us about the relationship between ( ) and ( ) ?

24. If ( ) =

2

x

+

x

a. ( ( ))

and

f g x

b. ( ( ))

=

1

2

x x

, find c. What does this tell us about the relationship between ( ) and ( ) ?

98 Chapter 1