Function Composition Formula
Function composition applies one function to the output of another: (f ∘ g)(x) = f(g(x)), meaning evaluate g first, then apply f to the result.
The Formula
Ask yourself: Is the output of one function being used as the input of another, in a fixed order?
Quick example
.
Notation
What this formula means
Function composition applies one function to the output of another: , meaning evaluate first, then apply to the result.
Composition is a relay race: the second runner cannot start until the first hands over the baton, and what the second runner carries is exactly what the first delivered. Swap the running order and the finish can change, just as differs from .
Formal view
Worked examples
Example 1
easyShow solution
Answer
First step
Full solution
- 2. Compute .
- 3. Substitute that result into : .
Example 2
mediumExample 3
easyCommon mistakes
- Applying before in - the inner function always goes first.
- Multiplying outputs instead of substituting - composition plugs in for the variable in , it does not multiply.
- Assuming equals - order changes the result for most functions.
Common mistakes guide
If this formula keeps breaking in real problems, read the most common errors before you practice again.
Why this formula matters
Real formulas are usually built in layers, and composition is how you build and take apart those layers. It turns 'temperature depends on altitude, and altitude depends on time' into one rule for temperature over time. It is also what defines an inverse, , and it is the structure behind the chain rule in calculus.
Frequently asked questions
What is the Function Composition formula?
Function composition applies one function to the output of another: , meaning evaluate first, then apply to the result.
How do you use the Function Composition formula?
Compose when one quantity depends on a second that itself depends on a third, so the output of one rule becomes the input of the next: area depends on radius and radius depends on time; a fee depends on the euro amount and the euro amount depends on dollars. Words like 'then' or a written are the signal. If two functions act on the same input side by side and are added or multiplied, as in revenue = price × quantity, use function arithmetic instead.
What do the symbols mean in the Function Composition formula?
denotes composed with : apply first, then to the result.
Why is the Function Composition formula important in Math?
Real formulas are usually built in layers, and composition is how you build and take apart those layers. It turns 'temperature depends on altitude, and altitude depends on time' into one rule for temperature over time. It is also what defines an inverse, , and it is the structure behind the chain rule in calculus.
What do students get wrong about Function Composition?
The procedure for function composition is the easy part; the trap is applying before in . Asking "Is the output of one function being used as the input of another, in a fixed order?" first is what keeps a correct-looking calculation from being attached to the wrong concept.
What should I learn before the Function Composition formula?
Before studying the Function Composition formula, you should understand: function definition.
The full guide
This formula is covered in depth in Functions and Graphs: Complete Foundations for Algebra and Calculus.