\(I=\int\dfrac{x}{1-cos2x}dx=\int\dfrac{x}{2sin^2x}dx\)
Đặt \(\left\{{}\begin{matrix}u=\dfrac{x}{2}\\dv=\dfrac{1}{sin^2x}dx\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}du=\dfrac{dx}{2}\\v=-cotx\end{matrix}\right.\)
\(\Rightarrow I=\dfrac{-x.cotx}{2}+\dfrac{1}{2}\int cotxdx=\dfrac{-x.cotx}{2}+\dfrac{1}{2}\int\dfrac{cosx.dx}{sinx}\)
\(=\dfrac{-x.cotx}{2}+\dfrac{1}{2}\int\dfrac{d\left(sinx\right)}{sinx}=\dfrac{-x.cotx}{2}+\dfrac{1}{2}ln\left|sinx\right|+C\)
2/ Câu 2 bữa trước làm rồi, bạn coi lại nhé
3/ \(I=\int\left(2x+1\right)ln^2xdx\)
Đặt \(\left\{{}\begin{matrix}u=ln^2x\\dv=\left(2x+1\right)dx\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}du=\dfrac{2lnx}{x}dx\\v=x^2+x\end{matrix}\right.\)
\(\Rightarrow I=\left(x^2+x\right)ln^2x-\int\left(2x+2\right)lnxdx=\left(x^2+x\right)ln^2x-I_1\)
\(I_1=\int\left(2x+2\right)lnx.dx\) \(\Rightarrow\left\{{}\begin{matrix}u=lnx\\dv=\left(2x+2\right)dx\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}du=\dfrac{dx}{x}\\v=x^2+2x\end{matrix}\right.\)
\(\Rightarrow I_1=\left(x^2+2x\right)lnx-\int\left(x+2\right)dx=\left(x^2+2x\right)ln-\dfrac{x^2}{2}+2x+C\)
\(\Rightarrow I=\left(x^2+x\right)ln^2x-\left(x^2+2x\right)lnx+\dfrac{x^2}{2}-2x+C\)
4/ \(I=\int\left(2x-1\right)cosx.dx\) \(\Rightarrow\left\{{}\begin{matrix}u=2x-1\\dv=cosx.dx\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}du=2dx\\v=sinx\end{matrix}\right.\)
\(\Rightarrow I=\left(2x-1\right)sinx-2\int sinx.dx=\left(2x-1\right)sinx+2cosx+C\)
5/ \(I=\int\left(x^2+x+1\right)e^xdx\) \(\Rightarrow\left\{{}\begin{matrix}u=x^2+x+1\\dv=e^xdx\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}du=\left(2x+1\right)dx\\v=e^x\end{matrix}\right.\)
\(\Rightarrow I=\left(x^2+x+1\right)e^x-\int\left(2x+1\right)e^xdx\)
\(I_1=\int\left(2x+1\right)e^xdx\) \(\Rightarrow\left\{{}\begin{matrix}u=2x+1\\dv=e^xdx\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}du=2dx\\v=e^x\end{matrix}\right.\)
\(\Rightarrow I_1=\left(2x+1\right)e^x-2\int e^xdx=\left(2x+1\right)e^x-2e^x+C=\left(2x-1\right)e^x+C\)
\(\Rightarrow I=\left(x^2+x+1\right)e^x-\left(2x-1\right)e^x+C=\left(x^2-x+2\right)e^x+C\)
6/ \(I=\int\left(2x+1\right).ln\left(x+2\right)dx\)
\(\Rightarrow\left\{{}\begin{matrix}u=ln\left(x+2\right)\\dv=\left(2x+1\right)dx\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}du=\dfrac{dx}{x+2}\\v=x^2+x\end{matrix}\right.\)
\(\Rightarrow I=\left(x^2+x\right)ln\left(x+2\right)-\int\dfrac{x^2+x}{x+2}dx\)
\(=\left(x^2+x\right)ln\left(x+2\right)-\int\left(x-1+\dfrac{2}{x+2}\right)dx\)
\(I=\left(x^2+x\right)ln\left(x+2\right)-\dfrac{x^2}{2}+x-2ln\left|x+2\right|+C\)