Topic summary

Function composition

Function composition

In mathematics, the composition operator∘ takes two functions, f and g, and returns a new function f∘g. When the composite function f∘g (pronounced "f of g") is evaluated at an input x, the result is (f∘g)(x)=f(g(x)). That is, the function f is applied after applying g to x.

The composition of functions is a special case of the composition of relations, sometimes also denoted by ∘. As a result, all properties of composition of relations are true of composition of functions, such as associativity.