Tính các tích phân sau :
a) \(\int\limits^{\dfrac{\pi}{4}}_0\cos2x.\cos^2xdx\)
b) \(\int\limits^1_{\dfrac{1}{2}}\dfrac{e^x}{e^{2x}-1}dx\)
c) \(\int\limits^1_0\dfrac{x+2}{x^2+2x+1}\ln\left(x+1\right)dx\)
d) \(\int\limits^{\dfrac{\pi}{4}}_0\dfrac{x\sin x+\left(x+1\right)\cos x}{x\sin x+\cos x}dx\)
a)
Ta có \(A=\int ^{\frac{\pi}{4}}_{0}\cos 2x\cos^2xdx=\frac{1}{4}\int ^{\frac{\pi}{4}}_{0}\cos 2x(\cos 2x+1)d(2x)\)
\(\Leftrightarrow A=\frac{1}{4}\int ^{\frac{\pi}{2}}_{0}\cos x(\cos x+1)dx=\frac{1}{4}\int ^{\frac{\pi}{2}}_{0}\cos xdx+\frac{1}{8}\int ^{\frac{\pi}{2}}_{0}(\cos 2x+1)dx\)
\(\Leftrightarrow A=\frac{1}{4}\left.\begin{matrix} \frac{\pi}{2}\\ 0\end{matrix}\right|\sin x+\frac{1}{16}\left.\begin{matrix} \frac{\pi}{2}\\ 0\end{matrix}\right|\sin 2x+\frac{1}{8}\left.\begin{matrix} \frac{\pi}{2}\\ 0\end{matrix}\right|x=\frac{1}{4}+\frac{\pi}{16}\)
b)
\(B=\int ^{1}_{\frac{1}{2}}\frac{e^x}{e^{2x}-1}dx=\frac{1}{2}\int ^{1}_{\frac{1}{2}}\left ( \frac{1}{e^x-1}-\frac{1}{e^x+1} \right )d(e^x)\)
\(\Leftrightarrow B=\frac{1}{2}\left.\begin{matrix} 1\\ \frac{1}{2}\end{matrix}\right|\left | \frac{e^x-1}{e^x+1} \right |\approx 0.317\)
c)
Có \(C=\int ^{1}_{0}\frac{(x+2)\ln(x+1)}{(x+1)^2}d(x+1)\).
Đặt \(x+1=t\)
\(\Rightarrow C=\int ^{2}_{1}\frac{(t+1)\ln t}{t^2}dt=\int ^{2}_{1}\frac{\ln t}{t}dt+\int ^{2}_{1}\frac{\ln t}{t^2}dt\)
\(=\int ^{2}_{1}\ln td(\ln t)+\int ^{2}_{1}\frac{\ln t}{t^2}dt=\frac{\ln ^22}{2}+\int ^{2}_{1}\frac{\ln t}{t^2}dt\)
Đặt \(\left\{\begin{matrix} u=\ln t\\ dv=\frac{dt}{t^2}\end{matrix}\right.\Rightarrow \left\{\begin{matrix} du=\frac{dt}{t}\\ v=\frac{-1}{t}\end{matrix}\right.\Rightarrow \int ^{2}_{1}\frac{\ln t}{t^2}dt=\left.\begin{matrix} 2\\ 1\end{matrix}\right|-\frac{\ln t+1}{t}=\frac{1}{2}-\frac{\ln 2 }{2}\)
\(\Rightarrow C=\frac{1}{2}-\frac{\ln 2}{2}+\frac{\ln ^22}{2}\)