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

1 Answer
Jun 13, 2017

#int(5x-3)/((x-2)(x-3)^2)=7ln|x-2|-7ln|x-3|-12/(x-3)+c#

Explanation:

Okay, this is long and I have left out lots of information. But hopefully it gives an idea of the process.
Partial fractions involves decomposing a simplified fraction back to its constituent parts. We want to split a single fraction into multiple, simpler fractions. That way we can integrate the parts separately and more easily.
We look at the terms in the denominator to see how many fractions we will end up with.
An (ax+b) term turns into an #A/(ax+b)# term,
and an
#(ax+b)^2# term turns into two terms:
#B/(ax+b)+C/(ax+b)^2#

So, our fraction will be broken up into three fractions with denominators that we know. Furthermore, we will have three unknown numerators, which we will call A, B &C. We need to solve for these.
So, following the rules just specified, we now have an equality that looks like this:

#(5x-3)/((x-2)(x-3)^2)=A/(x-2)+B/(x-3)+C/(x-3)^2#

The next step is to get rid of the denominators by multiplying both sides by #(x-2)(x-3)^2#:

#((5x-3)(x-2)(x-3)^2)/((x-2)(x-3)^2)#

#=(A(x-2)(x-3)^2)/(x-2)+(B(x-2)(x-3)^2)/(x-3)+(C(x-2)(x-3)^2)/(x-3)^2#

After cancelling out, we are left with this:

#5x-3=A(x-3)^2+B(x-2)(x-3)+C(x-2)#

Expand the right hand side, group all the like-terms together and factororise:

#5x-3=A(x^2-6x+9)+B(x^2-5x+6)+Cx-2C#

#0x^2+5x-3=Ax^2+Bx^2-6Ax-5Bx+Cx+9A+6B-2C#

#0x^2+5x-3=x^2(A+B)+x(-6A-5B+C)+(9A+6B-2C)#

Equate the coefficients of each term to solve. I won't show working for this part, but use substitution:

#0=A+B# #rArrB=-A#
#5=-6A-5B+C# #rArr5=-6A-5(-A)+C#
#-3=9A+6B-2C#

#A=7#
#B=-7#
#C=12#

Finally, our decomposed expression is:

#A/(x-2)+B/(x-3)+C/(x-3)^2=7/(x-2)-7/(x-3)+12/((x-3)^2)#

Now integrate each term using substitution. Treat the #(du)/dx# operator just like an algebraic term and you can find an easier expression to integrate. E.g.
#int7/(x-2)dx#
Let #u=x-2# #rArr(du)/(dx)=1##rArrdu=1*dx#

Now we can see #1*dx# in the integral so replace it with #du#, then we can integrate!

#int7/(x-2)=7int1/udx=7int1/u*1*dx=7int1/udu#

#7int1/udu=7ln|u|=7ln|x-2|#

Same process for the second term:
#int(-7)/(x-3)=-7int1/udu=-7ln|x-3|#

Same method for the third term:
#int12/((x-3)^2)=12int1/u^2du=12intu^-2du=-12u^-1=-12/(x-3)#

So finaaallly:

#int(5x-3)/((x-2)(x-3)^2)=int7/(x-2)+int(-7)/(x-3)+int12/((x-3)^2)#

#=7ln|x-2|-7ln|x-3|-12/(x-3)+c#