# Elementary function

In mathematics, an elementary function is a function of one variable which is the composition of a finite number of arithmetic operations (+ – × ÷), exponentials, logarithms, constants, and solutions of algebraic equations (a generalization of nth roots).

The elementary functions include:

• Powers of ${\displaystyle x:x,x^{2},x^{3}}$, etc.
• Roots of ${\displaystyle x:{\sqrt {x}},{\sqrt[{3}]{x}},}$, etc.
• Exponential functions: ${\displaystyle e^{x}}$
• Logarithms: ${\displaystyle \log x}$
• Trigonometric functions: ${\displaystyle \sin x,\cos x}$ etc.
• Inverse trigonometric functions
• Hyperbolic functions: ${\displaystyle \sinh x,\cosh x}$ etc.
• All functions obtained by replacing x with any of the previous functions
• All functions obtained by adding, subtracting, multiplying or dividing any of the previous functions[1]

It follows directly from the definition that the set of elementary functions is closed under arithmetic operations and composition. It is also closed under differentiation. It is 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.

Some elementary functions, such as roots, logarithms, or inverse trigonometric functions, are not entire functions and may be multivalued.

Elementary functions were introduced by Joseph Liouville in a series of papers from 1833 to 1841.[2][3][4] An algebraic treatment of elementary functions was started by Joseph Fels Ritt in the 1930s.[5]

## Examples

Examples of elementary functions include:

• Multiplication, e.g. (2x)
• Polynomial functions
• ${\displaystyle {\dfrac {e^{\tan x}}{1+x^{2}}}\sin \left({\sqrt {1+(\ln x)^{2}}}\right)}$
• ${\displaystyle -i\ln(x+i{\sqrt {1-x^{2}}})}$

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

### Non-elementary functions

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

• ${\displaystyle \mathrm {erf} (x)={\frac {2}{\sqrt {\pi }}}\int _{0}^{x}e^{-t^{2}}\,dt,}$

a fact that may not be immediately obvious, but can be proven using the Risch algorithm.

## Differential algebra

The mathematical definition of an elementary function, or a function in elementary form, is considered in the context of differential algebra. A differential algebra is an algebra with the 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 is a field F0 (rational functions over the rationals Q for example) together with a derivation map u → ∂u. (Here ∂u is a new function. Sometimes the notation u′ is used.) The derivation captures the properties of differentiation, so that for any two elements of the base field, the derivation is linear

${\displaystyle \partial (u+v)=\partial u+\partial v}$

and satisfies the Leibniz product rule

${\displaystyle \partial (u\cdot v)=\partial u\cdot v+u\cdot \partial v\,.}$

An element h is a constant if ∂h = 0. If the base field is over the rationals, care must be taken when extending the field to add the needed transcendental constants.

A function u of a differential extension F[u] of a differential field F is an elementary function over F if the function u

• is algebraic over F, or
• is an exponential, that is, ∂u = ua for aF, or
• is a logarithm, that is, ∂u = ∂a / a for aF.

(this is Liouville's theorem).

## Notes

1. ^ Ordinary Differential Equations. Dover. 1985. p. 17. ISBN 0-486-64940-7.
2. ^
3. ^
4. ^
5. ^
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 12, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://en.wikipedia.org/wiki/Elementary_function_(differential_algebra)", "fetch_time": 1524814190000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2018-17/segments/1524125949489.63/warc/CC-MAIN-20180427060505-20180427080505-00217.warc.gz", "warc_record_offset": 597007418, "warc_record_length": 17218, "token_count": 1006, "char_count": 4035, "score": 4.40625, "int_score": 4, "crawl": "CC-MAIN-2018-17", "snapshot_type": "latest", "language": "en", "language_score": 0.8688055276870728, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00063-of-00064.parquet"}