# Problems solving partial fraction

I have a problem with partial decomposition, I got the next function and should integrate the function so it would be easier to split it in two terms. But I have no idea to start this decomposition due to the unknown a.

$\frac{1}{(x+a)(x+1)}$ with $a>0$

$$\frac1{(x+a)(x+1)}=\frac A{x+a}+\frac B{x+1}$$

Multiplying eithersides by $(x+a)(x+1),$ we get $$1=A(x+1)+B(x+a)=x(A+B)+A+Ba$$

Now compare the constants & the coefficients of $x$

As $x+a-(x+1)=a-1$

by observation $$\frac1{(x+a)(x+1)}=\frac1{a-1}\left(\frac{(x+a)-(x+1)}{(x+a)(x+1)}\right)=\cdots$$

• I know, but I have problems to find the A and B – user2239704 Jan 12 '14 at 16:19
• @user2239704, please find the edited version – lab bhattacharjee Jan 12 '14 at 16:23
• With this solution its almost more difficult to get the integral of the solution.. – user2239704 Jan 12 '14 at 16:27
• @user2239704, do you mean "Integration"? Then do you know what is $$\int\frac A{x+a}dx$$ – lab bhattacharjee Jan 12 '14 at 16:29
• I think it is A*ln(x+a) – user2239704 Jan 12 '14 at 16:32

First Write $\frac{C}{x+a}+\frac{D}{x+1}$ and then solve

$(C+D)x+(C+Da)=1$

$C+D=0$ and $C+aD=1$

• yes but I do not found the C and D for this problem.. I know D = (1-C)/a but I cannot go further – user2239704 Jan 12 '14 at 16:24
• $D=-C$ so $C(1-a)=1$ which implies that $C=\frac{1}{1-a}$ and $D=\frac{-1}{1-a}$ So in the end you get $\frac{1}{(x+a)(x+1)}=\frac{1}{1-a}(\frac{1}{x+a}-\frac{1}{x+1})$ – b00n heT Jan 12 '14 at 16:26

Hint $\$ By Heaviside $\ \dfrac1{(\color{#c00}{x\!-\!a})(\color{#0a0}{x\!-\!b})}=\dfrac A{x-a}+\dfrac B{x-b}\$ $\Rightarrow$ $\,\ A = \dfrac{1}{a\color{#0a0}{-b}},\ B =\dfrac{1}{b\color{#c00}{-a}} = -A$

Remark $\$ It deserves to be better known that the Heaviside cover-up method can be generalized to handle nonlinear denominators.