Compute (f∘g)(x) = f(g(x)) by evaluating two functions in sequence at a given x value.
Function composition (f∘g)(x) means applying g first, then f to the result: f(g(x)). Note that composition is generally not commutative: f(g(x)) ≠ g(f(x)) in most cases. This calculator evaluates both orders for comparison.
Composition
(f∘g)(x) = f(g(x))
Reverse composition
(g∘f)(x) = g(f(x))
Not in general. Function composition is not commutative — the order matters. This calculator shows both so you can compare.
Any expression supported by the parser: polynomials, trig functions, logarithms, exponentials, square roots, etc. Use x as the variable.