1.2 Operations On Functions and Types of Functions
1.2 Operations On Functions and Types of Functions
2 OPERATIONS ON
FUNCTIONS AND TYPES OF
FUNCTIONS
New functions may be formed from given functions
by adding, subtracting, multiplying, and dividing
function values. Accordingly, these new functions are
known as the sum, difference, product, and quotient
of the original functions.
1.2.1 Definitions of the Sum, Difference, Product,
and Quotient of Two Functions
Given the two functions f and g:
(i) their sum, denoted by f + g, is the function
defined by
(f + g)(x) = f(x) + g(x)
(ii) their difference, denoted by f g, is the
function defined by
(f g)(x) = f(x) g(x)
(iii) their product, denoted by f * g, is the function
defined by
(f * g)(x) = f(x) * g(x)
(iv) their quotient, denoted by f/g, is the function
defined by
(f/g)(x) = f(x) / g(x) g(x) 0
In each case the domain of the resulting function
consists of those values of x common to the domains
of f and g, with the additional requirement in case
(iv) that the values of x for which g(x) = 0 are
excluded.
EXAMPLE 1 Given that f and g are the functions
defined by f(x) = and g(x) = define the
following functions and determine the domain of the
resulting function: (a) f + g, (b) f g, (c) f * g, (d) f/g.
SOLUTION
(a) (f + g)(x) =
(b) (f g)(x) =
(c) (f * g)(x) =
(d) (f/g)(x) =
The domain of f is [1, +), and the domain of g is [4,
+). So in parts (a), (b), and (c) the domain of the
resulting function is *4, +). In part (d) the
denominator is zero when x = 4; thus 4 is excluded
from the domain and the domain is therefore (4,
+).
Obtaining the composite function of two given
functions is another operation on functions.
1.2.2 Definition of a Composite Function
Given the two functions f and g, the composite
function, denoted by f g, is defined by (f g)(x) = f(g(x))
And the domain of f g is the set of all numbers x in
the domain of g such that g(x) is in the domain of f.
The definition indicates that when computing (f
g)(x), we first apply function g to x and then function
f to g(x). To visualize this computation see Figure 1.
Function g assigns the value g(x) to the number x in
the domain of g. Then function f assigns the value
f(g(x)) to the number g(x) in the domain of f. Observe
in Figure 1 that the range of g is a subset of the
domain of f and the range of f g is a subset of the
range of f.
ILLUSTRATION 1 If f and g are defined by f(x) =
and g(x) = 2x -3
(f g)(x) = f(g(x))
= f(2x 3)
=
The domain of g is (-, +), and the domain of f is
*0, +). The domain of f g is, therefore, the set of
real numbers x for which 2x 3 0 or, equivalently,
[ , +).
= =1
=1
EXAMPLE 3 Given that f and g are defined by f(x) =
2
and g(x) = x - 1
Find: (a) f f; (b) g g; (c) f g; (d) g f. Also
determine the domain of the composite function in
each part.
SOLUTION The domain of f is [0, +) and the domain
of g is (-, +).
(a) (f f)(x) = f(f(x)) (b) (g g)(x) = g(g(x))
= f( ) = g(x2 1)
= = (x2 1) 2 - 1
= = 2x2
The domain is *0, +). The domain is (-, +).
(c) (f g)(x) = f(g(x)) (d) (g f)(x) = g(f(x))
= f( 1) = g( )
= = ( ) - 1
The domain is =x-1
(-, -1] *1, +) The domain is *0, +).
In part (d) note that even though x 1 is defined for
all values of x, the domain of g f, by the definition
of a composite function, is the set of all numbers x in
the domain of f such that f(x) is in the domain of g.
Thus the domain of g f must be a subset of the
domain of f.
Observe from the results of parts (c) and (d) of
Example 3 that (f g)(x) and (g f)(x) and (g f)(x) are
not necessarily equal.
An important theorem in calculus, called the chain
rule, discussed in Section 2.8, involves composite
function. When applying the chain rule it is necessary
to think of a function as the composition of two
other functions, as shown in the following
illustration.
ILLUSTRATION 2 If h(x) = (4x2 + 1)3, we can express h
as the composition of the two functions f and g for
which
f(x) = x3 and g(x) = 4x2 + 1
because
(f g)(x) = f(g(x))
= f(4x2 + 1)
= (4x2 + 1)3
The function h in Illustration 2 can be expressed as
the composition of other pairs of functions. For
example, if
F(x) = (4x + 1)3 and G(x) = x2
Then
(F G)(x) = F(G(x))
= F(x2)
= (4x2 + 1)3
EXAMPLE 4 Given
h(x) =
express h as the composition of two functions f and g
in two ways; (a) the function f contains the radical;
(b) the function g contains the radical.
SOLUTION
(a) f(x) = (b) f(x) =