Integration Techniques:
Long Division & Completing the Square
Master two powerful algebraic tools that transform difficult rational integrands into forms you can integrate directly.
Why Do We Need Algebraic Manipulation?
Not every integral fits a basic formula. When you encounter a rational function where the degree of the numerator is greater than or equal to the degree of the denominator, or a quadratic in the denominator that isn't a perfect square, standard rules fail. You need to rewrite the integrand first.
Two Essential Techniques
Decision Flowchart
The Long Division Rule
After dividing, integrate term by term:
The Completing the Square Rule
This transforms denominators into forms matching these standard integrals:
Long Division vs. Completing the Square
| Long Division | Completing the Square | |
|---|---|---|
| Trigger | \(\deg(\text{num}) \geq \deg(\text{den})\) | Irreducible quadratic in denominator |
| Goal | Reduce to proper fraction | Match \(\arctan\)/\(\arcsin\) form |
| Output | Polynomial + remainder fraction | \((u \pm h)^2 + k^2\) form |
| Common results | \(\ln|x|\), power rule | \(\arctan\), \(\arcsin\) |
Step-by-Step: Long Division
Step-by-Step: Completing the Square
Example 1: Long Division
Example 2: Cubic Over Linear
Performing long division of \(x^3 \div (x-2)\):
Example 3: Completing the Square
Example 4: Numerator Adjustment
Example 5: Both Techniques Combined
Common Mistakes
Summary of Integration Strategies
| Integrand Form | Technique | Result Pattern |
|---|---|---|
| \(\frac{x^3+\cdots}{x+a}\) | Long Division | Polynomial + \(\ln|x+a|\) |
| \(\frac{1}{x^2+bx+c}\) | Complete the Square | \(\frac{1}{a}\arctan\frac{u}{a}\) |
| \(\frac{1}{\sqrt{c-x^2-bx}}\) | Complete the Square | \(\arcsin\frac{u}{a}\) |
| \(\frac{x^2+\cdots}{x^2+bx+c}\) | Both: Divide then CTS | Mixed: polynomial + \(\ln\) + \(\arctan\) |
Question 1 of 5
What is the first step to evaluate \(\displaystyle\int \frac{x^2 + 5}{x - 1}\,dx\)?
Question 2 of 5
Completing the square on \(x^2 + 8x + 20\) gives:
Question 3 of 5
Evaluate \(\displaystyle\int \frac{x^2}{x + 3}\,dx\).
Question 4 of 5
What is \(\displaystyle\int \frac{dx}{x^2 + 2x + 5}\)?
Question 5 of 5
To evaluate \(\displaystyle\int \frac{x^2 + x + 1}{x^2 + 4}\,dx\), what should you do first?