37

Risch Algorithm for Symbolic Integration

 5 years ago
source link: https://www.tuicool.com/articles/hit/vUfy2ay
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Insymbolic computation (or computer algebra), at the intersection ofmathematics andcomputer science, the Risch algorithm is analgorithm for indefinite integration . It is used in some computer algebra systems to findantiderivatives. It is named after the Americanmathematician Robert Henry Risch, a specialist in computer algebra who developed it in 1968.

The algorithm transforms the problem ofintegration into a problem inalgebra. It is based on the form of the function being integrated and on methods for integratingrational functions, radicals ,logarithms, and exponential functions . Risch called it adecision procedure, because it is a method for deciding whether a function has anelementary function as an indefinite integral, and if it does, for determining that indefinite integral.

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 A. C. Norman.

Contents

Description [ edit ]

The Risch algorithm is used to integrateelementary functions. These are functions obtained by composing exponentials, logarithms, radicals, trigonometric functions, and the four arithmetic operations ( + − × ÷ ).Laplace solved this problem for the case ofrational 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; 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 u i and v in the field generated by f such that the solution is of the form

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 e g , where f and g are differentiable functions , we have

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

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

Problem examples [ edit ]

Finding an elementary antiderivative is very sensitive to details. For instance, the following algebraic function has an elementary antiderivative:

namely:

But if the constant term 71 is changed to 72, it is not possible to represent the antiderivative in terms of elementary functions. Some computer algebra systems may here return an antiderivative in terms of non-elementary functions (i.e.elliptic integrals), which however are outside the scope of the Risch algorithm.

The following is a more complex example that involves both algebraic and transcendental functions:

In fact, the antiderivative of this function has a fairly short form:

Implementation [ edit ]

Transforming Risch's theoretical algorithm into an algorithm that can be effectively executed by a computer was a complex task which took a long time.

The case of the purely transcendental functions (which do not involve roots of polynomials) is relatively easy and was implemented early in most computer algebra systems . The first implementation was done byJoel Moses inMacsyma soon after the publication of Risch's paper.

The case of purely algebraic functions was solved and implemented inReduce byJames H. Davenport.

The general case was solved and implemented in Scratchpad, a precursor ofAxiom, by Manuel Bronstein.

Decidability [ edit ]

The Risch algorithm applied to general elementary functions is not an algorithm but asemi-algorithm because it needs to check, as a part of its operation, if certain expressions are equivalent to zero (constant problem), in particular in the constant field. For expressions that involve only functions commonly taken to beelementary it is not known whether an algorithm performing such a check exists or not (current computer algebra systems use heuristics); moreover, if one adds the absolute value function to the list of elementary functions, it is known that no such algorithm exists; seeRichardson's theorem.

Note that this issue also arises in the polynomial division algorithm ; this algorithm will fail if it cannot correctly determine whether coefficients vanish identically.Virtually every non-trivial algorithm relating to polynomials uses the polynomial division algorithm, the Risch algorithm included. If the constant field iscomputable, i.e., for elements not dependent on x , the problem of zero-equivalence is decidable, then the Risch algorithm is a complete algorithm. Examples of computable constant fields are Q and Q ( y ) , i.e., rational numbers and rational functions in y with rational number coefficients, respectively, where y is an indeterminate that does not depend on x .

This is also an issue in theGaussian elimination matrix algorithm (or any algorithm that can compute the nullspace of a matrix), which is also necessary for many parts of the Risch algorithm. Gaussian elimination will produce incorrect results if it cannot correctly determine if a pivot is identically zero

[ citation needed ]

.

See also [ edit ]


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK