FoundationsConcept reference
Function composition
A composition applies an inner function to an input and then applies an outer function to the result.
On this page 7 sections
01Let g(x)=x+2 and f(x)=2x#
Let and . In , the inner rule receives 3 first. Its output then becomes the input to .
Let and . First, . Then . The notation means the same thing as .
Check your reasoning
If and , what is ?
Show answer and explanation
12
First . Then .
02Order matters#
Order matters. Let and . Then doubles first, then adds 2: . In the reverse order, .
Check your reasoning
In , which rule receives 5 first?
Show answer and explanation
Compute the inner first.
03Check your understanding#
Check your reasoning
A data pipeline first subtracts 1 from a reading, then triples that result. What final output comes from input 4?
Show answer and explanation
9
Stage one gives . Stage two gives .
Key takeaway
Work from the inside outward: the inner output becomes the outer input.
- Evaluate a composition in the correct order
Sources & further reading
- [1]OpenStax College Algebra 2e: 3 4 Composition Of Functions ↗OpenStax · Book