Substitution and the basic rules cover most integrals, but a few fractions need a little algebra first. This page covers the two rewrites on the AB exam: polynomial long division, and completing the square to reach an arctangent.
Long division: when the top is "too big"
Figure 1. The fraction is the line y = x + 2 plus a small piece, 3/(x + 1). LevlPrep original diagram.
In the top has degree 2 and the bottom degree 1. No basic rule fits, and substitution with is clumsy. Divide, exactly as with numbers: .
Worked example 1. Find .
Divide by . First term: , since . Subtract: remains.
Next term: , since . Subtract: remains, the remainder.
So . (Check: .)
Integrate each piece: .
The figure shows what the division means: far from , the curve is nearly the line , and the remainder is the shrinking gap.
A quick version works when the bottom divides neatly into the top: , and .
Completing the square: reaching arctan
The rule handles a sum of squares on the bottom. A quadratic with no real zeros can always be written as one. To complete the square in , take half of , square it, and balance:
Two habits prevent most errors: never integrate the top and bottom of a fraction separately, and differentiate your answer to check it. The factor in the arctan form is the piece most often lost.
When the bottom factors into different linear pieces, such as , the method of partial fractions splits it apart. That method is part of the BC course only and does not appear on the AB exam.