Function Composition Calculator
Calculate composite functions (f∘g)(x) = f(g(x)). Evaluate functions at values, compose two functions, and find the domain restrictions of composite functions.
Formula & Reference
| Variable | Symbol | Formula | Units |
|---|---|---|---|
| Function Composition Calculator | — | (f∘g)(x) = f(g(x)) | output value |
Step-by-Step Examples
g(x)=3x+1, so g(2)=7. f(u)=u²: f(g(2))=f(7)=49.
- Step 1: g(2) = 3(2)+1 = 7
- Step 2: f(7) = 7² = 49
- Result: (f∘g)(2) = 49
f(x)=x+3, g(x)=2x. f(g(1)) vs g(f(1)).
- f(g(1)) = f(2) = 5
- g(f(1)) = g(4) = 8
- f∘g ≠ g∘f!
f(x)=2x+1, g(x)=3x−2. (f∘g)(x)=?
- g(x)=3x−2, then f(3x−2)=2(3x−2)+1=6x−3
- (f∘g)(x) = 6x−3
Real-World Applications
Common Mistakes to Avoid
(f∘g)(x) means apply g FIRST, then f. The rightmost function is applied first.
Domain of (f∘g) requires: x in domain of g, AND g(x) in domain of f. Both must be satisfied.
Composition is not multiplication. f(g(x)) substitutes g(x) INTO f, it does not multiply the outputs.
Frequently Asked Questions
Related Math Calculators
Formula Explorer connections
Interpretation: This formula describes an algebraic relationship among variables, functions, equations, roots or sequences. Assumption: Respect the expression’s domain and excluded values. Check roots in the original equation because transformations can introduce extraneous solutions.