Partial fraction of integral giving no solution.

calculusintegrationpartial fractions

The below integral is to be integrated using partial fraction decomposition
$$\int \frac{3x + 5}{(x-1)^2(x+1)} \, dx$$
I tried to form a partial fraction in the following manner and ended up getting a system of two equations with no solution.
$$ \frac{3x+5}{(x-1)^2(x+1)} = \frac{A}{(x-1)^2} + \frac{B}{x+1}$$
On checking the solution given in my school textbook I found out that the correct expression for partial fraction is:
$$ \frac{3x+5}{(x-1)^2(x+1)} = \frac{A}{(x-1)^2} + \frac{B}{x+1} + \frac{C}{x-1}$$
I don't understand why the first partial fraction expression doesn't give me any solutions while the second does. I would like to know what the difference between the two partial fraction expressions are and why is it that the second way works fine.

Best Answer

Let us try to understand the situation by using example.

If we add up $\frac{1}{x-1}$, $\frac{1}{(x-1)^2}$ and $\frac{1}{x+1}$, we will get $\frac{2x^2-2x+1}{(x-1)^2(x+1)}$.

That is

$$\frac{1}{x-1}+\frac{1}{(x-1)^2}+\frac{1}{x+1}=\frac{2x^2-2x+1}{(x-1)^2(x+1)}.$$

The task of partial fraction is to start from $$\frac{2x^2-2x+1}{(x-1)^2(x+1)}$$ and try to get back

$$\frac{1}{x-1}+\frac{1}{(x-1)^2}+\frac{1}{x+1}$$

Obviously we can never come to $\frac{1}{x-1}+\frac{1}{(x-1)^2}+\frac{1}{x+1}$ by assuming that the answer is of the form $\frac{A}{(x-1)^2}+\frac{B}{x+1}.$

The whole idea is to let $$\frac{2x^2-2x+1}{(x-1)^2(x+1)}=\frac{P(x)}{(x-1)^2}+\frac{Q(x)}{x+1}$$ where $\deg P(x) \lt \deg (x-1)^2$ and $\deg Q(x) \lt \deg (x+1).$

Thus $P(x)=Ax+B$ and $Q(x)=C$ for some constants $A, B$ and $C$.

Hence we have $$\frac{2x^2-2x+1}{(x-1)^2(x+1)}=\frac{Ax+B}{(x-1)^2}+\frac{C}{x+1}.$$

Since $Ax+B=A(x-1)+(A+B)$, we have $$\frac{2x^2-2x+1}{(x-1)^2(x+1)}=\frac{A(x-1)+A+B}{(x-1)^2}+\frac{C}{x+1}$$ i.e. $$\frac{2x^2-2x+1}{(x-1)^2(x+1)}=\frac{A}{x-1}+\frac{B'}{(x-1)^2}+\frac{C}{x+1}$$ where $B'=A+B.$

Related Question