2.3 The Composition of Functions

  • Find the composition of two functions and the domain of the composition.

  • Decompose a function as a composition of two functions.

The Composition of Functions

In real-world situations, it is not uncommon for the output of a function to depend on some input that is itself an output of another function. For instance, the amount that a person pays as state income tax usually depends on the amount of adjusted gross income on the person’s federal tax return, which, in turn, depends on his or her annual earnings. Such functions are called composite functions.

To see how composite functions work, suppose a chemistry student needs a formula to convert Fahrenheit temperatures to Kelvin units. The formula

c(t)=59(t32)

gives the Celsius temperature c(t) that corresponds to the Fahrenheit temperature t. The formula

k(c(t))=c(t)+273

gives the Kelvin temperature k(c(t)) that corresponds to the Celsius temperature c(t). Thus, 50° Fahrenheit corresponds to

c(50)=59 (5032)=59 (18)=10° Celsius

and 10° Celsius corresponds to

k(c(50))=k(10)=10+273=283 Kelvin units,

which is usually written 283 K. We see that 50° Fahrenheit is the same as 283 K. This two-step procedure can be used to convert any Fahrenheit temperature to Kelvin units.

A student making numerous conversions might look for a formula that converts directly from Fahrenheit to Kelvin. Such a formula can be found by substitution:

k(c(t))=c(t)+273=59(t32)+273Substituting 59 (t32) for c(t)=59 t1609+273=59 t1609+24579=5t+22979.Simplifying

Since the formula found above expresses the Kelvin temperature as a new function K of the Fahrenheit temperature t, we can write

K(t)=5t+22979,

where K(t) is the Kelvin temperature corresponding to the Fahrenheit temperature, t. Here we have K(t)=k(c(t)). The new function K is called the composition of k and c and can be denoted kc (read “k composed with c,” “the composition of k and c,” or “k circle c”).

Example 1

Given that f(x)=2x5 and g(x)=x23x+8, find each of the following.

  1. (fg)(x) and (gf)(x)

  2. (fg)(7) and (gf)(7)

  3. (gg)(1)

  4. (ff)(x)

Solution

Consider each function separately:

f(x)=2x5This function multiplies eachinput by 2 and then subtracts 5.

and

g(x)=x23x+8.This function squares an input, subtracts three timesthe input from the result, and then adds 8.
  1. To find (fg)(x), we substitute g(x) for x in the equation for f(x):

    (fg)(x)=f(g(x))=f(x23x+8)x23x+8 isthe input for f.=2(x23x+8)5f multiplies the input by 2and then subtracts 5.=2x26x+165=2x26x+11.

    To find (gf)(x), we substitute f(x) for x in the equation for g(x):

    (gf)(x)=g(f(x))=g(2x5)2x5 is theinput for g.=(2x5)23(2x5)+8g squares theinput, subtractsthree times theinput, and thenadds 8.=4x220x+256x+15+8=4x226x+48.
  2. To find (fg)(7), we first find g(7). Then we use g(7) as an input for f:

    (fg)(7)=f(g(7))=f(7237+8)=f(36)=2365=725=67.

    To find (gf)(7), we first find f(7). Then we use f(7) as an input for g:

    (gf)(7)=g(f(7))=g(275)=g(9)=9239+8=8127+8=62.

    We could also find (fg)(7) and (gf)(7) by substituting 7 for x in the equations that we found in part (a):

    (fg)(x)=2x26x+11(fg)(7)=27267+11=67;(gf)(x)=4x226x+48(gf)(7)=472267+48=62.
  3. (gg)(1)=g(g(1))=g(1231+8)=g(13+8)=g(6)=6236+8=3618+8=26
  4. (ff)(x)=f(f(x))=f(2x5)=2(2x5)5=4x105=4x15

Now Try Exercises 1 and 15.

Example 1 illustrates that, as a rule, (fg)(x)(gf)(x). We can see this graphically, as shown in the graphs at left.

Example 2

Given that f(x)=x and g(x)=x3:

  1. Find fg and gf.

  2. Find the domain of fg and the domain of gf.

Solution

  1. (fg)(x)=f(g(x))=f(x3)=x3

    (gf)(x)=g(f(x))=g(x)=x3

  2. Since f(x) is not defined for negative radicands, the domain of f(x) is {x|x0}, or [0, ). Any real number can be an input for g(x), so the domain of g(x) is (, ).

    Since the inputs of fg are outputs of g, the domain of fg consists of the values of x in the domain of g, (, ), for which g(x) is nonnegative. (Recall that the inputs of f(x) must be nonnegative.) Thus we have

    g(x)0x30Substituting x3 for g(x)x3.

    We see that the domain of fg is {x|x3}, or [3, ).

    We can also find the domain of fg by examining the composite function itself, (fg)(x)=x3. Since any real number can be an input for g, the only restriction on fg is that the radicand must be nonnegative. We have

    x30x3.

    Again, we see that the domain of fg is {x|x3}, or [3, ). The graph in Fig. 1 confirms this.

    Figure 1.

    The inputs of gf are outputs of f, so the domain of gf consists of the values of x in the domain of f, [0, ), for which g(x) is defined. Since g can accept any real number as an input, any output from f is acceptable, so the entire domain of f is the domain of gf. That is, the domain of gf is {x|x0}, or [0, ).

    We can also examine the composite function itself to find its domain. First, recall that the domain of f is {x|x0}, or [0, ). Then consider (gf)(x)=x3. The radicand cannot be negative, so we have x0. As above, we see that the domain of gf is the domain of f, {x|x0}, or [0, ). The graph in Fig. 2 confirms this.

    Figure 2.

Now Try Exercise 27.

Example 3

Given that f(x)=1x2 and g(x)=5x, find fg and gf and the domain of each.

Solution

We have

(fg)(x)=f(g(x))=f(5x)=15x2=152xx=x52x;(gf)(x)=g(f(x))=g(1x2)=51x2=5(x2).

Values of x that make the denominator 0 are not in the domains of these functions. Since x2=0 when x=2, the domain of f is {x|x2}. The denominator of g is x, so the domain of g is {x|x0}.

The inputs of fg are outputs of g, so the domain of fg consists of the values of x in the domain of g for which g(x)2. (Recall that 2 cannot be an input of f.) Since the domain of g is {x|x0}, 0 is not in the domain of fg. In addition, we must find the value(s) of x for which g(x)=2. We have

g(x)=25x=2Substituting 5x forg(x)5=2x52=x.

This tells us that 52 is also not in the domain of fg. Then the domain of fg is {x|x0 and x52}, or (, 0)(0, 52)(52, ).

We can also examine the composite function fg to find its domain. First, recall that 0 is not in the domain of g, so it cannot be in the domain of (fg)(x)=x/(52x). We must also exclude the value(s) of x for which the denominator of fg is 0. We have

52x=05=2x52=x.

Again, we see that 52 is also not in the domain, so the domain of fg is {x|x0 and x52}, or (, 0)(0, 52)(52, ).

Since the inputs of gf are outputs of f, the domain of gf consists of the values of x in the domain of f for which f(x)0. (Recall that 0 cannot be an input of g.) The domain of f is {x|x2}, so 2 is not in the domain of gf. Next, we determine whether there are values of x for which f(x)=0:

f(x)=01x2=0Substituting 1x2 for f(x)(x2)1x2=(x2)0Multiplying by x21=0.False equation

We see that there are no values of x for which f(x)=0, so there are no additional restrictions on the domain of gf. Thus the domain of gf is

{x|x2}, or (, 2)(2, ).

We can also examine gf to find its domain. First, recall that 2 is not in the domain of f, so it cannot be in the domain of (gf)(x)=5(x2). Since 5(x2) is defined for all real numbers, there are no additional restrictions on the domain of gf. The domain is

{x|x2}, or (, 2)(2, ).

Now Try Exercise 23.

Decomposing a Function as a Composition

In calculus, one often needs to recognize how a function can be expressed as the composition of two functions. In this way, we are “decomposing” the function.

Example 4

If h(x)=(2x3)5, find f(x) and g(x) such that h(x) = (fg)(x).

Solution

The function h(x) raises (2x3) to the 5th power. Two functions that can be used for the composition are

f(x)=x5andg(x)=2x3.

We can check by forming the composition:

h(x)=(fg)(x)=f(g(x))=f(2x3)=(2x3)5.

This is the most “obvious” solution. There can be other less obvious solutions. For example, if

f(x)=(x+7)5andg(x)=2x10,

then

h(x)=(fg)(x)=f(g(x))=f(2x10)=[2x10+7]5=(2x3)5.

Now Try Exercise 39.

Example 5

If h(x)=1(x+3)3, find f(x) and g(x) such that h(x)=(fg)(x).

Solution

Two functions that can be used are

f(x)=1xandg(x)=(x+3)3.

We check by forming the composition:

h(x)=(fg)(x)=f(g(x))=f((x+3)3)=1(x+3)3.

There are other functions that can be used as well. For example, if

f(x)=1x3andg(x)=x+3,

then

h(x)=(fg)(x)=f(g(x))=f(x+3)=1(x+3)3.

Now Try Exercise 41.

2.3 Exercise Set

Given that f(x)=3x+1, g(x)=x22x6, and h(x)=x3, find each of the following.

  1. 1. (fg)(1)

  2. 2. (gf)(2)

  3. 3. (hf)(1)

  4. 4. (gh)(12)

  5. 5. (gf)(5)

  6. 6. (fg)(13)

  7. 7. (fh)(3)

  8. 8. (hg)(3)

  9. 9. (gg)(2)

  10. 10. (gg)(3)

  11. 11. (hh)(2)

  12. 12. (hh)(1)

  13. 13. (ff)(4)

  14. 14. (ff)(1)

  15. 15. (hh)(x)

  16. 16. (ff)(x)

Find (fg)(x) and (gf)(x) and the domain of each.

  1. 17. f(x)=x+3, g(x)=x3

  2. 18. f(x)=45x, g(x)=54x

  3. 19. f(x)=x+1, g(x)=3x22x1

  4. 20. f(x)=3x2, g(x)=x2+5

  5. 21. f(x)=x23, g(x)=4x3

  6. 22. f(x)=4x2x+10, g(x)=2x7

  7. 23. f(x)=415x, g(x)=1x

  8. 24. f(x)=6x, g(x)=12x+1

  9. 25. f(x)=3x7, g(x)=x+73

  10. 26. f(x)=23x45, g(x)=1.5x+1.2

  11. 27. f(x)=2x+1, g(x)=x

  12. 28. f(x)=x, g(x)=23x

  13. 29. f(x)=20, g(x)=0.05

  14. 30. f(x)=x4, g(x)=4x

  15. 31. f(x)=x+5, g(x)=x25

  16. 32. f(x)=x52, g(x)=5x+2

  17. 33. f(x)=x2+2, g(x)=3x

  18. 34. f(x)=1x2, g(x)=x225

  19. 35. f(x)=1xx, g(x)=11+x

  20. 36. f(x)=1x2, g(x)=x+2x

  21. 37. f(x)=x35x2+3x+7, g(x)=x+1

  22. 38. f(x)=x1, g(x)=x3+2x23x9

Find f(x) and g(x) such that h(x)=(fg)(x). Answers may vary.

  1. 39. h(x)=(4+3x)5

  2. 40. h(x)=3x28

  3. 41. h(x)=1(x2)4

  4. 42. h(x)=13x+7

  5. 43. h(x)=x31x3+1

  6. 44. h(x)=|9x24|

  7. 45. h(x)=(2+x32x3)6

  8. 46. h(x)=(x3)4

  9. 47. h(x)=x5x+2

  10. 48. h(x)=1+1+x

  11. 49. h(x)=(x+2)35(x+2)2+3(x+2)1

  12. 50. h(x)=2(x1)5/3+5(x1)2/3

  13. 51. Ripple Spread. A stone is thrown into a pond, creating a circular ripple that spreads over the pond in such a way that the radius is increasing at a rate of 3ft/sec.

    1. Find a function r(t) for the radius in terms of t.

    2. Find a function A(r) for the area of the ripple in terms of the radius r.

    3. Find (Ar)(t). Explain the meaning of this function.

  14. 52. The surface area S of a right circular cylinder is given by the formula S=2πrh+2πr2. If the height is twice the radius, find each of the following.

    1. A function S(r) for the surface area as a function of r

    2. A function S(h) for the surface area as a function of h

  15. 53. Blouse Sizes. A blouse that is size x in Japan is size s(x) in the United States, where s(x)=x3. A blouse that is size x in the United States is size t(x) in Australia, where t(x)=x+4. (Source: www.onlineconversion.com) Find a function that will convert blouse sizes in Japan to blouse sizes in Australia.

  16. 54. A manufacturer of tools, selling rechargeable drills to a chain of home improvement stores, charges $6 more per drill than its manufacturing cost m. The stores then sell each drill for 150% of the price that it paid the manufacturer. Find a function P(m) for the price at the home improvement stores.

Skill Maintenance

Consider the following linear equations. Without graphing them, answer the questions in Exercises 5562. [1.3], [1.4]

  1. y=x

  2. y=5x+4

  3. y=23x+1

  4. y=0.1x+6

  5. y=3x5

  6. y=x1

  7. 2x3y=6

  8. 6x+3y=9

  1. 55. Which, if any, have y-intercept (0, 1)?

  2. 56. Which, if any, have the same y-intercept?

  3. 57. Which slope down from left to right?

  4. 58. Which has the steepest slope?

  5. 59. Which pass(es) through the origin?

  6. 60. Which, if any, have the same slope?

  7. 61. Which, if any, are parallel?

  8. 62. Which, if any, are perpendicular?

Synthesis

  1. 63. Let p(a) represent the number of pounds of grass seed required to seed a lawn with area a. Let c(s) represent the cost of s pounds of grass seed. Which composition makes sense: (cp)(a) or (pc)(s)? What does it represent?

  2. 64. Write equations of two functions f and g such that fg=gf=x. (In Section 5.1, we will study inverse functions. If fg=gf=x, functions f and g are inverses of each other.)

Mid-Chapter Mixed Review

Determine whether the statement is true or false.

  1. f(c) is a relative maximum if (c, f(c)) is the highest point in some open interval containing c. [2.1]

  2. If f and g are functions, then the domain of the functions f+g, fg, fg, and f/g is the intersection of the domain of f and the domain of g. [2.2]

  3. In general, (fg)(x)(gf)(x). [2.3]

  4. Determine the intervals on which the function is (a) increasing; (b) decreasing; (c) constant. [2.1]

  5. Using the graph shown below, determine any relative maxima or minima of the function and the intervals on which the function is increasing or decreasing. [2.1]

  6. Determine the domain and the range of the function graphed in Exercise 4. [2.1]

  7. Window Design. Lucas is designing a window for the peak of an A-frame house. The base is 4 ft more than the height h. Express the area of the window as a function of the height. [2.1]

  8. For the function defined as

    f(x)={x5,for x3,2x+3,for 3<x0,12x,for x>0,

    f(5), f(3), f(1), and f(6). [2.1]

  9. Graph the function defined as

    g(x)={x+2,for x<4,x,for x4.

    [2.1]

Given that f(x)=3x1 and g(x)=x2+4, find each of the following, if it exists. [2.2]

  1. (f+g)(1)

  2. (fg)(0)

  3. (gf)(3)

  4. (g/f)(13)

For each pair of functions in Exercises 14. and 15:

  1. Find the domains of f, g, f+g, fg, fg, ff, f/g, and g/f.

  2. Find (f+g)(x), (fg)(x), (fg)(x), (ff)(x), (f/g)(x), and (g/f)(x). [2.2]

  1. f(x)=2x+5, g(x)=x4

  2. f(x)=x1, g(x)=x+2

For each function f, construct and simplify the difference quotient

f(x+h)f(x)h.

[2.2]

  1. f(x)=4x3

  2. f(x)=6x2

Given that f(x)=5x4, g(x)=x3+1, and h(x)=x22x+3, find each of the following. [2.3]

  1. (fg)(1)

  2. (gh)(2)

  3. (ff)(0)

  4. (hf)(1)

Find (fg)(x) and (gf)(x) and the domain of each. [2.3]

  1. f(x)=12x, g(x)=6x+4

  2. f(x)=3x+2, g(x)=x

Collaborative Discussion and Writing

  1. If g(x)=b, where b is a positive constant, describe how the graphs of y=h(x) and y=(hg)(x) will differ. [2.2]

  2. If the domain of a function f is the set of real numbers and the domain of a function g is also the set of real numbers, under what circumstances do (f+g)(x) and (f/g)(x) have different domains? [2.2]

  3. If f and g are linear functions, what can you say about the domain of fg and the domain of gf? [2.3]

  4. Nora determines the domain of fg by examining only the formula for (fg)(x). Is her approach valid? Why or why not? [2.3]

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.2.184