• Practice
  • About 24 min
  • 5 practice questions

Bernoulli's formula, improper integrals, reduction formulae and the gamma integral

Integrate polynomial × function products quickly with Bernoulli's formula, evaluate improper integrals over infinite intervals, use reduction formulae for powers of sin and cos, and work with the gamma integral.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Apply Bernoulli's formula to ∫ u v dx when u is a polynomial.
  • Evaluate improper integrals of the first kind and decide whether they converge.
  • Use the reduction formulae for ∫₀^(π/2) sinⁿx dx, ∫₀^(π/2) cosⁿx dx, ∫₀^(π/2) sinᵐx cosⁿx dx and ∫₀¹ xᵐ(1 − x)ⁿ dx.
  • Define the gamma integral and use Γ(n) = (n − 1)! and ∫₀^∞ e^(−ax) xⁿ dx = n!/a^(n+1).

Sections 9.4 to 9.7 of the Tamil Nadu textbook are tools for evaluating integrals quickly. Each one is integration by parts organised cleverly, so it is worth seeing where it comes from once and then using it as a formula.

Bernoulli's formula

Write u⁽¹⁾, u⁽²⁾, u⁽³⁾, ... for the successive derivatives of u, and v₍₁₎ = ∫v dx, v₍₂₎ = ∫v₍₁₎ dx, v₍₃₎ = ∫v₍₂₎ dx, ... for successive integrals of v. Repeated integration by parts gives the formula below. When u is a polynomial its derivatives eventually become 0, so the series stops.

∫ u v dx = u v₍₁₎ − u⁽¹⁾ v₍₂₎ + u⁽²⁾ v₍₃₎ − u⁽³⁾ v₍₄₎ + ... (signs alternate)

— Bernoulli's formula

Worked example 1: a cubic times an exponential

Find ∫ x³ e^(2x) dx. Working: u = x³, u⁽¹⁾ = 3x², u⁽²⁾ = 6x, u⁽³⁾ = 6. v = e^(2x), v₍₁₎ = e^(2x)/2, v₍₂₎ = e^(2x)/4, v₍₃₎ = e^(2x)/8, v₍₄₎ = e^(2x)/16. So ∫ x³ e^(2x) dx = x³(e^(2x)/2) − 3x²(e^(2x)/4) + 6x(e^(2x)/8) − 6(e^(2x)/16) + C = e^(2x)[x³/2 − 3x²/4 + 3x/4 − 3/8] + C. Check: differentiating e^(2x)P(x) gives e^(2x)[2P + P′], and 2P + P′ = (x³ − 3x²/2 + 3x/2 − 3/4) + (3x²/2 − 3x/2 + 3/4) = x³.

Worked example 2: a definite integral

Evaluate ∫₀^π x² cos x dx. Working: u = x², v = cos x, so v₍₁₎ = sin x, v₍₂₎ = −cos x, v₍₃₎ = −sin x. The anti-derivative is x² sin x − 2x(−cos x) + 2(−sin x) = x² sin x + 2x cos x − 2 sin x. At π: 0 + 2π(−1) − 0 = −2π; at 0: 0. The value is −2π.

Improper integrals

A Riemann integral needs a finite interval. Integrals over infinite intervals, called improper integrals of the first kind, are defined as limits: ∫ₐ^∞ f(x) dx = lim (t → ∞) ∫ₐᵗ f(x) dx, ∫₋∞ᵃ f(x) dx = lim (t → −∞) ∫ₜᵃ f(x) dx, and ∫₋∞^∞ f(x) dx = lim (t → ∞) ∫₋ₜᵗ f(x) dx. If the limit exists the integral is convergent; if not, it is divergent. In practice, find F(t) − F(a) and let t → ∞.

Worked example 3: convergent or divergent?

(i) ∫₁^∞ dx/x² = lim [−1/x]₁ᵗ = lim (1 − 1/t) = 1, convergent. (ii) ∫₀^∞ e^(−3x) dx = lim [−e^(−3x)/3]₀ᵗ = lim (1 − e^(−3t))/3 = 1/3. (iii) ∫₋∞^∞ dx/(1 + x²) = lim [tan⁻¹x]₋ₜᵗ = π/2 − (−π/2) = π. (iv) ∫₁^∞ dx/x = lim log t, which grows without bound: divergent.

Reduction formulae

A reduction formula expresses an integral Iₙ with index n in terms of the same integral with a smaller index, found by integration by parts. The textbook lists four:

IntegralReduction formula
Iₙ = ∫₀^(π/2) sinⁿx dxIₙ = [(n − 1)/n] Iₙ₋₂, n ≥ 2
Iₙ = ∫₀^(π/2) cosⁿx dxIₙ = [(n − 1)/n] Iₙ₋₂, n ≥ 2
Iₘ,ₙ = ∫₀^(π/2) sinᵐx cosⁿx dxIₘ,ₙ = [(n − 1)/(m + n)] Iₘ,ₙ₋₂, n ≥ 2
Iₘ,ₙ = ∫₀¹ xᵐ(1 − x)ⁿ dxIₘ,ₙ = [n/(m + n + 1)] Iₘ,ₙ₋₁, n ≥ 1

Applying the first two repeatedly, and using I₀ = π/2 and I₁ = 1, gives: for even n, ∫₀^(π/2) sinⁿx dx = ∫₀^(π/2) cosⁿx dx = [(n − 1)/n] × [(n − 3)/(n − 2)] × ... × (1/2) × (π/2); for odd n ≥ 3, the same product ends with (2/3) × 1 and has no π/2. Applying the fourth repeatedly gives ∫₀¹ xᵐ(1 − x)ⁿ dx = m! n!/(m + n + 1)!.

Worked example 4: using the formulae

(i) ∫₀^(π/2) sin⁴x dx = (3/4)(1/2)(π/2) = 3π/16. (ii) ∫₀^(π/2) cos⁷x dx = (6/7)(4/5)(2/3)(1) = 48/105 = 16/35. (iii) ∫₀^(π/2) sin²x cos⁴x dx: I₂,₄ = (3/6) I₂,₂ and I₂,₂ = (1/4) I₂,₀, where I₂,₀ = ∫₀^(π/2) sin²x dx = (1/2)(π/2) = π/4. So I₂,₂ = π/16 and I₂,₄ = π/32. (iv) ∫₀¹ x³(1 − x)² dx = 3! 2!/6! = 12/720 = 1/60. Check by expanding: ∫₀¹ (x³ − 2x⁴ + x⁵) dx = 1/4 − 2/5 + 1/6 = (15 − 24 + 10)/60 = 1/60.

The gamma integral

For a positive integer n, the improper integral Γ(n) = ∫₀^∞ e^(−x) x^(n−1) dx is the gamma integral, read gamma of n. Integration by parts (the boundary term vanishes because xᵐe^(−x) → 0 as x → ∞, by l'Hôpital's rule) gives Γ(n + 1) = nΓ(n), and Γ(1) = ∫₀^∞ e^(−x) dx = 1. Hence:

From the recurrence to factorials

  1. Γ(1) = 1 ∫₀^∞ e^(−x) dx.
  2. Γ(n + 1) = nΓ(n) By parts.
  3. Γ(n) = (n − 1)! So ∫₀^∞ e^(−x) xⁿ dx = n!.
  4. Substitute t = ax ∫₀^∞ e^(−ax) xⁿ dx = n!/a^(n+1), a > 0.

Worked example 5: gamma integrals

(i) Γ(5) = 4! = 24. (ii) ∫₀^∞ x⁴ e^(−2x) dx = 4!/2⁵ = 24/32 = 3/4. (iii) Γ(6)/Γ(4) = 5!/3! = 120/6 = 20, which also follows from Γ(6) = 5 × 4 × Γ(4).

Key takeaways: Bernoulli: differentiate the polynomial down to 0, integrate the other factor up, alternate the signs; an improper integral is a limit and may diverge; for ∫₀^(π/2) sinⁿx or cosⁿx, multiply (n − 1)/n, (n − 3)/(n − 2), ... and add the factor π/2 only for even n; ∫₀¹ xᵐ(1 − x)ⁿ dx = m! n!/(m + n + 1)!; Γ(n) = (n − 1)! and ∫₀^∞ e^(−ax)xⁿ dx = n!/a^(n+1).

Check your understanding

  1. 1. Using Bernoulli's formula, ∫ x eˣ dx equals

    1. x eˣ + C
    2. eˣ(x − 1) + C
    3. eˣ(x + 1) + C
    4. x² eˣ/2 + C
    Show answer

    Answer: B. u = x, u⁽¹⁾ = 1; v₍₁₎ = v₍₂₎ = eˣ. So ∫ x eˣ dx = x eˣ − 1 × eˣ + C = eˣ(x − 1) + C.

  2. 2. ∫₀^∞ e^(−x/2) dx equals

    1. 1/2
    2. ∞
    3. 1
    4. 2
    Show answer

    Answer: D. lim [−2e^(−x/2)]₀ᵗ = lim (2 − 2e^(−t/2)) = 2. The integral converges to 2.

  3. 3. ∫₀^(π/2) cos⁵x dx equals

    1. 8/15
    2. 5π/32
    3. 4/15
    4. 3π/16
    Show answer

    Answer: A. n = 5 is odd: (4/5)(2/3)(1) = 8/15, with no factor π/2.

  4. 4. ∫₀^(π/2) sin⁶x dx equals

    1. 5π/16
    2. 5/16
    3. 5π/32
    4. 15π/48
    Show answer

    Answer: C. n = 6 is even: (5/6)(3/4)(1/2)(π/2) = 15/48 × π/2 = 5π/32.

  5. 5. ∫₀^∞ x³ e^(−x) dx equals

    1. 3
    2. 24
    3. 1/6
    4. 6
    Show answer

    Answer: D. ∫₀^∞ e^(−x)xⁿ dx = n!, so with n = 3 the value is 3! = 6. This is Γ(4).

Privacy · Terms · Refunds · Delivery