1 Domain of a function (Section 2.4 , page 216)
2 Rational inequalities (Section 1.6 , page 152)
The Deepwater Horizon was a floating drilling rig that could operate in waters up to 10,000 feet deep. British Petroleum (BP) was the operator and principal developer of the exploratory well situated in the Gulf of Mexico about 41 miles off the Louisiana coast. On April 20, 2010, at approximately 9:45 p.m., high-pressure methane gas from the well ignited and exploded, engulfing the platform of the rig. At the time, 126 crew members were on board. Of these, 11 workers were never found despite extensive search operations and are believed to have died in the explosion.
The total estimated volume of oil leaked was approximately 5 million barrels, making it the largest accidental oil spill in history. The spill directly impacted 68,000 square miles (about the size of Oklahoma). By June 2010, oil had washed up on 1074 miles of the coasts of Louisiana, Mississippi, Alabama, and Florida.
On June 16, 2010, BP announced a $20 billion fund to settle claims arising from the disaster. The fund was to be used only for natural resource restoration and compensation for individual and business claimants. In July, 2013, BP and its partners in the oil well, Transocean and Halliburton, went on trial to determine payouts and fines under the Clean Water Act and the Natural Resources Damages Assessment. In July, 2015 BP said its total pre-tax charge for the spill stood at 53.8 billion.
In Example 9, we calculate the area covered by an oil spill.
1 Define basic operations on functions.
Just as numbers can be added, subtracted, multiplied, and divided to produce new numbers, so functions can be added, subtracted, multiplied, and divided to produce other functions. To add, subtract, multiply, or divide functions, we simply add, subtract, multiply, or divide their output values.
For example, if f(x)=x2−2x+4 and g(x)=x+2, then
This new function y=x2−x+6 is called the sum function f+g.
Let f(x)=x2−6x+8 and g(x)=x−2. Find each of the following functions or function values.
(f−g)(4)
(fg)(3)
(f+g)(x)
(f−g)(x)
(fg)(x)
(fg)(x)
f(4)=42−6(4)+8=0Replace x with 4 in f(x).g(4)=4−2=2Replace x with 4 in g(x).(f−g)(4)=f(4)−g(4)Definition of difference=0−2=−2Replace f(4) with 0, g(4) with 2.
f(3)=32−6(3)+8=−1Replace x with 3 in f(x).g(3)=3−2=1Replace x with 3 in g(x).(fg)(3)=f(3)g(3)=−11=−1Replace f(3) with −1, g(3) with 1.
(f+g)(x)=f(x)+g(x)Definition of sum=(x2−6x+8)+(x−2)Add f(x) and g(x).=x2−5x+6Combine like terms.
(f−g)(x)=f(x)−g(x)Definition of difference=(x2−6x+8)−(x−2)Subtract g(x) from f(x).=x2−7x+10Combine like terms.
(fg)(x)=f(x)⋅g(x)Definition of product=(x2−6x+8)(x−2)Multiply f(x) and g(x).=x2(x−2)−6x(x−2)+8(x−2)Distributive property=x3−2x2−6x2+12x+8x−16Distributive property=x3−8x2+20x−16Combine like terms.
(fg)(x)=f(x)g(x),g(x)≠0Definition of quotient=x2−6x+8x−2,x−2≠0Replace f(x) with x2−6x+8, g(x)with x−2.=(x−2)(x−4)x−2,x≠2Factor the numerator.=x−4,x≠2
Because f and g are polynomials, the domain of both f and g is the set of all real numbers, or in interval notation, (−∞, ∞). So the domain for f+g, f−g, and fg is (−∞, ∞). However, for fg, we must exclude 2 because g(2)=0. The domain for fg is the set of all real numbers x, x≠2, or in interval notation, (−∞, 2)∪(2, ∞).
Let f(x)=3x−1 and g(x)=x2+2. Find (f+g)(x), (f−g)(x), (fg)(x), and (fg)(x).
Let f(x)=√x+2 and g(x)=√5−x. Find the domain of f+g, f−g, fg, and fg.
Recall (see page 61) that √u is defined only if u≥0.
Similarly, g(x)=√5−x is defined only if 5−x≥0
To find the required domains, we first find D1∩D2 from the graphs of D1 and D2. See Figure 2.97.
The domain of f+g, f−g, and fg is D1∩D2=[−2, 5]. For the domain of fg, we must exclude from D1∩D2 those numbers where g(x)=√5−x=0. Solving this equation for x, we have x=5.
So the domain of fg is [−2, 5).
Let f(x)=√x−1 and g(x)=√3−x. Find the domain of fg, fg, and gf.
2 Form composite functions.
There is yet another way to construct a new function from two functions. Figure 2.98 shows what happens when you apply one function g(x)=x2−1 to an input (domain) value, x, and then apply a second function f(x)=√x to the output value, g(x), from the first function. In this case, the output from the first function becomes the input for the second function.
Figure 2.99 may help clarify the definition of f∘g.
By definition,
Thus, to evaluate (f∘g)(x), we must
Evaluate the inner function g at x.
Use the result g(x) as the input for the outer function f.
Let f(x)=x3 and g(x)=x+1. Find each composite function value.
(f∘g)(1)
(g∘f )(1)
(f∘f )(−1)
(f∘g)(1)=f(g(1))Definition of f∘g=[g(1)]3Replace x with g(1) in f(x)=x3.=23=8g(1)=1+1=2; simplify.
(g∘f )(1)=g(f(1))Definition of g∘f=f(1)+1Replace x with f(1) in g(x)=x+1.=1+1=2f(1)=13=1; simplify.
(f∘f )(−1)=f(f(−1))Definition of f∘f=[f(−1)]3Replace x with f(−1) in f(x)=x3.=(−1)3=−1f(−1)=(−1)3=−1; simplify.
Let f(x)=−5x and g(x)=x2+1. Find each composite function value.
(f∘g)(0)
(g∘f )(0)
When computing (f∘g)(x)=f(g(x)), you must replace every x in f(x) with g(x).
Let f(x)=2x+1 and g(x)=x2−3. Find each composite function.
(f∘g)(x)
(g∘f)(x)
(f∘f)(x)
(f∘g)(x)=f(g(x))Definition of f∘g=2g(x)+1Replace x with g(x) in f(x)=2x+1.=2(x2−3)+1Replace g(x) with x2−3.=2x2−5Simplify.
(g∘f)(x)=g(f(x))Definition of g∘f=[f(x)]2−3Replace x with f(x) in g(x)=x2−3.=(2x+1)2−3Replace f(x) with 2x+1.=4x2+4x+1−3(A+B)2=A2+2AB+B2=4x2+4x−2Simplify.
(f∘f)(x)=f(f(x))Definition of f∘f=2f(x)+1Replace x with f(x) in f(x)=2x+1.=2(2x+1)+1Replace f(x) with 2x+1.=4x+3Simplify.
Let f(x)=2−x and g(x)=2x2+1. Find each composite function.
(g∘f)(x)
(f∘g)(x)
(g∘g)(x)
Parts a and b of Example 3 illustrate that in general, f∘g≠g∘f. In other words, the composition of functions is not commutative.
3 Find the domain of a composite function.
Let f and g be two functions. The domain of the composite function f∘g consists of those values of x in the domain of g for which g(x) is in the domain of f. So to find the domain of f∘g, we first find the domain of g. Then from the domain of g, we exclude those values of x for which g(x) is not in the domain of f.
Let f(x)=√x+1 and g(x)=2x−3. Find the domain of f∘g.
Sometimes we can determine the domain of f∘g by just examining the equation for f(g(x)).
Let f(x)=1x and g(x)=3x−12. Find the domain of f∘g.
Because f(g(x))=1g(x)=13x−12 we see f(g(x)) is not defined if the denominator is zero.
So f(g(x))=13x−12 is defined if x≠4. The domain of f∘g is (−∞, 4)∪(4, ∞).
Let f(x)=√x and g(x)=3−x. Find the domain of f∘g.
If the function f∘g can be simplified, determine the domain before simplifying. For example, if f(x)=x2 and g(x)=√x,
Before simplifying:
The domain of f is (−∞, ∞), and (f∘g)(x) is defined on [0, ∞).
After simplifying:
Here it appears that the domain of f∘g is (−∞, ∞). However, this is not correct; it is [0, ∞).
Let f(x)=√x−2 and g(x)=√4−x. Find the following functions and their domains, using the procedure given in Example 5.
f∘g
g∘f
g(x)=√4−x is defined if 4−x≥0 or x≤4. So A=(−∞, 4].
f(g(x))=√g(x)−2Replace x with g(x) in f(x)=√x−2.
So, g(x) is in the domain of f if:
So B=(−∞, 0].
A∩B=(−∞, 4]∩(−∞, 0]=(−∞, 0] See figure.
So, the domain of f∘g is (−∞, 0]
To find the domain of g∘f, we interchange the role of g and f.
f(x)=√x−2 is defined if x−2≥0 or x≥2. So A=[2, ∞).
g(f(x))=√4−f(x)Replace x with f(x) in g(x)=√4−x.
So, f(x) is in the domain of g if:
So B=(−∞, 18].
A∩B=[2, ∞)∩(−∞, 18]=[2, 18] See figure.
So, the domain of g∘f=[2, 18].
Let f(x)=√x−1 and g(x)=√4−x2. Find the domain of each of the following functions.
f∘g
g∘f
4 Decompose a function.
In the composition of two functions, we combine two functions and create a new function. However, sometimes it is more useful to use the concept of composition to decompose a function into simpler functions. For example, consider the function H(x)=√x2−2. A way to write H(x) as the composition of two functions is to let f(x)=√x and g(x)=x2−2 so that f(g(x))=f(x2−2)=√x2−2=H(x).
A function may be decomposed into simpler functions in several different ways by choosing various “inner” functions.
Repeat Example 7 , letting g(x)=√2x2+1. Find f(x) and write H(x)=(f∘g)(x).
5 Apply composition to practical problems.
Suppose oil spills from a tanker into the Pacific Ocean and the area of the spill is a perfect circle. The radius of this oil slick increases at the rate of 2 miles per hour.
Express the area of the oil slick as a function of time.
Calculate the area covered by the oil slick in six hours.
The area A of the oil slick is a function of its radius r.
The radius is a function of time. We know that r increases at the rate of 2 miles per hour. So in t hours, the radius r of the oil slick is given by the function
Therefore, the area A of the oil slick is a function of the radius, which is itself a function of time. It is a composite function given by
Substitute t=6 into A to find the area covered by the oil in six hours.
What would the result of Example 8 be if the radius of the oil slick increased at a rate of 3 miles per hour?
A car dealer offers an 8% discount off the manufacturer’s suggested retail price (MSRP) of x dollars for any new car on his lot. At the same time, the manufacturer offers a $4000 rebate for each purchase of a new car.
Write a function r(x) that represents the price after only the rebate.
Write a function d(x) that represents the price after only the dealer’s discount.
Write the functions (r∘d)(x) and (d∘r)(x). What do they represent?
Calculate (d∘r)(x)−(r∘d)(x). Interpret this expression.
The MSRP is x dollars, and the manufacturer’s rebate is $4000 for each car; so
represents the price of a car after the rebate.
The dealer’s discount is 8% of x, or 0.08x; therefore,
represents the price of the car after the dealer’s discount.
(r∘d)(x)=r(d(x))Apply the dealer's discount first.=r(0.92x)d(x)=0.92x=0.92x−4000Evaluate r(0.92x) using r(x)=x−4000.
Then (r∘d)(x)=0.92x−4000 represents the price of a car when the dealer’s discount is applied first and then the manufacturer’s rebate is applied.
(d∘r)(x)=d(r(x))Apply the manufacturer's rebate first.=d(x−4000)r(x)=x−4000=0.92(x−4000)Evaluate d(x−4000) using d(x)=0.92x.=0.92−3680
Thus, (d∘r)(x)=0.92x−3680 represents the price of a car when the manufacturer’s rebate is applied first and then the dealer’s discount is applied.
(d∘r)(x)−(r∘d)(x)=(0.92x−3680)−(0.92x−4000)Subtract functionvalues.=$320
This equation shows that any car, regardless of its price, will cost $320 more if you apply the rebate first and then the discount.
Repeat Example 10 if the dealer offers a 6% discount and the manufacturer offers a $4500 rebate.
(f⋅g)(x)=_.
The domain of the function f+g consists of those values of x that are to the domains of f and g.
The composition of the function f with the function g is written as f∘g and is defined by f∘g(x)=_.
The domain of the composite function f∘g consists of those values of x in the domain of g for which g(x) .
True or False. We always have f∘g=g∘f.
True or False. If f(1)=2 and g(2)=1, then (f∘g)(2)=2.
True or False. The domain of f⋅g and the domain of fg are always the same.
True or False. A function may be decomposed into simpler functions in several different ways.
In Exercises 9–20, use the graphs of f and g shown in the figure to evaluate each expression.
(f+g)(−2)
(f+g)(2)
(f−g)(4)
(f−g)(−1)
(f⋅g)(−1)
(f⋅g)(2)
(fg)(−2)
(fg)(2)
(f∘g)(1)
(g∘f)(1)
(f∘g)(−3)
(g∘f)(−3)
In Exercises 21–24, functions f and g are given. Find each of the given values.
(f+g)(−1)
(f−g)(0)
(f⋅g)(2)
(fg)(1)
f(x)=2x; g(x)=−x
f(x)=1−x2; g(x)=x+1
f(x)=1√x+2; g(x)=2x+1
f(x)=xx2−6x+8; g(x)=3−x
In Exercises 25–38, functions f and g are given. Find each of the following functions and state its domain.
f+g
f−g
f⋅g
fg
gf
f(x)=x−3; g(x)=x2
f(x)=2x−1; g(x)=x2
f(x)=x3−1; g(x)=2x2+5
f(x)=x2−4; g(x)=x2−6x+8
f(x)=2x−1; g(x)=√x
f(x)=x−1; g(x)=√x
f(x)=x−6; g(x)=√x−3
f(x)=x+2; g(x)=√1−x
f(x)=1−2x+1; g(x)=1x
f(x)=1−1x; g(x)=1x
f(x)=2x+1; g(x)=xx+1
f(x)=5x−1x+1; g(x)=4x+10x+1
f(x)=x2x+1; g(x)=2xx2−1
f(x)=x−3x2−25; g(x)=x−3x2+9x+20
In Exercises 39–42, find the domain of each function.
f⋅g
fg
f(x)=√x−1;g(x)=√5−x
f(x)=√x−2;g(x)=√x+2
f(x)=√x+2;g(x)=√9−x2
f(x)=√x2−4;g(x)=√25−x2
In Exercises 43 and 44, use each diagram to evaluate (g∘f)(x). Then evaluate (g∘f)(2) and (g∘f)(−3).
In Exercises 45–56, let f(x)=2x+1 and g(x)=2x2−3. Evaluate each expression.
(f∘g)(2)
(g∘f)(2)
(f∘g)(−3)
(g∘f)(−5)
(f∘g)(0)
(g∘f)(12)
(f∘g)(−c)
(f∘g)(c)
(g∘f)(a)
(g∘f)(−a)
(f∘f)(1)
(g∘g)(−1)
In Exercises 57–66, the functions f and g are given. Find f∘g and its domain.
f(x)=1x, g(x)=10−5x
f(x)=1x, g(x)=√x
f(x)=√x, g(x)=2x−8
f(x)=√x, g(x)=−x
f(x)=2x+1; g(x)=1x
f(x)=1x−1; g(x)=2x+3
f(x)=√x−3 ; g(x)=2−3x
f(x)=xx−1; g(x)=2+5x
f(x)=|x|; g(x)=x2−1
f(x)=3x−2; g(x)=|x−1|
In Exercises 67–80, the functions f and g are given. Find each composite function and describe its domain.
f∘g
g∘f
f∘f
g∘g
f(x)=2x−3; g(x)=x+4
f(x)=x−3; g(x)=3x−5
f(x)=1−2x; g(x)=1+x2
f(x)=2x−3; g(x)=2x2
f(x)=2x2+3x; g(x)=2x−1
f(x)=x2+3x; g(x)=2x
f(x)=x2; g(x)=√x
f(x)=x2+2x; g(x)=√x+2
f(x)=12x−1; g(x)=1x2
f(x)=x−1; g(x)=xx+1
f(x)=√x−1; g(x)=√4−x
f(x)=x2−4; g(x)=√4−x2
f(x)=1−xx+2; g(x)=x+3x−4
f(x)=x+2x−3; g(x)=x+1x−1
In Exercises 81–90, express the given function H as a composition of two functions f and g such that H(x)=(f∘g)(x).
H(x)=√x+2
H(x)=|3x+2|
H(x)=(x2−3)10
H(x)=√3x2+5
H(x)=13x−5
H(x)=52x+3
H(x)=3√x2−7
H(x)=4√x2+x+1
H(x)=1|x3−1|
H(x)=3√1+√x
Cost, revenue, and profit. A retailer purchases x shirts from a wholesaler at a price of $12 per shirt. Her selling price for each shirt is $22. The state has 7% sales tax. Interpret each of the following functions.
f(x)=12x
g(x)=22x
h(x)=g(x)+0.07g(x)
P(x)=g(x)−f(x)
Cost, revenue, and profit. The demand equation for a product is given by x=5000−5p, where x is the number of units produced and sold at price p (in dollars) per unit. The cost (in dollars) of producing x units is given by C(x)=4x+12,000. Express each of the following as a function of price.
Cost
Revenue
Profit
Cost and revenue. A manufacturer of radios estimates that his daily cost of producing x radios is given by the equation C=350+5x. The equation R=25x represents the revenue in dollars from selling x radios.
Write and simplify the profit function
Find P(20). What does the number P(20) represent?
How many radios should the manufacturer produce and sell to have a daily profit of $500?
Find the composite function (R∘x)(C). What does this function represent?
[Hint: To find x(C), solve C=350+5x for x.]
Mail order. You order merchandise worth x dollars from D-Bay Manufacturers. The company charges you sales tax of 4% of the purchase price plus shipping and handling fees of $3 plus 2% of the after-tax purchase price.
Write a function g(x) that represents the sales tax.
What does the function h(x)=x+g(x) represent?
Write a function f(x) that represents the shipping and handling fees.
What does the function T(x)=h(x)+f(x) represent?
Consumer issues. You work in a department store in which employees are entitled to a 30% discount on their purchases. You also have a coupon worth $5 off any item.
Write a function f(x) that models discounting an item by 30%.
Write a function g(x) that models applying the coupon.
Use a composition of your two functions from (a) and (b) to model your cost for an item, assuming that the clerk applies the discount first and then the coupon.
Use a composition of your two functions from (a) and (b) to model your cost for an item, assuming that the clerk applies the coupon first and then the discount.
Use the composite functions from (c) and (d) to find how much more an item costs, assuming that the clerk applies the coupon first.
Consumer issues. You work in a department store in which employees are entitled to a 20% discount on their purchases. In addition, the store is offering a 10% discount on all items.
Write a function f(x) that models discounting an item by 20%.
Write a function g(x) that models discounting an item by 10%.
Use a composition of your two functions from (a) and (b) to model taking the 20% discount first.
Use a composition of your two functions from (a) and (b) to model taking the 10% discount first.
Use the composite functions from (c) and (d) to decide which discount you would prefer to take first.
Test grades. Professor Harsh gave a test to his college algebra class, and nobody got more than 80 points (out of 100) on the test. One problem worth 8 points had insufficient data, so nobody could solve that problem. The professor adjusted the grades for the class by (a) increasing everyone’s score by 10% and (b) giving everyone 8 bonus points. Let x represent the original score of a student.
Write statements (a) and (b) as functions f(x) and g(x), respectively.
Find (f∘g)(x) and explain what it means.
Find (g∘f)(x) and explain what it means.
Evaluate (f∘g)(70) and (g∘f)(70).
Does (f∘g)(x)=(g∘f)(x)?
Suppose a score of 90 or better results in an A. What is the lowest original score that will result in an A if the professor uses
(f∘g)(x)?
(g∘f)(x)?
Sales commissions. Henrita works as a salesperson in a department store. Her weekly salary is $200 plus a 3% bonus on weekly sales over $8000. Suppose her sales in a week are x dollars.
Let f(x)=0.03x. What does this mean?
Let g(x)=x−8000. What does this mean?
Which composite function, (f∘g)(x) or (g∘f)(x), represents Henrita’s bonus?
What was Henrita’s salary for the week in which her sales were $17,500?
What were Henrita’s sales for the week in which her salary was $521?
Enhancing a fountain. A circular fountain has a radius of x feet. A circular fence is installed around the fountain at a distance of 30 feet from its edge.
Write the function f(x) that represents the area of the fountain.
Write the function g(x) that represents the entire area enclosed by the fence.
What area does the function g(x)−f(x) represent?
The cost of the fence was $4200, installed at the rate of $10.50 per running foot (per perimeter foot). You are to prepare an estimate for paving the area between the fence and the fountain at $1.75 per square foot. To the nearest dollar, what should your estimate be?
Running track design. An outdoor running track with semicircular ends and parallel sides is constructed. The length of each straight portion of the sides is 180 meters. The track has a uniform width of 4 meters throughout. The inner radius of each semicircular end is x meters.
Write the function f(x) that represents the area enclosed within the outer edge of the running track.
Write the function g(x) that represents the area of the field enclosed within the inner edge of the running track.
What does the function f(x)−g(x) represent?
Suppose the inner perimeter of the track is 900 meters.
Find the area of the track.
Find the outer perimeter of the track.
Area of a disk. The area A of a circular disk of radius r units is given by A=f(r)=πr2. Suppose a metal disk is being heated and its radius r is increasing according to the equation r=g(t)=2t+1, where t is time in hours.
Find (f∘g)(t).
Determine A as a function of time.
Compare parts (a) and (b).
Volume of a balloon. The volume V of a spherical balloon of radius r inches is given by the formula V=f(r)=43πr3. Suppose the balloon is being inflated and its radius is increasing at the rate of 2 inches per second. That is, r=g(t)=2t, where t is time in seconds.
Find (f∘g)(t).
Determine V as a function of time.
Compare parts (a) and (b).
Let f={ (−2, 3), (1, 2), (2, 1), (3, 0)}; g={(−2, 0), (0, 2), (1,−2), (3, 2)}. Find each function.
f+g
f g
fg
f∘g
Let
Find f+g and its domain.
Let h(x) be any function whose domain contains −x whenever it contains x. Show that
f(x)=h(x)+h(−x) is an even function.
g(x)=h(x)−h(−x) is an odd function.
h(x) can always be expressed as the sum of an even function and an odd function.
Use Exercise 105 to write each of the following functions as the sum of an even function and an odd function.
h(x)=x2−2x+3
h(x)=〚x〛+x
Find the domain of f(x)=√1−|x|2−|x|.
Let f(x)={−1if−2≤x≤0x−1if0<x≤2.
Find g(x)=f(|x|)+|f(x)|.
Let f(x)=1〚x〛 and g(x)=√x(2−x). Find the domain of each of the following functions.
f(x)
g(x)
f(x)+g(x)
f(x)g(x)
For each of the following functions, find the domain of f∘f.
f(x)=1√−x
f(x)=1√1−x
Even and odd functions. State whether each of the following functions is an odd function, an even function, or neither. Justify your statement.
The sum of two even functions
The sum of two odd functions
The sum of an even function and an odd function
The product of two even functions
The product of two odd functions
The product of an even function and an odd function
Even and odd functions. State whether the composite function f∘g is an odd function, an even function, or neither in the following situations.
f and g are odd functions.
f and g are even functions.
f is odd, and g is even.
f is even, and g is odd.
Does the relation R={(−3, 2), (−1, 1), (1, 3), (2, 1)} define a function?
Construct a relation S by reversing the components of each ordered pair R. Does the relation S define a function?
Show that the line y=x is perpendicular bisector of the line segment joining the points P=(2, 5) and P′=(5, 2). (This shows that the points P and P′ are reflections of each other about the line y=x.)
Solve the equation x=2y+3 for y.
Solve the equation x=y2+1, y≥0 for y.
Solve the equation x2+y2=4, x≤0 for x.
Solve the equation 2x−1y=3 for y.
1 Vertical-line test (Section 2.4 , page 222)
2 Domain and range of a function (Section 2.4 , pages 216 and 220)
3 Composition of functions (Section 2.8 , page 284)
4 Line of symmetry (Section 2.2 , page 188)
5 Solving linear and quadratic equations (Sections 1.1 and 1.5)
The pressure at any depth in the ocean is the pressure at sea level (1 atm) plus the pressure due to the weight of the overlying water: The deeper you go, the greater the pressure. Pressure is a vital consideration in the design of all tools and vehicles that work beneath the water’s surface. Every 11 feet of depth increases the pressure by approximately 5 pounds per square inch (1 atmosphere≈15 psi). Computing the pressure precisely requires a somewhat complicated equation that takes into account the water’s salinity, temperature, and slight compressibility. However, a basic formula is given by “pressure equals depth times 5, divided by 11 plus 15.” Thus, we have pressure (psi)=depth(ft)×5(psi per atm)/11(ft per atm)+15, where psi means “pounds per square inch” and atm abbreviates “atmosphere.”
For example, at 99 feet below the surface, the pressure is 60 psi. At 1 mile (5280 feet) below the surface, the pressure is 5280×511+15=2415 psi. Suppose the pressure gauge on a diving bell breaks and shows a reading of 1800 psi. We can determine the bell’s depth when the gauge failed by using an inverse function. We will return to this problem in Example 9.
1 Define an inverse function.
Before we define inverse functions, we need to look at a special type of function called a one-to-one function.
Let f be a one-to-one function. Then the preceding definition says that for any two numbers x1 and x2 in the domain of f, if x1≠x2, then f(x1)≠f(x2), or equivalently, if f(x1)=f(x2) then x1=x2. That is, f is a one-to-one function if different x-values correspond to different y-values.
Figure 2.100(a) represents a one-to-one function, and Figure 2.100(b) represents a function that is not one-to-one. The relation shown in Figure 2.100(c) is not a function.
Recall that with a one-to-one function, different x-values correspond to different y-values. Consequently, if a function f is not one-to-one, then there are at least two numbers x1 and x2 in the domain of f such that x1≠x2 and f(x1)=f(x2). Geometrically, this means that the horizontal line passing through the two points (x1, f(x1)) and (x2, f(x2)) contains these two points on the graph of f. See Figure 2.101. The geometric interpretation of a one-to-one function is called the horizontal-line test.
Determine which of the following functions are one-to-one.
f(x)=2x+5
g(x)=x2−1
h(x)=2√x
Algebraic Approach Let x1 and x2 be two numbers in the domain of each function.
Suppose f(x1)=f(x2). Then 2x1+5=2x2+5
So f(x1)=f(x2) implies x1=x2; the function f is one-to-one.
Suppose g(x1)=g(x2). Then x21−1=x22−1
This means that for two distinct numbers, x1 and x2=−x1, g(x1)=g(x2); so g is not a one-to-one function.
Suppose h(x1)=h(x2). Then 2√x1=2√x2
So h(x1)=h(x2) implies x1=x2; the function h is one-to-one.
Geometric Approach (Horizontal-line test) Figure 2.102 shows the graphs of functions f, g, and h. We see that no horizontal line intersects the graphs of f (Figure 2.102(a)) or h (Figure 2.102(c)) in more than one point; therefore, the functions f and h are one-to-one. The function g is not one-to-one because the horizontal line y=3 (among others) in Figure 2.102(b) intersects the graph of g at more than one point.
Determine whether f(x)=(x−1)2 is a one-to-one function.
The reason only a one-to-one function can have an inverse function is that if x1≠x2 but f(x1)=y and f(x2)=y, then f−1(y) must be x1 as well as x2. This is not possible because x1≠x2.
From this definition we have the following:
The notation f −1(x) does not mean 1f(x). The expression 1f(x) represents the reciprocal of f(x) and is sometimes written as [f(x)]−1.
Assume that f is a one-to-one function.
If f(3)=5, find f−1(5).
If f−1(−1)=7, find f(7).
By definition, f−1(y)=x if and only if y=f(x).
Let x=3 and y=5. Now reading the definition from right to left, 5=f(3) if and only if f−1(5)=3. So f−1(5)=3.
Let y=−1 and x=7. Now f−1(−1)=7 if and only if f(7)=−1. So f(7)=−1.
Assume that f is a one-to-one function.
If f(−3)=12, find f−1(12).
If f−1(4)=9, find f(9).
Note the input–output diagram in the margin and Figure 2.103 for f−1∘f.
For the graphical interpretation of the input–output diagram, see Figure 2.103.
Figure 2.103 suggests the following properties of inverse functions.
One interpretation of the equation (f−1∘f)(x)=x is that f−1 reverses the effect that f has on x. For example, let
To undo what f does to x, we should subtract 2 from x. That is, the inverse of f should be
Let’s verify that g(x)=x−2 is indeed the inverse function of x.
We leave it for you to check that (g∘f)(x)=x.
Verify that the following pairs of functions are inverses of each other:
Thus, f(g(x))=x.
Thus, g(f(x))=x. Because f(g(x))=g(f(x))=x, f and g are inverses of each other.
Verify that f(x)=3x−1 and g(x)=x+13 are inverses of each other.
In Example 3, notice how the functions f and g reverse (undo) the effect of each other. The function f takes an input x, multiplies it by 2, and adds 3; g reverses (or undoes) this effect by subtracting 3 and dividing by 2. This process is illustrated in Figure 2.104. Notice that g reverses the operations performed by f and the order in which they are done.
2 Find the inverse function.
Let y=f(x) be a one-to-one function; then f has an inverse function. Suppose (a, b) is a point on the graph of f. Then b=f(a). This means that a=f−1(b); so (b, a) is a point on the graph of f−1. The points (a, b) and (b, a) are symmetric about the line y=x, as shown in Figure 2.105. That is, if the graph paper is folded along the line y=x, the points (a, b) and (b, a) will coincide. Therefore, we have the following property.
The graph of a function f is shown in Figure 2.106. Sketch the graph of f−1.
By the horizontal-line test, f is a one-to-one function; so it has an inverse function.
The graph of f consists of two line segments: one joining the points (−3,−5) and (−1, 2) and the other joining the points (−1, 2) and (4, 3).
The graph of f−1 is the reflection of the graph of f about the line y=x. The reflections of the points (−3,−5), (−1, 2), and (4, 3) about the line y=x are (−5,−3), (2,−1), and (3, 4), respectively.
The graph of f−1 consists of two line segments: one joining the points (−5,−3) and (2,−1) and the other joining the points (2,−1) and (3, 4). See Figure 2.107.
It is helpful to notice that the point (a, 0) on the x-axis, reflected about the line y=x, is the point (0, a) on the y-axis, and conversely. Also, notice that points on the line y=x are unaffected by reflection about the line y=x.
Use the graph of a function f in Figure 2.108 to sketch the graph of f−1.
The symmetry between the graphs of f and f−1 about the line y=x tells us that we can find an equation for the inverse function y=f−1(x) from the equation of a one-to-one function y=f(x) by interchanging the roles of x and y in the equation y=f(x). This results in the equation x=f(y). Then we solve the equation x=f(y) for y in terms of x to get y=f−1(x).
Find the inverse of f(x)=−2x+3.
Interchanging x and y in Step 2 is done so that we can write f−1 in the usual format, with x as the independent variable and y as the dependent variable.
Find the inverse of the one-to-one function
Step 1 y=x+1x−2Replace f(x) with y.
Step 2 x=y+1y−2Interchange x and y.
Step 3 Solve x=y+1y−2 for y.This is the most challenging step.x(y−2)=y+1Multiply both sides by y−2.xy−2x=y+1Distributive propertyxy−2x+2x−y=y+1+2x−yAdd 2x−y to both sides.xy−y=2x+1Simplify.y(x−1)=2x+1Factor out y.y=2x+1x−1Divide both sides by x−1, assumingthat x≠1.
Step 4 f−1(x)=2x+1x−1, x≠1Replace y with f−1(x).
To see if our calculations are accurate, we compute f(f−1(x)) and f−1(f(x)).
You should also check that f(f−1(x))=x.
Find the inverse of the one-to-one function
3 Use inverse functions to find the range of a function.
It is not always easy to determine the range of a function that is defined by an equation. However, for a one-to-one function we can find the range of f by finding the domain of f−1.
Find the domain and the range of the function f(x)=x+1x−2 of Example 6.
The domain of f(x)=x+1x−2 is the set of all real numbers x such that x≠2.
In interval notation, the domain of f is (−∞, 2)∪(2, ∞).
From Example 6, f−1(x)=2x+1x−1, x≠1; therefore,
In interval notation, the range of f is (−∞, 1)∪(1, ∞).
Find the domain and the range of the function f(x)=xx+3.
If a function f is not one-to-one, then it does not have an inverse function. Sometimes by changing its domain, we can produce an interesting function that does have an inverse. (This technique is frequently used in trigonometry.) We saw in Example 1(b) that g(x)=x2−1 is not a one-to-one function; so g does not have an inverse function. However, the horizontal-line test shows that the function
with domain [0, ∞) is one-to-one. See Figure 2.109. Therefore, G has an inverse function G−1.
Find the inverse of G(x)=x2−1, x≥0.
Step 1 y=x2−1,x≥0Replace G(x) with y.
Step 2 x=y2−1,y≥0Interchange x and y.
Step 3 x+1=y2,y≥0Add 1 to both sides.y=√x+1, because y≥0Solve for y.
Step 4 G−1(x)=√x+1Replace y with G−1(x).
The graphs of G and G−1 are shown in Figure 2.110.
Find the inverse of G(x)=x2−1, x≤0.
4 Apply inverse functions in the real world.
Functions that model real-life situations are frequently expressed as formulas with letters that remind you of the variable they represent. In finding the inverse of a function expressed by a formula, interchanging the letters could be confusing. Accordingly, we omit Step 2, keep the same letters, and just solve the formula for the other variable.
At the beginning of this section, we gave the formula for finding the pressure p (in pounds per square inch) at a depth d (in feet) below the surface of water. This formula can be written as p=5d11+15. Suppose the pressure gauge on a diving bell breaks and shows a reading of 1800 psi. How far below the surface was the bell when the gauge failed?
We want to find the unknown depth in terms of the known pressure. This depth is given by the inverse of the function p=5d11+15. To find the inverse, we solve the given equation for d.
Now we can use this formula to find the depth when the gauge reads 1800 psi. We let p=1800.
The device was 3927 feet below the surface when the gauge failed.
In Example 9 , suppose the pressure gauge showed a reading of 1650 psi. Determine the depth of the bell when the gauge failed.
If no horizontal line intersects the graph of a function f in more than one point, then f is a(n) function.
A function f is one-to-one when different x-values correspond to .
If f(x)=3x, then f−1(x)= .
The graphs of a function f and its inverse f−1 are symmetric about the line .
True or False. If a function f has an inverse, then the domain of the inverse function is the range of f.
True or False. It is possible for a function to be its own inverse, that is, for f=f−1.
True or False. f−1(x)=1f(x)
True or False. If (a, b) is a point on the graph of a one-to-one function f then (b, a) is on the graph of f−1.
In Exercises 9–16, the graph of a function is given. Use the horizontal-line test to determine whether the function is one-to-one.
In Exercises 17–28, assume that the function f is one-to-one with domain: (−∞, ∞).
If f(2)=7, find f−1(7).
If f−1(4)=−7, find f(−7).
If f(−1)=2, find f−1(2).
If f−1(−3)=5, find f(5).
If f(a)=b, find f−1(b).
If f−1(c)=d, find f(d).
Find (f−1∘f)(337).
Find (f∘f−1)(25π).
For f(x)=2x−3, find each of the following.
f(3)
f−1(3)
(f∘f−1)(19)
(f∘f−1)(5)
For f(x)=x3, find each of the following.
f(2)
f−1(8)
(f∘f−1)(15)
( f−1∘f)(27)
For f(x)=x3+1, find each of the following.
f(1)
f−1(2)
(f∘f−1)(269)
For g(x)=3√2x3−1, find each of the following.
g(1)
g−1(1)
(g−1∘g)(135)
In Exercises 29–34, show that f and g are inverses of each other by verifying that f(g(x))=x=g(f(x)).
f(x)=3x+1;g(x)=x−13
f(x)=2−3x;g(x)=2−x3
In Exercises 35–42, the graph of a function f is given. Sketch the graph of
In Exercises 43–54,
Determine algebraically whether the given function is a one-to-one function.
If the function is one-to-one, find its inverse.
Sketch the graph of the function and its inverse on the same coordinate axes.
Give the domain and intercepts of each one-to-one function and its inverse function.
Find the domain and range of the function f of Exercise 33.
Find the domain and range of the function f of Exercise 34.
In Exercises 57–60, assume that the given function is one-to-one. Find the inverse of the function. Also find the domain and the range of the given function.
In Exercises 61–68, find the inverse of each function and sketch the graph of the function and its inverse on the same coordinate axes.
Temperature scales. Scientists use the Kelvin temperature scale, in which the lowest possible temperature (called absolute zero) is 0 K. (K denotes degrees Kelvin.)
The function gives the relationship between the Kelvin temperature (K) and Celsius temperature (C).
Find the inverse function of What does it represent?
Use the inverse function from (a) to find the Celsius temperature corresponding to 300 K.
A comfortable room temperature is What is the corresponding Kelvin temperature?
Temperature scales. The boiling point of water is 373 K, or the freezing point of water is 273 K, or The relationship between Kelvin and Fahrenheit temperatures is linear.
Write a linear function expressing K(F) in terms of F.
Find the inverse of the function in part (a). What does it mean?
A normal human body temperature is What is the corresponding Kelvin temperature?
Composition of functions. Use Exercises 69 and 70 and the composition of functions to
write a function that expresses F in terms of C.
write a function that expresses C in terms of F.
Celsius and Fahrenheit temperatures. Show that the functions in (a) and (b) of Exercise 71 are inverse functions.
Currency exchange. Alisha went to Europe last summer. She discovered that when she exchanged her U.S. dollars for euros, she received 25% fewer euros than the number of dollars she exchanged. (She got 75 euros for every 100 U.S. dollars.) When she returned to the United States, she received 25% more dollars than the number of euros she exchanged.
Write each conversion function.
Show that in part (a), the two functions are not inverse functions.
Does Alisha gain or lose money after converting both ways?
Hourly wages. Anwar is a short-order cook in a diner. He is paid $4 per hour plus 5% of all food sales per hour. His average hourly wage w in terms of the food sales of x dollars is
Write the inverse function. What does it mean?
Use the inverse function to estimate the hourly sales at the diner if Anwar averages $12 per hour.
Hourly wages. In Exercise 74, suppose in addition that Anwar is guaranteed a minimum wage of $7 per hour.
Write a function expressing his hourly wage w in terms of food sales per hour. [Hint: Use a piecewise function.]
Does the function in part (a) have an inverse? Explain.
If the answer in part (b) is yes, find the inverse function. If the answer is no, restrict the domain so that the new function has an inverse.
Simple pendulum. If a pendulum is released at a certain point, the period is the time the pendulum takes to swing along its path and return to the point from which it was released. The period T (in seconds) of a simple pendulum, is a function of its length l (in feet) and is given by
Find the inverse function. What does it mean?
Use the inverse function to calculate the length of the pendulum, assuming that its period is two seconds.
The convention center in Portland, Oregon, has the longest pendulum in the United States. The pendulum’s length is 70 feet. Find the period.
Water supply. Suppose x is the height of the water above the opening at the base of a water tank. The velocity V of water that flows from the opening at the base is a function of x and is given by
Find the inverse function. What does it mean?
Use the inverse function to calculate the height of the water in the tank when the flow is (i) 30 feet per second and (ii) 20 feet per second.
Physics. A projectile is fired from the origin over horizontal ground. Its altitude y (in feet) is a function of its horizontal distance x (in feet) and is given by
Find the inverse function where the function is increasing.
Use the inverse function to compute the horizontal distance when the altitude of the projectile is (i) 32 feet, (ii) 256 feet, and (iii) 512 feet.
Loan repayment. Chris purchased a car at 0% interest for five years. After making a down payment, she agreed to pay the remaining $36,000 in monthly payments of $600 per month for 60 months.
What does the function represent?
Find the inverse of the function in part (a). What does the inverse function represent?
Use the inverse function to find the number of months remaining to make payments if the balance due is $22,000.
Demand function. A marketing survey finds that the number x (in millions) of computer chips the market will purchase is a function of its price p (in dollars) and is estimated by
Find the inverse function. What does it mean?
Use the inverse function to estimate the price of a chip if the demand is 1180.5 million chips.
In Exercises 81 and 82, show that f and g are inverses of each other by verifying that
x | 1 | 3 | 4 |
f(x) | 3 | 5 | 2 |
x | 3 | 5 | 2 |
g(x) | 1 | 3 | 4 |
x | 1 | 2 | 3 | 4 |
f(x) | 0 | 1 |
x | 0 | 1 | ||
g(x) | 1 | 2 | 3 | 4 |
Let
Sketch the graph of
Is f one-to-one?
Find the domain and the range of f.
Let where is the greatest integer function.
Find the domain of f.
Is f one-to-one?
Let
Show that f is one-to-one.
Find the inverse of f.
Find the domain and the range of f.
Let
Show that g is one-to-one.
Find the inverse of g.
Find the domain and the range of g.
Inverse of composition of functions. We show that if f and g have inverses, then
Let and
Find the following:
From part (a), conclude that
Repeat Exercise 87 for and
Does every odd function have an inverse? Explain.
Is there an even function that has an inverse? Explain.
Does every increasing or decreasing function have an inverse? Explain.
A relation R is a set of ordered pairs (x, y). The inverse of R is the set of ordered pairs (y, x).
Give an example of a function whose inverse relation is not a function.
Give an example of a relation R whose inverse is a function.
In Exercises 93–96, factor the given expression.
In Exercises 97–100, solve each quadratic equation.
In Exercises 101–104, use transformations on the graph to sketch the graph of each function.