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$
Using Partial Fraction Decomposition
$$\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$$