Question Number 50415 by Abdo msup. last updated on 16/Dec/18
$${calculate}\:\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \:\:\frac{{dt}}{\mathrm{1}+{cos}\theta\:{cost}} \\ $$
Commented by Abdo msup. last updated on 18/Dec/18
$${let}\:{put}\:{cos}\theta\:=\:\lambda\:{and}\:{find}\:{A}\left(\lambda\right)=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \:\:\:\frac{{dt}}{\mathrm{1}+\lambda\:{cost}} \\ $$$${with}\:\mid\lambda\mid\leqslant\mathrm{1}\:\:{changement}\:{tan}\left(\frac{{t}}{\mathrm{2}}\right)=\:{u}\:{give} \\ $$$${A}\left(\lambda\right)=\:\int_{\mathrm{0}} ^{\mathrm{1}} \:\:\:\:\frac{\mathrm{1}}{\mathrm{1}+\lambda\frac{\mathrm{1}−{u}^{\mathrm{2}} }{\mathrm{1}+{u}^{\mathrm{2}} }}\:\frac{\mathrm{2}{du}}{\mathrm{1}+{u}^{\mathrm{2}} } \\ $$$$=\int_{\mathrm{0}} ^{\mathrm{1}} \:\:\:\:\frac{\mathrm{2}{du}}{\mathrm{1}+{u}^{\mathrm{2}} \:+\lambda−\lambda{u}^{\mathrm{2}} }\:=\int_{\mathrm{0}} ^{\mathrm{1}} \:\:\:\frac{\mathrm{2}{du}}{\left(\mathrm{1}−\lambda\right){u}^{\mathrm{2}} \:+\mathrm{1}+\lambda} \\ $$$$=\frac{\mathrm{2}}{\mathrm{1}−\lambda}\:\int_{\mathrm{0}} ^{\mathrm{1}} \:\:\:\frac{{du}}{{u}^{\mathrm{2}} \:+\frac{\mathrm{1}+\lambda}{\mathrm{1}−\lambda}}\: \\ $$$$=_{{u}=\sqrt{\frac{\mathrm{1}+\lambda}{\mathrm{1}−\lambda}}{t}} \:\:\:\frac{\mathrm{2}}{\mathrm{1}−\lambda}\:\int_{\mathrm{0}} ^{\sqrt{\frac{\mathrm{1}−\lambda}{\mathrm{1}+\lambda}}} \:\:\:\:\:\frac{\sqrt{\frac{\mathrm{1}+\lambda}{\mathrm{1}−\lambda}}{dt}}{\frac{\mathrm{1}+\lambda}{\mathrm{1}−\lambda}\left(\mathrm{1}+{t}^{\mathrm{2}} \right)} \\ $$$$=\frac{\mathrm{2}}{\mathrm{1}+\lambda}\:\frac{\sqrt{\mathrm{1}+\lambda}}{\:\sqrt{\mathrm{1}−\lambda}}\:\:{arctan}\left(\sqrt{\frac{\mathrm{1}−\lambda}{\mathrm{1}+\lambda}}\right) \\ $$$$=\:\frac{\mathrm{2}}{\:\sqrt{\mathrm{1}−\lambda^{\mathrm{2}} }}\:{arctan}\left(\sqrt{\frac{\mathrm{1}−\lambda}{\mathrm{1}+\lambda}}\right)\:\Rightarrow \\ $$$$\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \:\:\:\:\frac{{dt}}{\mathrm{1}+{co}\theta\:{cost}}\:={A}\left({cos}\theta\right) \\ $$$$=\frac{\mathrm{2}}{\:\sqrt{\mathrm{1}−{cos}^{\mathrm{2}} \theta}}\:{arctan}\left(\sqrt{\frac{\mathrm{1}−{cos}\theta}{\mathrm{1}+{cos}\theta}}\:\right) \\ $$$$=\frac{\mathrm{2}}{\mid{sin}\theta\mid}\:{arctan}\mid{tan}\left(\frac{\theta}{\mathrm{2}}\right)\mid\:. \\ $$
Answered by tanmay.chaudhury50@gmail.com last updated on 17/Dec/18
$$\int\frac{{dt}}{\mathrm{1}+{cos}\theta{cost}} \\ $$$$\frac{\mathrm{1}}{{cos}\theta}\int\frac{{dt}}{{sec}\theta+{cost}} \\ $$$$\frac{\mathrm{1}}{{cos}\theta}\int\frac{{dt}}{{sec}\theta+\frac{\mathrm{1}−{tan}^{\mathrm{2}} \frac{{t}}{\mathrm{2}}}{\mathrm{1}+{tan}^{\mathrm{2}} \frac{{t}}{\mathrm{2}}}} \\ $$$$\frac{\mathrm{1}}{{cos}\theta}\int\frac{{sec}^{\mathrm{2}} \frac{{t}}{\mathrm{2}}{dt}}{{sec}\theta+{sec}\theta{tan}^{\mathrm{2}} \frac{{t}}{\mathrm{2}}+\mathrm{1}−{tan}^{\mathrm{2}} \frac{{t}}{\mathrm{2}}} \\ $$$$={sec}\theta\int\frac{{sec}^{\mathrm{2}} \frac{{t}}{\mathrm{2}}×{dt}}{\left({sec}\theta+\mathrm{1}\right)+{tan}^{\mathrm{2}} \frac{{t}}{\mathrm{2}}\left({sec}\theta−\mathrm{1}\right)} \\ $$$$={sec}\theta\int\frac{{sec}^{\mathrm{2}} \frac{{t}}{\mathrm{2}}}{\left({sec}\theta−\mathrm{1}\right)\left\{\frac{{sec}\theta+\mathrm{1}}{{sec}\theta−\mathrm{1}}+{tan}^{\mathrm{2}} \frac{{t}}{\mathrm{2}}\right\}}{dt} \\ $$$$=\frac{{sec}\theta}{{sec}\theta−\mathrm{1}}\int\frac{{sec}^{\mathrm{2}} \frac{{t}}{\mathrm{2}}}{\frac{\mathrm{1}+{cos}\theta}{\mathrm{1}−{cos}\theta}+{tan}^{\mathrm{2}} \frac{{t}}{\mathrm{2}}}{dt} \\ $$$$=\frac{\mathrm{1}}{\mathrm{1}−{cos}\theta}\int\frac{{sec}^{\mathrm{2}} \frac{{t}}{\mathrm{2}}{dt}}{{cot}^{\mathrm{2}} \frac{\theta}{\mathrm{2}}+{tan}^{\mathrm{2}} \frac{{t}}{\mathrm{2}}} \\ $$$${k}={tan}\frac{{t}}{\mathrm{2}}\:\:{dk}=\frac{\mathrm{1}}{\mathrm{2}}{sec}^{\mathrm{2}} \frac{{t}}{\mathrm{2}}{dt} \\ $$$$=\frac{\mathrm{1}}{\mathrm{2}{sin}^{\mathrm{2}} \frac{\theta}{\mathrm{2}}}\int\frac{\mathrm{2}{dk}}{{cot}^{\mathrm{2}} \frac{\theta}{\mathrm{2}}+{k}^{\mathrm{2}} } \\ $$$$=\frac{\mathrm{1}}{{sin}^{\mathrm{2}} \frac{\theta}{\mathrm{2}}}\int\frac{{dk}}{{cot}^{\mathrm{2}} \frac{\theta}{\mathrm{2}}+{k}^{\mathrm{2}} } \\ $$$$=\frac{\mathrm{1}}{{sin}^{\mathrm{2}} \frac{\theta}{\mathrm{2}}}×\frac{\mathrm{1}}{{cot}\frac{\theta}{\mathrm{2}}}{tan}^{−\mathrm{1}} \left(\frac{{k}}{{cot}\frac{\theta}{\mathrm{2}}}\right) \\ $$$$=\frac{\mathrm{2}}{{sin}\theta}{tan}^{−\mathrm{1}} \left(\frac{{tan}\frac{{t}}{\mathrm{2}}}{{cot}\frac{\theta}{\mathrm{2}}}\right)+{c} \\ $$$${required}\:{answer}\:{iz} \\ $$$$\frac{\mathrm{2}}{{sin}\theta}\mid{tan}^{−\mathrm{1}} \left(\frac{{tan}\frac{{t}}{\mathrm{2}}}{{cot}\frac{\theta}{\mathrm{2}}}\right)\mid_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \\ $$$$=\frac{\mathrm{2}}{\boldsymbol{{sin}}\theta}\left[{tan}^{−\mathrm{1}} \left(\frac{{tan}\frac{\pi}{\mathrm{4}}}{{cot}\frac{\theta}{\mathrm{2}}}\right)−{tan}^{−\mathrm{1}} \left(\frac{{tan}\mathrm{0}}{{cot}\frac{\theta}{\mathrm{2}}}\right)\right] \\ $$$$=\frac{\mathrm{2}}{{sin}\theta}\left[{tan}^{−\mathrm{1}} \left({tan}\frac{\theta}{\mathrm{2}}\right)\right] \\ $$$$=\frac{\mathrm{2}}{{sin}\theta}×\frac{\theta}{\mathrm{2}}=\frac{\theta}{{sin}\theta} \\ $$$$ \\ $$$$ \\ $$