Question Number 43125 by Raj Singh last updated on 07/Sep/18
Commented by maxmathsup by imad last updated on 07/Sep/18
$${let}\:{I}\:=\int\:\:\:\frac{\mathrm{1}}{\frac{\mathrm{1}}{{sinx}}+\frac{\mathrm{1}}{{cosx}}}{dx}\:\Rightarrow{I}\:=\:\int\:\:\:\:\frac{{cosx}\:{sinx}}{{cosx}\:+{sinx}}{dx} \\ $$$$=\:\frac{\mathrm{1}}{\mathrm{2}}\:\int\:\:\:\frac{{sin}\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}\:=\:\frac{\mathrm{1}}{\mathrm{2}\sqrt{\mathrm{2}}}\:\int\:\:\frac{{sin}\left(\mathrm{2}\left({t}+\frac{\pi}{\mathrm{4}}\right)\right)}{{cost}}\:{dt}\:=\:\frac{\mathrm{1}}{\mathrm{2}\sqrt{\mathrm{2}}}\:\int\:\:\:\frac{{cos}\left(\mathrm{2}{t}\right)}{{cost}}\:{dt} \\ $$$$=\frac{\mathrm{1}}{\mathrm{2}\sqrt{\mathrm{2}}}\:\int\:\:\:\frac{\mathrm{2}{cos}^{\mathrm{2}} {t}\:−\mathrm{1}}{{cost}}\:{dt}\:=\:\frac{\mathrm{1}}{\mathrm{2}\sqrt{\mathrm{2}}}\left\{\:\:\int\:\:\mathrm{2}{cost}\:{dt}\:−\int\:\:\frac{{dt}}{{cost}}\right\} \\ $$$$=\:\frac{\mathrm{1}}{\:\sqrt{\mathrm{2}}}\:{sin}\left({t}\right)\:−\frac{\mathrm{1}}{\mathrm{2}\sqrt{\mathrm{2}}}\:\:{ln}\mid{tan}\left(\frac{{t}}{\mathrm{2}}+\frac{\pi}{\mathrm{4}}\right)\mid\:+{c} \\ $$$$=\:\frac{\mathrm{1}}{\:\sqrt{\mathrm{2}}}\:{sin}\left({x}−\frac{\pi}{\mathrm{4}}\right)\:−\frac{\mathrm{1}}{\mathrm{2}\sqrt{\mathrm{2}}}{ln}\mid{tan}\left(\:\frac{{x}}{\mathrm{2}}−\frac{\pi}{\mathrm{8}}\:+\frac{\pi}{\mathrm{4}}\right)+{c} \\ $$$$=\frac{\mathrm{1}}{\:\sqrt{\mathrm{2}}}\:{sin}\left({x}−\frac{\pi}{\mathrm{4}}\right)\:−\frac{\mathrm{1}}{\mathrm{2}\sqrt{\mathrm{2}}}{ln}\mid\:{tan}\left(\frac{{x}}{\mathrm{2}}\:+\frac{\pi}{\mathrm{8}}\right)\mid\:+{c}\:. \\ $$
Answered by tanmay.chaudhury50@gmail.com last updated on 07/Sep/18
$$\int\frac{{dx}}{\frac{\mathrm{1}}{{sinx}}+\frac{\mathrm{1}}{{cosx}}} \\ $$$$\frac{\mathrm{1}}{\mathrm{2}}\int\frac{\mathrm{2}{sinxcosx}}{{sinx}+{cosx}}{dx} \\ $$$$\frac{\mathrm{1}}{\mathrm{2}}\int\frac{\mathrm{1}+\mathrm{2}{sinxcosx}−\mathrm{1}}{{sinx}+{cosx}}{dx} \\ $$$$\frac{\mathrm{1}}{\mathrm{2}}\int\frac{\left({sinx}+{cosx}\right)^{\mathrm{2}} }{{sinx}+{cosx}}{dx}−\frac{\mathrm{1}}{\mathrm{2}}\int\frac{\mathrm{1}}{{sinx}+{cosx}}{dx} \\ $$$$\frac{\mathrm{1}}{\mathrm{2}}\int{sinx}+{cosx}\:{dx}−\frac{\mathrm{1}}{\mathrm{2}}\int\frac{{dx}}{\:\sqrt{\mathrm{2}}\:\left(\frac{\mathrm{1}}{\:\sqrt{\mathrm{2}}}{sinx}+\frac{\mathrm{1}}{\:\sqrt{\mathrm{2}}}{cosx}\right)} \\ $$$$\frac{\mathrm{1}}{\mathrm{2}}\int{sinx}+{cosx}\:{dx}−\frac{\mathrm{1}}{\mathrm{2}\sqrt{\mathrm{2}}}\int\frac{{dx}}{{sin}\left({x}+\frac{\Pi}{\mathrm{4}}\right)} \\ $$$$\frac{\mathrm{1}}{\mathrm{2}}\int{sinx}+{cosx}\:{dx}−\frac{\mathrm{1}}{\mathrm{2}\sqrt{\mathrm{2}}}\int{cosec}\left(\frac{\Pi}{\mathrm{4}}+{x}\right){dx} \\ $$$$\frac{\mathrm{1}}{\mathrm{2}}\left(−{cosx}+{sinx}\right)−\frac{\mathrm{1}}{\mathrm{2}\sqrt{\mathrm{2}}}{lntan}\left(\frac{{x}+\frac{\Pi}{\mathrm{4}}}{\mathrm{2}}\right)+{c} \\ $$$$\frac{\mathrm{1}}{\mathrm{2}}\left({sinx}−{cosx}\right)−\frac{\mathrm{1}}{\mathrm{2}\sqrt{\mathrm{2}}}{lntan}\left(\frac{{x}}{\mathrm{2}}+\frac{\Pi}{\mathrm{8}}\right)+{c} \\ $$$$ \\ $$$$ \\ $$