- Check that we have a proper fraction. If not, do long division.
- Factor Q(x) into a product of linear and irreducible quadratic terms.
- Write P(x)Q(x) as a sum of terms with unknown coefficients:
- For every factor of (x−a) in Q(x), we have a term Ax−a.
- For every repeated linear factor (x−a)n, we have A1(x−a)+A2(x−a)2+…+An(x−a)n.
- For every quadratic factor x2+bx+c, we have Ax+Bx2+bx+c.
- For every repeated quadratic factor (x2+bx+c)n, we have A1x+B1x2+bx+c+A2x+B2(x2+bx+c)2+…+Anx+Bn(x2+bx+c)n.
- Multiply both sides of the equation by Q(x). Then plug in different values of x to get equations that determine the coefficients. For distinct linear factors, we can always get the coefficient of 1x−a by plugging in x=a. For repeated linear factors or for quadratic factors, it can be a little trickier.
- If all else fails, compare the coefficients of 1, x, x2, etc. on both sides to get equations involving A, B, etc.
-
Integrate. Recall that
-
∫1x−adx=ln|x−a|+C
- ∫1(x−a)ndx=11−n(x−a)1−n+C
- ∫1x2+a2dx=1atan−1(xa)+C
- ∫xx2+a2dx=12ln(x2+a2)+C
- Integrating other quadratic expressions is done with either a u-substitution or a trig substitution x=atan(θ), after possibly completing the square.
|