Question Number 33328 by prof Abdo imad last updated on 14/Apr/18
$${find}\:\:\:\int_{\frac{\pi}{\mathrm{4}}} ^{\frac{\mathrm{4}}{\pi}} \:\:\left(\mathrm{1}+\frac{\mathrm{1}}{{x}^{\mathrm{2}} }\right){arctanx}\:{dx} \\ $$
Commented by math khazana by abdo last updated on 19/Apr/18
$${let}\:{put}\:{I}\:=\:\int_{\frac{\pi}{\mathrm{4}}} ^{\frac{\mathrm{4}}{\pi}} \:\:\left(\mathrm{1}+\frac{\mathrm{1}}{{x}^{\mathrm{2}} }\right){arctanx}\:{dx}\:.{let}\:{integrate}\:{by} \\ $$$${parts}\:{u}^{'} \:=\mathrm{1}+\frac{\mathrm{1}}{{x}^{\mathrm{2}} }\:\:{and}\:{v}\:={arctanx} \\ $$$${I}\:=\:\left[\left(\mathrm{1}−\frac{\mathrm{1}}{{x}}\right){arctanx}\right]_{\frac{\pi}{\mathrm{4}}} ^{\frac{\mathrm{4}}{\pi}} \:\:−\int_{\frac{\pi}{\mathrm{4}}} ^{\frac{\mathrm{4}}{\pi}} \:\left(\mathrm{1}−\frac{\mathrm{1}}{{x}}\right)\:\frac{{dx}}{\mathrm{1}+{x}^{\mathrm{2}} } \\ $$$$=\:\left(\mathrm{1}−\frac{\pi}{\mathrm{4}}\right){arctan}\left(\frac{\mathrm{4}}{\pi}\right)\:−\left(\mathrm{1}−\frac{\mathrm{4}}{\pi}\right)\:−\int_{\frac{\pi}{\mathrm{4}}} ^{\frac{\mathrm{4}}{\pi}} \:\:\frac{{dx}}{\mathrm{1}+{x}^{\mathrm{2}} } \\ $$$$+\:\int_{\frac{\pi}{\mathrm{4}}} ^{\frac{\mathrm{4}}{\pi}} \:\:\:\:\:\:\frac{{dx}}{{x}\left(\:\mathrm{1}+{x}^{\mathrm{2}} \right)}\:\:{but} \\ $$$$\int_{\frac{\pi}{\mathrm{4}}} ^{\frac{\mathrm{4}}{\pi}} \:\:\:\frac{{dx}}{\mathrm{1}+{x}^{\mathrm{2}} }\:=\:{arctan}\left(\:\frac{\mathrm{4}}{\pi}\right)\:−{arctan}\left(\frac{\pi}{\mathrm{4}}\right) \\ $$$$=\frac{\pi}{\mathrm{2}}\:−\mathrm{1}−\mathrm{1}=\frac{\pi}{\mathrm{2}}\:−\mathrm{2}\:\:{let}?{decompose} \\ $$$${F}\left({x}\right)\:=\:\:\frac{\mathrm{1}}{{x}\left(\mathrm{1}+{x}^{\mathrm{2}} \right)}\:=\:\frac{{a}}{{x}}\:\:+\frac{{bx}\:+{c}}{\mathrm{1}+{x}^{\mathrm{2}} } \\ $$$${a}\:={lim}_{{x}\rightarrow\mathrm{0}} {x}\:{F}\left({x}\right)\:=\:\mathrm{1} \\ $$$${lim}_{{x}\rightarrow+\infty} {x}\:{F}\left({x}\right)\:=\mathrm{0}\:=\:{a}\:+{b}\:\Rightarrow{b}=−{a}\:=−\mathrm{1} \\ $$$${F}\left({x}\right)\:=\:\frac{\mathrm{1}}{{x}}\:\:+\frac{−{x}\:+{c}}{\mathrm{1}+{x}^{\mathrm{2}} }\:\:\:\:{we}\:{look}\:{tbat}\:{c}=\mathrm{0}\:\Rightarrow \\ $$$${F}\left({x}\right)\:=\:\frac{\mathrm{1}}{{x}}\:\:−\frac{{x}}{\mathrm{1}+{x}^{\mathrm{2}} }\:\Rightarrow \\ $$$$\int_{\frac{\pi}{\mathrm{4}}} ^{\frac{\mathrm{4}}{\pi}} \:\:\:\:\frac{{dx}}{{x}\left(\mathrm{1}+{x}^{\mathrm{2}} \right)}\:=\:\int_{\frac{\pi}{\mathrm{4}}} ^{\frac{\mathrm{4}}{\pi}} \:\left(\frac{\mathrm{1}}{{x}}\:−\frac{{x}}{\mathrm{1}+{x}^{\mathrm{2}} }\right){dx} \\ $$$$=\left[\:{ln}\left({x}\right)−\frac{\mathrm{1}}{\mathrm{2}}{ln}\left(\mathrm{1}+{x}^{\mathrm{2}} \right)\right]_{\frac{\pi}{\mathrm{4}}} ^{\frac{\mathrm{4}}{\pi}} \:=\left[{ln}\left(\frac{{x}}{\:\sqrt{\mathrm{1}+{x}^{\mathrm{2}} }}\right)\right]_{\frac{\pi}{\mathrm{4}}} ^{\frac{\mathrm{4}}{\pi}} \\ $$$$=\:{ln}\left(\:\:\frac{\mathrm{4}}{\pi\sqrt{\mathrm{1}+\frac{\mathrm{16}}{\pi^{\mathrm{2}} }}}\right)\:−{ln}\left(\:\:\:\frac{\pi}{\mathrm{4}\sqrt{\mathrm{1}+\frac{\pi^{\mathrm{2}} }{\mathrm{16}}}}\right) \\ $$$${I}\:=\left(\mathrm{1}−\frac{\pi}{\mathrm{4}}\right)\left(\frac{\pi}{\mathrm{2}}\:−\mathrm{1}\right)\:+\mathrm{1}\:+\frac{\mathrm{4}}{\pi}\:−\frac{\pi}{\mathrm{2}}\: \\ $$$$+{ln}\left(\:\frac{\mathrm{4}}{\pi\sqrt{\mathrm{1}+\frac{\mathrm{16}}{\pi^{\mathrm{2}} }}}\right)\:−{ln}\left(\:\:\frac{\pi}{\mathrm{4}\sqrt{\mathrm{1}+\frac{\pi^{\mathrm{2}} }{\mathrm{16}}}}\right)\:. \\ $$