Risch algorithm
From Wikipedia, the free encyclopedia
The Risch algorithm, named after Robert H. Risch, is an algorithm for the calculus operation of indefinite integration (i.e. finding antiderivatives). The algorithm transforms the problem of integration into a problem in algebra. It is based on the form of the function being integrated and on methods for integrating rational functions, radicals, logarithms, and exponential functions. Risch, who developed the algorithm in 1968, called it a decision procedure, because it is a method for deciding if a function has a simple-looking function as an indefinite integral; and also, if it does, determining it. The Risch-Norman algorithm, a faster but less powerful technique, was developed in 1976.
Contents |
[edit] Description
The Risch algorithm is used to integrate elementary functions. These are functions obtained by composing exponentials, logarithms, radicals, trigonometry, and the four operations (+ − × ÷). Laplace solved this problem for the case of rational functions, as he showed that the indefinite integral of a rational function is a rational function and a finite number of constant multiples of logarithms of rational functions. The algorithm suggested by Laplace is usually described in calculus textbooks but was only implemented in the 1960s.
Liouville formulated the problem solved by the Risch algorithm. Liouville proved by analytical means that if there is an elementary solution g to the equation g ′ = f then for constants αi and elementary functions ui and v the solution is of the form
Risch developed a method that allows one to only consider a finite set of elementary functions of Liouville's form.
The intuition for the Risch algorithm comes from the behavior of the exponential and logarithm functions under differentiation. For the function f eg, where f and g are differentiable functions, we have
so if eg were in the result of an indefinite integration, it should be expected to be inside the integral. Also, as
then if lnng were in the result of an integration, then only a few powers of the logarithm should be expected.
An important consequence of Risch's result is that the Gaussian integral has no elementary antiderivative.
[edit] Implementation
Transforming the Risch decision procedure into an algorithm that can be executed by a computer is a complex task that requires the use of heuristics and many refinements. No software (as of March 2008) is known to implement the full Risch algorithm. The software package Axiom claims that it has the most complete implementation of the Risch algorithm, and if Axiom says "no", then the input function has no elementary antiderivative (however, in a lot of these cases, the Risch algorithm for this class of problem has not been implemented yet, so Axiom returns "error" instead of "yes" or "no").
For example, all known programs (except Axiom) cannot find the antiderivative for[citation needed]
Axiom can solve the above case, the result being:
The following is a more complex example, which no software (as of March 2008) is known find an antiderivative for:
While the antiderivative for the above has a short form:
See also: [1].
Also, the Risch algorithm is not an "algorithm" literally, because it needs as a part to check if some expression is equivalent to zero. And for a common meaning of what an "elementary function" is it's not known whether such an algorithm exists or not (so current computer algebra systems use heuristics); moreover, if one will add abs(x) to the list of elementary functions, it is known that no such algorithm exists, see Richardson's theorem.
[edit] References
- R. H. Risch (1969). "The Problem of Integration in Finite Terms". Transactions of the American Mathematical Society 139: 167-189. doi: .[2]
- Maxwell Rosenlicht (1972). "Integration in finite terms". American Mathematical Monthly 79: 963-972.
- Geddes, Czapor, Labahn (1992). Algorithms for Computer Algebra. Kluwer Academic Publishers. ISBN 0-7923-9259-0.
- Manuel Bronstein (2005). Symbolic Integration I. Springer. ISBN 3-540-21493-3.
- Manuel Bronstein (1998). "Symbolic Integration Tutorial".
- MathWorld entry on the Risch Algorithm