 An example of a function that is "not" elementary is the error function


a fact that may not be immediately obvious, but can be proven using the Risch algorithm.It follows directly from the definition that the set of elementary functions is closed under arithmetic operations and composition.The elementary functions are closed under differentiation.