How do you integrate int (5x²-2x-1)/( (x+1)(x²+1)) using partial fractions?
1 Answer
Explanation:
Split the fraction up.
(5x^2-2x-1)/((x+1)(x^2+1))=A/(x+1)+(Bx+C)/(x^2+1)
Which becomes
5x^2-2x-1=A(x^2+1)+(Bx+C)(x+1)
5x^2-2x-1=Ax^2+A+Bx^2+Bx+Cx+C
5x^2-2x-1=x^2(A+B)+x(B+C)+A+C
Giving the system:
{(A+B=5),(B+C=-2),(A+C=-1):}
Subtract the last from the middle to see that
Substitute this to see that
This gives the partial fraction decomposition of
(5x^2-2x-1)/((x+1)(x^2+1))=3/(x+1)+(2x-4)/(x^2+1)
So, we now want to find
int3/(x-1)dx+int(2x-4)/(x^2+1)dx
The first integral is simple:
=3lnabs(x-1)+int(2x-4)/(x^2+1)dx
In the second, you should realize the
=3lnabs(x-1)+int(2x)/(x^2+1)dx-int4/(x^2+1)dx
We can now deal with the
=3lnabs(x-1)+ln(x^2+1)-int4/(x^2+1)dx
Recall that the absolute value signs aren't necessary since
To deal with
=3lnabs(x-1)+ln(x^2+1)-4arctan(x)+C