Skip to content

Mathematics · Ch 10 — Indefinite Integration

Integration by Partial Fractions

10.4

Integration by Partial Fractions

A rational function f(x)g(x)\dfrac{f(x)}{g(x)} (g(x)≠0g(x)\neq0) is called proper if deg⁡f<deg⁡g\deg f<\deg g, and improper otherwise; an improper fraction is first written as Quotient+Remainderg(x)\text{Quotient}+\dfrac{\text{Remainder}}{g(x)} by polynomial division, where the remainder term is proper. A proper rational function is then split into partial fractions according to how g(x)g(x) factors — into non-repeated linear factors, a repeated linear factor, or a linear factor times a non-repeated irreducible quadratic (the three forms tabulated above) — and each simpler piece is integrated using the elementary and special-integral formulae already established.

Type (i) — non-repeated linear factors. ∫3x2+4x−5(x2−1)(x+2) dx\int\dfrac{3x^2+4x-5}{(x^2-1)(x+2)}\,dx. Factor the denominator fully: (x−1)(x+1)(x+2)(x-1)(x+1)(x+2). Set 3x2+4x−5(x−1)(x+1)(x+2)=Ax−1+Bx+1+Cx+2\dfrac{3x^2+4x-5}{(x-1)(x+1)(x+2)}=\dfrac{A}{x-1}+\dfrac{B}{x+1}+\dfrac{C}{x+2}; clearing denominators, 3x2+4x−5=A(x+1)(x+2)+B(x−1)(x+2)+C(x−1)(x+1)3x^2+4x-5=A(x+1)(x+2)+B(x-1)(x+2)+C(x-1)(x+1). Substituting the roots of each factor in turn: at x=1x=1, 2=6A⇒A=132=6A\Rightarrow A=\frac13; at x=−1x=-1, −6=−2B⇒B=3-6=-2B\Rightarrow B=3; at x=−2x=-2, −1=3C⇒C=−13-1=3C\Rightarrow C=-\frac13. Integrating each term: I=13log⁡∣x−1∣+3log⁡∣x+1∣−13log⁡∣x+2∣+c=13log⁡∣(x−1)(x+1)9x+2∣+cI=\dfrac13\log|x-1|+3\log|x+1|-\dfrac13\log|x+2|+c=\dfrac13\log\left|\dfrac{(x-1)(x+1)^9}{x+2}\right|+c.

A variant of Type (i) arises when the denominator's factors are themselves quadratics in disguise: ∫2x2−3(x2−5)(x2+4) dx\int\dfrac{2x^2-3}{(x^2-5)(x^2+4)}\,dx. Put m=x2m=x^2, giving the proper rational function 2m−3(m−5)(m+4)=Am−5+Bm+4\dfrac{2m-3}{(m-5)(m+4)}=\dfrac{A}{m-5}+\dfrac{B}{m+4}; solving (at m=5m=5: A=79A=\frac79; at m=−4m=-4: B=119B=\frac{11}9) and substituting back m=x2m=x^2: I=79∫dxx2−5+119∫dxx2+4=7185log⁡∣x−5x+5∣+1118tan⁡−1x2+cI=\dfrac79\int\dfrac{dx}{x^2-5}+\dfrac{11}9\int\dfrac{dx}{x^2+4}=\dfrac{7}{18\sqrt5}\log\left|\dfrac{x-\sqrt5}{x+\sqrt5}\right|+\dfrac{11}{18}\tan^{-1}\dfrac x2+c.

Type (i) also appears after a trigonometric substitution turns a trig integral into a rational one: ∫dθsin⁡θ(3+2cos⁡θ)\int\dfrac{d\theta}{\sin\theta(3+2\cos\theta)}. Multiply top and bottom by sin⁡θ\sin\theta: sin⁡θ(1−cos⁡2θ)(3+2cos⁡θ)\dfrac{\sin\theta}{(1-\cos^2\theta)(3+2\cos\theta)}; put t=cos⁡θt=\cos\theta (so sin⁡θ dθ=−dt\sin\theta\,d\theta=-dt), giving −∫dt(1−t)(1+t)(3+2t)-\displaystyle\int\dfrac{dt}{(1-t)(1+t)(3+2t)}, three distinct linear factors in tt; solving for A,B,CA,B,C and integrating gives I=110log⁡∣1−cos⁡θ∣−12log⁡∣1+cos⁡θ∣+25log⁡∣3+2cos⁡θ∣+c=110log⁡(1−cos⁡θ)(3+2cos⁡θ)4(1+cos⁡θ)5+cI=\dfrac1{10}\log|1-\cos\theta|-\dfrac12\log|1+\cos\theta|+\dfrac25\log|3+2\cos\theta|+c=\dfrac1{10}\log\dfrac{(1-\cos\theta)(3+2\cos\theta)^4}{(1+\cos\theta)^5}+c.

Type (ii) — repeated linear factor. ∫dx2cos⁡x+sin⁡2x\int\dfrac{d x}{2\cos x+\sin2x}. Simplify 2cos⁡x+sin⁡2x=2cos⁡x(1+sin⁡x)2\cos x+\sin2x=2\cos x(1+\sin x), so the integral is 12∫cos⁡xcos⁡2x(1+sin⁡x) dx\frac12\displaystyle\int\dfrac{\cos x}{\cos^2x(1+\sin x)}\,dx. Put t=sin⁡xt=\sin x: 12∫dt(1−t2)(1+t)=12∫dt(1−t)(1+t)2\frac12\displaystyle\int\dfrac{dt}{(1-t^2)(1+t)}=\frac12\int\dfrac{dt}{(1-t)(1+t)^2}, a repeated factor at t=−1t=-1. Setting 1(1−t)(1+t)2=A1−t+B1+t+C(1+t)2\dfrac{1}{(1-t)(1+t)^2}=\dfrac{A}{1-t}+\dfrac{B}{1+t}+\dfrac{C}{(1+t)^2} and solving (A=14, B=14, C=12A=\frac14,\ B=\frac14,\ C=\frac12), integrating and substituting back t=sin⁡xt=\sin x gives I=18log⁡∣1+sin⁡x1−sin⁡x∣−11+sin⁡x+cI=\dfrac18\log\left|\dfrac{1+\sin x}{1-\sin x}\right|-\dfrac{1}{1+\sin x}+c. …

Table 1The three partial-fraction forms

(i) Non-repeated linear factors: px2+qx+r(x−a)(x−b)(x−c)=Ax−a+Bx−b+Cx−c\dfrac{px^2+qx+r}{(x-a)(x-b)(x-c)}=\dfrac{A}{x-a}+\dfrac{B}{x-b}+\dfrac{C}{x-c}\n(ii) Repeated linear factor: px2+qx+r(x−a)2(x−b)=Ax−a+B(x−a)2+Cx−b\dfrac{px^2+qx+r}{(x-a)^2(x-b)}=\dfrac{A}{x-a}+\dfrac{B}{(x-a)^2}+\dfrac{C}{x-b}\n(iii) Linear factor times a non-repeated irreducible quadratic factor: $\dfrac{px^2+qx+r …