How do you integrate #(3x-2)/(x^3+x^2-x-1)# using partial fractions?
1 Answer
Let's first determine a factorisation for
The partial fraction decomposition will be of the form
#A/(x - 1) + (Bx + C)/(x + 1)^2 = (3x - 2)/((x + 1)^2(x - 1))#
#A(x + 1)^2 + (Bx + C)(x - 1) = 3x - 2#
#A(x^2 + 2x + 1) + Bx^2 + Cx - Bx - C = 3x - 2#
#Ax^2 + 2Ax + A + Bx^2 + Cx - Bx -C = 3x - 2#
#(A + B)x^2 + (2A - B + C)x + (A - C) = 3x - 2#
We now get the system of equations
Solve to get
#2A -(-A) + A +2 = 3#
#A = 1/4#
#B = -1/4#
#C = 9/4#
The integral becomes
#int 1/(4(x - 1)) - (1/4x -9/4)/(x + 1)^2 dx#
#int 5/(4(x - 1))dx - int (x - 9)/(4(x + 1)^2)dx#
We can rewrite
This can be integrated as
The other part of the integral is equal to
#1/4ln|x - 1| - 1/4ln|x + 1| - 5/(2(x + 1))+ C#
By laws of logarithms, we have
Hopefully this helps!