A rational function g(x)f(x) (g(x)=0) is called proper if degf<degg, and improper otherwise; an improper fraction is first written as Quotient+g(x)Remainder by polynomial division, where the remainder term is proper. A proper rational function is then split into partial fractions according to how 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.∫(x2−1)(x+2)3x2+4x−5dx. Factor the denominator fully: (x−1)(x+1)(x+2). Set (x−1)(x+1)(x+2)3x2+4x−5=x−1A+x+1B+x+2C; clearing denominators, 3x2+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=1, 2=6A⇒A=31; at x=−1, −6=−2B⇒B=3; at x=−2, −1=3C⇒C=−31. Integrating each term: I=31log∣x−1∣+3log∣x+1∣−31log∣x+2∣+c=31logx+2(x−1)(x+1)9+c.
A variant of Type (i) arises when the denominator's factors are themselves quadratics in disguise: ∫(x2−5)(x2+4)2x2−3dx. Put m=x2, giving the proper rational function (m−5)(m+4)2m−3=m−5A+m+4B; solving (at m=5: A=97; at m=−4: B=911) and substituting back m=x2: I=97∫x2−5dx+911∫x2+4dx=1857logx+5x−5+1811tan−12x+c.
Type (i) also appears after a trigonometric substitution turns a trig integral into a rational one: ∫sinθ(3+2cosθ)dθ. Multiply top and bottom by sinθ: (1−cos2θ)(3+2cosθ)sinθ; put t=cosθ (so sinθdθ=−dt), giving −∫(1−t)(1+t)(3+2t)dt, three distinct linear factors in t; solving for A,B,C and integrating gives I=101log∣1−cosθ∣−21log∣1+cosθ∣+52log∣3+2cosθ∣+c=101log(1+cosθ)5(1−cosθ)(3+2cosθ)4+c.
Type (ii) — repeated linear factor.∫2cosx+sin2xdx. Simplify 2cosx+sin2x=2cosx(1+sinx), so the integral is 21∫cos2x(1+sinx)cosxdx. Put t=sinx: 21∫(1−t2)(1+t)dt=21∫(1−t)(1+t)2dt, a repeated factor at t=−1. Setting (1−t)(1+t)21=1−tA+1+tB+(1+t)2C and solving (A=41,B=41,C=21), integrating and substituting back t=sinx gives I=81log1−sinx1+sinx−1+sinx1+c. …
Table 1The three partial-fraction forms
(i) Non-repeated linear factors: (x−a)(x−b)(x−c)px2+qx+r=x−aA+x−bB+x−cC\n(ii) Repeated linear factor: (x−a)2(x−b)px2+qx+r=x−aA+(x−a)2B+x−bC\n(iii) Linear factor times a non-repeated irreducible quadratic factor: $\dfrac{px^2+qx+r …