| For a polynomial g | |
|---|---|
| The name for the missing formula |
Lesson
The theory — Non-Elementary Integrals
A function is elementary if it can be built from x and constants by finitely many additions, multiplications, divisions, roots of polynomial equations, exponentials and logarithms; complex values are allowed, which brings in the trigonometric functions and their inverses. An integrand has an elementary antiderivative if some elementary F has F′ = f. Liouville's theorem restricts the form such an F can take, and for f·eg with f and g rational, g not constant, it becomes one test: an elementary antiderivative exists exactly when R′ + g′R = f has a rational solution R, and then R·eg is one.
What each symbol means
R- the rational function Liouville's test looks for; for g(x)e−x² it must be a polynomial
K- g₀ + g₂/2 + 3g₄/4 + 15g₆/8 + …, the multiple of ∫e−x² dx left over after integrating by parts: the whole-line area divided by √π
Where the formula comes from
- The form any answer must take. Liouville’s theorem narrows the search to one shape: if ∫g(x)e−x² dx has a formula, it is R(x)e−x² for some polynomial R. Differentiate that and ask it to equal g.
- Match the powers. For a cubic g, R is a quadratic. The x³ and x terms can always be matched. The x² term and the constant term both fix r₁, once as −g₂/2 and once as g₀, and they agree only when g₀ + g₂/2 = 0.
- Breaks when
- The test on this page covers f·eg with f and g rational, and through x = eu the integrands xm/ln x. Square roots of polynomials need a different argument: Conrad's Example 4.3 explains why ∫dx/√P(x) is not elementary for P of degree 3 or more without repeated roots, and Hardy credits Liouville with the standard elliptic integrals, an ellipse's arc length among them.
Problems solved in full
-
The elementary neighbour 2 steps
Find ∫x e−x² dx.
-
The x is −½ times the derivative of −x², so substitute:
-
One exponential:
Answer
−½e−x² + C. One factor of x is the whole difference between this integral and ∫e−x² dx, which has no formula at all.
-
-
Four decimals from a series 3 steps
Evaluate ∫01 e−x² dx to four decimal places.
Show solution
-
No antiderivative to use, but e−x² has a power series, and it can be integrated term by term:
-
The terms alternate and shrink, so add them until the next one is too small to matter:
-
For an alternating series the error is smaller than the first term left out:
Answer
0.7468. Stopping one term earlier, at 1/1320, leaves an error bound of 1/9360 ≈ 1.1×10⁻⁴, which cannot vouch for the fourth decimal.
-
-
The same method on sin(x²) 2 steps
Evaluate ∫01 sin(x²) dx to four decimal places.
Show solution
-
sin(x²) has no elementary antiderivative either. Its series, integrated term by term:
-
Three terms, and the fourth bounds the error:
Answer
0.3103. This is a Fresnel integral: Augustin Fresnel needed it in 1818 for his theory of the diffraction of light.
-
-
Parts, down to the integral that has no formula 3 steps
Find ∫x² e−x² dx, and its value from 0 to ∞, given ∫0∞ e−x² dx = √π/2.
Show solution
-
Split x² e−x² as x · x e−x²; the second factor has the antiderivative of the first problem:
-
One round of parts leaves ∫e−x² dx, which has no formula, so it stays as it is:
-
Over [0, ∞) the boundary term is 0 at both ends and the integral left is known:
Answer
−½x e−x² + (√π/4) erf x + C, and √π/4 ≈ 0.4431 over [0, ∞). erf is the name given to the integral that has no formula, scaled so that it tends to 1.
-
-
Two pieces without formulas that add up to one 1 steps
Find ∫ex(1/x − 1/x²) dx for x > 0.
Show solution
-
Neither ∫eˣ/x dx nor ∫eˣ/x² dx is elementary. But differentiate eˣ/x by the quotient rule:
Answer
eˣ/x + C. Liouville’s theorem is about the whole integrand: a sum can have a formula when neither of its terms does.
-
-
Which c makes (4x⁴ + c)e^(−x²) integrable? 4 steps
For which c does (4x⁴ + c)e−x² have an elementary antiderivative, and what is it? The page's boxes stop at x³. Press Balanced for the same question one degree lower.
Show solution
-
Integrating by parts, each x2m leaves (2m − 1)!!/2m times ∫e−x² dx behind; for x⁴ that weight is 3/4. Add up the leftovers:
-
A formula needs the leftover to vanish:
-
Then R has degree 3. Matching powers of R′ − 2xR = 4x⁴ − 3 from the top down:
-
Check by differentiating:
Answer
c = −3, and ∫(4x⁴ − 3)e−x² dx = −(2x³ + 3x)e−x² + C. Any other c leaves (c + 3)∫e−x² dx behind, which has no formula, and the whole-line area is then (c + 3)√π instead of zero.
-
Learning path
Techniques of integration
References (2)
- The criterion the page runs: “Choose f, g ∈ ℂ(X) with f ≠ 0 and g nonconstant. The function f(x)e^g(x) can be integrated in elementary terms if and only if there exists a rational function R ∈ ℂ(X) such that R′(X) + g′(X)R(X) = f(X)” (Theorem 4.4, p. 8), deduced from Liouville's theorem (Theorem 4.1) and proved in §5; applied to e^(−x²) in Example 4.6 and to eˣ/x, equivalently dt/log t, in Example 4.7 (pp. 9–10). Example 4.3 gives ∫dx/√P(x) for P of degree 3 or more without repeated roots: B. Conrad, “Impossibility theorems for elementary integration”, Clay Mathematics Institute Academy Colloquium lecture notes (2005), Theorems 4.1 and 4.4, Examples 4.3, 4.6 and 4.7.
- Liouville's results and their dates: the theorem that an elementary ∫eˣy dx (y algebraic) must be eˣ times a rational expression in y, from his 1835 memoir in Crelle's Journal (vol. 13, pp. 93–118), with “the ‘logarithm-integral’ … is really a new transcendent” (ch. VI §4, pp. 58–59); the reduction of every ∫eˣR(x) dx to ∫eˣ/x dx (p. 58, the eˣ(1 − 1/x)³ and eˣ(1 − 2/x)² examples); a footnote crediting the general method with “the ‘error function’ integral ∫e^(−x²) dx is not an elementary function” (§5, p. 59); Liouville's proof for the standard elliptic integrals (ch. V §19, p. 47); and the bibliography of his memoirs, 1833–1840: G. H. Hardy, The Integration of Functions of a Single Variable, 2nd ed., Cambridge Tracts in Mathematics and Mathematical Physics no. 2, Cambridge University Press (1916), Chapter V §19, Chapter VI §§4–5, and Appendix I.