In mathematics, a nonelementary antiderivative of a given elementary function is an antiderivative that is, itself, not an elementary function (i.e. a function constructed from a finite number of quotients of constant, algebraic, exponential, and logarithmic functions using field operations). A theorem by Liouville in 1835 provided the first proof that nonelementary antiderivatives exist. This theorem also provides a basis for the Risch algorithm for determining (with difficulty) which elementary functions have elementary antiderivatives. It can be shown that, if one is given a function of any complexity, the probability that it will have an elementary antiderivative is very low.
Some examples of such functions are:
The evaluation of nonelementary antiderivatives can often be done using Taylor series. This is because Taylor series can always be integrated as one would an ordinary polynomial (using the fact that any Taylor series is uniformly convergent within its radius of convergence), even if there is no elementary antiderivative of the function that generated the Taylor series.
However, in some cases it is not possible to rely on Taylor series. For example, if the function is not infinitely differentiable, one cannot generate a Taylor series. Even if a Taylor series can be generated, there is a good possibility that it will diverge and not represent the function one is attempting to antidifferentiate; there even exist non-analytic but infinitely differentiable real-valued functions (see bump function). Many functions which are infinitely differentiable have higher order derivatives that are unmanageable by hand. In these cases, it is not possible to evaluate indefinite integrals, but definite integrals can be evaluated numerically, for instance by Simpson's rule. There are yet other cases (such as the Gaussian integral) where definite integrals can be evaluated exactly without numerical methods, but indefinite integrals cannot, for lack of an elementary antiderivative.