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

2 Answers
Apr 8, 2018

The answer is #=x^2/2+8x+51ln(|x-5|)-7ln(|x-3|)+C#

Explanation:

Perform a polynomial division first

#(x^3-5x+2)/(x^2-8x+15)=(x+8)+(44x-118)/((x-5)(x-3))#

Perform the decomposition into partial fractions

#(44x-118)/((x-5)(x-3))=A/(x-5)+B/(x-3)#

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

The denominators are the same, compare the numerators

#44x-118=(A(x-3)+B(x-5))#

Let #x=5#, #=>#, #102=2A#, #=>#, #A=51#

Let #x=3#, #=>#, #14=-2B#, #=>#, #B=-7#

Therefore,

#(44x-118)/((x-5)(x-3))=51/(x-5)-7/(x-3)#

and

#(x^3-5x+2)/(x^2-8x+15)=(x+8)+51/(x-5)-7/(x-3)#

#int((x^3-5x+2)dx)/(x^2-8x+15)=int(x+8)dx+int(51dx)/(x-5)-int(7dx)/(x-3)#

#=x^2/2+8x+51ln(|x-5|)-7ln(|x-3|)+C#

Apr 8, 2018

# 1/2x^2+8x+22ln|(x^2-8x+15)|+29ln|(x-5)/(x-3)|+C.#

Explanation:

Observe that the integrand is an improper rational function,

i.e., the degree of the Nr. poly. is more than that of the Dr.

So, first of all we will have to make it proper. Usually, the

long division is performed, but, let us proceed as under :

#x^3-5x+2=color(red)(x)(x^2color(red)(-8x+15))+color(red)(8x^2-15x)-5x+2#,

#=x(x^2-8x+15)+8x^2-20x+2#,

#=x(x^2-8x+15)+8(x^2-8x+15)+64x-120-20x+2#,

#:.x^3-5x+2 =(x+8)(x^2-8x+15)+44x-118#.

#:. (x^3-5x+2)/(x^2-8x+15)=(x+8)+(44x-118)/(x^2-8x+15)#.

Since, #d/dx(x^2-8x+15)=2x-8#, we write,

#(44x-118)=22(2x-8)+176-118=22(2x-8)+58#.

#:. int(x^3-5x+2)/(x^2-8x+15)dx#,

#=int[(x+8)+{22d/dx(x^2-8x+15)+58}/(x^2-8x+15)]dx#,

#=1/2x^2+8x+22int(d/dx(x^2-8x+15))/(x^2-8x+15)dx#

#+58int1/{(x-4)^2-1}dx#,

#=1/2x^2+8x+22ln|(x^2-8x+15)|+58*1/2ln|{(x-4)-1}/{(x-4)+1}|#

#=1/2x^2+8x+22ln|(x^2-8x+15)|+29ln|(x-5)/(x-3)|+C.#

Enjoy Maths.!

N.B. : It will be an interesting exercise for the

Questioner to verify that this Answer is the

same as the one submitted by Respected Narad T.!