Article · Wikipedia archive · Last revised May 27, 2026

Elementary function

In mathematics, an elementary function is a function of a single variable that is typically encountered by beginners. The basic elementary functions are polynomial functions, rational functions, the trigonometric functions, the exponential and logarithm functions, the n-th root, and the inverse trigonometric functions, as well as those functions obtained by addition, multiplication, division, and composition of these. Some functions which are encountered by beginners are not elementary, such as piecewise-defined functions. More generally, in some modern treatments, elementary functions comprise the set of functions previously enumerated, all algebraic functions, and all functions obtained by roots of a polynomial whose coefficients are elementary.

Last revised
May 27, 2026
Read time
≈ 11 min
Length
2,499 w
Citations
12
Source

In mathematics, an elementary function is a function of a single variable (real or complex) that is typically encountered by beginners. The basic elementary functions are polynomial functions, rational functions, the trigonometric functions, the exponential and logarithm functions, the n-th root, and the inverse trigonometric functions, as well as those functions obtained by addition, multiplication, division, and composition of these. Some functions which are encountered by beginners are not elementary, such as piecewise-defined functions. More generally, in some modern treatments, elementary functions comprise the set of functions previously enumerated, all algebraic functions, and all functions obtained by roots of a polynomial whose coefficients are elementary.

The elementary functions were originally defined by Joseph Liouville in 1833. A key property is that all elementary functions have derivatives of any order, which are also elementary, and can be algorithmically computed by applying the differentiation rules (or the rules for implicit differentiation in the case of roots). The Taylor series of an elementary function converges in a neighborhood of every point of its domain. More generally, they are global analytic functions, defined (possibly with multiple values, such as the elementary function z {\displaystyle {\sqrt {z}}} or log z {\displaystyle \log z} ) for every complex argument, except at isolated 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. The Risch algorithm (1968) can decide whether an elementary function has an elementary antiderivative, and, if so, to compute it. However, as of 2025, there is no full implementation.1

Examples

Basic examples

Elementary functions of a single variable x {\displaystyle x} include:

  • Constant functions: 2 {\displaystyle 2} , π {\displaystyle \pi } , e {\displaystyle e} , the Euler–Mascheroni constant, Apéry's constant, Khinchin's constant, etc. Any constant real (or complex) number.
  • Powers of x {\displaystyle x} : x α = e α log x {\displaystyle x^{\alpha }=e^{\alpha \log x}} , etc. (The exponent can be any real or complex constant.)
  • Exponential functions: e x {\displaystyle e^{x}} , a x = e x log a {\displaystyle \textstyle a^{x}=e^{x\log a}}
  • Logarithms: log x {\displaystyle \log x} , log a x = log x log a {\displaystyle \textstyle \log _{a}x={\frac {\log x}{\log a}}}
  • Trigonometric functions: sin x = e i x e i x 2 i {\displaystyle \textstyle \sin x={\frac {e^{ix}-e^{-ix}}{2i}}} , cos x = e i x + e i x 2 {\displaystyle \textstyle \cos x={\frac {e^{ix}+e^{-ix}}{2}}} , tan x = sin x cos x {\displaystyle \textstyle \tan x={\frac {\sin x}{\cos x}}} , etc.
  • Inverse trigonometric functions: arcsin x {\displaystyle \arcsin x} , arccos x {\displaystyle \arccos x} , etc.
  • Hyperbolic functions: sinh x {\displaystyle \sinh x} , cosh x {\displaystyle \cosh x} , etc.
  • Inverse hyperbolic functions: arsinh x {\displaystyle \operatorname {arsinh} x} , arcosh x {\displaystyle \operatorname {arcosh} x} , etc.
  • All functions obtained by adding, subtracting, multiplying or dividing a finite number of any of the previous functions2
  • All functions obtained as roots of a polynomial whose coefficients are elementary functions34
  • All functions obtained by composing a finite number of any of the previously listed functions

Certain elementary functions of a single complex variable z {\displaystyle z} , such as z {\displaystyle {\sqrt {z}}} and log z {\displaystyle \log z} , may be multivalued. Additionally, certain classes of functions may be obtained by others using the final two rules. For example, the exponential function e z {\displaystyle e^{z}} composed with addition, subtraction, and division provides the hyperbolic functions, while initial composition with i z {\displaystyle iz} instead provides the trigonometric functions.

Composite examples

Examples of elementary functions include:

  • Addition, e.g. ( x + 1 {\displaystyle x+1} )
  • Multiplication, e.g. ( 2 x {\displaystyle 2x} )
  • Polynomial functions
  • i log ( x + i 1 x 2 ) {\displaystyle -i\log \left(x+i{\sqrt {1-x^{2}}}\right)}

The last function is equal to arccos x {\displaystyle \arccos x} , the inverse cosine, in the entire complex plane.

All monomials, polynomials, rational functions and algebraic functions are elementary.

Non-elementary functions

All elementary functions are analytic in the following sense: they can be extended to functions of a complex variable (possibly multivalued) that are analytic except at isolated points of the complex plane.5 Thus nonanalytic functions such as the absolute value function are not elementary,6 nor are most other piecewise-defined functions.

Not every analytic function is elementary. In fact, most special functions are not elementary. Non-elementary functions include:

Real-variables and analytic branches

In elementary real-variable settings such as those in calculus and pre-calculus, expressions involving roots, logarithms, and inverse trigonometric functions are often interpreted using fixed real branches on specified real domains. This convention is distinct from the analytic convention used in the theory of elementary functions and integration in finite terms. Risch gives a precise definition of elementary functions "in the sense of analysis" by using functions of a complex variable rather than a real variable. In this setting the elementary functions are built using algebraic operations, exponentials, and logarithms, and are represented in differential fields of meromorphic functions on regions of the complex plane or on Riemann surfaces.7

An algebraic equation such as y 2 = x 2 {\displaystyle y^{2}=x^{2}} has the local analytic branches y = x {\displaystyle y=x} and y = x {\displaystyle y=-x} . The real identity x 2 = | x | {\displaystyle {\sqrt {x^{2}}}=|x|} uses the convention that {\displaystyle {\sqrt {\cdot }}} denotes the nonnegative real square root, and so changes from one analytic branch to the other at x = 0 {\displaystyle x=0} . Thus the restrictions of | x | {\displaystyle |x|} to ( 0 , ) {\displaystyle (0,\infty )} and ( , 0 ) {\displaystyle (-\infty ,0)} are elementary, but the usual real absolute value function on an interval containing 0 {\displaystyle 0} is not a single analytic branch.

The same distinction appears in complex analysis. Whittaker and Watson note that although x i y {\displaystyle x-iy} and | z | {\displaystyle |z|} , where z = x + i y {\displaystyle z=x+iy} , are functions of z {\displaystyle z} in a general sense, they are not elementary functions of the analytic type under consideration.8 In symbolic computation, functions such as absolute value, signum, and piecewise-defined functions can be treated instead by adjoining a step or conditional operation, which forms a separate class of piecewise function rings.9

Closure

It follows directly from the definition that the set of elementary functions is closed under arithmetic operations, (algebraic) root extraction and composition. The elementary functions are closed under differentiation. They are not closed under limits and infinite sums. Importantly, the elementary functions are not closed under integration, as shown by Liouville's theorem, see nonelementary integral. The Liouvillian functions are defined as the elementary functions and, recursively, the integrals of the Liouvillian functions.

Extensions

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.10

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.

More recently, some have proposed extending the set of elementary functions by extending with certain transcendental functions, to include, for example, the Lambert W function11 or elliptic functions,12 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 w = W ( z ) {\displaystyle w=W(z)} , which is defined implicitly by the equation w e w = z {\displaystyle we^{w}=z} , has a derivative which can be obtained by implicit differentiation:

W ( z ) = e W ( z ) 1 + W ( z ) , {\displaystyle W'(z)={\frac {e^{-W(z)}}{1+W(z)}},}

which is again "elementary", provided that W ( z ) {\displaystyle W(z)} is.

Differential algebra

The mathematical definition of an elementary function is formalized in differential algebra. A differential field is a field with an extra operation of derivation (algebraic version of differentiation). Using the derivation operation new equations can be written and their solutions used in extensions of the algebra. By starting with the field of rational functions, two special types of transcendental extensions (the logarithm and the exponential) can be added to the field building a tower containing elementary functions.

A differential field F {\displaystyle F} is a field together with a derivation u u {\displaystyle u\mapsto \partial u} that maps F {\displaystyle F} to itself. The derivation generalizes derivative, being linear (that is, ( u + v ) = u + v {\displaystyle \partial (u+v)=\partial u+\partial v} ) and satisfying the Leibniz product rule (that is, ( u v ) = u v + u v {\displaystyle \partial (u\cdot v)=\partial u\cdot v+u\cdot \partial v} ) for every two elements u {\displaystyle u} and v {\displaystyle v} in F {\displaystyle F} . The rational functions over Q {\displaystyle \mathbb {Q} } of C {\displaystyle \mathbb {C} } form a basic examples of differential fields, when equipped with the usual derivative.

An element h {\displaystyle h} of F {\displaystyle F} is a constant if h = 0 {\displaystyle \partial h=0} . The constants of F {\displaystyle F} form a differential field with zero derivative. Care must be taken that a differential field extension of a differential field may enlarge the field of constants.

A function u {\displaystyle u} of a differential extension G {\displaystyle G} of a differential field F {\displaystyle F} is an elementary function over F {\displaystyle F} if it belongs to a finite chain (for inclusion) of differential subfields of G {\displaystyle G} that starts from F {\displaystyle F} and is such that each is generated over the preceding one by a function that is either

  • algebraic over the preceding field, or
  • an exponential, that is, u = u a {\displaystyle \partial u=u\partial a} for some a belonging to a prior subfield, or
  • a logarithm, that is, u = a / a {\displaystyle \partial u=\partial a/a} for some a belonging to a prior subfield, (see Liouville's theorem)

With this definition, the usual elementary functions are exactly the function that are elementary over the field of the rational functions. This generalized definition allows considering every transcendental function as elementary for applying Liouville's theorem.

See also

See also

Notes

Notes

  1. "integration - Does there exist a complete implementation of the Risch algorithm?". MathOverflow. Oct 15, 2020. Retrieved 2023-02-10.
  2. Morris Tenenbaum (1985). Ordinary Differential Equations. Dover. p. 17. ISBN 0-486-64940-7.
  3. Spivak, Michael (1994). Calculus (3rd ed.). Houston, Tex.: Publish or Perish. p. 363. ISBN 0914098896. OCLC 31441929.
  4. Ritt, chapter 1
  5. Risch, Robert H. (1979). "Algebraic Properties of the Elementary Functions of Analysis". American Journal of Mathematics. 101 (4): 743–759. doi:10.2307/2373917. ISSN 0002-9327. JSTOR 2373917.
  6. Watson and Whittaker 1927, footnote to p 82. In the context of elementary functions, the function y = f ( x ) {\displaystyle y=f(x)} defined as the root of y 2 x 2 = 0 {\displaystyle y^{2}-x^{2}=0} is two-valued: y = ± x {\displaystyle y=\pm x} .
  7. Risch 1969, pp. 167–168.
  8. Whittaker & Watson 1927, §5.1. sfn error: no target: CITEREFWhittakerWatson1927 (help)
  9. von Mohrenschildt 1998.
  10. Forsyth 1893.
  11. Stewart, Seán (2005). "A new elementary function for our curricula?" (PDF). Australian Senior Mathematics Journal. 19 (2): 8–26.
  12. Ince, E. L. (1956) [1926]. Ordinary Differential Equations. New York: Dover Publications. ISBN 0-486-60339-4, footnote to p 330
References

References

Further reading

Further reading

External links