Composition of functions
MathDefinition
Composition of functions is the process of applying one function to the result of another. Written as (f ∘ g)(x) = f(g(x)), you first evaluate the inner function g(x), then use that output as the input for f.
How It Works
- Identify the inner function g(x) and outer function f(x)
- Substitute g(x) into every x in f(x)
- Simplify the resulting expression
Examples
- If f(x) = 2x + 1 and g(x) = x², then f(g(3)) = f(9) = 19
- A store applies a 20% discount then 8% tax — that's a composition of two functions
- Converting Celsius to Fahrenheit, then Fahrenheit to Rankine
Study This Concept
Practice composition of functions with free review games in these units: