<<

333202_0108.qxd 12/7/05 8:43 AM Page 84

84 Chapter 1 Functions and Their Graphs

1.8 Combinations of Functions: Composite Functions

What you should learn •Add,subtract, multiply, and Arithmetic Combinations of Functions divide functions. Just as two real numbers can be combined by the operations of addition, subtrac- •Find the composition of tion, multiplication, and division to form other real numbers, two functions can be one with another combined to create new functions. For example, the functions given by function. f x 2x 3 and gx x 2 1 can be combined to form the sum, difference, •Use combinations and compo- , and quotient of f and g. sitions of functions to model and solve real-life problems. f x gx 2x 3 x 2 1 Why you should learn it x 2 2x 4 Sum Compositions of functions can f x gx 2x 3 x 2 1 be used to model and solve 2 real-life problems. For instance, x 2x 2 Difference in Exercise 68 on page 92, f xgx 2x 3x 2 1 compositions of functions are used to determine the price of 2x 3 3x 2 2x 3 Product a new hybrid car. f x 2x 3 , x ±1 Quotient gx x2 1 The domain of an arithmetic combination of functions f and g consists of all real numbers that are common to the domains of f and g. In the case of the quo- tient fxgx, there is the further restriction that gx 0.

Sum, Difference, Product, and Quotient of Functions Let f and g be two functions with overlapping domains. Then, for all x © Jim West/The Works common to both domains, the sum, difference, product, and quotient of f and g are defined as follows. 1. Sum: f gx f x gx 2. Difference: f gx f x gx 3. Product: fgx f x gx f f x 4. Quotient: x , gx 0 g gx

Example 1 Finding the Sum of Two Functions

Given f x 2x 1 and gx x 2 2x 1, find f gx. Solution f gx f x gx 2x 1 x 2 2x 1 x 2 4x Now try Exercise 5(a). 333202_0108.qxd 12/7/05 8:43 AM Page 85

Section 1.8 Combinations of Functions: Composite Functions 85

Example 2 Finding the Difference of Two Functions

Additional Examples Given f x 2x 1 and gx x 2 2x 1, find f gx. Then evaluate a. Given f x x 5 and gx 3x, the difference when x 2. find fgx. Solution Solution fgx f x gx The difference of f and g is x 53x f gx f x gx 3x2 15x 2x 1 x 2 2x 1 1 x b. Given f x and g x , x x 1 x 2 2. find gfx. When x 2, the value of this difference is Solution 2 gfx gx f x f g2 2 2 x 1 2. x 1 x 1 Now try Exercise 5(b). , x 0 x 1 In Examples 1 and 2, both f and g have domains that consist of all real numbers. So, the domains of f g and f g are also the set of all real numbers. Remember that any restrictions on the domains of f and g must be considered when forming the sum, difference, product, or quotient of f and g.

Example 3 Finding the Domains of Quotients of Functions

f g Find x and x for the functions given by g f f x x and gx 4 x 2 . Then find the domains of fg and gf. Solution The quotient of f and g is f f x x x g gx 4 x 2 and the quotient of g andf is g gx 4 x 2 x . f f x x

The domain off is 0, and the domain of g is 2, 2. The intersection of f g these domains is 0, 2. So, the domains of and are as follows. g f f g Domain of : 0, 2 Domain of : 0, 2 g f Note that the domain of fg includes x 0, but not x 2, because x 2 yields a zero in the denominator, whereas the domain of gf includes x 2, but not x 0, because x 0 yields a zero in the denominator. Now try Exercise 5(d). 333202_0108.qxd 12/7/05 8:43 AM Page 86

86 Chapter 1 Functions and Their Graphs

Composition of Functions Another way of combining two functions is to form the composition of one with the other. For instance, if f x x2 and gx x 1, the composition of f with g is f gx f x 1 x 12.

This composition is denoted as f g and reads as “f composed with g.”

f g ˚ Definition of Composition of Two Functions The composition of the function f with the function g is g(x) x f gx f gx. g f f(g(x)) Domain of g The domain of f g is the set of all x in the domain of g such that gx is Domain of f in the domain of f. (See Figure 1.90.) FIGURE 1.90

Example 4 Composition of Functions

Given f x x 2 and gx 4 x2, find the following.

a. f gx b.g f x c. g f 2 Solution a. The composition off with g is as follows.

The following tables of values f gx f gx Definition of f g help illustrate the composition 2 f gx given in Example 4. f 4 x Definition of g x 4 x 2 2 Definition of f x x 012 3 x 2 6 Simplify. gx 4305 b. The composition of g withf is as follows.

gx 4305 g f x g f x Definition of g f f gx 6523 gx 2 Definition of f x 4 x 22 Definition of gx x 012 3 4 x2 4x 4 Expand. f gx 6523 x2 4x Simplify.

Note that the first two tables can Note that, in this case, f gx g f x. be combined (or “composed”) c. Using the result of part (b), you can write the following. to produce the values given in the third table. g f 2 22 42 Substitute. 4 8 Simplify.

4 Simplify. Now try Exercise 31. 333202_0108.qxd 12/7/05 8:43 AM Page 87

Section 1.8 Combinations of Functions: Composite Functions 87

Technology Example 5 Finding the Domain of a Composite Function

You can use a graphing utility Given f x x2 9 and gx 9 x2, find the composition f gx. Then to determine the domain of a find the domain of f g. composition of functions. For the composition in Example 5, enter Solution the function composition as f gx f gx 2 y 9 x2 9. f 9 x2 You should obtain the graph 9 x2 2 9 shown below. Use the trace 9 x2 9 feature to determine that the x-coordinates of points on the x2 graph extend from 3 to 3. So, the From this, it might appear that the domain of the composition is the set of all real domain of f gx is 3 ≤ x ≤ 3. numbers. This, however is not true. Because the domain of f is the set of all real 1 numbers and the domain of g is 3 ≤ x ≤ 3, the domain of f g is −5 5 3 ≤ x ≤ 3. Now try Exercise 35.

In Examples 4 and 5, you formed the composition of two given functions. In calculus, it is also important to be able to identify two functions that make up a −10 given composite function. For instance, the function h given by hx 3x 53 is the composition of f with g, where f x x3 and gx 3x 5. That is, Activities 1. Given f x 3x2 2 and gx 2x, hx 3x 53 gx3 fgx. find f g. Answer: f gx 12x2 2 Basically, to “decompose” a composite function, look for an “inner” function and 2. Given the functions an “outer” function. In the function h above,g x 3x 5 is the inner function 3 1 and f x x is the outer function. f x and gx x, x 2 find the composition of f with g. Example 6 Decomposing a Composite Function Then find the domain of the composition. 1 1 Answer: f gx . The Write the function given by hx as a composition of two functions. x 2 x 22 domain of f g is the set of all non- negative real numbers except x 4. Solution 3. Find two functions f and g such that One way to write h as a composition of two functions is to take the inner func- f gx hx. (There are many tion to be gx x 2 and the outer function to be correct answers.) 1 1 a. hx f x x 2. 3x 1 x2 1 Answer: f x and Then you can write x gx 3x 1 1 4 hx x 2 2 f x 2 f gx. b. h x 2x 3 x 22 Answer: f x x 4 and gx 2x 3 Now try Exercise 47. 333202_0108.qxd 12/7/05 8:43 AM Page 88

88 Chapter 1 Functions and Their Graphs

Application

Example 7 Bacteria Count

The number N of bacteria in a refrigerated food is given by NT 20T 2 80T 500, 2 ≤ T ≤ 14 where T is the temperature of the food in degrees Celsius. When the food is removed from refrigeration, the temperature of the food is given by Tt 4t 2, 0 ≤ t ≤ 3 where t is the time in hours. (a) Find the composition NTt and interpret its meaning in context. (b) Find the time when the bacterial count reaches 2000. Solution a. NTt 204t 22 804t 2 500 2016t 2 16t 4 320t 160 500 320t 2 320t 80 320t 160 500 320t 2 420 Writing About Mathematics The composite function NTt represents the number of bacteria in the food To expand on this activity, you might consider asking your students to use the as a function of the amount of time the food has been out of refrigeration. tables they created in parts (a) and (b), b. The bacterial count will reach 2000 when 320t 2 420 2000. Solve this along with a table of values for x and f x, to demonstrate and explain how equation to find that the count will reach 2000 when t 2.2 hours. When you the tables can be manipulated to yield solve this equation, note that the negative value is rejected because it is not in tables of values for hx and gx. the domain of the composite function. Now try Exercise 65.

W RITING ABOUT MATHEMATICS Analyzing Arithmetic Combinations of Functions a. Use the graphs of f and f g in Figure 1.91 to make a table showing the values of gx when x 1, 2, 3, 4, 5 , and 6. Explain your reasoning. b. Use the graphs of f and f h in Figure 1.91 to make a table showing the values of hx when x 1, 2, 3, 4, 5 , and 6. Explain your reasoning.

y y y

6 6 6 f 5 5 fg+ 5 fh− 4 4 4 3 3 3 2 2 2 1 1 1 x x x 123456 123456 123456

FIGURE 1.91 333202_0108.qxd 12/7/05 8:43 AM Page 89

Section 1.8 Combinations of Functions: Composite Functions 89

1.8 Exercises

VOCABULARY CHECK: Fill in the blanks. 1. Two functions f and g can be combined by the arithmetic operations of ______, ______, ______, and ______to create new functions. 2. The ______of the function f with g is f gx fgx. 3. The domain of f g is all x in the domain of g such that ______is in the domain of f. 4. To decompose a composite function, look for an ______function and an ______function. PREREQUISITE SKILLS REVIEW: Practice and review algebra skills needed for this section at www.Eduspace.com.

In Exercises 1–4, use the graphs of f and g to graph In Exercises 13–24, evaluate the indicated function for hx f gx. To print an enlarged copy of the graph, fx x 2 1 and gx x 4. go to the website www.mathgraphs.com. 13. f g2 14. f g1 1.y 2. y 15. f g0 16. f g1 g 17.f g 3t 18. f g t 2 f 2 2 19.fg 6 20. fg 6 f f x 21. 5 22. 0 −2 2 g g x f 2 4 −2 f g 23. 1 g3 24. fg 5 f 4 g

3.y 4. y In Exercises 25–28, graph the functionsf, g, andf g on the same set of coordinate axes. 6 f 2 25. f x 1 x, gx x 1 4 f 2 26. f x 1 x, gx x 4 2 x 3 g −2 2 27. f x x2, gx 2x x g −262 4 −2 28. f x 4 x2, gx x −2

Graphical Reasoning In Exercises 29 and 30, use a graph- In Exercises 5–12, find (a) f gx, (b) f gx, ing utility to graph f, g, andf g in the same viewing win- (c) fgx, and (d) f /gx. What is the domain of f /g? dow.Which function contributes most to the magnitude of the sum when 0 ≤ x ≤ 2? Which function contributes most 5. f x x 2, gx x 2 to the magnitude of the sum when x > 6?

6. f x 2x 5, gx 2 x 3 x 2 29. f x 3x, gx 7. f x x , g x 4x 5 10 8. f x 2x 5, g x 4 x 30. f x , gx x 9. f x x2 6, gx 1 x 2 x2 10. f x x2 4, gx x2 1 In Exercises 31–34, find (a) f g, (b) g f, and (c) f f. 2 1 1 31. f x x , g x x 1 11. f x , g x 2 x x 32. f x 3x 5, gx 5 x x 3 3 12. f x , gx x3 33. f x x 1, g x x 1 x 1 1 34. f x x3, gx x 333202_0108.qxd 12/7/05 8:43 AM Page 90

90 Chapter 1 Functions and Their Graphs

In Exercises 35–42, find (a) f g and (b) g f. Find the 56. Sales From 2000 to 2005, the sales R1 (in thousands of domain of each function and each composite function. dollars) for one of two restaurants owned by the same parent company can be modeled by 35. f x x 4, gx x2 2 36. f x 3 x 5, gx x3 1 R1 480 8t 0.8t , t 0, 1, 2, 3, 4, 5 37. f x x2 1, gx x where t 0 represents 2000. During the same six-year 38. f x x2 3, gx x6 period, the sales R2 (in thousands of dollars) for the second restaurant can be modeled by 39. f x x, gx x 6 40. f x x 4, gx 3 x R2 254 0.78t, t 0, 1, 2, 3, 4, 5. 1 (a) Write a function R that represents the total sales of the 41. f x , gx x 3 3 x two restaurants owned by the same parent company. 3 (b) Use a graphing utility to graph R , R , and R in the 42. f x , gx x 1 1 2 3 x2 1 same viewing window. 57. Vital Statistics Let bt be the number of births in the In Exercises 43–46,use the graphs of f and g to evaluate the United States in year t, and let dt represent the number functions. of deaths in the United States in year t, where t 0 corresponds to 2000. y y y = f(x) (a) If pt is the population of the United States in year t, 4 y = g(x) find the function ct that represents the percent change 4 3 in the population of the United States. 3 2 (b) Interpret the value of c 5 . 2 1 58. Pets Let d t be the number of dogs in the United States 1 in year t, and let ct be the number of cats in the United x x States in year t, where t 0 corresponds to 2000. 1423 1423 (a) Find the function pt that represents the total number 43. (a) f g3 (b) fg2 of dogs and cats in the United States. 44. (a) f g1 (b) fg4 (b) Interpret the value of p 5 . 45. (a) f g2 (b) g f 2 (c) Let n t represent the population of the United States in year t, where t 0 corresponds to 2000. Find and 46. (a) f g1 (b) g f 3 interpret pt In Exercises 47–54, find two functions f and g such that ht . f gx hx. (There are many correct answers.) nt 47.hx 2x 12 48. hx 1 x3 59. Military Personnel The total numbers of Army personnel 49.hx 3 x2 4 50. hx 9 x (in thousands) A and Navy personnel (in thousands) N from 1990 to 2002 can be approximated by the models 1 4 51.hx 52. hx 2 x 2 5x 22 At 3.36t 59.8t 735 x2 3 27x3 6x and 53.hx 54. hx 4 x2 10 27x3 Nt 1.95t2 42.2t 603 55. Stopping Distance The research and development where t represents the year, with t 0 corresponding to department of an automobile manufacturer has determined 1990. (Source: Department of Defense) that when a driver is required to stop quickly to avoid an (a) Find and interpret A Nt. Evaluate this function for accident, the distance (in feet) the car travels during the t 4, 8, and 12. driver’s reaction time is given by Rx 3x, where x is the 4 speed of the car in miles per hour. The distance (in feet) (b) Find and interpret A N t . Evaluate this function 1 2 for t 4, 8, and 12. traveled while the driver is braking is given by B x 15x . Find the function that represents the total stopping distance T. Graph the functions R, B, and T on the same set of coor- dinate axes for 0 ≤ x ≤ 60. 333202_0108.qxd 12/7/05 8:43 AM Page 91

Section 1.8 Combinations of Functions: Composite Functions 91

60. Sales The sales of exercise equipment E (in millions of 62. Graphical Reasoning An electronically controlled ther- dollars) in the United States from 1997 to 2003 can be mostat in a home is programmed to lower the temperature approximated by the function automatically during the night. The temperature in the house T (in degrees Fahrenheit) is given in terms of t, the Et 25.95t2 231.2t 3356 time in hours on a 24-hour clock (see figure). and the U.S. population P (in millions) from 1997 to 2003 T can be approximated by the function ˚F) 80 Pt 3.02t 252.0 70 where t represents the year, with t 7 corresponding to 60 1997. (Source: National Sporting Goods Association, 50 U.S. Census Bureau) t Et Temperature (in (a) Find and interpret ht . 39612182415 21 Pt Time (in hours) (b) Evaluate the function in part (a) for t 7, 10, and 12. (a) Explain why T is a function of t. (b) Approximate T4 and T15. Model It (c) The thermostat is reprogrammed to produce a temper- ature H for which Ht Tt 1. How does this 61. Health Care Costs The table shows the total amounts change the temperature? (in billions of dollars) spent on health services and (d) The thermostat is reprogrammed to produce a temper- supplies in the United States (including Puerto Rico) ature H for which Ht Tt 1. How does this for the years 1995 through 2001. The variables y , y , 1 2 change the temperature? and y3 represent out-of-pocket payments, insurance premiums, and other types of payments, respectively. (e) Write a piecewise-defined function that represents the (Source: Centers for Medicare and Medicaid Services) graph. 63. Geometry A square concrete foundation is prepared as a base for a cylindrical tank (see figure). Year y1 y2 y3 1995 146.2 329.1 44.8 1996 152.0 344.1 48.1 1997 162.2 359.9 52.1 r 1998 175.2 382.0 55.6 1999 184.4 412.1 57.8 2000 194.7 449.0 57.4 2001 205.5 496.1 57.8 x

(a) Use the regression feature of a graphing utility to (a) Write the radius r of the tank as a function of the length x of the sides of the square. find a linear model for y1 and quadratic models for y2 and y3. Let t 5 represent 1995. (b) Write the area A of the circular base of the tank as a function of the radius r. (b) Find y1 y2 y3. What does this sum represent? (c) Find and interpret A rx. (c) Use a graphing utility to graph y1, y2, y3, and y1 y2 y3 in the same viewing window. (d) Use the model from part (b) to estimate the total amounts spent on health services and supplies in the years 2008 and 2010. 333202_0108.qxd 12/7/05 8:43 AM Page 92

92 Chapter 1 Functions and Their Graphs

64. Physics A pebble is dropped into a calm pond, causing 68. Consumer Awareness The suggested retail price of a new ripples in the form of concentric circles (see figure). The hybrid car is p dollars. The dealership advertises a factory radius r (in feet) of the outer ripple is rt 0.6t, where t rebate of $2000 and a 10% discount. is the time in seconds after the pebble strikes the water. The (a) Write a function R in terms of p giving the cost of the 2 area A of the circle is given by the function A r r . hybrid car after receiving the rebate from the factory. Find and interpret A rt. (b) Write a function S in terms of p giving the cost of the hybrid car after receiving the dealership discount. (c) Form the composite functions R Sp and S Rp and interpret each. (d) Find R S20,500 and S R20,500. Which yields the lower cost for the hybrid car? Explain.

Synthesis

True or False? In Exercises 69 and 70, determine whether the statement is true or false. Justify your answer. 65. Bacteria Count The number N of bacteria in a refriger- 69. If f x x 1 and gx 6x, then ated food is given by f g)x g f )x. NT 10T 2 20T 600, 1 ≤ T ≤ 20 70. If you are given two functions f x and gx , you can where T is the temperature of the food in degrees Celsius. calculate f gx if and only if the range of g is a When the food is removed from refrigeration, the tempera- of the domain of f. ture of the food is given by 71. Proof Prove that the product of two odd functions is an Tt 3t 2, 0 ≤ t ≤ 6 even function, and that the product of two even functions is an even function. where t is the time in hours. 72. Conjecture Use examples to hypothesize whether the (a) Find the composition NTt and interpret its meaning product of an odd function and an even function is even or in context. odd. Then prove your hypothesis. (b) Find the time when the bacterial count reaches 1500. 66. Cost The weekly cost C of producing x units in a manu- Skills Review facturing process is given by Cx 60x 750. Average Rate of Change In Exercises 73–76, find the The number of units x produced in t hours is given by difference quotient xt 50t. f x h f x h (a) Find and interpret C xt. and simplify your answer. (b) Find the time that must elapse in order for the cost to increase to $15,000. 73.f x 3x 4 74. f x 1 x2 67. Salary You are a sales representative for a clothing 4 75.f x 76. f x 2x 1 manufacturer. You are paid an annual salary, plus a bonus x of 3% of your sales over $500,000. Consider the two functions given by In Exercises 77–80, find an equation of the line that passes f x x 500,000 and g(x) 0.03x. through the given point and has the indicated slope. Sketch the line. If x is greater than $500,000, which of the following repre- sents your bonus? Explain your reasoning. 77.2, 4 , m 3 78. 6, 3 , m 1 79.8, 1, m 3 80. 7, 0, m 5 (a)f gx (b) g f x 2 7