Question Number 30178 by abdo imad last updated on 17/Feb/18
$${calculate}\:\:\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \:\:\:\:\:\frac{{dx}}{\mathrm{1}+{cosx}\:{cos}\theta}\:\:{with}\:−\pi<\theta<\pi\:. \\ $$
Commented by prof Abdo imad last updated on 22/Feb/18
$${let}\:{put}\:{cos}\theta={t}\:{I}=\:\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \:\:\:\:\frac{{dx}}{\mathrm{1}+{tcosx}}\:{the}\:{ch}.{tan}\left(\frac{{x}}{\mathrm{2}}\right)={u} \\ $$$${give}\:\:{I}=\:\int_{\mathrm{0}} ^{\infty} \:\:\:\frac{\mathrm{1}}{\mathrm{1}+{t}\:\frac{\mathrm{1}−{u}^{\mathrm{2}} }{\mathrm{1}+{u}^{\mathrm{2}} }}\:\frac{\mathrm{2}{du}}{\mathrm{1}+{u}^{\mathrm{2}} } \\ $$$${I}\:=\:\int_{\mathrm{0}} ^{\infty} \:\:\:\:\:\:\:\:\frac{\mathrm{2}{du}}{\mathrm{1}+{u}^{\mathrm{2}} \:+{t}\left(\mathrm{1}−{u}^{\mathrm{2}} \right)}{du} \\ $$$$=\int_{\mathrm{0}} ^{\infty} \:\:\:\:\frac{\mathrm{2}{du}}{\mathrm{1}+{t}\:+\left(\mathrm{1}−{t}\right){u}^{\mathrm{2}} }=\:\frac{\mathrm{2}}{\mathrm{1}+{t}}\int_{\mathrm{0}} ^{\infty} \:\:\:\frac{{du}}{\mathrm{1}+\frac{\mathrm{1}−{t}}{\mathrm{1}+{t}}\:{u}^{\mathrm{2}} } \\ $$$${let}\:{tben}\:{use}\:{the}\:{ch}.\:\sqrt{\frac{\mathrm{1}−{t}}{\mathrm{1}+{t}}}\:{u}=\:\alpha\:\Rightarrow \\ $$$${I}=\:\:\frac{\mathrm{2}}{\mathrm{1}+{t}}\int_{\mathrm{0}} ^{\infty} \:\:\:\:\:\frac{\mathrm{1}}{\mathrm{1}+\alpha^{\mathrm{2}} }\:\sqrt{\frac{\mathrm{1}+{t}}{\mathrm{1}−{t}}}\:\:{d}\alpha \\ $$$$=\:\frac{\mathrm{2}}{\:\sqrt{\mathrm{1}−{t}^{\mathrm{2}} }}\:\int_{\mathrm{0}} ^{\infty} \:\:\:\frac{{d}\alpha}{\mathrm{1}+\alpha^{\mathrm{2}} }\:=\:\frac{\pi}{\:\sqrt{\mathrm{1}−{t}^{\mathrm{2}} }}\:=\:\frac{\pi}{\:\sqrt{\mathrm{1}−{cos}^{\mathrm{2}} \theta}}\Rightarrow \\ $$$${I}\:=\:\frac{\pi}{\mid{sin}\theta\mid}\:\:{if}\:\theta\neq\mathrm{0}\:\:{also}\:{we}\:{must}\:{study}\:{the}\:{case}\:\theta=\mathrm{0} \\ $$$$…. \\ $$