In mathematics, elementary functions are a class of functions of a single variable (real or complex) that includes most of the functions of elementary calculus. 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. In general, 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 regular point of its domain. More generally, they are global analytic functions, defined (possibly with multiple values, such as the elementary function z or logz) for every complex argument, except at singular 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.
Examples
Basic examples Elementary functions of a single variable x include:
Constant functions: 2, π, e, the Euler–Mascheroni constant, Apéry's constant, Khinchin's constant, etc. Any constant real (or complex) number. Powers of x: xα=eαlogx, etc. (The exponent can be any real or complex constant.) Exponential functions: ex, ax=exloga Logarithms: logx, logax=logxloga Trigonometric functions: sinx=eix−e−ix2i, cosx=eix+e−ix2, tanx=sinxcosx, etc. Inverse trigonometric functions: arcsinx, arccosx, etc. Hyperbolic functions: sinhx, coshx, etc. Inverse hyperbolic functions: arsinhx, arcoshx, etc. All functions obtained by adding, subtracting, multiplying or dividing a finite number of any of the previous functions All functions obtained as roots of a polynomial whose coefficients are elementary functions All functions obtained by composing a finite number of any of the previously listed functions Certain elementary functions of a single complex variable z, such as z and logz, may be multivalued. Additionally, certain classes of functions may be obtained by others using the final two rules. For example, the exponential function ez composed with addition, subtraction, and division provides the hyperbolic functions, while initial composition with iz instead provides the trigonometric functions.
Composite examples Examples of elementary functions include:
Addition, e.g. (x+1) Multiplication, e.g. (2x) Polynomial functions −ilog(x+i1−x2) The last function is equal to arccosx, 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 sense that they can be extended to functions of a complex variable (possibly multivalued) that are analytic except at singular points. More precisely, every regular branch of an elementary function admits analytic continuation along every path that, after its starting point, avoids a suitable at most countable exceptional set in the complex plane. Thus nonanalytic functions such as the absolute value function are not elementary, 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:
the gamma function non-elementary Liouvillian functions, including the exponential integral (Ei) logarithmic integral (Li or li) and Fresnel integrals (S and C) the error function, erf(x)=2π∫0xe−t2dt, a fact that may not be immediately obvious, but can be proven using the Risch algorithm other nonelementary integrals, including the sine integral and elliptic integral.
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. An algebraic equation such as y2=x2 has the local analytic branches y=x and y=−x. The real identity x2=|x| uses the convention that ⋅ denotes the nonnegative real square root, and so changes from one analytic branch to the other at x=0. Thus the restrictions of |x| to (0,∞) and (−∞,0) are elementary, but the usual real absolute value function on an interval containing 0 is not a single analytic branch. The same distinction appears in complex analysis. Whittaker and Watson note that although x−iy and |z|, where z=x+iy, are functions of z in a general sense, they are not elementary functions of the analytic type under consideration. 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.
… excerpt ends here. Continue reading the full article.