Question Number 59277 by Mr X pcx last updated on 07/May/19
$${calculate}\:\int_{−\infty} ^{+\infty} \:\frac{{ln}\left(\mathrm{1}+{x}^{\mathrm{2}} \right)}{\mathrm{1}+{x}^{\mathrm{2}} }\:{dx} \\ $$
Commented by maxmathsup by imad last updated on 18/May/19
$${let}\:{A}\:=\int_{−\infty} ^{+\infty} \:\frac{{ln}\left(\mathrm{1}+{x}^{\mathrm{2}} \right)}{\mathrm{1}+{x}^{\mathrm{2}} }{dx}\:\:\:{changement}\:{x}={tan}\theta\:{give} \\ $$$${A}\:=\int_{−\frac{\pi}{\mathrm{2}}} ^{\frac{\pi}{\mathrm{2}}} \:\:\frac{{ln}\left(\mathrm{1}+{tan}^{\mathrm{2}} \theta\right)}{\mathrm{1}+{tan}^{\mathrm{2}} \theta}\left(\mathrm{1}+{tan}^{\mathrm{2}} \theta\right){d}\theta\:=\int_{−\frac{\pi}{\mathrm{2}}} ^{\frac{\pi}{\mathrm{2}}} {ln}\left(\frac{\mathrm{1}}{{cos}^{\mathrm{2}} \theta}\right){d}\theta\:=−\mathrm{2}\:\int_{−\frac{\pi}{\mathrm{2}}} ^{\frac{\pi}{\mathrm{2}}} \:{ln}\left({cos}\theta\right){d}\theta \\ $$$$=−\mathrm{4}\:\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \:{ln}\left({cos}\theta\right){d}\theta\:\:\:{let}\:{find}\:\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} {ln}\left({cos}\theta\right){d}\theta\:={I}\:\:{let}\:{use}\:{his}\:{friend}\:{J}=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} {ln}\left({sin}\theta\right){d}\theta \\ $$$${we}\:{have}\:{J}\:=_{\theta=\frac{\pi}{\mathrm{2}}−{t}} \:\:\:−\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} {ln}\left({cost}\right)\left(−{dt}\right)\:={I}\:\:{also} \\ $$$${I}\:+{J}\:=\mathrm{2}{I}\:=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} {ln}\left({cos}\theta.{sin}\theta\right){d}\theta\:=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} {ln}\left(\frac{{sin}\left(\mathrm{2}\theta\right)}{\mathrm{2}}\right){d}\theta=\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} \:{ln}\left({sin}\left(\mathrm{2}\theta\right)\right){d}\theta \\ $$$$−\frac{\pi}{\mathrm{2}}{ln}\left(\mathrm{2}\right) \\ $$$$\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} {ln}\left({sin}\left(\mathrm{2}\theta\right)\right){d}\theta\:=_{\mathrm{2}\theta={t}} \:\frac{\mathrm{1}}{\mathrm{2}}\int_{\mathrm{0}} ^{\pi} {ln}\left({sint}\right)\:{dt}\:=\frac{\mathrm{1}}{\mathrm{2}}\left\{\:\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} {ln}\left({sint}\right){dt}\:+\int_{\frac{\pi}{\mathrm{2}}} ^{\pi} {ln}\left({sint}\right){dt}\right\} \\ $$$$=\frac{\mathrm{1}}{\mathrm{2}}\:{I}\:+\frac{\mathrm{1}}{\mathrm{2}}\:\int_{\mathrm{0}} ^{\frac{\pi}{\mathrm{2}}} {ln}\left({cos}\alpha\right){d}\alpha\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\:\left({t}=\frac{\pi}{\mathrm{2}}+\alpha\right) \\ $$$$=\frac{\mathrm{1}}{\mathrm{2}}{I}\:+\frac{\mathrm{1}}{\mathrm{2}}{I}\:={I}\:\Rightarrow\:\mathrm{2}{I}\:=−\frac{\pi}{\mathrm{2}}{ln}\left(\mathrm{2}\right)\:+{I}\:\:\Rightarrow\:{I}\:=−\frac{\pi}{\mathrm{2}}{ln}\left(\mathrm{2}\right)\:\Rightarrow{A}\:=−\mathrm{4}\left(−\frac{\pi}{\mathrm{2}}\right){ln}\left(\mathrm{2}\right) \\ $$$$\Rightarrow\:{A}\:=\:\mathrm{2}\pi{ln}\left(\mathrm{2}\right)\:. \\ $$$$ \\ $$