Markbook Study

Techniques of integration · Unit 2 of 5

Integrate rational functions

Choose logarithmic forms or partial fractions from the denominator.

Rational logarithmic forms and partial fractions

  1. Compare the numerator and denominator degrees; divide first if needed.
  2. Factor the denominator and include every repeated-factor power.
  3. Solve for the partial-fraction coefficients, then integrate each term.
  4. Keep the denominator restrictions and differentiate the final answer to check it.

For a>0a>0, the source gives ∫1/(x2−a2) dx=12aln⁡[(x−a)/(x+a)]+C\int1/(x^2-a^2)\,dx=\frac1{2a}\ln[(x-a)/(x+a)]+C on x>ax>a, and its composite version ∫f′(x)/([f(x)]2−a2) dx=12aln⁡[(f(x)−a)/(f(x)+a)]+C\int f^{\prime}(x)/([f(x)]^2-a^2)\,dx=\frac1{2a}\ln[(f(x)-a)/(f(x)+a)]+C on f(x)>af(x)>a. It also gives ∫1/(a2−x2) dx=12aln⁡[(a+x)/(a−x)]+C\int1/(a^2-x^2)\,dx=\frac1{2a}\ln[(a+x)/(a-x)]+C on ∣x∣<a|x|<a, and the composite version ∫f′(x)/(a2−[f(x)]2) dx=12aln⁡[(a+f(x))/(a−f(x))]+C\int f^{\prime}(x)/(a^2-[f(x)]^2)\,dx=\frac1{2a}\ln[(a+f(x))/(a-f(x))]+C on ∣f(x)∣<a|f(x)|<a. The basic formulas are marked MF27. The Teacher highlights using moduli inside logarithms when a sign restriction is not specified. With moduli these formulas hold on any connected interval avoiding the denominator zeros; moduli do not remove poles.

The source recalls three partial-fraction patterns (with distinct factors and nonzero denominators):

Distinct linear factors

px+q(ax+b)(cx+d)=Aax+b+Bcx+d\frac{px+q}{(ax+b)(cx+d)}=\frac A{ax+b}+\frac B{cx+d}.

Repeated linear factor

Retain every power of a repeated linear factor.

px2+qx+r(ax+b)(cx+d)2=Aax+b+Bcx+d+C(cx+d)2\frac{px^2+qx+r}{(ax+b)(cx+d)^2}=\frac A{ax+b}+\frac B{cx+d}+\frac C{(cx+d)^2}.

Irreducible quadratic factor

An irreducible quadratic needs a linear numerator.

px2+qx+r(ax+b)(x2+c2)=Aax+b+Bx+Cx2+c2\frac{px^2+qx+r}{(ax+b)(x^2+c^2)}=\frac A{ax+b}+\frac{Bx+C}{x^2+c^2}.

The Teacher emphasises starting with a proper rational fraction and recognising factor structure; divide first if it is improper. The source labels these templates MF27.

To derive the first logarithmic formula, write 1/(x2−a2)=P/(x−a)+Q/(x+a)1/(x^2-a^2)=P/(x-a)+Q/(x+a). Clearing denominators gives 1=P(x+a)+Q(x−a)1=P(x+a)+Q(x-a). Substituting x=ax=a gives P=1/(2a)P=1/(2a) and x=−ax=-a gives Q=−1/(2a)Q=-1/(2a).

Thus integration gives [ln⁡∣x−a∣−ln⁡∣x+a∣]/(2a)+C=12aln⁡∣x−ax+a∣+C[\ln|x-a|-\ln|x+a|]/(2a)+C=\frac1{2a}\ln\left|\frac{x-a}{x+a}\right|+C.

The displayed logarithm law is ln⁡a−ln⁡b=ln⁡(a/b)\ln a-\ln b=\ln(a/b) for positive arguments; applying it to absolute values preserves the needed signs. Self-Practice 6 asks for the companion proof.

If a numerator is not directly proportional to the denominator derivative, split it into that derivative plus a remainder. Example 9 uses 6x+16=3(2x+4)+46x+16=3(2x+4)+4. Example 10 preserves two methods and the Teacher note explaining why their different-looking logarithms agree.

Check the logarithm and its interval

A student claims ∫x/(x2−4) dx=ln⁡(x2−4)+C\int x/(x^2-4)\,dx=\ln(x^2-4)+C. Differentiate the proposed answer to test it, then give a corrected antiderivative. State the intervals on which your real-valued answer applies and explain what happens between the two excluded inputs.

After your attempt: compare the reasoning

The proposed derivative is 2x/(x2−4)2x/(x^2-4), twice the required integrand. The corrected form is

12ln⁡∣x2−4∣+C.\frac12\ln|x^2-4|+C.

It differentiates to x/(x2−4)x/(x^2-4) on each of (−∞,−2)(-\infty,-2), (−2,2)(-2,2) and (2,∞)(2,\infty). On the middle interval, x2−4<0x^2-4<0, so the real logarithm can be written ln⁡(4−x2)\ln(4-x^2). Its derivative still gives the required sign after the chain rule. The integrand excludes x=±2x=\pm2; the constants may be chosen independently on its separate intervals.

Try these 7 examples

Try each one first, then read its solution. “Learn this step” brings you back here.