How do you find #int (x^2) / (x^2 -3x +2) dx# using partial fractions?

1 Answer
Nov 25, 2015

1) make sure that the degree of your denominator is greater than the degree of your numerator
2) factorize the denominator
3) perform the partial fraction decomposition
4) solve the integral!

Solution: #x + 8 ln |x-2| - 5 ln |x-1 | + c#

Explanation:

1) Check degrees of denominator and numerator

First of all, you can't immediately start building partial fractions since the degree of your numerator is equal to the degree of your denominator (the strongest power in both expressions is #x^2#).

However, the partial fraction decomposition will only work if the degree of the denominator is greater than the degree of the numerator.

If the expression was more complicated, normally, at this point, a polynomial division is in order. Here we can achieve the goal in an easier way:

#x^2 / (x^2 - 3x + 2) = (x^2 color(blue)(- 3x + 2) color(red)(+ 3x - 2)) / (x^2 - 3x + 2)#

# color(white)(xxxxxxxxx)= (x^2 - 3x + 2) / (x^2 - 3x + 2) + (3x-2) / (x^2 - 3x + 2)#

# color(white)(xxxxxxxxx)= 1 + (3x+2) / (x^2 - 3x + 2)#

So, now we can build the partial fractions decomposition of the latter fraction.

2) Complete factorization of the denominator

To do so, let's factorize the denominator completely first:

#x^2 - 3x + 2 = (x-2)(x-1)#

[You can do so by setting #x^2 - 3x + 2 = 0#, finding the solutions #x_1# and #x_2# and factorizing with #(x-x_1)(x-x_2)#.]

3) Partial fraction decomposition

So, our goal is to find #A# and #B# so that

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

First, multiply both sides of the equation with #(x-2)(x-1)#.

#<=> 3x+2 = A * (x-1) + B * (x-2)#
#<=> color(blue)(3x) + color(red)(2) = color(blue)(A * x ) color(red)( " "- A) + color(blue)(B * x) color(red)(" "- 2B)#

To find the solution of this equation, we need to "collect" the #color(blue)(x)# terms and the #color(red)("constant")# terms:

#{ (3 = A + B color(white)(xxxxxxx) color(blue)(x) " terms"), (2 = -A - 2B color(white)(xxxx) color(red)("constant")" terms") :}#

The solution of this linear equation is #B = -5# and #A = 8#.

So, our partial fraction decomposition is:

# (3x+ 2) / ((x-2)(x-1)) = 8 / (x-2) - 5 / (x-1)#

In total:

#x^2 / (x^2 - 3x + 2) = 1 + (3x+2) / (x^2 - 3x + 2) = 1 + 8 / (x-2) - 5 / (x-1)#

4) Solving the integral

The last thing left to do is solve the integral!

#int x^2 / (x^2 - 3x + 2) "d" x = int (1 + 8 / (x-2) - 5 / (x-1)) "d"x#

#color(white)(xxxxxxxxxxxx) = int 1 "d"x + int 8/(x-2) "d" x - int 5/(x-1) "d" x #

#color(white)(xxxxxxxxxxxx) = x + 8 ln |x-2| - 5 ln |x-1 | + c #

Hope that this helped!