38) \(I=\int\limits_{\pi/2}^{2\pi/3} \frac{2dx}{2\sin x-\cos x+1}=\int\limits_{\pi/2}^{2\pi/3} \frac{2dx}{4\sin\frac{x}{2}\cos\frac{x}{2}+2\sin^2\frac{x}{2}}=\int\limits_{\pi/2}^{2\pi/3}\frac{dx}{\cos^2\frac{x}{2}(2\tan\frac{x}{2}+\tan^2\frac{x}{2})}\)
Đặt \(t=\tan\frac{x}{2}\Rightarrow dt=\frac{dx}{2\cos^2 \frac{x}{2}}\) và \(x=\frac{\pi}{2}\Rightarrow t=1,x=\frac{2\pi}{3}\Rightarrow t=\sqrt{3}.\)
Vậy \(I=\int\limits_1^{\sqrt{3}} \frac{2dt}{2t+t^2}=\int\limits_1^{\sqrt{3}} (\frac{1}{t}-\frac{1}{t+2})=(\ln |t|-\ln|t+2|)\Big|_1^{\sqrt{3}}=\frac{3}{2}\ln 3-\ln(2+\sqrt{3})\)
39) \(I=\int\limits_{\pi/6}^{\pi/3} \frac{\tan xdx}{\cos^2 x(1-\tan x)}\)
Đặt \(t=\tan x\Rightarrow dt=\frac{dx}{\cos^2 x}\) và \(x=\frac{\pi}{6}\Rightarrow t=\frac{1}{\sqrt{3}},x=\frac{\pi}{3}\Rightarrow t=\sqrt{3}.\)
Vậy \(I=\int\limits_{1/\sqrt{3}}^{\sqrt{3}}\frac{tdt}{1-t}==\int\limits_{1/\sqrt{3}}^{\sqrt{3}}(\frac{1}{1-t}-1)dt=(-\ln|1-t|-t)\Big|_{1/\sqrt{3}}^{\sqrt{3}}\)
