# COMPOSITION OF FUNCTIONS

There are occasions when it may be necessary to use two or more functions in sequence, in the
sense that the output from one function is required as the input to another function. Consider the
fol lowing scenario .

The Creative Candle Company produces spherical candles. The production
manager needs to de termine the cost of producing a candle having a radius of
4.2 cm. The volume V of a candle is a function of its radius r:
.

Because larger candles require more wax, the cost of producing a candle
depends upon its size. If V is the volume of the candle, then the production cost
C (in dollars) is given by the function

C(V) = 0.0021V + 0.19 .

To determine the cost, the manager must first determine the volume, which is
V(4.2) ≈ 310.3 cubic centimeters . This value can now be used to obtain the cost
according to the second function. Since C(310.3) ≈ 0.842, the cost will be
approximately 84 cents per candle.

In the above scenario, notice how the output (volume) from the first function was required as
an input for the second function. In order to determine the cost, the two functions had to be used in
sequence: radius => volume => cost. This process is referred to as function composition.

 Definition: If f and g are two functions, then the composition of f and g, written f o g , is defined as: ( f o g)(x) = f ( g(x)) . The domain of f o g is {x: x is in the domain of g and g(x) is in the domain of f}. That is, g must be defined at x and f must be defined at the output g(x).

To find a composition, notice that the functions are used right to left. The function g is
evaluated at x first, yielding the output g(x). The value g(x) is then used as an input to f, giving the
final result of f(g(x)).

A good way to visualize function composition is to imagine an assembly- line process (see
Figure 1). Each function in the composition is only one step of the whole process, performing its
specialized task and sending the "unfinished product" on to the next function for further
processing.

 Domain of g Unfinished product Final result

Figure 1

For problems 1–10, find (a) ( f o g)(2) , (b) (g o f )(2) , (c) ( f o g)(x) , and (d) (g o f )(x) . Write your answers in
simplified form .

For problems 11–16, find (a) (f o g)(x), (b) (go f)(x), (c) (f o f)(x), and (d) (go g)(x). Write your answers in simplified
form.

For problems 17–18, use the table definitions of H(t) and r(t) shown below to find the indicated composition.

For problems 19–20, use the graphs of f (x) and g(x) shown to find the indicated composition.

21. The temperature T (°F) of gas in a helium balloon is increasing with time according to the function T = 4.3t + 56,
where the time t is measured in hours. The volume V (cubic inches) of the balloon is a function of the temperature
of the gas inside, V = 0.28T. Find (V o T)(4) and explain what this value re presents in terms of the balloon.

22. The radius r (in meters) of a circular oil spill is growing over time (in hours) according to the function
The area A of the oil slick is a function of the radius, A = π r2 . Find (Ao r)(5) and explain what this value
represents in terms of the oil spill.

23. The Spinomatic company is planning a week long promotion in which washing machines will be discounted by
15% off the retail price. In addition , customers who purchase a washing machine during the first day of the
promotion will receive a special discount of \$25. Let P(x) = 0.85x be the discount function which gives the sale
price after the 15% discount, and let S(x) = x – 25 be the special discount function which deducts \$25 off of the
price x of the washing machine. Find (P o S)(x) and (S o P)(x) and explain the meaning of each in terms of price
discounts. If you were a customer, which composition would you prefer?

24. Suppose n(T) predicts the number of tropical storms each year in the Caribbean, where T represents the average
temperature of the Atlantic ocean during June of that year, and I(n) gives an estimate of the total cost of stormrelated
insurance claims based on the number of tropical storms. Explain what I o S represents and how it might
be useful to insurance companies.

Answers

21. 20.496; After 4 hours, the volume of the balloon is 20.496 cubic inches.

23. (Po S)(x) = 0.85x - 21.25 , (S o P)(x) = 0.85x - 25 . With Po S , the 15% discount is taken after the price is
reduced by \$25. With S o P , the \$25 deduction is taken after the price is discounted by 15%. Since 0.85x - 25
will be less than 0.85x - 21.25 for any x, the better deal is to take the 15% discount first.

 Prev Next

Start solving your Algebra Problems in next 5 minutes!

 Algebra Helper Download (and optional CD) Only \$39.99 Click to Buy Now: OR
2Checkout.com is an authorized reseller
of goods provided by Sofmath

Attention: We are currently running a special promotional offer for Algebra-Answer.com visitors -- if you order Algebra Helper by midnight of February 21st you will pay only \$39.99 instead of our regular price of \$74.99 -- this is \$35 in savings ! In order to take advantage of this offer, you need to order by clicking on one of the buttons on the left, not through our regular order page.

If you order now you will also receive 30 minute live session from tutor.com for a 1\$!

You Will Learn Algebra Better - Guaranteed!

Just take a look how incredibly simple Algebra Helper is:

Step 1 : Enter your homework problem in an easy WYSIWYG (What you see is what you get) algebra editor:

Step 2 : Let Algebra Helper solve it:

Step 3 : Ask for an explanation for the steps you don't understand:

Algebra Helper can solve problems in all the following areas:

• simplification of algebraic expressions (operations with polynomials (simplifying, degree, synthetic division...), exponential expressions, fractions and roots (radicals), absolute values)
• factoring and expanding expressions
• finding LCM and GCF
• (simplifying, rationalizing complex denominators...)
• solving linear, quadratic and many other equations and inequalities (including basic logarithmic and exponential equations)
• solving a system of two and three linear equations (including Cramer's rule)
• graphing curves (lines, parabolas, hyperbolas, circles, ellipses, equation and inequality solutions)
• graphing general functions
• operations with functions (composition, inverse, range, domain...)
• simplifying logarithms
• basic geometry and trigonometry (similarity, calculating trig functions, right triangle...)
• arithmetic and other pre-algebra topics (ratios, proportions, measurements...)

ORDER NOW!

 Algebra Helper Download (and optional CD) Only \$39.99 Click to Buy Now: OR
2Checkout.com is an authorized reseller
of goods provided by Sofmath

 "It really helped me with my homework.  I was stuck on some problems and your software walked me step by step through the process..." C. Sievert, KY

 Sofmath 19179 Blanco #105-234San Antonio, TX 78258 Phone: (512) 788-5675Fax: (512) 519-1805
 Home   : :   Features   : :   Demo   : :   FAQ   : :   Order Copyright © 2004-2018, Algebra-Answer.Com.  All rights reserved.