Lably
Skip to content

Risch algorithm

Method for evaluating indefinite integrals

  • 5 min read
  • 4 chapters

Related on Lably

Through Computer algebra system, Antiderivative and Algorithm

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 called it a decision procedure, because it is a method for deciding whether a function has an elementary function as an indefinite integral, and if it does, for determining that indefinite integral. However, the algorithm does not always succeed in identifying whether or not the antiderivative of a given function in fact can be expressed in terms of elementary functions. Specifically, the algorithm cannot solve the constant problem, which is undecidable when it needs to determine whether an arbitrary complex number expression is equal to zero.

The complete description of the Risch algorithm takes over 100 pages. The Risch–Norman algorithm is a simpler, faster, but less powerful variant that was developed in 1976 by Arthur Norman.

Some significant progress has been made in computing the logarithmic part of a mixed transcendental-algebraic integral by Brian L. Miller.

Description

The Risch algorithm is used to integrate elementary functions. These are functions obtained by composing exponentials, logarithms, radicals, trigonometric functions, and the four arithmetic operations (+ − × ÷). Laplace solved this problem for the case of rational functions, as he showed that the indefinite integral of a rational function is the sum of 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; as a computer program, it was finally implemented in the 1960s.

Liouville formulated the problem that is solved by the Risch algorithm. Liouville proved by analytical means that if there is an elementary solution g to the equation g′ = f then there exist constants αi and functions ui and v in the field generated by f such that the solution is of the form

g=v+∑i<nαiln⁡(ui)

Risch developed a method that allows one to consider only a finite set of 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

(f⋅eg)′=(f′+f⋅g′)⋅eg,

so if eg were in the result of an indefinite integration, it should be expected to be inside the integral. Also, as

(f⋅(ln⁡g)n)′=f′(ln⁡g)n+nfg′g(ln⁡g)n−1

then if (ln g)n were in the result of an integration, then only a few powers of the logarithm should be expected.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Calculus and analysis