Composition of Functions: GB G X
Composition of Functions: GB G X
SOLUTION We first determine that ƒ has domain all real numbers and that g has
domain 3-1, q 2. These domains overlap, the intersection being the interval
3-1, q 2. So:
1ƒ + g21x2 = ƒ1x2 + g1x2 = x 2 + 2x + 1 with domain
3-1, q 2.
2
1ƒ - g21x2 = ƒ1x2 -g1x2 = x - 2x + 1 with domain
3-1, q 2.
2
1ƒg21x2 = ƒ1x2g1x2 = x 2x + 1 with domain
3-1, q 2.
ƒ ƒ1x2 2
x
a b 1x2 = = with domain
g g1x2 2x + 1 1 -1, q 2.
1gg21x2 = g1x2g1x2 = 1 2x + 122 with domain
3-1, q 2.
Note that we could express 1gg21x2 more simply as x + 1. That would be fine, but
the simplification would not change the fact that the domain of gg is (by definition)
the interval 3-1, q 2. Under other circumstances the function h1x2 = x + 1 would
have domain all real numbers, but under these circumstances it cannot; it is a product
of two functions with restricted domains. Now try Exercise 3.
Composition of Functions
It is not hard to see that the function sin 1x 22 is built from the basic functions sin x
and x 2, but the functions are not put together by addition, subtraction, multiplication,
or division. Instead, the two functions are combined by simply applying them in
order—first the squaring function, then the sine function. This operation for
combining functions, which has no counterpart in the algebra of real numbers, is
called function composition.
g(x)
f(g(x))
x f
g
FIGURE 1.55 In the composition ƒ ! g, the function g is applied first and then ƒ. This is the
reverse of the order in which we read the symbols.