Question Number 164290 by HongKing last updated on 15/Jan/22
Answered by Kamel last updated on 16/Jan/22
$$ \\ $$$$\left.\Omega\left.\left({n}\right)=\int_{\mathrm{0}} ^{\pi} {cot}\left(\frac{{x}}{\mathrm{2}}\right){Arctan}\left(\frac{{nsin}\left({x}\right)}{\mathrm{1}+{ncos}\left({x}\right)}\right){dx};\:{u}=\frac{{n}−\mathrm{1}}{{n}+\mathrm{1}},\:{n}\in\right]−\mathrm{1};\mathrm{1}\right]. \\ $$$$\:\:\:\:\:\:\:\:\:\:\:=\mathrm{2}\int_{\mathrm{0}} ^{+\infty} \frac{\mathrm{1}}{{t}\left(\mathrm{1}+{t}^{\mathrm{2}} \right)}{Arctan}\left(\frac{\left(\mathrm{1}+{u}\right){t}}{\mathrm{1}−{ut}^{\mathrm{2}} }\right){dt} \\ $$$$\:\:\:\:\:\:\:\:\:\:\:=\mathrm{2}\int_{\mathrm{0}} ^{+\infty} \frac{\mathrm{1}}{{t}\left(\mathrm{1}+{t}^{\mathrm{2}} \right)}\left({Arctan}\left({t}\right)+{Arctan}\left({tu}\right)\right){dt} \\ $$$$\:\:\:\:\:\:\:\:\:\:\:=\mathrm{2}\int_{−\mathrm{1}} ^{{u}} \int_{\mathrm{0}} ^{+\infty} \frac{{dtda}}{\left(\mathrm{1}+{t}^{\mathrm{2}} \right)\left(\mathrm{1}+{a}^{\mathrm{2}} {t}^{\mathrm{2}} \right)}=\mathrm{2}\int_{−\mathrm{1}} ^{{u}} \frac{\mathrm{1}}{\mathrm{1}−{a}^{\mathrm{2}} }\int_{\mathrm{0}} ^{+\infty} \left(\frac{\mathrm{1}}{\mathrm{1}+{t}^{\mathrm{2}} }−\frac{{a}^{\mathrm{2}} }{\mathrm{1}+{a}^{\mathrm{2}} {t}^{\mathrm{2}} }\right){dtda} \\ $$$$\:\:\:\:\:\:\:\:\:\:\:=\mathrm{2}\int_{−\mathrm{1}} ^{{u}} \frac{\mathrm{1}}{\mathrm{1}−{a}^{\mathrm{2}} }\left(\frac{\pi}{\mathrm{2}}+\frac{{a}\pi}{\mathrm{2}}\right){da}=\pi{Ln}\left(\frac{\mathrm{2}}{\mathrm{1}−{u}}\right) \\ $$$$\:\:\:\therefore\:\:\int_{\mathrm{0}} ^{\pi} {cot}\left(\frac{{x}}{\mathrm{2}}\right){Arctan}\left(\frac{{nsin}\left({x}\right)}{\mathrm{1}+{ncos}\left({x}\right)}\right){dx}=\pi{Ln}\left(\mathrm{1}+{n}\right) \\ $$
Answered by mnjuly1970 last updated on 16/Jan/22
$$\:\:{n}=\mathrm{1} \\ $$$$\:\:\:\:\int_{\mathrm{0}} ^{\:\pi} {cot}\left(\frac{{x}}{\mathrm{2}}\:\right){arctan}\left(\frac{{sin}\left({x}\right)}{\mathrm{1}+{cos}\left({x}\right)}\right){dx} \\ $$$$\:\:\:\:=\:\int_{\mathrm{0}} ^{\:\pi} \:{cot}\left(\frac{{x}}{\mathrm{2}}\right).{arctan}\left({tan}\left(\frac{{x}}{\mathrm{2}}\right)\right){dx} \\ $$$$=\frac{\mathrm{1}}{\mathrm{2}\:}\int_{\mathrm{0}} ^{\:\pi} {x}.{cot}\left(\frac{{x}}{\mathrm{2}}\right){dx}=\mathrm{2}\int_{\mathrm{0}} ^{\:\frac{\pi}{\mathrm{2}}} {t}.{cot}\left({t}\right){dt} \\ $$$$\:\:=−\mathrm{2}\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} {ln}\left(\:{sin}\left({t}\right)\right){dt}=\:\pi{ln}\left(\mathrm{2}\right) \\ $$