\(\int\dfrac{xe^x}{\left(x+1\right)^2}dx\)
\(=\int e^x.\dfrac{\left(x+1\right)-1}{\left(x+1\right)^2}dx=\int e^x.[\dfrac{1}{x+1}-\dfrac{1}{\left(x+1\right)^2}]dx\)
\(=\int\dfrac{e^x}{x+1}dx-\int\dfrac{e^x}{\left(x+1\right)^2}dx=\dfrac{1}{x+1}e^x+\int\dfrac{e^x}{\left(x+1\right)^2}dx-\int\dfrac{e^x}{\left(x+1\right)^2}dx\)
\(=\dfrac{e^x}{x+1}+C\)
Ko chac :v
\(I=\int\dfrac{x.e^x}{\left(x+1\right)^2}dx\)
Đặt \(\left\{{}\begin{matrix}u=xe^x\\dv=\dfrac{1}{\left(x+1\right)^2}dx\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}du=e^x\left(x+1\right)dx\\v=-\dfrac{1}{x+1}\end{matrix}\right.\)
\(I=\dfrac{-xe^x}{x+1}+\int e^xdx=\dfrac{-xe^x}{x+1}+e^x+C=\dfrac{e^x}{x+1}+C\)