Question Number 27600 by abdo imad last updated on 10/Jan/18
$${find}\:\:\:\int_{\mathrm{0}} ^{\pi} \:\:\frac{{t}}{\mathrm{2}+{sint}}\:{dt} \\ $$
Commented by abdo imad last updated on 11/Jan/18
$${let}\:{put}\:{I}=\int_{\mathrm{0}} ^{\pi} \:\:\frac{{t}}{\mathrm{2}+{sint}}{dt}\:{and}\:{the}\:{ch}.\:{tan}\left(\frac{{t}}{\mathrm{2}}\right)={x}\Leftrightarrow\: \\ $$$${t}=\mathrm{2}{arctanx} \\ $$$${I}=\:\int_{\mathrm{0}} ^{\infty} \:\:\:\:\frac{\mathrm{2}{arctanx}}{\mathrm{2}+\frac{\mathrm{2}{x}}{\mathrm{1}+{x}^{\mathrm{2}} }}\:\frac{\mathrm{2}{dx}}{\mathrm{1}+{x}^{\mathrm{2}} }=\:\mathrm{2}\:\int_{\mathrm{0}} ^{\infty} \:\:\frac{{arctanx}}{\mathrm{1}+{x}^{\mathrm{2}} +\mathrm{2}{x}}{dx} \\ $$$$=\mathrm{2}\int_{\mathrm{0}} ^{\infty} \:\:\:\frac{{arctanx}}{\left({x}+\mathrm{1}\right)^{\mathrm{2}} }{dx}\:\:{then}\:{the}\:{integration}\:{per}\:{parts}\:{give} \\ $$$$\int_{\mathrm{0}} ^{\infty} \frac{{arctanx}}{\left({x}+\mathrm{1}\right)^{\mathrm{2}} }{dx}=\:\left[−\frac{\mathrm{1}}{{x}+\mathrm{1}}\:{arctanx}\right]_{\mathrm{0}} ^{\propto} −\:\int_{\mathrm{0}} ^{\infty} −\frac{\mathrm{1}}{{x}+\mathrm{1}}\:\frac{{dx}}{\mathrm{1}+{x}^{\mathrm{2}} } \\ $$$$=\:\int_{\mathrm{0}} ^{\infty} \:\:\frac{{dx}}{\left({x}+\mathrm{1}\right)\left(\mathrm{1}+{x}^{\mathrm{2}} \right)}\:{let}\:{decompose}\:{rational}\:{fraction} \\ $$$${F}\left({x}\right)=\:\frac{\mathrm{1}}{\left({x}+\mathrm{1}\right)\left(\mathrm{1}+{x}^{\mathrm{2}} \right)}\Rightarrow{F}\left({x}\right)=\:\frac{{a}}{{x}+\mathrm{1}}\:+\:\frac{{bx}+{c}}{\mathrm{1}+{x}^{\mathrm{2}} } \\ $$$${a}=\:{lim}_{{x}−>−\mathrm{1}^{} } \:\left({x}+\mathrm{1}\right){F}\left({x}\right)=\:\frac{\mathrm{1}}{\mathrm{2}} \\ $$$${lim}_{{x}−>\propto} {xF}\left({x}\right)=\mathrm{0}={a}+{b}\Rightarrow{b}=−\frac{\mathrm{1}}{\mathrm{2}}\:{so} \\ $$$${F}\left({x}\right)=\:\frac{\mathrm{1}}{\mathrm{2}\left({x}+\mathrm{1}\right)}\:+\:\:\frac{\frac{−{x}}{\mathrm{2}}+{c}}{\mathrm{1}+{x}^{\mathrm{2}} }\:\:,{F}\left(\mathrm{0}\right)=\mathrm{1}=\:\frac{\mathrm{1}}{\mathrm{2}}+{c}\Rightarrow{c}=\frac{\mathrm{1}}{\mathrm{2}} \\ $$$${F}\left({x}\right)=\:\frac{\mathrm{1}}{\mathrm{2}\left({x}+\mathrm{1}\right)}\:−\frac{\mathrm{1}}{\mathrm{2}}\:\frac{{x}−\mathrm{1}}{\mathrm{1}+{x}^{\mathrm{2}} } \\ $$$${I}=\:\int_{\mathrm{0}} ^{\infty} \frac{{dx}}{{x}+\mathrm{1}}\:−\int_{\mathrm{0}} ^{\infty} \:\:\frac{{x}−\mathrm{1}}{\mathrm{1}+{x}^{\mathrm{2}} }{dx} \\ $$$$=\:\int_{\mathrm{0}} ^{\infty} \:\frac{{dx}}{{x}+\mathrm{1}}\:\:−\frac{\mathrm{1}}{\mathrm{2}}\:\int_{\mathrm{0}} ^{\infty} \:\frac{\mathrm{2}{x}−\mathrm{2}}{\mathrm{1}+{x}^{\mathrm{2}} }{dx} \\ $$$${I}=\:\int_{\mathrm{0}} ^{\infty} \left(\:\:\:\frac{\mathrm{1}}{{x}+\mathrm{1}}\:−\frac{\mathrm{1}}{\mathrm{2}}\frac{\mathrm{2}{x}}{\mathrm{1}+{x}^{\mathrm{2}} }\right){dx}\:+\:\int_{\mathrm{0}} ^{\infty} \:\frac{{dx}}{\mathrm{1}+{x}^{\mathrm{2}} } \\ $$$${I}=\left[{ln}/{x}+\mathrm{1}/−\frac{\mathrm{1}}{\mathrm{2}}{ln}/\mathrm{1}+{x}^{\mathrm{2}} /\right]_{\mathrm{0}} ^{\propto} \:+\:\frac{\pi}{\mathrm{2}} \\ $$$${I}=\left[{ln}/\frac{{x}+\mathrm{1}}{\:\sqrt{\mathrm{1}+{x}^{\mathrm{2}} }}/\:\right]_{\mathrm{0}} ^{\propto} +\frac{\pi}{\mathrm{2}}=\mathrm{0}+\frac{\pi}{\mathrm{2}} \\ $$$$\int_{\mathrm{0}} ^{\pi} \:\frac{{t}}{\mathrm{2}+{sint}}{dt}\:=\:\frac{\pi}{\mathrm{2}}\:. \\ $$