How do you integrate #(3x+5)/(x^2+4x+13)# using partial fractions?

1 Answer
Jun 14, 2017

You can't...

but the integral is #3/2ln(x^2+4x+13) - 1/3 arctan((x+2)/3) + C#

Explanation:

This integral cannot be solved with partial fractions, since the bottom polynomial cannot be factored. However, we can use the definition of the derivative of arctan(x) to solve this integral.

Let's first re-write the integral like this:

#int(3x+5)/(x^2+4x+13)dx = int(3x+6-1)/(x^2+4x+13)dx#

#=int(3x+6)/(x^2+4x+13)dx - int1/((x+2)^2+9)dx#

#= 3/2int(2x+4)/(x^2+4x+13)dx - int1/((x+2)^2+9)dx#

For the first integral, we can use the substitution:

#u = x^2+4x+13 -> du = (2x+4)dx#

#therefore int(2x+4)/(x^2+4x+13)dx = int(du)/u = ln|u| = ln|x^2+4x+13|#

For the second integral, we use the definition of the derivative of arctangent:

#intdx/(x^2+1) = arctan(x)#

And we also use this substitution:

#v = (x+2)/3 -> dv = 1/3dx -> dx = 3dv#

So now we get:

#int1/((x+2)^2+9)dx = int1/((3v)^2 + 9)*3dv = int1/(9v^2+9)*3dv#

#= 1/9 * 3 * int(dv)/(v^2+1) = 1/3 arctan(v) = 1/3 arctan((x+2)/3)#

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Therefore, the complete integral becomes:

#3/2int(2x+4)/(x^2+4x+13)dx - int1/((x+2)^2+9)dx#

#= 3/2ln|x^2+4x+13| - 1/3 arctan((x+2)/3) + C#

As a final adjustment, we can also get rid of the absolute value signs around #x^2+4x+13#, since it is always positive for #x in RR#.

#3/2ln(x^2+4x+13) - 1/3 arctan((x+2)/3) + C#

Final Answer