How do you integrate #int9/((x^2+9)(x+3)(x-3)) dx# using partial fractions?
1 Answer
Explanation:
Your partial fraction decomposition can be computed as follows:
Find
#9 / ((x^2+9)(x+3)(x-3)) = (Ax + B)/(x^2+9) + C / (x+3) + D / (x-3)#
====================================
To solve this equation for
#9 = (Ax + B)(x+3)(x-3) + C(x^2+9)(x-3) + D(x^2+9)(x+3)#
... expand the terms...
#9 = (Ax + B) (x^2 -9) + C (x^3 - 3x^2 + 9x - 27) + D(x^3 + 3x^2 + 9x + 27)#
#9 = Ax^3 + Bx^2 -9Ax - 9B + Cx^3 - 3Cx^2 + 9Cx - 27C + Dx^3 + 3Dx^2 + 9Dx + 27D#
... sort the
#color(red)(0 * x^3) + color(blue)(0 * x^2) + color(violet)(0 *x) + color(green)(9) = color(red)(Ax^3) + color(blue)(Bx^2) color(violet)(- 9Ax) color(green)(- 9B) + color(red)(Cx^3) color(blue)(- 3Cx^2) + color(violet)(9Cx) color(green)(- 27C) + color(red)(Dx^3) + color(blue)(3Dx^2) + color(violet)(9Dx) + color(green)(27D)#
====================================
This equation can only hold if all the
Thus, it can be split up into
# { ( (I) color(white)(xxx) 0 = color(white)(xx) A color(white)(xxxxxxi) + C color(white)(xxi)+ D color(white)(xxxxxxxx) color(red)(x^3) " terms" ), ( (II) color(white)(xx) 0 = color(white)(xxxxxx)B color(white)(xx)- 3C color(white)(xx) + 3D color(white)(xxxxxxiii) color(blue)(x^2) " terms" ), ( (III) color(white)(xii) 0 = -9A color(white)(xxxxxii) + 9C color(white)(xx)+ 9D color(white)(xxxxxxiii) color(violet)(x) " terms" ), ( (IV) color(white)(xx) 9 = color(white)(xxxx)-9B color(white)(x) -27C color(white)(x)+ 27D color(white)(xxx) color(green)("without " x )" terms") :}#
First of all, let's divide the equations
# { ( (I) color(white)(xxx) 0 = color(white)(xx) A color(white)(xxxxxxi) + C color(white)(xxi)+ D ), ( (II) color(white)(xx) 0 = color(white)(xxxxxx)B color(white)(xx)- 3C color(white)(xx) + 3D), ( (III) color(white)(xii) 0 = -A color(white)(xxxxxxi) + C color(white)(xxi)+ D), ( (IV) color(white)(xx) 1 = color(white)(xxxx)-B color(white)(xx) -3C color(white)(xx)+ 3D) :}#
#0 = 2A " "=>" " A = 0#
#-1 = 2B " "=>" " B = - 1 / 2#
Inserting
#{ ( (I') color(white)(xxx) 0 = color(white)(xx) C + D), ( (II') color(white)(xx) 1/2 = -3C + 3D):}#
From
#1/2 = 3D + 3D " " => " " D = 1/12#
and finally,
====================================
Now that we have found
# int 9 / ((x^2+9)(x+3)(x-3)) "d" x #
# = int (-1/2 * 1 / (x^2 +9) - 1/12 * 1/(x+3) + 1/12 * 1 /(x-3)) "d"x #
# = -1/2 int 1 / (x^2 +9) "d"x - 1/12 int 1/(x+3) "d"x + 1/12 int 1 /(x-3) "d"x #
Now, you need to compute three easier integrals instead of one complicated one.
====================================
Since
#(arctan x)' = 1 / (x^2+1)# ,
we know that
#[1/3 arctan (x/3)] ' = 1/3 * 1 /((x/3)^2 + 1) = 1/(3 (x^2/9 + 3)) = 1 / (x^2 + 9)# .
Also, we know that
#(ln abs(x+1))' = 1 / (x+1)#
Thus, we can solve the integral as follows:
# int 9 / ((x^2+9)(x+3)(x-3)) "d" x #
# = -1/2 int 1 / (x^2 +9) "d"x - 1/12 int 1/(x+3) "d"x + 1/12 int 1 /(x-3) "d"x #
# = - 1 /2 * 1 / 3 * arctan(x/3) - 1/12 ln abs(x+3) + 1/12 ln abs(x-3) + c#
# = - 1 /6 arctan(x/3) - 1/12 ln abs(x+3) + 1/12 ln abs(x-3) + c#