Question Number 42628 by prof Abdo imad last updated on 29/Aug/18
$${calculate}\:\:{I}\:\:=\:\int_{\frac{\pi}{\mathrm{3}}} ^{\frac{\pi}{\mathrm{2}}} \:\:\:\:\:\frac{{cos}\left(\mathrm{2}{x}\right)}{{sin}\left({x}\right)+{cosx}}{dx}\:{and} \\ $$$${J}\:=\int_{\frac{\pi}{\mathrm{3}}} ^{\frac{\pi}{\mathrm{2}}} \:\:\:\frac{{sin}\left(\mathrm{2}{x}\right)}{{sin}\left({x}\right)\:+{cos}\left({x}\right)}{dx} \\ $$
Commented by maxmathsup by imad last updated on 30/Aug/18
$${we}\:{have}\:{I}\:=\:\int_{\frac{\pi}{\mathrm{3}}} ^{\frac{\pi}{\mathrm{2}}} \:\:\:\:\:\frac{{cos}\left(\mathrm{2}{x}\right)}{\:\sqrt{\mathrm{2}}{cos}\left({x}−\frac{\pi}{\mathrm{4}}\right)}{dx}\:\:\:{changement}\:{x}−\frac{\pi}{\mathrm{4}}\:={t}\:{give}\:\:\:\:\:\: \\ $$$${I}\:=\:\int_{\frac{\pi}{\mathrm{12}}} ^{\frac{\pi}{\mathrm{2}}} \:\:\:\:\:\frac{{cos}\left(\mathrm{2}\left({t}+\frac{\pi}{\mathrm{4}}\right)\right)}{\:\sqrt{\mathrm{2}}{cost}}\:{dt}\:\:=\:\int_{\frac{\pi}{\mathrm{12}}} ^{\frac{\pi}{\mathrm{2}}} \:\:\:\:\frac{−{sin}\left(\mathrm{2}{t}\right)}{\:\sqrt{\mathrm{2}}{cos}\left({t}\right)}\:{dt}\:=−\frac{\mathrm{1}}{\:\sqrt{\mathrm{2}}}\:\int_{\frac{\pi}{\mathrm{12}}} ^{\frac{\pi}{\mathrm{2}}} \:\:\frac{\mathrm{2}{sint}\:{cost}}{{cost}}{dt} \\ $$$$=−\sqrt{\mathrm{2}}\:\:\:\int_{\frac{\pi}{\mathrm{12}}} ^{\frac{\pi}{\mathrm{2}}} \:\:{sin}\left({t}\right){dt}\:=−\sqrt{\mathrm{2}}\left[−{cost}\right]_{\frac{\pi}{\mathrm{12}}} ^{\frac{\pi}{\mathrm{2}}} \:\:=\sqrt{\mathrm{2}}\left\{\mathrm{0}−{cos}\left(\frac{\pi}{\mathrm{12}}\right)\right\} \\ $$$${we}\:{have}\:{cos}^{\mathrm{2}} \left(\frac{\pi}{\mathrm{12}}\right)=\frac{\mathrm{1}+{cos}\left(\frac{\pi}{\mathrm{6}}\right)}{\mathrm{2}}\:=\frac{\mathrm{1}+\frac{\sqrt{\mathrm{3}}}{\mathrm{2}}}{\mathrm{2}}\:=\frac{\mathrm{2}+\sqrt{\mathrm{3}}}{\mathrm{4}}\:\Rightarrow{cos}\left(\frac{\pi}{\mathrm{12}}\right)=\frac{\sqrt{\mathrm{2}+\sqrt{\mathrm{3}}}}{\mathrm{2}}\:\Rightarrow \\ $$$${I}\:=−\sqrt{\mathrm{2}}\sqrt{\mathrm{2}+\sqrt{\mathrm{3}}}=−\sqrt{\mathrm{4}+\mathrm{2}\sqrt{\mathrm{3}}}. \\ $$
Commented by maxmathsup by imad last updated on 30/Aug/18
$${we}\:{have}\:{J}\:=\:\int_{\frac{\pi}{\mathrm{3}}} ^{\frac{\pi}{\mathrm{2}}} \:\:\:\frac{{sin}\left(\mathrm{2}{x}\right)}{\:\sqrt{\mathrm{2}}{sin}\left({x}+\frac{\pi}{\mathrm{4}}\right)}{dx}\:\:=_{{x}+\frac{\pi}{\mathrm{4}}={t}} \:\:\:\:\int_{\frac{\mathrm{7}\pi}{\mathrm{12}}} ^{\frac{\mathrm{3}\pi}{\mathrm{4}}} \:\:\frac{{sin}\left(\mathrm{2}\left({t}−\frac{\pi}{\mathrm{4}}\right)\right)}{\:\sqrt{\mathrm{2}}{sint}}{dt}\:\:\:\:\:\:\:\: \\ $$$$=\:\int_{\frac{\mathrm{7}\pi}{\mathrm{12}}} ^{\frac{\mathrm{3}\pi}{\mathrm{4}}} \:\:\:\:\frac{−{cos}\left(\mathrm{2}{t}\right)}{\:\sqrt{\mathrm{2}}{sint}}{dt}\:=\:−\:\int_{\frac{\mathrm{7}\pi}{\mathrm{12}}} ^{\frac{\mathrm{3}\pi}{\mathrm{4}}} \:\:\:\:\frac{\mathrm{1}−\mathrm{2}{sin}^{\mathrm{2}} {t}}{\:\sqrt{\mathrm{2}}{sint}}{dt}\:=\:\int_{\frac{\mathrm{7}\pi}{\mathrm{12}}} ^{\frac{\mathrm{3}\pi}{\mathrm{4}}} \:\:\:\sqrt{\mathrm{2}}{sint}\:{dt}−\frac{\mathrm{1}}{\:\sqrt{\mathrm{2}}}\:\int_{\frac{\mathrm{7}\pi}{\mathrm{12}}} ^{\frac{\mathrm{3}\pi}{\mathrm{4}}} \:\:\frac{{dt}}{{sint}} \\ $$$$\:{but}\:\:\:\:\int_{\frac{\mathrm{7}\pi}{\mathrm{12}}} ^{\frac{\mathrm{3}\pi}{\mathrm{4}}} \:\sqrt{\mathrm{2}}{sint}\:{dt}\:=\sqrt{\mathrm{2}}\left[−{cost}\right]_{\frac{\mathrm{7}\pi}{\mathrm{12}}} ^{\frac{\mathrm{3}\pi}{\mathrm{4}}} \:=\sqrt{\mathrm{2}}\left\{\:{cos}\left(\frac{\mathrm{7}\pi}{\mathrm{12}}\right)−{cos}\left(\frac{\mathrm{3}\pi}{\mathrm{4}}\right)\right\} \\ $$$$=\sqrt{\mathrm{2}}\left\{\:−{sin}\left(\frac{\pi}{\mathrm{12}}\right)\:+{cos}\left(\frac{\pi}{\mathrm{4}}\right)\right\}=\sqrt{\mathrm{2}}\left\{\:\frac{\mathrm{1}}{\:\sqrt{\mathrm{2}}}\:−\frac{\sqrt{\mathrm{2}−\sqrt{\mathrm{3}}}}{\mathrm{2}}\right\}\:{also} \\ $$$$\int_{\frac{\mathrm{7}\pi}{\mathrm{12}}} ^{\frac{\mathrm{3}\pi}{\mathrm{4}}} \:\:\:\:\:\frac{{dt}}{{sint}}\:=_{{tan}\left(\frac{{t}}{\mathrm{2}}\right)\:={u}} \:\:\:\int_{{tan}\left(\frac{\mathrm{7}\pi}{\mathrm{24}}\right)} ^{{tan}\left(\frac{\mathrm{3}\pi}{\mathrm{8}}\right)} \:\:\:\:\:\frac{\mathrm{1}}{\frac{\mathrm{2}{u}}{\mathrm{1}+{u}^{\mathrm{2}} }}\:\frac{\mathrm{2}{du}}{\mathrm{1}+{u}^{\mathrm{2}} }\:=\:\left[{ln}\mid{u}\mid\right]_{{tan}\left(\frac{\mathrm{7}\pi}{\mathrm{24}}\right)} ^{{tan}\left(\frac{\mathrm{3}\pi}{\mathrm{8}}\right)} \\ $$$$={ln}\mid{tan}\left(\frac{\mathrm{3}\pi}{\mathrm{8}}\right)\mid−{ln}\mid{tan}\left(\frac{\mathrm{7}\pi}{\mathrm{24}}\right)\mid\:\:\Rightarrow \\ $$$${J}\:=\sqrt{\mathrm{2}}\left\{\frac{\mathrm{1}}{\:\sqrt{\mathrm{2}}}\:−\frac{\sqrt{\mathrm{2}−\sqrt{\mathrm{3}}}}{\mathrm{2}}\right\}\:−\frac{\mathrm{1}}{\:\sqrt{\mathrm{2}}}\left\{\:{ln}\mid{tan}\left(\frac{\mathrm{3}\pi}{\mathrm{8}}\right)\mid\:−{ln}\mid{tan}\left(\frac{\mathrm{7}\pi}{\mathrm{24}}\right)\mid\:\right\}\:. \\ $$$$ \\ $$