How do you find int (x^2) / (x^2 -3x +2) dxx2x23x+2dx 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 | + cx+8ln|x2|5ln|x1|+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^2x2).

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)x2x23x+2=x23x+2+3x2x23x+2

color(white)(xxxxxxxxx)= (x^2 - 3x + 2) / (x^2 - 3x + 2) + (3x-2) / (x^2 - 3x + 2)××××x=x23x+2x23x+2+3x2x23x+2

color(white)(xxxxxxxxx)= 1 + (3x+2) / (x^2 - 3x + 2)××××x=1+3x+2x23x+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)x23x+2=(x2)(x1)

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

3) Partial fraction decomposition

So, our goal is to find AA and BB so that

(3x+ 2) / ((x-2)(x-1)) = A / (x-2) + B / (x-1)3x+2(x2)(x1)=Ax2+Bx1

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

<=> 3x+2 = A * (x-1) + B * (x-2)3x+2=A(x1)+B(x2)
<=> color(blue)(3x) + color(red)(2) = color(blue)(A * x ) color(red)( " "- A) + color(blue)(B * x) color(red)(" "- 2B)3x+2=Ax A+Bx 2B

To find the solution of this equation, we need to "collect" the color(blue)(x)x terms and the color(red)("constant")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!