Partial Fractions and Improper Integrals
AP Calculus BC · Unit 6 — Integration and Accumulation of Change
Splitting a rational function
AP BC only requires the easy case: the denominator factors into distinct linear factors, and the numerator has strictly lower degree. Then
$$\frac{P(x)}{(x-r_1)(x-r_2)}=\frac{A}{x-r_1}+\frac{B}{x-r_2}$$Clear denominators and substitute $x=r_1$, then $x=r_2$: each substitution kills one unknown, so no linear system is needed. Each piece integrates to a logarithm, so the answer is a combination $A\ln|x-r_1|+B\ln|x-r_2|+C$. If the numerator's degree is not lower, do polynomial long division first.
Integrals that reach past the finite
An integral is improper when the interval is unbounded, or when the integrand blows up somewhere on the interval. In both cases the definition is a limit:
$$\int_a^{\infty} f(x)\,dx=\lim_{b\to\infty}\int_a^{b} f(x)\,dx,\qquad \int_a^{b} f(x)\,dx=\lim_{c\to a^{+}}\int_c^{b} f(x)\,dx\ \text{ if } f \text{ blows up at } a$$The integral converges if the limit is a finite number and diverges otherwise. The benchmark to memorise: $\displaystyle\int_1^{\infty}\frac{dx}{x^{p}}$ converges exactly when $p>1$, while $\displaystyle\int_0^{1}\frac{dx}{x^{p}}$ converges exactly when $p<1$. The two thresholds point in opposite directions, and $p=1$ diverges in both.
Worked example: partial fractions, then take the limit
Determine whether $\displaystyle\int_3^{\infty}\frac{4}{x^{2}-4}\,dx$ converges, and find its value if it does.
Solution
Step 1 — decompose. $x^{2}-4=(x-2)(x+2)$, write $\frac{4}{(x-2)(x+2)}=\frac{A}{x-2}+\frac{B}{x+2}$, that is, $4=A(x+2)+B(x-2)$.
Substitute $x=2$: $4=4A$ so $A=1$. Substitute $x=-2$: $4=-4B$ so $B=-1$.
Step 2 — antiderivative.
$$\int\left(\frac{1}{x-2}-\frac{1}{x+2}\right)dx=\ln\left|\frac{x-2}{x+2}\right|+C$$Step 3 — the limit.
$$\int_3^{\infty}\frac{4\,dx}{x^{2}-4}=\lim_{b\to\infty}\left[\ln\left|\frac{x-2}{x+2}\right|\right]_3^{b}=\lim_{b\to\infty}\left(\ln\frac{b-2}{b+2}-\ln\frac15\right)$$As $b\to\infty$, $\frac{b-2}{b+2}\to1$ so $\ln\frac{b-2}{b+2}\to0$. So the integral converges and equals $-\ln\frac15=\ln 5$.
Combining the two logarithms into one before taking the limit is a trick worth remembering: kept separate, each logarithm goes to $\infty$; combined, their difference is revealed to be finite.