Math 2.0

Computer science Definition

Risch algorithm

Builds on Differential fieldDerivationAntiderivativeLiouville's theorem (differential algebra)

Definition

Let CC be a field of characteristic 00 in which the field operations and the test for equality are computable. Let F=C(x)(t1,…,tm)F = C(x)(t_1, \dots, t_m) be a differential field with derivation ′' such that x′=1x' = 1 and the constants of FF are CC. Assume that each tit_i is a logarithm, an exponential or an algebraic element over C(x)(t1,…,ti−1)C(x)(t_1, \dots, t_{i-1}). The Risch algorithm is the procedure that takes f∈Ff \in F as input and does one of two things:

  1. it returns an element gg of an elementary extension of FF with g′=fg' = f, that is, an elementary antiderivative of ff;
  2. it reports, correctly, that no elementary extension of FF contains such an element gg.

Remarks

The procedure works down the tower. It writes ff in terms of the last generator tmt_m and uses Liouville's theorem to predict the form of a possible antiderivative. This reduces the problem to integration and to differential equations in the smaller field C(x)(t1,…,tm−1)C(x)(t_1, \dots, t_{m-1}). The cases of logarithms and exponentials (the transcendental case) are simpler than the algebraic case.

Example: for F=ℚ(x,ex)F = \Q(x, e^x) and f=xexf = x e^x, the procedure looks for g=qexg = q e^x with q∈ℚ(x)q \in \Q(x) and q′+q=xq' + q = x, finds q=x−1q = x - 1, and returns g=(x−1)exg = (x - 1) e^x.

Example: for F=ℚ(x,ex2)F = \Q(x, e^{x^2}) and f=ex2f = e^{x^2}, the same reduction asks for q∈ℚ(x)q \in \Q(x) with q′+2xq=1q' + 2x q = 1; there is none, so the procedure reports that ex2e^{x^2} has no elementary antiderivative.

Non-example: a table of integrals finds many antiderivatives, but it fails clause 2, because it cannot certify that an integral not in the table is not elementary.

The algorithm needs a way to decide whether a constant expression equals 00. For constants built from π\pi, ee and other transcendental numbers this is a hard problem, so in practice the algorithm is only as complete as the zero test for constants.

Reading path

To understand this page from the ground up, read these 6 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Antiderivative concept
  2. Derivation concept
  3. Differential field concept
  4. Field extension concept
  5. Liouville's theorem (differential algebra) statement
  6. Risch algorithm definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Risch_algorithm
About this page
TagGMY8XWETFV
URIm2://GMY8XWETFV
Kinddefinition
WritingW0 stub
MSC68W30, 12H05, 33F10
DefinesRisch algorithm
UsesDifferential field, Derivation, Antiderivative, Liouville's theorem (differential algebra)
Changed2 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.