How do you integrate (x+4)/[(x+1)^2 + 4]x+4(x+1)2+4 using partial fractions?

1 Answer
Apr 18, 2018

int(x+4)/((x+1)^2+4)dx=lnsqrt[(x+1)^2+4]+3/2arctan((x+1)/2)+Cx+4(x+1)2+4dx=ln(x+1)2+4+32arctan(x+12)+C

Explanation:

There is no way to really perform partial fraction decomposition here; however, we may integrate using the following substitution:

u=x+1u=x+1
x=u-1x=u1
du=dxdu=dx

int(u-1+4)/(u^2+4)dx=int(u+3)/(u^2+4)duu1+4u2+4dx=u+3u2+4du

We may split this up as follows:

intu/(u^2+4)du+3int(du)/(u^2+4)uu2+4du+3duu2+4

intu/(u^2+4)du=1/2ln(u^2+4)uu2+4du=12ln(u2+4) -- this can be solved with a mental substitution, as the differential of u^2+4u2+4 shows up in the numerator with a bit of simplification. We do not attach absolute value bars as u^2+4u2+4 is always positive.

3int(du)/(u^2+4)=3/2arctan(u/2)3duu2+4=32arctan(u2).

This comes from the common integral, intdx/(x^2+a^2)=1/aarctan(x/a)dxx2+a2=1aarctan(xa). For our case, a=sqrt4=2a=4=2.

Thus, rewriting in terms of xx and simplifying the logarithm, we see

int(x+4)/((x+1)^2+4)dx=lnsqrt[(x+1)^2+4]+3/2arctan((x+1)/2)+Cx+4(x+1)2+4dx=ln(x+1)2+4+32arctan(x+12)+C