Integration:
Long Division & Completing the Square
Master two essential algebraic manipulation techniques that transform difficult integrals into forms you already know how to solve.
Why Algebraic Manipulation Before Integration?
Many integrals look impossible at first glance, but they are just familiar integrals in disguise. The integrand's algebraic form doesn't match any standard rule: it might be an improper rational function or a quadratic with no clean factorization.
Polynomial Long Division for Integrals
When the degree of the numerator is greater than or equal to the degree of the denominator, you have an improper rational function. You cannot apply partial fractions or logarithm rules directly.
Completing the Square for Integrals
When the denominator contains a quadratic that doesn't factor over the reals, completing the square transforms it into the form \(u^2 + a^2\) or \(a^2 - u^2\), unlocking inverse trig and logarithmic antiderivatives.
The Long Division Theorem
where \(\deg(R) < \deg(D)\). Therefore:
The Completing the Square Formulas
Long Division vs. Completing the Square
| Long Division | Completing the Square | |
|---|---|---|
| When to use | \(\deg(\text{num}) \geq \deg(\text{den})\) | Irreducible quadratic in denominator |
| Goal | Split into polynomial + proper fraction | Rewrite quadratic as \(u^2 + a^2\) |
| Result | Power rule + simpler integral | \(\arctan\), \(\arcsin\), or \(\ln\) |
| Example trigger | \(\displaystyle\frac{x^3}{x+1}\) | \(\displaystyle\frac{1}{x^2+6x+13}\) |
Step-by-Step: Long Division
Step-by-Step: Completing the Square
Example 1: Long Division
\(x^2 + 1 = (x-1)\cdot(x+1) + 2\)
Example 2: Completing the Square
Example 3: Both Techniques Together
\(\displaystyle\frac{4x+8}{(x+2)^2+4} = \frac{4(x+2)}{(x+2)^2+4}\)
Decision Flowchart
Splitting the Numerator After Completing the Square
When the numerator has a linear term \(Ax + B\) over an irreducible quadratic, split it into two integrals:
Common Mistakes to Avoid
Summary of Techniques
| Integrand Form | Technique | Result Contains |
|---|---|---|
| \(\frac{x^n + \cdots}{x^m + \cdots}\), \(n \geq m\) | Long Division | Polynomial + proper fraction |
| \(\frac{1}{x^2 + bx + c}\) (irreducible) | Complete the Square | \(\arctan\) |
| \(\frac{1}{\sqrt{a^2 - (x+h)^2}}\) | Complete the Square | \(\arcsin\) |
| \(\frac{Ax+B}{x^2+bx+c}\) (irreducible) | CTS + Split Numerator | \(\ln + \arctan\) |
| \(\frac{x^3+1}{x^2+bx+c}\) | Long Div + CTS | Polynomial + \(\ln\) + \(\arctan\) |
Question 1 of 5
What is the first step to evaluate \(\displaystyle\int \frac{x^3 + 2x}{x^2 + 1}\,dx\)?
Question 2 of 5
What does \(x^2 + 4x + 13\) become after completing the square?
Question 3 of 5
Evaluate: \(\displaystyle\int \frac{dx}{x^2 + 4}\)
Question 4 of 5
After performing long division on \(\displaystyle\frac{x^2 + 3}{x + 2}\), the result is:
Question 5 of 5
To evaluate \(\displaystyle\int \frac{2x + 5}{x^2 + 4x + 8}\,dx\), after completing the square you should: