In
calculus
Calculus is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithmetic operations.
Originally called infinitesimal calculus or "the ...
, symbolic integration is the problem of finding a
formula
In science, a formula is a concise way of expressing information symbolically, as in a mathematical formula or a ''chemical formula''. The informal use of the term ''formula'' in science refers to the general construct of a relationship betwe ...
for the
antiderivative, or ''indefinite integral'', of a given
function ''f''(''x''), i.e. to find a formula for a
differentiable function ''F''(''x'') such that
:
The family of all functions that satisfy this property can be denoted
:
Discussion
The term ''symbolic'' is used to distinguish this problem from that of
numerical integration, where the value of ''F'' is sought at a particular input or set of inputs, rather than a general formula for ''F''.
Both problems were held to be of practical and theoretical importance long before the time of digital computers, but they are now generally considered the domain of
computer science
Computer science is the study of computation, information, and automation. Computer science spans Theoretical computer science, theoretical disciplines (such as algorithms, theory of computation, and information theory) to Applied science, ...
, as computers are most often used currently to tackle individual instances.
Finding the derivative of an expression is a straightforward process for which it is easy to construct an
algorithm
In mathematics and computer science, an algorithm () is a finite sequence of Rigour#Mathematics, mathematically rigorous instructions, typically used to solve a class of specific Computational problem, problems or to perform a computation. Algo ...
. The reverse question of finding the integral is much more difficult. Many expressions that are relatively simple do not have integrals that can be expressed in
closed form. See
antiderivative and
nonelementary integral for more details.
A procedure called the
Risch algorithm exists that is capable of determining whether the integral of an
elementary function
In mathematics, an elementary function is a function of a single variable (typically real or complex) that is defined as taking sums, products, roots and compositions of finitely many polynomial, rational, trigonometric, hyperbolic, a ...
(function built from a finite number of
exponentials,
logarithm
In mathematics, the logarithm of a number is the exponent by which another fixed value, the base, must be raised to produce that number. For example, the logarithm of to base is , because is to the rd power: . More generally, if , the ...
s,
constants, and
''n''th roots through
composition and combinations using the four
elementary operations) is elementary and returning it if it is. In its original form, the Risch algorithm was not suitable for a direct implementation, and its complete implementation took a long time. It was first implemented in
Reduce in the case of purely
transcendental functions; the case of purely
algebraic functions was solved and implemented in Reduce by
James H. Davenport; the general case was solved by Manuel Bronstein, who implemented almost all of it in
Axiom
An axiom, postulate, or assumption is a statement that is taken to be true, to serve as a premise or starting point for further reasoning and arguments. The word comes from the Ancient Greek word (), meaning 'that which is thought worthy or ...
, though to date there is no implementation of the Risch algorithm that can deal with all of the special cases and branches in it.
However, the Risch algorithm applies only to ''indefinite'' integrals, while most of the integrals of interest to physicists, theoretical chemists, and engineers are ''definite'' integrals often related to
Laplace transforms,
Fourier transforms, and
Mellin transforms. Lacking a general algorithm, the developers of
computer algebra system
A computer algebra system (CAS) or symbolic algebra system (SAS) is any mathematical software with the ability to manipulate mathematical expressions in a way similar to the traditional manual computations of mathematicians and scientists. The de ...
s have implemented
heuristics based on pattern-matching and the exploitation of special functions, in particular the
incomplete gamma function
In mathematics, the upper and lower incomplete gamma functions are types of special functions which arise as solutions to various mathematical problems such as certain integrals.
Their respective names stem from their integral definitions, whic ...
. Although this approach is heuristic rather than algorithmic, it is nonetheless an effective method for solving many definite integrals encountered by practical engineering applications. Earlier systems such as
Macsyma had a few definite integrals related to special functions within a look-up table. However this particular method, involving differentiation of special functions with respect to its parameters, variable transformation,
pattern matching and other manipulations, was pioneered by developers of the
Maple system and then later emulated by
Mathematica,
Axiom
An axiom, postulate, or assumption is a statement that is taken to be true, to serve as a premise or starting point for further reasoning and arguments. The word comes from the Ancient Greek word (), meaning 'that which is thought worthy or ...
,
MuPAD and other systems.
Recent advances
The main problem in the classical approach of symbolic integration is that, if a function is represented in
closed form, then, in general, its
antiderivative has not a similar representation. In other words, the class of functions that can be represented in closed form is not
closed under antiderivation.
Holonomic functions are a large class of functions, which is closed under antiderivation and allows algorithmic implementation in computers of integration and many other operations of calculus.
More precisely, a holonomic function is a solution of a homogeneous
linear differential equation with polynomial coefficients. Holonomic functions are closed under addition and multiplication, derivation, and antiderivation. They include
algebraic functions,
exponential function,
logarithm
In mathematics, the logarithm of a number is the exponent by which another fixed value, the base, must be raised to produce that number. For example, the logarithm of to base is , because is to the rd power: . More generally, if , the ...
,
sine,
cosine
In mathematics, sine and cosine are trigonometric functions of an angle. The sine and cosine of an acute angle are defined in the context of a right triangle: for the specified angle, its sine is the ratio of the length of the side opposite that ...
,
inverse trigonometric functions,
inverse hyperbolic functions.
They include also most common special functions such as
Airy function,
error function,
Bessel functions, and all
hypergeometric functions.
A fundamental property of holonomic functions is that the coefficients of their
Taylor series at any point satisfy a linear
recurrence relation with polynomial coefficients, and that this recurrence relation may be computed from the differential equation defining the function. Conversely given such a recurrence relation between the coefficients of a
power series, this power series defines a holonomic function whose differential equation may be computed algorithmically. This recurrence relation allows a fast computation of the Taylor series, and thus of the value of the function at any point, with an arbitrary small certified error.
This makes algorithmic most operations of
calculus
Calculus is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithmetic operations.
Originally called infinitesimal calculus or "the ...
, when restricted to holonomic functions, represented by their differential equation and initial conditions. This includes the computation of antiderivatives and
definite integrals (this amounts to evaluating the antiderivative at the endpoints of the interval of integration). This includes also the computation of the
asymptotic behavior of the function at infinity, and thus the definite integrals on unbounded intervals.
All these operations are implemented in the ''algolib'' library for
Maple.
See also the Dynamic Dictionary of Mathematical Functions.
[http://ddmf.msr-inria.inria.fr ''Dynamic Dictionary of Mathematical Functions'']
Example
For example:
:
is a symbolic result for an indefinite integral (here ''C'' is a
constant of integration),
:
is a symbolic result for a definite integral, and
:
is a numerical result for the same definite integral.
See also
*
*
*
*
*
*
*
*
References
*
*
{{Refend
Computer algebra
Differential algebra