Skip to content
The site is in test mode. All features are free for now.
MathAgora

University Mathematics · Calculus

Techniques of integration

Integration by parts, trigonometric integrals and substitutions, partial fractions, strategy, approximate integration and improper integrals.

110 min 12 questions

§7.1Integration by parts

From the product rule: ∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du Choose uu to be something that gets simpler when differentiated (polynomials, ln⁡x\ln x, tan⁡−1x\tan^{-1}x) and dvdv something easy to integrate (ex dxe^x\,dx, sin⁡x dx\sin x\,dx). For definite integrals: ∫abu dv=uv∣ab−∫abv du\int_a^b u\,dv = uv\Big|_a^b - \int_a^b v\,du.

Sometimes you integrate by parts twice; for integrals like ∫exsin⁡x dx\int e^x\sin x\,dx the original integral reappears after two steps and you solve for it algebraically.

§7.2Trigonometric integrals

∫sin⁡mxcos⁡nx dx\int\sin^m x\cos^n x\,dx: if the power of sin⁡\sin is odd, save one sin⁡x\sin x, convert the rest to cos⁡\cos using sin⁡2=1−cos⁡2\sin^2 = 1 - \cos^2, and set u=cos⁡xu = \cos x. If the power of cos⁡\cos is odd, do the reverse. If both are even, use the half-angle identities sin⁡2x=1−cos⁡2x2\sin^2x = \frac{1 - \cos 2x}{2}, cos⁡2x=1+cos⁡2x2\cos^2x = \frac{1 + \cos 2x}{2}.

For ∫tan⁡mxsec⁡nx dx\int\tan^m x\sec^n x\,dx: with even nn save sec⁡2x\sec^2x (u=tan⁡xu = \tan x); with odd mm save sec⁡xtan⁡x\sec x\tan x (u=sec⁡xu = \sec x).

§7.3Trigonometric substitution

To remove roots: a2−x2\sqrt{a^2 - x^2} → x=asin⁡θx = a\sin\theta; a2+x2\sqrt{a^2 + x^2} → x=atan⁡θx = a\tan\theta; x2−a2\sqrt{x^2 - a^2} → x=asec⁡θx = a\sec\theta. The identities (1−sin⁡2=cos⁡21 - \sin^2 = \cos^2, 1+tan⁡2=sec⁡21 + \tan^2 = \sec^2, sec⁡2−1=tan⁡2\sec^2 - 1 = \tan^2) turn the root into a simple trig function. At the end, use a right triangle to return to xx.

§7.4Integration of rational functions by partial fractions

If the degree of the numerator is ≥\ge that of the denominator, divide first (long division). Then factor the denominator and write the fraction as a sum of partial fractions:

Distinct linear factors: Ax−a+Bx−b\frac{A}{x - a} + \frac{B}{x - b}. Repeated (x−a)2(x - a)^2: Ax−a+B(x−a)2\frac{A}{x - a} + \frac{B}{(x - a)^2}. Irreducible quadratic x2+bx+cx^2 + bx + c: Ax+Bx2+bx+c\frac{Ax + B}{x^2 + bx + c}. Find the coefficients by multiplying by the denominator and substituting convenient values of xx.

§7.5–7.6Strategy for integration

1) Simplify the integrand (algebra, trig identities). 2) Look for an obvious substitution (uu whose dudu appears). 3) Classify by form: trig powers, rational function, product (by parts), roots (trig substitution). 4) Try again: another substitution, parts, multiply by a convenient form of 1. Tables of integrals and computer algebra help, but always be able to check by differentiating.

Some functions (e.g. ex2e^{x^2}) have no elementary antiderivative at all.

§7.7Approximate integration

Δx=b−an\Delta x = \frac{b - a}{n}. Midpoint Rule: Mn=Δx [f(xˉ1)+⋯+f(xˉn)]M_n = \Delta x\,[f(\bar x_1) + \dots + f(\bar x_n)]. Trapezoidal Rule: Tn=Δx2[f(x0)+2f(x1)+⋯+2f(xn−1)+f(xn)]T_n = \frac{\Delta x}{2}[f(x_0) + 2f(x_1) + \dots + 2f(x_{n-1}) + f(x_n)]. Simpson's Rule (nn even): Sn=Δx3[f(x0)+4f(x1)+2f(x2)+4f(x3)+⋯+4f(xn−1)+f(xn)]S_n = \frac{\Delta x}{3}[f(x_0) + 4f(x_1) + 2f(x_2) + 4f(x_3) + \dots + 4f(x_{n-1}) + f(x_n)] Simpson's Rule uses parabolas and is usually far more accurate; it is exact for cubics. Error bounds involve f′′f'' (T, M) and f(4)f^{(4)} (S).

§7.8Improper integrals

Type 1 (infinite interval): ∫a∞f(x) dx=lim⁡t→∞∫atf(x) dx\int_a^\infty f(x)\,dx = \lim_{t\to\infty}\int_a^t f(x)\,dx. Type 2 (discontinuous integrand): if ff blows up at bb, ∫abf=lim⁡t→b−∫atf\int_a^b f = \lim_{t\to b^-}\int_a^t f. The integral converges if the limit is finite, otherwise it diverges.

Key fact: ∫1∞dxxp\int_1^\infty\frac{dx}{x^p} converges exactly when p>1p > 1. Comparison Theorem: if 0≤g≤f0 \le g \le f and ∫f\int f converges, so does ∫g\int g; if ∫g\int g diverges, so does ∫f\int f.

Key formulas

  • Integration by parts (§7.1)

    ∫u dv=uv−∫v du\int u\,dv=uv-\int v\,du
  • Half-angle identities (§7.2)

    sin⁡2x=1−cos⁡2x2,cos⁡2x=1+cos⁡2x2\sin^2x=\tfrac{1-\cos2x}2,\quad \cos^2x=\tfrac{1+\cos2x}2
  • Trig substitutions (§7.3)

    a2−x2:x=asin⁡θ; a2+x2:x=atan⁡θ; x2−a2:x=asec⁡θ\sqrt{a^2-x^2}:x=a\sin\theta;\ \sqrt{a^2+x^2}:x=a\tan\theta;\ \sqrt{x^2-a^2}:x=a\sec\theta
  • Partial fractions (§7.4)

    1(x−a)(x−b)=Ax−a+Bx−b\dfrac{1}{(x-a)(x-b)}=\dfrac{A}{x-a}+\dfrac{B}{x-b}
  • Simpson's Rule (§7.7)

    Sn=Δx3[f0+4f1+2f2+⋯+4fn−1+fn]S_n=\tfrac{\Delta x}{3}\big[f_0+4f_1+2f_2+\dots+4f_{n-1}+f_n\big]
  • pp-integral (§7.8)

    ∫1∞dxxp<∞  ⟺  p>1\int_1^\infty\dfrac{dx}{x^p}<\infty\iff p>1

Worked examples

Example 1

Evaluate ∫x2ex dx\displaystyle\int x^2 e^x\,dx.

Example 2

Evaluate ∫5x+1(x−1)(x+2) dx\displaystyle\int\frac{5x + 1}{(x - 1)(x + 2)}\,dx.

Example 3

Does ∫1∞dxx\displaystyle\int_1^\infty\frac{dx}{x} converge?