Indefinite Integral - 2: Methods of Integration · Question 42 of 119
Evaluate: x+7/x²+4x+7 ,dx
Question 423 marksMedium
Evaluate:
∫x2+4x+7x+7dx
Solution:
Key idea: For ∫ax2+bx+cpx+qdx we write the numerator as a multiple of the derivative of the denominator plus a constant. The first part gives a logarithm; for the second part we complete the square and use ∫u2+a2du=a1tan−1au+C.
Step 1 — Split the numerator.
The derivative of the denominator is 2x+4.
dxd(x2+4x+7)=2x+4
We write x+7 as half of 2x+4 plus the constant that is left over.
x+7=21(2x+4)+5
So the integral splits into two parts.
I=21∫x2+4x+72x+4dx+5∫x2+4x+7dx
Step 2 — First integral.
We put the denominator equal to t.
t=x2+4x+7
Differentiating both sides gives the numerator times dx.
dt=(2x+4)dx
So the first part is half of ∫tdt. No modulus is needed because x2+4x+7=(x+2)2+3>0.
21∫tdt=21log(x2+4x+7)
Step 3 — Complete the square.
We add and subtract 4, the square of half the coefficient of x.
x2+4x+7=(x+2)2+3
(x+2)2+3=(x+2)2+(3)2
Step 4 — Second integral.
We put u=x+2, so du=dx, and use the standard form with a=3.
5∫u2+(3)2du=35tan−13u
We put back u=x+2.
35tan−13u=35tan−1(3x+2)
Step 5 — Add the two parts.
We add Steps 2 and 4 and one constant of integration C.
I=21log(x2+4x+7)+35tan−1(3x+2)+C
Note: The answer printed in the book has 3x+3 inside the inverse tangent. This is a misprint: completing the square gives (x+2)2+3, so the correct argument is 3x+2.