Integrating using long division and completing the square
Rewrite rational integrands using division or a completed square, then find their antiderivatives.
It opens on
What antiderivative does rewriting reveal for ∫(x²+3)/(x+1)dx?
Why it matters
Algebra can reveal a familiar antiderivative when substitution is not immediately useful.
Good to know first
- Integrating using substitution: let u = g(x), then du = g′(x)dx, and ∫du/u = ln|u| + C
- finding real and complex zeros, Rational Root Theorem and division: divide leading terms, multiply back, subtract, repeat
Step by step
Divide first
Divide a top-heavy rational integrand and integrate the resulting terms.
In the long division of x²+3 by x+1, the first quotient term x gives x(x+1)=x²+x; subtract to get −x+3.
A common mix-up
∫f/g dx equals ∫f dx divided by ∫g dx.
In fact: Differentiate that ratio; it does not recover f/g.
Square bottom
Complete a quadratic denominator’s square and recognize when arctangent or substitution applies.
The denominator becomes the completed square x²+4x+13=(x+2)²−4+13=(x+2)²+9, a shift left 2.
A common mix-up
Every quadratic denominator calls for arctan.
In fact: a matching numerator instead makes the fraction a substitution problem.
Try it
∫(2x³+x)/(x²+1)dxAnswer
x²−½ln(x²+1)+C
Hint: Divide, then substitute in the remainder
∫1/(x²−6x+10)dxAnswer
Arctan(x−3)+C
Hint: The denominator is (x−3)²+1
Write the antiderivative after that division.Answer
x³/3−x²/2+x+2ln|x+1|+C
Write ∫(x+2)/(x²+4x+13)dx.Answer
½ln(x²+4x+13)+C
Integrating using long division and completing the square
30 minutes every month. No card.
