Login

Concepts

Read through concept notes with worked explanations and diagrams, chapter by chapter.

Concept 04 / 10Integral Calculus

Integration of Rational Functions by Partial Fractions

Reducing improper fractions by division, decomposing proper fractions with distinct linear, repeated linear and irreducible quadratic factors, the cover-up method for constants, and special substitutions such as x^2 = t for even rational functions.

A rational function P(x)Q(x)\frac{P(x)}{Q(x)} is proper if deg⁡P<deg⁡Q\deg P < \deg Q. If it is improper, first divide: PQ=S(x)+R(x)Q(x)\frac{P}{Q} = S(x) + \frac{R(x)}{Q(x)} with deg⁡R<deg⁡Q\deg R < \deg Q. The polynomial SS integrates directly; the proper part is split into partial fractions, each of which integrates to a logarithm, a power, or an inverse tangent. Decomposition rules for the proper fraction R(x)Q(x)\frac{R(x)}{Q(x)}, after factoring QQ completely over the reals: Distinct linear factor (x−a)(x - a): a term Ax−a\frac{A}{x - a}. Repeated linear factor (x−a)k(x - a)^{k}: terms A1x−a+A2(x−a)2+⋯+Ak(x−a)k\frac{A_{1}}{x - a} + \frac{A_{2}}{(x - a)^{2}} + \cdots + \frac{A_{k}}{(x - a)^{k}}. All powers up to kk are needed. Irreducible quadratic factor (x2+px+q)(x^{2} + px + q) with p2<4qp^{2} < 4q: a term Bx+Cx2+px+q\frac{Bx + C}{x^{2} + px + q}, with a linear numerator. Repeated irreducible quadratics similarly need one term for each power. Finding the constants. Multiply through by Q(x)Q(x) to clear denominators, then either substitute convenient values of xx (the roots of the linear factors kill all but one term) or compare coefficients. For distinct linear factors, the cover-up method is fastest: the constant AA for (x−a)(x - a) equals R(a)Q1(a)\frac{R(a)}{Q_{1}(a)}, where Q1Q_{1} is QQ with the factor (x−a)(x - a) covered up. For example, 2x+3(x−1)(x+2)\frac{2x + 3}{(x - 1)(x + 2)} has A=53A = \frac{5}{3} at x=1x = 1 and B=−1−3=13B = \frac{-1}{-3} = \frac{1}{3} at x=−2x = -2. For a repeated factor, cover-up gives only the highest-power coefficient; find the rest by substituting another value or comparing coefficients. Integrating the pieces. ∫Ax−adx=Aln⁡∣x−a∣\int\frac{A}{x - a}dx = A\ln|x - a|. ∫A(x−a)kdx=−A(k−1)(x−a)k−1\int\frac{A}{(x - a)^{k}}dx = \frac{-A}{(k - 1)(x - a)^{k-1}} for k≥2k \ge 2. ∫Bx+Cx2+px+qdx\int\frac{Bx + C}{x^{2} + px + q}dx: write the numerator as B2(2x+p)+(C−Bp2)\frac{B}{2}(2x + p) + (C - \frac{Bp}{2}). The first part gives B2ln⁡(x2+px+q)\frac{B}{2}\ln(x^{2} + px + q), and the second, after completing the square, gives an inverse tangent. Useful standard results that come from partial fractions: ∫dxx2−a2=12aln⁡∣x−ax+a∣+C\int\frac{dx}{x^{2} - a^{2}} = \frac{1}{2a}\ln\left|\frac{x - a}{x + a}\right| + C and ∫dxa2−x2=12aln⁡∣a+xa−x∣+C\int\frac{dx}{a^{2} - x^{2}} = \frac{1}{2a}\ln\left|\frac{a + x}{a - x}\right| + C. Shortcuts for special structures. If the integrand is a function of x2x^{2} only (like x2(x2+1)(x2+4)\frac{x^{2}}{(x^{2} + 1)(x^{2} + 4)}), treat x2x^{2} as a single variable tt when decomposing (not when integrating): t(t+1)(t+4)=−1/3t+1+4/3t+4\frac{t}{(t + 1)(t + 4)} = \frac{-1/3}{t + 1} + \frac{4/3}{t + 4}, then replace tt by x2x^{2} and integrate each part as an inverse tangent. For ∫x2+1x4+1dx\int\frac{x^{2} + 1}{x^{4} + 1}dx and ∫x2−1x4+1dx\int\frac{x^{2} - 1}{x^{4} + 1}dx, divide by x2x^{2} and substitute u=x−1xu = x - \frac{1}{x} or u=x+1xu = x + \frac{1}{x} respectively. And for ∫dxx(xn+1)\int\frac{dx}{x(x^{n} + 1)}, multiply by xn−1x^{n-1} and substitute u=xnu = x^{n}. Key Takeaways: - Divide first if the fraction is improper. - Linear (x−a)(x - a): Ax−a\frac{A}{x - a}; repeated (x−a)k(x - a)^{k}: all powers up to kk; quadratic: Bx+Cquadratic\frac{Bx + C}{\text{quadratic}}. - Cover-up: A=R(a)Q1(a)A = \frac{R(a)}{Q_{1}(a)} for simple linear factors. - ∫dxx2−a2=12aln⁡∣x−ax+a∣\int\frac{dx}{x^{2} - a^{2}} = \frac{1}{2a}\ln|\frac{x - a}{x + a}|. - Functions of x2x^{2} only: decompose in t=x2t = x^{2}. - x2±1x4+1\frac{x^{2} \pm 1}{x^{4} + 1}: divide by x2x^{2} and use x∓1xx \mp \frac{1}{x}. - Pitfall: using a constant numerator over an irreducible quadratic, or omitting lower powers of a repeated factor. Brain-Teaser 1: Evaluate ∫x3(x−1)(x−2)dx\int\frac{x^{3}}{(x - 1)(x - 2)}dx. Solution: The fraction is improper, so divide: x3=(x2−3x+2)(x+3)+7x−6x^{3} = (x^{2} - 3x + 2)(x + 3) + 7x - 6. So the integrand is x+3+7x−6(x−1)(x−2)x + 3 + \frac{7x - 6}{(x - 1)(x - 2)}. Cover-up: at x=1x = 1, 1−1=−1\frac{1}{-1} = -1; at x=2x = 2, 81=8\frac{8}{1} = 8. So the integral is x22+3x−ln⁡∣x−1∣+8ln⁡∣x−2∣+C\frac{x^{2}}{2} + 3x - \ln|x - 1| + 8\ln|x - 2| + C. Skipping the division step would give meaningless partial fractions. Brain-Teaser 2: Evaluate ∫dx(x−1)2(x+2)\int\frac{dx}{(x - 1)^{2}(x + 2)}. Solution: Write 1(x−1)2(x+2)=Ax−1+B(x−1)2+Cx+2\frac{1}{(x - 1)^{2}(x + 2)} = \frac{A}{x - 1} + \frac{B}{(x - 1)^{2}} + \frac{C}{x + 2}. Cover-up for the highest power: B=13B = \frac{1}{3} (at x=1x = 1), and C=19C = \frac{1}{9} (at x=−2x = -2). Compare the x2x^{2} coefficients after clearing denominators: 0=A+C0 = A + C, so A=−19A = -\frac{1}{9}. The integral is −19ln⁡∣x−1∣−13(x−1)+19ln⁡∣x+2∣+C-\frac{1}{9}\ln|x - 1| - \frac{1}{3(x - 1)} + \frac{1}{9}\ln|x + 2| + C. The repeated factor needs both the first and second powers, and cover-up only finds the top one. Brain-Teaser 3: Evaluate ∫x2+1x4+1dx\int\frac{x^{2} + 1}{x^{4} + 1}dx. Solution: Divide the numerator and denominator by x2x^{2}: ∫1+1x2x2+1x2dx\int\frac{1 + \frac{1}{x^{2}}}{x^{2} + \frac{1}{x^{2}}}dx. Since x2+1x2=(x−1x)2+2x^{2} + \frac{1}{x^{2}} = (x - \frac{1}{x})^{2} + 2 and d(x−1x)=(1+1x2)dxd(x - \frac{1}{x}) = (1 + \frac{1}{x^{2}})dx, put u=x−1xu = x - \frac{1}{x}: ∫duu2+2=12tan⁡−1u2+C=12tan⁡−1x2−12x+C\int\frac{du}{u^{2} + 2} = \frac{1}{\sqrt{2}}\tan^{-1}\frac{u}{\sqrt{2}} + C = \frac{1}{\sqrt{2}}\tan^{-1}\frac{x^{2} - 1}{\sqrt{2}x} + C. Factoring x4+1x^{4} + 1 into real quadratics would also work but is far longer; the reciprocal substitution exploits the symmetry of the integrand.