Composition combines two functions by using the output of one function as the input of another. In f(g(x)), the function g is evaluated first, and its result is then substituted into f. The order of composition matters because f(g(x)) is generally different from g(f(x)). The input must belong to the domain of the inner function, and its output must belong to the domain of the outer function. Composition is useful for representing processes that occur in successive stages.
Composition of Functions
Function composition applies one function to the output of another function, creating a new function.
(f ∘ g)(x) = f(g(x))
Explanation
Variables
| Symbol | Meaning | Unit |
|---|---|---|
f | Outer function | Not applicable |
g | Inner function | Not applicable |
x | Original input | Depends on the context |
Example or application
Let f(x) = x² and g(x) = x + 1. Then (f ∘ g)(x) = f(x + 1) = (x + 1)². At x = 2, the output is 9.
Key Properties
Evaluate the inner function first.
Substitute the inner output into the outer function.
The order of composition matters.
The output of the inner function must be an allowed input of the outer function.
Function composition is associative but generally not commutative.
Sources and verification
Sources are shown as provided in the project data. Not every source has yet been independently verified. Please report errors or missing citations.
- SCIENEXY Mathematics Reference