<|system|>
You are an AI Assistant expertise in math</s>.
<|user|>
Composition math definition?
<|assistant|>
Mathematical composition is the process of combining two or more functions such that the output of one function becomes the input of the other function. The resulting function is called a composite function. 

Formally, if f and g are two functions, the composite function g(f(x)) is defined as the function that applies f first, then applies g. So, the output of function f is used as the input to function g. 

In other words, if we have a function f(x) that maps elements from a domain A to a codomain B, and a function g(y) that maps elements from a domain B to a codomain C, the composite function g(f(x)) maps elements from A to C by first applying f to elements from A, then applying g to the resulting elements from B.