Find the composition of two functions and the domain of the composition.
Decompose a function as a composition of two 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
gives the Celsius temperature c(t) that corresponds to the Fahrenheit temperature t. The formula
gives the Kelvin temperature k(c(t)) that corresponds to the Celsius temperature c(t). Thus, 50° Fahrenheit corresponds to
and 10° Celsius corresponds to
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:
Since the formula found above expresses the Kelvin temperature as a new function K of the Fahrenheit temperature t, we can write
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 k∘c (read “k composed with c,” “the composition of k and c,” or “k circle c”).
Given that f(x)=2x−5 and g(x)=x2−3x+8, find each of the following.
(f∘g)(x) and (g∘f)(x)
(f∘g)(7) and (g∘f)(7)
(g∘g)(1)
(f∘f)(x)
Consider each function separately:
and
To find (f∘g)(x), we substitute g(x) for x in the equation for f(x):
To find (g∘f)(x), we substitute f(x) for x in the equation for g(x):
To find (f∘g)(7), we first find g(7). Then we use g(7) as an input for f:
To find (g∘f)(7), we first find f(7). Then we use f(7) as an input for g:
We could also find (f∘g)(7) and (g∘f)(7) by substituting 7 for x in the equations that we found in part (a):
Now Try Exercises 1 and 15.
Example 1 illustrates that, as a rule, (f∘g)(x)≠(g∘f)(x). We can see this graphically, as shown in the graphs at left.
Given that f(x)=√x and g(x)=x−3:
Find f∘g and g∘f.
Find the domain of f∘g and the domain of g∘f.
(f∘g)(x)=f(g(x))=f(x−3)=√x−3
(g∘f)(x)=g(f(x))=g(√x)=√x−3
Since f(x) is not defined for negative radicands, the domain of f(x) is {x|x≥0}, or [0, ∞). Any real number can be an input for g(x), so the domain of g(x) is (−∞, ∞).
Since the inputs of f∘g are outputs of g, the domain of f∘g 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
We see that the domain of f∘g is {x|x≥3}, or [3, ∞).
We can also find the domain of f∘g by examining the composite function itself, (f∘g)(x)=√x−3. Since any real number can be an input for g, the only restriction on f∘g is that the radicand must be nonnegative. We have
Again, we see that the domain of f∘g is {x|x≥3}, or [3, ∞). The graph in Fig. 1 confirms this.
The inputs of g∘f are outputs of f, so the domain of g∘f 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 g∘f. That is, the domain of g∘f is {x|x≥0}, or [0, ∞).
We can also examine the composite function itself to find its domain. First, recall that the domain of f is {x|x≥0}, or [0, ∞). Then consider (g∘f)(x)=√x−3. The radicand cannot be negative, so we have x≥0. As above, we see that the domain of g∘f is the domain of f, {x|x≥0}, or [0, ∞). The graph in Fig. 2 confirms this.
Now Try Exercise 27.
Given that f(x)=1x−2 and g(x)=5x, find f∘g and g∘f and the domain of each.
We have
Values of x that make the denominator 0 are not in the domains of these functions. Since x−2=0 when x=2, the domain of f is {x|x≠2}. The denominator of g is x, so the domain of g is {x|x≠0}.
The inputs of f∘g are outputs of g, so the domain of f∘g 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|x≠0}, 0 is not in the domain of f∘g. In addition, we must find the value(s) of x for which g(x)=2. We have
This tells us that 52 is also not in the domain of f∘g. Then the domain of f∘g is {x|x≠0 and x≠52}, or (−∞, 0)∪(0, 52)∪(52, ∞).
We can also examine the composite function f∘g to find its domain. First, recall that 0 is not in the domain of g, so it cannot be in the domain of (f∘g)(x)=x/(5−2x). We must also exclude the value(s) of x for which the denominator of f∘g is 0. We have
Again, we see that 52 is also not in the domain, so the domain of f∘g is {x|x≠0 and x≠52}, or (−∞, 0)∪(0, 52)∪(52, ∞).
Since the inputs of g∘f are outputs of f, the domain of g∘f 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|x≠2}, so 2 is not in the domain of g∘f. Next, we determine whether there are values of x for which f(x)=0:
We see that there are no values of x for which f(x)=0, so there are no additional restrictions on the domain of g∘f. Thus the domain of g∘f is
We can also examine g∘f to find its domain. First, recall that 2 is not in the domain of f, so it cannot be in the domain of (g∘f)(x)=5(x−2). Since 5(x−2) is defined for all real numbers, there are no additional restrictions on the domain of g∘f. The domain is
Now Try Exercise 23.
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.
If h(x)=(2x−3)5, find f(x) and g(x) such that h(x) = (f∘g)(x).
The function h(x) raises (2x−3) to the 5th power. Two functions that can be used for the composition are
We can check by forming the composition:
This is the most “obvious” solution. There can be other less obvious solutions. For example, if
then
Now Try Exercise 39.
If h(x)=1(x+3)3, find f(x) and g(x) such that h(x)=(f∘g)(x).
Two functions that can be used are
We check by forming the composition:
There are other functions that can be used as well. For example, if
then
Now Try Exercise 41.
Given that f(x)=3x+1, g(x)=x2−2x−6, and h(x)=x3, find each of the following.
1. (f∘g)(−1)
2. (g∘f)(−2)
3. (h∘f)(1)
4. (g∘h)(12)
5. (g∘f)(5)
6. (f∘g)(13)
7. (f∘h)(−3)
8. (h∘g)(3)
9. (g∘g)(−2)
10. (g∘g)(3)
11. (h∘h)(2)
12. (h∘h)(−1)
13. (f∘f)(−4)
14. (f∘f)(1)
15. (h∘h)(x)
16. (f∘f)(x)
Find (f∘g)(x) and (g∘f)(x) and the domain of each.
17. f(x)=x+3, g(x)=x−3
18. f(x)=45x, g(x)=54x
19. f(x)=x+1, g(x)=3x2−2x−1
20. f(x)=3x−2, g(x)=x2+5
21. f(x)=x2−3, g(x)=4x−3
22. f(x)=4x2−x+10, g(x)=2x−7
23. f(x)=41−5x, g(x)=1x
24. f(x)=6x, g(x)=12x+1
25. f(x)=3x−7, g(x)=x+73
26. f(x)=23x−45, g(x)=1.5x+1.2
27. f(x)=2x+1, g(x)=√x
28. f(x)=√x, g(x)=2−3x
29. f(x)=20, g(x)=0.05
30. f(x)=x4, g(x)=4√x
31. f(x)=√x+5, g(x)=x2−5
32. f(x)=x5−2, g(x)=5√x+2
33. f(x)=x2+2, g(x)=√3−x
34. f(x)=1−x2, g(x)=√x2−25
35. f(x)=1−xx, g(x)=11+x
36. f(x)=1x−2, g(x)=x+2x
37. f(x)=x3−5x2+3x+7, g(x)=x+1
38. f(x)=x−1, g(x)=x3+2x2−3x−9
Find f(x) and g(x) such that h(x)=(f∘g)(x). Answers may vary.
39. h(x)=(4+3x)5
40. h(x)=3√x2−8
41. h(x)=1(x−2)4
42. h(x)=1√3x+7
43. h(x)=x3−1x3+1
44. h(x)=|9x2−4|
45. h(x)=(2+x32−x3)6
46. h(x)=(√x−3)4
47. h(x)=√x−5x+2
48. h(x)=√1+√1+x
49. h(x)=(x+2)3−5(x+2)2+3(x+2)−1
50. h(x)=2(x−1)5/3+5(x−1)2/3
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.
Find a function r(t) for the radius in terms of t.
Find a function A(r) for the area of the ripple in terms of the radius r.
Find (A∘r)(t). Explain the meaning of this function.
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.
A function S(r) for the surface area as a function of r
A function S(h) for the surface area as a function of h
53. Blouse Sizes. A blouse that is size x in Japan is size s(x) in the United States, where s(x)=x−3. 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.
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.
Consider the following linear equations. Without graphing them, answer the questions in Exercises 55–62. [1.3], [1.4]
y=x
y=−5x+4
y=23x+1
y=−0.1x+6
y=3x−5
y=−x−1
2x−3y=6
6x+3y=9
55. Which, if any, have y-intercept (0, 1)?
56. Which, if any, have the same y-intercept?
57. Which slope down from left to right?
58. Which has the steepest slope?
59. Which pass(es) through the origin?
60. Which, if any, have the same slope?
61. Which, if any, are parallel?
62. Which, if any, are perpendicular?
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: (c∘p)(a) or (p∘c)(s)? What does it represent?
64. Write equations of two functions f and g such that f∘g=g∘f=x. (In Section 5.1, we will study inverse functions. If f∘g=g∘f=x, functions f and g are inverses of each other.)
Determine whether the statement is true or false.
f(c) is a relative maximum if (c, f(c)) is the highest point in some open interval containing c. [2.1]
If f and g are functions, then the domain of the functions f+g, f−g, fg, and f/g is the intersection of the domain of f and the domain of g. [2.2]
In general, (f∘g)(x)≠(g∘f)(x). [2.3]
Determine the intervals on which the function is (a) increasing; (b) decreasing; (c) constant. [2.1]
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]
Determine the domain and the range of the function graphed in Exercise 4. [2.1]
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]
For the function defined as
f(−5), f(−3), f(−1), and f(6). [2.1]
Graph the function defined as
[2.1]
Given that f(x)=3x−1 and g(x)=x2+4, find each of the following, if it exists. [2.2]
(f+g)(−1)
(fg)(0)
(g−f)(3)
(g/f)(13)
For each pair of functions in Exercises 14. and 15:
Find the domains of f, g, f+g, f−g, fg, ff, f/g, and g/f.
Find (f+g)(x), (f−g)(x), (fg)(x), (ff)(x), (f/g)(x), and (g/f)(x). [2.2]
f(x)=2x+5, g(x)=−x−4
f(x)=x−1, g(x)=√x+2
For each function f, construct and simplify the difference quotient
[2.2]
f(x)=4x−3
f(x)=6−x2
Given that f(x)=5x−4, g(x)=x3+1, and h(x)=x2−2x+3, find each of the following. [2.3]
(f∘g)(1)
(g∘h)(2)
(f∘f)(0)
(h∘f)(−1)
Find (f∘g)(x) and (g∘f)(x) and the domain of each. [2.3]
f(x)=12x, g(x)=6x+4
f(x)=3x+2, g(x)=√x
If g(x)=b, where b is a positive constant, describe how the graphs of y=h(x) and y=(h−g)(x) will differ. [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]
If f and g are linear functions, what can you say about the domain of f∘g and the domain of g∘f? [2.3]
Nora determines the domain of f∘g by examining only the formula for (f∘g)(x). Is her approach valid? Why or why not? [2.3]
3.145.2.184