






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Haberman / Kling MTH 111c
Module 5: Function Composition
In The Algebra of Functions (Section I: Module 4) we discussed adding, subtracting, multiplying, and dividing functions. In this module we will study another way to combine functions: function composition.
EXAMPLE: When Peter was younger and people asked about his age, he never had to think: he had my age memorized. But now he’s older and his age has taken enough different values that he sometimes lose track, and need to do some calculations to find his age. In this example we’ll discuss the function that Peter uses to calculate his age when he can’t remember: the age function. Let’s call the age function a. Since his goal is to determine his age, we need to input Peter into the function a. (Thus, it makes sense to define the domain of a to be the set of all living people.) So what does the function a need to do to determine a person’s age? First, a needs to find the person’s birth-date, and then it needs to calculate how long ago the person’s birth-date occurred. Since a needs to do these two things, we say that a is the composition of two functions: the birth-date function , b, and the how long ago this date occurred function , h. So
years) a date occurred. The diagram below represents how function a works.
We can express this function symbolically as follows:
a Peter h bPeter h
(so Peter is 35 years old) and if x represents a generic person, then the age of person x can be calculated as follows:
As mentioned above, a is the composition of two functions: b and h. We have special notation for the composition of two functions :
KEY POINT: The composition of functions is denoted by the symbol “ ”. The composition of functions f and g is the function
f D g defined as follows:
The notation f D g can be translated as “f composed with g” or “the composition of f and g.” B E C AREFUL: f D g does not mean the same thing as f ⋅ g, which is the product of f and g.
EXAMPLE: Table 1 shows the temperature, C, in degrees Celsius, as a function of the temperature in degrees Fahrenheit, F. Table 2 shows the temperature in degrees Kelvin, K, as a function of the temperature in degrees Celsius, C. [The Kelvin scale is the temperature scale devised by Lord Kelvin in 1848 .]
Table 1: Celsius temperature vs. Fahrenheit temperature F –31 –13 32 68 149 212 C(F) –35 –25 0 20 65 100
Table 2: Kelvin temperature vs. Celsius temperature C –35 –25 0 20 65 100 K (C ) 238.15 248.15 273.15 293.15 338.15 373.
undefined. (Remember – with no algebraic rule or graph, the values in the table are the only values we know!)
Table 4: Functions f and g. x f^ ( )x^ g x( ) 1 4 3 2 5 0 3 2 4 4 1 9 5 4 7
SOLUTIONS:
(since ) (since )
f f g
g f
g
f
(since ) (since )
f f g
g f g g
But is undefined because there is no input value of 9 in Table 4. Therefore, is undefin ed.
f g f g f f f g
Figure 1: y = m x( )is the parabola and y = k x( ) is the line. SOLUTIONS:
1 ) (we find that m(3) 1 on Figure 1, so we replace ( 1 )
m − = − m −
k k = k
with (the linear function in Figure 1 shows us that )
k m k k k
(we find that on Figure 1, so we replace with ) (the parabolic function in Figure 1 shows us that )
m k m m m
EXAMPLE: If m x( ) = 3 x− 5 andn x( ) = 2 x^2 + 1 , find and simplify the following:
SOLUTIONS:
a.
( ) ( )
2 2 2 2
m n x m n x m x x x x
CLICK HERE FOR A SOLUTION
CLICK HERE FOR ANOTHER METHOD
EXAMPLE: A computer store offers a 15% discount on all new computers. At the same time, the computer manufacturer offers a $500 rebate. Let P represent the original price of a computer. a. Write a function f to represent a computer’s price if only the 15% discount is applied and a function g to represent its price if only the $500 rebate is applied. b. When both the discount and the rebate are applied, the purchase price of the computer
Which would you ask the dealer to apply first? Which composition represents your
SOLUTIONS:
a. If P represents the original price, then the price after the 15% discount is applied would be represented by P − 0.15 P= 0.85P. So, f ( P) = 0.85P is a function which represents the price of the computer if only the 15% discount is applied. If P represents the original price, then the price after the $500 rebate is applied would be
. So, is a function g which represents the price if only the $ rebate is applied.
P − 500 g P( ) = P− 500
price; then g performs the $500 rebate followed by f which performs the 15% discount.
original price, then f performs the 15% discount, followed by g which performs the $ rebate.
(put into by replacing the input variable of with )
(apply the distributive property)
g P
f g P f
f f
by replacing the input variable of with )
f
( 500) (replace ( ) with 500 since ( ) 500 )
g P g P g P P − g P P − g P = P−
(put into (replace with since )
f P f P P
g g
g f P =g = − = −
f P f P P f P = P
the 15% discount followed by the $500 rebate, would be the better deal.
KEY POINT: In most applied problems, functions cannot be composed both ways, as demonstrated in the following example.
EXAMPLE: Suppose that the function n = P(t) represents the population (n) of the Portland metropolitan area t years after 1990 and l = C( y) represents the carbon dioxide (CO 2 ) concentration (l) in the atmosphere of a city of
sense? Explain your reasoning.
and the input of C must be a population and the output of P is a population. doesn’t make sense because the input of P must be a time (in years since 1990 ), but the output of C is not a time.
EXAMPLE: If f ( )x = x+ 3 , find two new functions u and w so that
SOLUTION:
Essentially, this example asks us to “de-compose” the function f ( )x = x+ 3 into two new functions u and w. Since we need
w x x u x x
Let’s check if this choice of u and w works:
3
u w x u w x u x x g x
EXAMPLE: If , find two new functions u and w so that .
SOLUTION:
In order to “de-compose” the function into two functions u and w we need to think of a two-step process where w represents the first step of the process and u represents the second step in the process. In this case, there are a few equally natural ways to break-down the function into two steps. We’ll show two different ways here:
Solution A:
1 st: Multiply the input by 2 and then subtract 5 from the result. 2 nd: Raise the result of the 1st^ step to the power 10. Thus, we can define the functions u and w as follows:
10
w x x u x x
Let’s check if this choice of u and w works:
u w x u w x u x x h x
Solution B:
1 st: Multiply the input by 2 2 nd: Subtract 5 from the result of the 1st^ step, and then raise the result to the power 10. Thus, we can define the functions u and w as follows:
10
w x x u x x
Let’s check if this choice of u and w works:
u w x u w x u x x h x
In the example above we de-composed the function into two functions u and w, but you may have noticed that the function really consists of a three-step process. Thus, the most natural decomposition consists of three functions. Let’s find a three-function de-composition of the function :
EXAMPLE: If , find three new functions u, v, and w so that .