Algebra 2 · Grades 10, 11
Combining Functions: Sums, Quotients and Composition
Quick answer
Many models are built from simpler functions. Profit is revenue minus cost. A cooling cup of coffee is a constant room temperature plus a shrinking exponential. Average cost is total cost divided by the number made. And when one quantity depends on a second that depends on a third, composing the two functions gives the chain in a single rule.
What you'll learn
- Add, subtract, multiply and divide functions and evaluate the results
- Build a model by combining a constant, linear or exponential function
- Compose two functions and interpret the composition in context
Building a model from pieces
A school club sells T-shirts for dollars each. Printing costs a -dollar setup fee plus dollars a shirt.
Profit is what revenue leaves after cost, so the profit function is the difference of the two:
The club breaks even when , at , so it needs to sell shirts to come out ahead.
Functions combine the way numbers do, one input at a time:
| Combination | Rule |
|---|---|
| sum | |
| difference | |
| product | |
| quotient | , where |
A cooling cup of coffee
Coffee poured at F sits in a F room. It cools fast at first and then more slowly, and it never drops below the temperature of the room.
The model is a sum of two familiar functions:
The is a constant function, the room temperature. The is a decaying exponential: the coffee starts degrees above the room, and each minute that excess shrinks by .
- T(t), °F
- room, 70°F
| (minutes) | |||||
|---|---|---|---|---|---|
| (°F) |
Why adding functions adds their graphs
is defined one input at a time: at each , take the height of one graph and the height of the other and add them. So the graph of the sum is the two graphs stacked, point by point.
That is exactly what the coffee graph shows. The decaying exponential on its own heads toward . Adding the constant lifts every point of it by , so the combined curve heads toward instead.
Each part of the model has one job, and it can be read off:
| Part | Job | Shows up as |
|---|---|---|
| the room | the level the curve approaches | |
| the starting excess | ||
| the cooling rate | of the excess lost per minute |
Building a model this way makes every number in it mean something. A single formula found by curve-fitting might match the data as well, but it would not say why the coffee stops at .
A quotient: average cost
The club’s cost per shirt is total cost divided by the number of shirts:
| Shirts | |||||
|---|---|---|---|---|---|
| Average cost |
The setup fee gets shared among more shirts as grows, so the part shrinks toward and the average cost falls toward the dollars each shirt costs to print. The quotient excludes , where no shirts means no average.
Composition: one output feeds the next
Sometimes one quantity depends on a second, which depends on a third.
A weather balloon rises feet a minute, so its height after minutes is . The air cools with height; near the ground a good model is degrees Fahrenheit, about per feet.
To get temperature as a function of time, feed the height into the temperature function:
This is a composition, written . Apply first, then to the result. After minutes the balloon is at feet and the air around it is F.
Worked examples
Common mistakes
Practice problems
-
With and , find .
Answer
Full solution
and , so .
-
With the same functions, write .
Answer
Full solution
.
-
With the same functions, write .
Answer
Full solution
.
-
Revenue is and cost is . Find the break-even point.
Answer
Full solution
, which is zero at .
-
For the coffee model , find and the temperature the coffee approaches.
Answer
F; it approaches F.
Full solution
.
As grows, shrinks toward , so shrinks toward .
-
Using , find the average cost of shirts.
Answer
dollars
Full solution
.
-
With and , find and .
Answer
and
Full solution
, so .
, so .
-
Using the balloon model , find the air temperature after minutes, and the balloon’s height then.
Answer
F at feet.
Full solution
feet.
F.
-
Soup at F is set in a F room, and its excess temperature shrinks by a minute. Write a model .
Hint
Separate the room temperature from the excess.
Answer
Full solution
The room contributes a constant .
The excess starts at and keeps of itself each minute, so it is .
Adding them: . Check: ✓
-
With and , Tom writes . Find his error.
Hint
Which function acts first in ?
Answer
He applied first. The correct composition is .
Full solution
In the inside function acts first. So add , then square: .
Tom squared first and then added , which is — the composition in the other order.
A single input shows the difference. At : , but Tom’s formula gives .
Frequently asked questions
What does (f + g)(x) mean?
The function whose output at x is f(x) + g(x). Evaluate each function at x and add the results.
Why does a cooling drink level off instead of reaching zero?
Its model is room temperature plus a decaying exponential. The exponential part shrinks toward zero, so the total shrinks toward room temperature.
What is function composition?
Using one function's output as another's input. (f ∘ g)(x) = f(g(x)): apply g first, then f.
Does the order of composition matter?
Usually. With f(x) = x + 5 and g(x) = 2x, f(g(3)) = 11 but g(f(3)) = 16.
Can any two functions be divided?
Yes, except where the bottom function is zero. Those inputs are excluded from the domain of the quotient.
Standards alignment
This lesson covers the following Common Core State Standards for Mathematics.
- CCSS.MATH.CONTENT.HSF.BF.A.1Building FunctionsWrite a function that describes a relationship between two quantities
- CCSS.MATH.CONTENT.HSF.BF.A.1bBuilding FunctionsCombine standard function types using arithmetic operations.
- CCSS.MATH.CONTENT.HSF.BF.A.1cBuilding Functions(+) Compose functions.