Professional Documents
Culture Documents
2.6 Combiningfunctions: What Is Proved About Numbers Will Be A Fact in Any Universe
2.6 Combiningfunctions: What Is Proved About Numbers Will Be A Fact in Any Universe
87. In Exercise 86, solve the problem if the ranger is 4 miles (b) Repeat part (a) if each vertical cross section is an
from P. isosceles triangle with an altitude half as long as its
88. Looking Ahead to Calculus A solid has as its base the base (not a semicircle).
region in the xy-plane bounded by the circle x 2 1 (c) Repeat part (a) if each vertical cross section is an
y 2 5 4. equilateral triangle.
(a) If every vertical cross section perpendicular to the (d) Repeat part (a) if each vertical cross section is a
x-axis is a semicircle, express the area K of the cross rectangle whose base is twice its vertical height.
section at a distance u from the origin as a function
of u.
The domain of each combined function is the set of all real numbers for which the
right side of the equation is meaningful as a real number. Use parentheses as
needed for clarity.
Neyman . . . interviewed The definitions stated here are not mere formal manipulations of symbols. For
me [for a job at Berkeley instance, the plus sign in f 1 g is part of the name of the function that assigns to
and ] said he would let me
know. . . . I didn’t really
each x the sum of two numbers, f ~x! 1 g~x!.
expect anything to happen.
I had already written 104 cEXAMPLE 1 Combining functions If f ~x! 5 4x 2 6 and g~x! 5 2x 2 2
letters of application to 3x, write an equation for (a) f 2 g and (b) gf , and give the domain of each.
black colleges. Eventually I
got a letter from [Neyman] Solution
saying something like “In
view of the war situation (a) ~ f 2 g!~x! 5 f ~x! 2 g~x! 5 ~4x 2 6! 2 ~2x 2 2 3x! 5 22x 2 1 7x 2 6.
and the draft possibilities, The domain is the set of real numbers.
SD
they have decided to
appoint a woman to this f f ~x! 4x 2 6 2~2x 2 3!
(b) ~x! 5 5 2 5 ,
position.” [My eventual g g~x! 2x 2 3x x~2x 2 3!
appointment here came 12
years later.] which simplifies to 2x for x 5
/ 32 . Therefore ~ gf !~x! 5 2x , where the domain is
David Blackwell
$x _ x 5
/ 0 and x 5/ 32 %. b
pg109 [R] G1 5-36058 / HCG / Cannon & Elich jn 11-22-95 MP1
Composition of Functions
Another way to combine functions is used frequently and plays an important role
in both precalculus and calculus.
Definition: composition of functions
Suppose f and g are functions. The composition function, f 8 g, read “f of
g,” is the function whose value at x is given by
~ f 8 g!~x! 5 f ~g~x!!.
Thus to write a formula for ~ f 8 g!~x!, in the rule defining f ,
replace each x in f~x! by g (x).
The domain of f 8 g is the set of all real numbers x such that both g~x! is
defined, and f ~g~x!! is defined.
y
The reason for calling the composition f 8 g “ f of g” is that the value of the compo-
sition function at a given number c is “ f of g~c!.”
( f g)(x) = 4 – ( x )2 (a) For each composition, we follow the procedure given in the definition.
= 4 – x, x $ 0 (i) ~ f 8 g!~x! 5 f ~g~x!! 5 4 2 ~g~x!!2 5 4 2 ~Ïx!2.
For Ïx to be a real number we must have x $ 0, and when x $ 0, we
can simplify the equation for f 8 g:
(a) ~ f 8 g!~x! 5 4 2 x, where x $ 0.
y (ii) ~g 8 f !~x! 5 g~ f ~x!! 5 Ïf ~x! 5 Ï4 2 x 2.
Again, the domain is limited: for 4 2 x 2 $ 0, we have 22 # x # 2.
(0, 2) (b) With a graphing calculator we can always enter the compositions in the form
we wrote above, Y1 5 4 2 (ÏX)2 and Y2 5 Ï(4 2 X2).
If your calculator has a Y 5 menu where you can enter several functions,
(– 2, 0) (2, 0)
x there are other options. For example, having entered f and g as Y1 5 4 2 X2 and
Y2 5 ÏX, since f (g~x!! 5 4 2 ~g~x!!2, we can enter f 8 g as Y3 5 4 2 Y22 and g 8 f
(g f )(x) = 4 – x2 as Y4 5 ÏY1. Observe that for f 8 g we follow the defining rule for composition
functions: replace each x in f ~x! by g~x!.
The calculator graphs are shown in Figure 37. Note that the limitations on
the domain are obvious from the graphs and that we can also read off the
(b) ranges. The range of f 8 g is (2`, 4#, and the range of g 8 f is the closed
FIGURE 37 interval @0, 2#.
Alternate Solution Sometimes it is easier to verbalize the rules that define func-
tions. The rules for f and g state that, for any given input, f squares the input and
subtracts the result from 4, while g takes the square root of its input. Thus, suppose
Ïx is the input. The function f squares Ïx and subtracts the result from 4:
4 2 ~Ïx!2. Similarly, when g is applied to f ~x!, g takes the square root of f ~x!. The
output is: g~ f ~x!! 5 Ïf ~x! 5 Ï4 2 x 2. b
pg110 [V] G2 5-36058 / HCG / Cannon & Elich jn 11-22-95 MP1
Example 2 shows that f 8 g and g 8 f are not the same function. In general
f 8 g and g 8 f are different, although there are important exceptions, as the next
example demonstrates.
x18
cEXAMPLE 3 Equal compositions If f ~x! 5 3x 2 8 and g~x! 5 3 ,
write an equation that gives the rule of correspondence for (a) f 8 g (b) g 8 f.
Solution
Here the rule for f is “triple the input and then subtract 8;” for g it is “add 8 to the
input and then divide the sum by 3.”
~3x 2 8! 1 8
(b) ~g 8 f !~x! 5 g~ f ~x!! 5 g~3x 2 8! 5 5 x.
3
Thus ~ f 8 g!~x! 5 ~g 8 f !~x! for every number x. We say that the two functions
f 8 g and g 8 f are equal, f 8 g 5 g 8 f. b
(b) Using the TRACE function on the graph of y 5 F~x!, we find the low point near
~1, 22! and the high point near ~3, 4!. Shifting a decimal window, we confirm
that the the maximum value of F is 4 and the minimum value is 22.
(c) The graph crosses the x-axis at ~2, 0!, as is easily verified by evaluating F~2!,
and is above the x-axis for all values of x (from the domain of F) greater than
2. Thus the solution set for g~ f ~x!! . 0 is the interval ~2, 5#. b
If your calculator allows you to enter a list of functions, Y1, Y2, . . . , (TI and Casio)
then you can enter the composition function much more simply. First enter f as
Y1 and then use Y1 to enter g~ f ~x!! as Y2 5 g~Y1! :
Alternate Solution Graphical We have seen often that calculator graphs allow
y us to read the solution set for an inequality such as ~2x 2 5!2 2 9 , 0 or 4x 2 2
20x 1 16 , 0. We can graph Y 5 ~2X 2 5!2 2 9 or we can simplify the inequality to
y = x 2 – 5x + 4
an equivalent form, by dividing through by 4, getting x 2 2 5x 1 4 , 0, and
(0, 4) graph Y 5 X2 2 5X 1 4. In either case we have a parabola that crosses the x-axis at
~1, 0! and ~4, 0!. See Figure 39. We read the solution set as $x _ 1 , x , 4%. b
(1, 0)
x
(4, 0)
cEXAMPLE 7 Applied composition An oil spill on a lake assumes a
(3, – 2) circular shape with an expanding radius r given by r 5 Ït 1 1, where t is the
y = (2x – 5)2 – 9 number of minutes after measurements are started and r is measured in meters.
(3, – 8) (a) Find a formula that gives the area A of the circular region at any time t.
(b) What is the area at the beginning measurement ~t 5 0!? What is the area 3
FIGURE 39 minutes later?
pg112 [V] G2 5-36058 / HCG / Cannon & Elich jn 11-22-95 MP1
Calculator Evaluations
displays 10. If we then evaluate ✓ANS, we are taking the composition of the square
root function with the previously evaluated x 2 1 1 function.
In problems of the type discussed in Example 8, be aware that there are many
different solutions. For example, we could have taken
1
f ~x! 5 and g~x! 5 x 2.
x11
Then
1
f ~g~x!! 5 f ~x 2! 5 .
x 11
2
(– 3, 0)
1
(3, 0) (a) ~ f 8 g!~x! 5 f ~_ x _! 5 ~_ x _!2 2 2_ x _ 2 3 5 x 2 2 2_ x _ 2 3, since _ x _2 5
x x 2. For a calculator graph, we enter Y 5 X2 2 2 abs ~X! 2 3, and get a graph like that
– 4 – 3 – 2 ––11 1 2 3 4
in Figure 40a. We observe that x 2 2 2_ x _ 2 3 is an even function. The graph
–2
in Figure 40a consists of the portion of the parabola y 5 x 2 2 2x 2 3 to the
–3
right of the x-axis, together with its reflection through the y-axis.
(– 1, – 4) (1, – 4) (b) ~g 8 f !~x! 5 g~x 2 2 2x 2 3! 5 _ x 2 2 2x 2 3 _ . For the graph we enter
Y 5 abs~X2 2 2X 2 3!. The graph is shown in Figure 40b. Since the absolute value of
(a) a number cannot be negative (recall that _ x _ 5 x when x $ 0 and _ x _ 5 2x
when x , 0), any portion of the graph of the parabola y 5 x 2 2 2x 2 3 below
y the y-axis is reflected upward through the x-axis. b
(1, 4)
The effects we observe in the graphs in Figure 40 are applicable in general. For
any function f ~x!, the function f ~_ x _! is an even function whose graph is symmetric
about the y-axis. Thus the graph of y 5 f ~_ x _! consists of the graph of y 5 f ~x!
for x $ 0, together with the horizontal reflection of this portion about the y-axis.
x
Similarly, since _ f ~x! _ $ 0, for the graph of y 5 _ f ~x! _ , any part of the graph
(– 1, 0) (3, 0)
of y 5 f ~x! that lies above the x-axis is unchanged; whatever part of the graph lies
below the x-axis is reflected upward through the x-axis.
These transformations are consistent with the basic transformations of Sec-
tion 2.3. A transformation operation on the “outside,” _ f ~x! _ , affects the vertical
(b) aspects of the graph; an operation on the argument, “inside,” f ~_ x _ !, affects the
FIGURE 40 graph horizontally.
Composition of a function with the absolute value function
From the graph of y 5 f ~x!, the graph of
y 5 _ f ~x! _ y 5 f ~_ x _ !
is a vertical reflection: the part is a horizontal reflection: function
above the x-axis is unchanged; any is even; the portion to the right of
y portion below the x-axis is reflected
the y-axis is unchanged and is also
up, through the x-axis.
reflected to the left, through the
(– 2, 1) (0, – 1) (3, 1)
y-axis.
(– 3, 0) (4, 0)
x
(– 1, 0) (2, 0) cEXAMPLE 10 Composition with absolute value The graph of a func-
tion f is shown in Figure 41. If g~x! 5 _ x _ , draw a graph of (a) f 8 g (b) g 8 f ,
(1, – 2) identifying the points corresponding to the labeled points in Figure 41. Explain the
y = f (x)
thinking used to get each graph.
FIGURE 41 Solution
(a) ~ f 8 g!~x! 5 f ~g~x!! 5 f ~_ x _ !. From the box above, f ~_ x _! is an even func-
tion. Knowing the graph of the function for positive x-values, the rest of the
graph is obtained by taking the horizontal reflection in the y-axis. Each labeled
point ~a, b! is reflected to the point ~2a, b!. The resulting graph is shown in
Figure 42a.
pg114 [V] G2 5-36058 / HCG / Cannon & Elich jn 11-22-95 MP2
y y
(1, 2)
(0, – 1)
(– 3, 1) (3, 1) (– 2, 1) (3, 1)
(– 2 , 0) (4, 0) (– 3, 0)
x x
(– 4, 0) (2, 0) (– 1, 0) (2, 0) (4, 0)
(0, 1)
(– 1, – 2) (1, – 2)
y = f (u x u) y = u f(x)u
(a) (b)
FIGURE 42
(b) ~g 8 f !~x! 5 g~ f ~x!! 5 _ f ~x! _ . Since _ f ~x! _ can never be negative, the graph
can contain no points below the x-axis. Whenever the graph of f dips below the
x-axis, the graph of _ f ~x! _ is reflected back up, above the axis. Any point
~a, 2b! on the graph of f below the x-axis is reflected to the point ~a, b!. The
graph is shown in Figure 42b. b
EXERCISES 2.6
Check Your Understanding Develop Mastery
Exercises 1–5 True or False. Give reasons. Exercises 1–4 Evaluate (a) ~ f 2 g!~21! (b) ~ f · g!~0.5!.
1. If f ~x! 5 x 2 and g~x! 5 x 2 2 1, then g 8 f is a 1. f ~x! 5 2x, g~x! 5 1 2 2x
quadratic function in x. 2. f ~x! 5 x 2 2 3, g~x! 5 Ïx 1 4
2. If f ~x! 5 x 2 and g is any function for which the domain 3. f ~x! 5 _ x 2 2 _ , g~x! 5 x 1 1
of g 8 f is not the empty set, then the function g 8 f
must be an even function. 4. f ~x! 5 x 2 2 x, g~x! 5 3_ 1 2 x _
3. If f ~x! 5 2x 2 1, then f ~a 1 b! 5 f ~a! 1 f (b) for all Exercises 5–8 Sum and Quotient Functions Find an
real numbers a and b. equation to describe the rule for (a) ~ f 1 g!~x! and (b)
4. If g~x! 5 3x, then g~c 1 d! 5 g~c! 1 g(d) for all real ~ gf !~x!. In each case state the domain.
numbers c and d. 1
5. If f ~x! 5 x 2 1 1 and g~x! 5 x 1 3, then the graph of 5. f ~x! 5 x 2 , g~x! 5 x
x
y 5 ~ f 8 g!~x! contains no points below the x- axis.
6. f ~x! 5 x 2 2 1, g~x! 5 1 2 x
Exercises 6–10 Fill in the blank so that the resulting 7. f ~x! 5 Ïx 2 2, g~x! 5 1 2 Ïx
statement is true.
1
6. If f ~x! 5 2x 1 5 and g~x! 5 Int~x!, then 8. f ~x! 5 x 2 4, g~x! 5
x
~g 8 f !~Ï5! 5 .
7. If f ~x! 5 2x 1 5 and g~x! 5 Int~x!, then Exercises 9–10 Composition Functions Use f ~x! 5
~ f 8 g!~Ï5! 5 . x 1 2 and g~x! 5 x 2 2 2x.
8. If f ~x! 5 2x 1 1 and g~x! 5 x 2, then ~ f 8 g!~21! 5 9. Evaluate (a) ~ f 8 g!~21! (b) ~g 8 f !~3!
. (c) ~ f 8 f !~4!
9. If f ~x! 5 2x 2 1 and g~x! 5 x 2 2 3x 2 4, then the 10. Find an equation to describe
zeros of g 8 f are . (a) ~ f 8 g! (b) ~g 8 f !.
10. If f ~x! 5 x 2 5x 1 4 and g~x! 5 x 2, then the sum of
2 11. Composition from Tables The domain of function f is
the roots of the equation ~ f 8 g!~x! 5 0 is equal to $23, 21, 0, 1, 3% and the domain of g is $21, 0, 1, 3, 5%.
. The rules for f and g are given in tabular form:
pg115 [R] G1 5-36058 / HCG / Cannon & Elich cr 11-13-95 QC3
Exercises 37–40 Given functions f and g, (a) find 57. For functions f ~x! 5 2x 1 5 and g~x! 5 Int~x!, find
equations that describe the composition functions f 8 g and the solution set for (a) ~ f 8 g!~x! 5 0 and
g 8 f. (b) Are the functions f 8 g and g 8 f equal? That is, (b) ~g 8 f !~x! 5 0
do they have the same domain D, and is ~ f 8 g!~x! 5 58. For functions f ~x! 5 Int~x! and g~x! 5 x 2 2 x 2 6,
~g 8 f !~x! for every x in D? find the minimum value of f 8 g.
x11
37. f ~x! 5 3x 2 1, g~x! 5 Exercises 59–60 Graphing Composition Functions
3
42x Graph g 8 f where g~x! 5 x 2 2 4 and f is the given func-
38. f ~x! 5 4 2 3x, g~x! 5 tion. For Y1 enter the formula for f ~x!, for Y2 enter x 2 2 4,
3
and for Y3 enter Y12 2 4 (that is, ~g 8 f !~x!). Before drawing
39. f ~x! 5 x 2 1 1, g~x! 5 Ïx 2 1 the graphs, make a prediction about how Y2 and Y3 are
40. f ~x! 5 x 2 1 1, g~x! 5 Ïx related. Review material in Section 2.3 (Operating on the
Exercises 41–44 For the given function f, find a function “inside”) if necessary. Draw the graphs of Y2 and Y3 simul-
g such that f ~g~x!! 5 x for every value of x. (Hint: In taneously and see if your prediction is correct.
Exercise 41, f ~g~x!! 5 2g~x! 2 5; solve the equation 59. (a) f ~x! 5 x 2 2 (b) f ~x! 5 2x
2g~x! 2 5 5 x for g~x!.) (c) f ~x! 5 0.5x
41. f ~x! 5 2x 2 5 42. f ~x! 5 3 2 4x 60. (a) f ~x! 5 x 1 4 (b) f ~x! 5 1.5x
2x 23x (c) f ~x! 5 0.3x
43. f ~x! 5 44. f ~x! 5
x22 2x 1 3
Exercises 61–62 Replace g~x! in Exercises 59–60 with
Exercises 45–48 Evaluating Combined Functions If g~x! 5 x 2 2 4x 2 2.
f ~x! 5 Ïx and g~x! 5 x 2x 1 , evaluate the expression and 61. (a) f ~x! 5 x 2 2 (b) f ~x! 5 x 1 2
round off the result to two decimal places. (c) f ~x! 5 2x
45. ~ f 1 g!~Ï3! 46. ~ f 8 g!~1.63! 62. (a) f ~x! 5 x 2 3 (b) f ~x! 5 x 1 1
47. ~g 8 f !~5! 48.SD f
g
~0.37!
(c) f ~x! 5 2x 2 1