Mistake Master

Integrating Functions Using Long Division and Completing the Square AB & BC

A rational integrand is prepared before it is integrated, and which preparation depends on one comparison. If the numerator's degree is at least the denominator's, the fraction is improper and long division is required: $\frac{x^{2}}{x+1} = x - 1 + \frac{1}{x+1}$, whose three pieces are all routine while the original is not. Watch for the case where a common factor makes the division unnecessary, as in $\frac{x^{3}+x}{x^{2}+1} = x$.

For a proper fraction with an irreducible quadratic denominator, completing the square produces an arctangent: $x^{2}+4x+13 = (x+2)^{2}+9$ gives $\frac{1}{3}\arctan\!\left(\frac{x+2}{3}\right) + C$, where the $\frac{1}{3}$ comes from the chain rule and the shift has to appear inside the argument. If instead the numerator is the derivative of the denominator up to a constant, the answer is a logarithm and no completing is needed. Throughout, a numerator splits over a single denominator and a denominator never splits at all: $\frac{1}{x^{2}+1}$ is not $\frac{1}{x^{2}} + 1$, as $\frac{1}{2+3}$ against $\frac{1}{2}+\frac{1}{3}$ shows in one line.

A RATIONAL INTEGRAND: WHICH PREPARATION FIRST? IS THE DEGREE ON TOP AT LEAST THE DEGREE BELOW? YES → DIVIDE GET A POLYNOMIAL PLUS A PROPER REMAINDER NO → LOOK AT THE DENOMINATOR LINEAR OR FACTORABLE → SPLIT OR SUBSTITUTE IRREDUCIBLE QUADRATIC → COMPLETE THE SQUARE DIVIDING IS NOT OPTIONAL WHEN THE TOP IS TOO BIG. A SUM IN A DENOMINATOR NEVER SPLITS TERM BY TERM. THE PREPARATION IS THE PROBLEM. THE INTEGRAL IS EASY AFTER IT.
Every branch ends in an integral from Topic 6.8's list. Nothing in this topic is a new antiderivative; it is all a question of which rewrite gets you to an old one.
TWO PREPARATIONS, WORKED. ∫ x²/(x + 1) dx DIVIDE: x − 1 + 1/(x + 1) INTEGRATE: x²/2 − x + ln|x + 1| + C ∫ dx/(x² + 4x + 13) COMPLETE THE SQUARE: (x + 2)² + 9 INTEGRATE: (1/3) arctan((x + 2)/3) + C THE TOP HAD DEGREE 2 AND THE BOTTOM DEGREE 1, SO IT DIVIDED. THE QUADRATIC HAD NO REAL ROOTS, SO IT COMPLETED. NEITHER INTEGRAL WAS DOABLE BEFORE THAT ONE ALGEBRA STEP.
The reciprocal coefficient on the right, $\frac{1}{3}$, is the same chain-rule compensation as in Topic 6.8, and the $+2$ has to travel inside the arctangent rather than being left behind.

The work

3 ways in · any order
Lesson
Integrating Functions Using Long Division and Completing the Square

Uses a degree comparison to decide when an integrand must be divided, turns improper fractions into polynomials plus proper remainders, completes the square on irreducible quadratic denominators to reach arctangent forms with the right coefficient and the right shift, and separates numerators that split over a denominator from denominators that never split at all.

Skill check · 10 scenarios
Diagnostic
10-item topic check

Ten items spanning the two failure modes of this topic: attempting to integrate a rational or quadratic expression before the algebra that makes it integrable, and reaching the wrong antiderivative afterwards, especially over the coefficient and the shift in an arctangent form.

Not yet available · 10 items
Targeted Practice
Drill a single misconception

Pick one of the failure modes you missed and drill it on its own. The round is adaptive: two correct in a row clears the misconception and moves you to the next.

Take the diagnostic to identify your misconceptions