\(\frac{3x+1}{\left(x+1\right)^3}=\frac{a}{\left(x+1\right)^3}+\frac{b\left(x+1\right)}{\left(x+1\right)^3}\)
\(\Leftrightarrow\frac{3x+1}{\left(x+1\right)^3}=\frac{bx+a+b}{\left(x+1\right)^3}\)
Đồng nhất 2 vế ta được: \(\left\{{}\begin{matrix}b=3\\a+b=1\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}a=-2\\b=3\end{matrix}\right.\)