wiki

Risch algorithm

A decision procedure for integration in finite terms: given an elementary function, it either finds an elementary antiderivative or proves that none exists. It rests on Liouville's theorem, which fixes the form any elementary antiderivative must have, and works through a tower of logarithmic and exponential extensions of the rational functions.

An elementary function is built from and constants by arithmetic, , and algebraic operations. Liouville's theorem: if in a differential field has an elementary antiderivative, then it has one of the form

with the algebraic over the constants of . An antiderivative can add new logarithms with constant coefficients and nothing else, which turns the question of whether one exists into the question of whether certain equations have solutions in .

The algorithm writes in a tower , each the logarithm or exponential of an element below it, and integrates with respect to the top variable , treating as a rational function of over the field below. Hermite reduction removes the repeated factors of the denominator. For the remaining part with squarefree, the coefficients of the logarithms are the roots of a resultant (Rothstein–Trager):

and they must be constants, or there is no elementary antiderivative. When , the polynomial part leads to the Risch differential equation , to be solved for in the field below.[1]

Take . With , Liouville's theorem forces any elementary antiderivative to be plus a constant, for some . Differentiating,

If had a pole of order at some point, would have one of order there that no other term can cancel, so is a polynomial. A nonzero polynomial of degree makes a polynomial of degree , never the constant 1, and gives 0. So there is no solution, and has no elementary antiderivative. With right-hand side instead of 1 the equation has the solution , which is .

The transcendental case, towers of exponentials and logarithms over , is completely algorithmic. The algebraic case, extensions by roots of polynomials, was completed later by Trager and Bronstein[3] and is rarely implemented in full. Either way the algorithm needs to decide whether a constant is zero, which is undecidable for general elementary constants, so it is a decision procedure relative to a constant field where equality can be decided.

see also

further reading

  1. [1]R. H. Risch, “The problem of integration in finite terms”, Transactions of the AMS 139 (1969).
  2. [2]M. Rosenlicht, “Integration in finite terms”, American Mathematical Monthly 79 (1972).
  3. [3]B. M. Trager, Integration of Algebraic Functions, PhD thesis, MIT (1984).
  4. [4]M. Bronstein, Symbolic Integration I: Transcendental Functions, Springer (2nd ed., 2005).