Inmathematics, anelementary function is afunction of a singlevariable (real orcomplex) that is typically encountered by beginners. The basic elementary functions arepolynomial functions,rational functions, thetrigonometric functions, theexponential andlogarithm functions, then-th root, and theinverse trigonometric functions, as well as those functions obtained byaddition,multiplication,division, andcomposition of these. Some functions which are encountered by beginners arenot elementary, such as theabsolute value function andpiecewise-defined functions. More generally, in modern mathematics, elementary functions comprise the set of functions previously enumerated, allalgebraic functions (not often encountered by beginners), and all functions obtained byroots of a polynomial whose coefficients are elementary.
This list of elementary functions was originally set forth byJoseph Liouville in 1833. A key property is that all elementary functions havederivatives of any order, which are also elementary, and can bealgorithmically computed by applying thedifferentiation rules (or the rules forimplicit differentiation in the case of roots). TheTaylor series of an elementary function converges in a neighborhood of every point of its domain. More generally, they areglobal analytic functions, defined (possibly withmultiple values, such as the elementary function or) for everycomplex argument, except atisolated points. In contrast,antiderivatives of elementary functions need not be elementary and is difficult to decide whether a specific elementary function has an elementary antiderivative.
Liouville's result is that, if an elementary function has an elementary antiderivative, then this antiderivative is a linear combination of logarithms, where the coefficients and the arguments of the logarithms are elementary functions involved, in some sense, in the definition of the function. More than 130 years later,Risch algorithm, named afterRobert Henry Risch, is an algorithm to decide whether an elementary function has an elementary antiderivative, and, if it has, to compute this antiderivative. Despite dealing with elementary functions, the Risch algorithm is far from elementary; as of 2025[update], it seems that no complete implementation is available.
In late-nineteenth-century analysis, elementary functions were often classified into successive kinds according to the number of independent integrations required for their definition. Functions expressible without any integration—those generated from rational functions by algebraic operations together with exponentiation, logarithms, and circular or hyperbolic trigonometric functions—were said to be elementary functions of the first kind (in the sense of Liouville). Functions defined by a single integration of an algebraic function, such as the error function and the elliptic integrals, were elementary functions of the second kind; their inverses, the elliptic functions, were considered of the same order. Higher "kinds" (third, fourth, etc.) corresponded to multiple integrals of algebraic functions, giving rise to hyperelliptic and more general Abelian functions.[1]
The essential point of the classification was that the class of elementary functions of any given kind be closed under the elementary operations—addition, multiplication, composition, and differentiation—so that differentiation never leads outside the same class, while integration may ascend to the next higher kind.
Elementary functions of a single variablex include:
Certain elementary functions of a single complex variablez, such as and, may bemultivalued. Additionally, certain classes of functions may be obtained by others using the final two rules. For example, the exponential function composed with addition, subtraction, and division provides the hyperbolic functions, while initial composition with instead provides the trigonometric functions.
Examples of elementary functions include:
The last function is equal to, theinverse cosine, in the entirecomplex plane.
Allmonomials,polynomials,rational functions andalgebraic functions are elementary.
All elementary functions areanalytic in the following sense: they can be extended tofunctions of a complex variable (possiblymultivalued) that are analytic except at finitely many points of thecomplex plane.[5] Thus nonanalytic functions such as theabsolute value function are not elementary,[6] nor are most otherpiecewise-defined functions.
Not every analytic function is elementary. In fact, mostspecial functions are not elementary. Non-elementary functions include:
It follows directly from the definition that the set of elementary functions isclosed under arithmetic operations, (algebraic) root extraction and composition. The elementary functions are closed underdifferentiation. They are not closed underlimits and infinite sums. Importantly, the elementary functions arenot closed underintegration, as shown byLiouville's theorem, seenonelementary integral. TheLiouvillian functions are defined as the elementary functions and, recursively, the integrals of the Liouvillian functions.
Some have proposed extending the set of elementary functions by extending with certaintranscendental functions, to include, for example, theLambert W function[7] orelliptic functions,[8] all of which are analytic. The key attribute, from the perspective of the Liouville theorem, is that as a class, they are closed under taking derivatives. For example, the Lambert function, which is defined implicitly by the equation, has a derivative which can be obtained byimplicit differentiation:which is again "elementary", provided that is.
The mathematical definition of anelementary function is formalized indifferential algebra. Adifferential field is afield with an extra operation of derivation (algebraic version of differentiation). Using the derivation operation new equations can be written and their solutions used inextensions of the algebra. By starting with thefield ofrational functions, two special types of transcendental extensions (the logarithm and the exponential) can be added to the field building a tower containing elementary functions.
Adifferential field is a field together with aderivation that maps to itself. The derivation generalizesderivative, being linear (thaat is,) and satisfying theLeibniz product rule (that is,) for every two elements and in. Therational functions over of form a basic examples of differential fields, when equipped with the usual derivative.
An elementh of is a constant if. The constants of form a dfferential field with zero derivative. Care must be taken that a differential field extension of a differential field may enlarge the field of constants.
A functionu of a differential extensionG of a differential fieldF is anelementary function overF if it belongs to a finite chain (for inclusion) of differential subfields ofG that starts fromF and is such that each is generated over the preceding one by a function that is either
(seeLiouville's theorem)
With this definition, the usual elementary functions are exactly the function that are elementary over the field of therational functions. This generalized definition allows considering every transcendental function as elementary for applying Liouville's theorem.