400
You make a purchase at a local hardware store, but what you’ve bought is too big to take home in your car. For a small fee, you arrange to have the hardware store deliver your purchase for you. You pay for your purchase, plus the sales taxes, plus the fee. The taxes are 7.5% and the fee is $20.
f(x) = 1.075x is function for the total, after taxes, on purchase amount x.
g(x) = x + 20 is a function for the total, including the delivery fee, on purchase amount x.
Find f(g(x)) and g(f(x)). Which results in a lower cost to you?
What is
f(g(x)) = (f o g)(x) = 1.075 (x +20) = 1.075x + 21.50
g(f(x)) = (g o f)(x) = (1.075x) + 20 which costs less.