Function composition

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

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.