Question Number 59274 by Mr X pcx last updated on 07/May/19
$${calculate}\:\int_{\mathrm{0}} ^{\mathrm{1}} {arctan}\left(\mathrm{1}+{x}+{x}^{\mathrm{2}} \right){dx} \\ $$
Commented by maxmathsup by imad last updated on 18/May/19
$${we}\:{have}\:\:{I}\:=\int_{\mathrm{0}} ^{\mathrm{1}} \:{arctan}\left(\mathrm{1}+{x}+{x}^{\mathrm{2}} \right)\:=\int_{\mathrm{0}} ^{\mathrm{1}} \:{arcotan}\left(\frac{\mathrm{1}}{\mathrm{1}+{x}+{x}^{\mathrm{2}} }\right) \\ $$$$=\int_{\mathrm{0}} ^{\mathrm{1}} \:{arcotan}\left(\frac{{x}+\mathrm{1}−{x}}{\mathrm{1}+\left({x}+\mathrm{1}\right){x}}\right){dx}\:{let}\:\:\:{x}+\mathrm{1}={tan}\alpha\:\:{and}\:{x}\:={tan}\beta\:\Rightarrow \\ $$$${I}\:=\int_{\mathrm{0}} ^{\mathrm{1}} \:{arcotan}\left(\frac{{tan}\alpha−{tan}\beta}{\mathrm{1}+{tan}\alpha.{tan}\beta}\right){dx}\:=\int_{\mathrm{0}} ^{\mathrm{1}} \:{arcotan}\left({tan}\left(\alpha−\beta\right)\right. \\ $$$$=\int_{\mathrm{0}} ^{\mathrm{1}} \:{arcotan}\left({cotan}\left(\frac{\pi}{\mathrm{2}}−\alpha\:+\beta\right)\right){dx}\:=\int_{\mathrm{0}} ^{\mathrm{1}} \left(\frac{\pi}{\mathrm{2}}−\alpha\:+\beta\right){dx} \\ $$$$=\frac{\pi}{\mathrm{2}}\:−\int_{\mathrm{0}} ^{\mathrm{1}} \:{arctan}\left({x}+\mathrm{1}\right)\:{dx}\:+\int_{\mathrm{0}} ^{\mathrm{1}} \:{arctanx}\:{dx}\:\:\:{by}\:{parts} \\ $$$$\int_{\mathrm{0}} ^{\mathrm{1}} \:{arctanx}\:{dx}\:=\left[{x}\:{arctanx}\right]_{\mathrm{0}} ^{\mathrm{1}} −\int_{\mathrm{0}} ^{\mathrm{1}} \:\frac{{x}}{\mathrm{1}+{x}^{\mathrm{2}} }{dx}\:=\frac{\pi}{\mathrm{4}}\:−\left[\frac{\mathrm{1}}{\mathrm{2}}{ln}\left(\mathrm{1}+{x}^{\mathrm{2}} \right)\right]_{\mathrm{0}} ^{\mathrm{1}} \\ $$$$=\frac{\pi}{\mathrm{4}}\:−\frac{{ln}\left(\mathrm{2}\right)}{\mathrm{2}} \\ $$$$\int_{\mathrm{0}} ^{\mathrm{1}} \:{arctan}\left({x}+\mathrm{1}\right){dx}\:=\int_{\mathrm{1}} ^{\mathrm{2}} \:{arctan}\left({x}\right){dx}\:=\left[{xarctanx}\right]_{\mathrm{1}} ^{\mathrm{2}} \:−\int_{\mathrm{1}} ^{\mathrm{2}} \:\frac{{x}}{\mathrm{1}+{x}^{\mathrm{2}} }{dx} \\ $$$$=\mathrm{2}{arctan}\mathrm{2}−\frac{\pi}{\mathrm{4}}\:−\frac{\mathrm{1}}{\mathrm{2}}\left[{ln}\left(\mathrm{1}+{x}^{\mathrm{2}} \right)\right]_{\mathrm{1}} ^{\mathrm{2}} =\mathrm{2}{arctan}\left(\mathrm{2}\right)−\frac{\pi}{\mathrm{4}}\:−\frac{\mathrm{1}}{\mathrm{2}}\left({ln}\left(\mathrm{5}\right)−{ln}\left(\mathrm{2}\right)\right)\:\Rightarrow \\ $$$${I}\:=\:\frac{\pi}{\mathrm{2}}\:−\mathrm{2}{arctan}\left(\mathrm{2}\right)+\frac{\pi}{\mathrm{4}}\:+\frac{\mathrm{1}}{\mathrm{2}}{ln}\left(\mathrm{5}\right)−\frac{\mathrm{1}}{\mathrm{2}}{ln}\left(\mathrm{2}\right)\:+\frac{.\pi}{\mathrm{4}}\:−\frac{{ln}\left(\mathrm{2}\right)}{\mathrm{2}} \\ $$$${I}\:=\pi\:−\mathrm{2}{arctan}\left(\mathrm{2}\right)\:+\frac{{ln}\left(\mathrm{5}\right)−{ln}\left(\mathrm{2}\right)}{\mathrm{2}}\:. \\ $$
Commented by maxmathsup by imad last updated on 18/May/19
$${error}\:{at}\:{final}\:{line}\:{I}\:=\:\pi\:−\mathrm{2}{arctan}\left(\mathrm{2}\right)\:+\frac{{ln}\left(\mathrm{5}\right)}{\mathrm{2}}\:−{ln}\left(\mathrm{2}\right)\:. \\ $$
Answered by tanmay last updated on 07/May/19
$$\int_{\mathrm{0}} ^{\mathrm{1}} {tan}^{−\mathrm{1}} \left(\mathrm{1}+{x}+{x}^{\mathrm{2}} \right){dx} \\ $$$$\int_{\mathrm{0}} ^{\mathrm{1}} {cot}^{−\mathrm{1}} \left(\frac{\mathrm{1}}{\mathrm{1}+{x}\left({x}+\mathrm{1}\right)}\right){dx} \\ $$$${x}+\mathrm{1}={tana}\:\:\:{x}={tanb} \\ $$$$\frac{\mathrm{1}}{\mathrm{1}+{x}\left({x}+\mathrm{1}\right)}=\frac{{tana}−{tanb}}{\mathrm{1}+{tanatanb}}={tan}\left({a}−{b}\right)={cot}\left[\frac{\pi}{\mathrm{2}}−\left({a}−{b}\right)\right] \\ $$$${cot}^{−\mathrm{1}} \left[{cot}\left\{\frac{\pi}{\mathrm{2}}−\left({a}−{b}\right)\right\}\right] \\ $$$$=\frac{\pi}{\mathrm{2}}−{a}+{b} \\ $$$$=\frac{\pi}{\mathrm{2}}−{tan}^{−} \left({x}+\mathrm{1}\right)+{tan}^{−\mathrm{1}} {x} \\ $$$$\int_{\mathrm{0}} ^{\mathrm{1}} \frac{\pi}{\mathrm{2}}{dx}−\int_{\mathrm{0}} ^{\mathrm{1}} {tan}^{−\mathrm{1}} \left({x}+\mathrm{1}\right){dx}+\int_{\mathrm{0}} ^{\mathrm{1}} {tan}^{−\mathrm{1}} {xdx} \\ $$$${now}\:\int_{\mathrm{0}} ^{\mathrm{1}} \frac{\pi}{\mathrm{2}}{dx}=\frac{\pi}{\mathrm{2}} \\ $$$$\int_{\mathrm{0}} ^{\mathrm{1}} {tan}^{−\mathrm{1}} \left({x}+\mathrm{1}\right){dx} \\ $$$$\bigstar\int{tan}^{−\mathrm{1}} \left({x}+\mathrm{1}\right){dx} \\ $$$$={tan}^{−\mathrm{1}} \left({x}+\mathrm{1}\right)×{x}−\int\frac{{x}}{\mathrm{1}+\left(\mathrm{1}+{x}\right)^{\mathrm{2}} }{dx} \\ $$$$={xtan}^{−\mathrm{1}} \left({x}+\mathrm{1}\right)−\frac{\mathrm{1}}{\mathrm{2}}\int\frac{\mathrm{2}{x}+\mathrm{2}−\mathrm{2}}{{x}^{\mathrm{2}} +\mathrm{2}{x}+\mathrm{2}} \\ $$$$={xtan}^{−\mathrm{1}} \left({x}+\mathrm{1}\right)−\frac{\mathrm{1}}{\mathrm{2}}\int\frac{{d}\left({x}^{\mathrm{2}} +\mathrm{2}{x}+\mathrm{2}\right)}{{x}^{\mathrm{2}} +\mathrm{2}{x}+\mathrm{2}}+\int\frac{{dx}}{\mathrm{1}+\left({x}+\mathrm{1}\right)^{\mathrm{2}} } \\ $$$$={xtan}^{−\mathrm{1}} \left({x}+\mathrm{1}\right)−\frac{\mathrm{1}}{\mathrm{2}}{ln}\left({x}^{\mathrm{2}} +\mathrm{2}{x}+\mathrm{2}\right)+{tan}^{−\mathrm{1}} \left({x}+\mathrm{1}\right) \\ $$$${so}\:\mid{xtan}^{−\mathrm{1}} \left({x}+\mathrm{1}\right)−\frac{\mathrm{1}}{\mathrm{2}}{ln}\left({x}^{\mathrm{2}} +\mathrm{2}{x}+\mathrm{2}\right)+{tan}^{−\mathrm{1}} \left({x}+\mathrm{1}\right)\mid_{\mathrm{0}} ^{\mathrm{1}} \\ $$$$=\blacksquare{tan}^{−\mathrm{1}} \left(\mathrm{2}\right)−\frac{\mathrm{1}}{\mathrm{2}}{ln}\left(\mathrm{5}\right)+{tan}^{−} \left(\mathrm{2}\right)+\frac{\mathrm{1}}{\mathrm{2}}{ln}\mathrm{2}−\frac{\pi}{\mathrm{4}}\blacksquare \\ $$$$\int_{\mathrm{0}} ^{\mathrm{1}} {tan}^{−\mathrm{1}} {xdx} \\ $$$$\int{tan}^{−\mathrm{1}} {xdx} \\ $$$$={xtan}^{−\mathrm{1}} {x}−\int\frac{{x}}{\mathrm{1}+{x}^{\mathrm{2}} }{dx} \\ $$$$={xtan}^{−\mathrm{1}} {x}−\frac{\mathrm{1}}{\mathrm{2}}{ln}\left(\mathrm{1}+{x}^{\mathrm{2}} \right) \\ $$$$\boldsymbol{{so}}\mid{xtan}^{−\mathrm{1}} {x}−\frac{\mathrm{1}}{\mathrm{2}}{ln}\left(\mathrm{1}+{x}^{\mathrm{2}} \right)\mid_{\mathrm{0}} ^{\mathrm{1}} \\ $$$$={tan}^{−\mathrm{1}} \left(\mathrm{1}\right)−\frac{\mathrm{1}}{\mathrm{2}}{ln}\mathrm{2} \\ $$$$=\frac{\pi}{\mathrm{4}}−\frac{\mathrm{1}}{\mathrm{2}}{ln}\mathrm{2} \\ $$$$\boldsymbol{{so}}\:\boldsymbol{{answer}}\:\boldsymbol{{is}} \\ $$$$\int_{\mathrm{0}} ^{\mathrm{1}} \frac{\pi}{\mathrm{2}}{dx}+\int_{\mathrm{0}} ^{\mathrm{1}} {tan}^{−\mathrm{1}} {xdx}−\int_{\mathrm{0}} ^{\mathrm{1}} {tan}^{−\mathrm{1}} \left({x}+\mathrm{1}\right){dx} \\ $$$$=\frac{\pi}{\mathrm{2}}+\frac{\pi}{\mathrm{4}}−\frac{\mathrm{1}}{\mathrm{2}}{ln}\mathrm{2}−\mathrm{2}{tan}^{−\mathrm{1}} \left(\mathrm{2}\right)+\frac{\mathrm{1}}{\mathrm{2}}{ln}\mathrm{5}−\frac{\mathrm{1}}{\mathrm{2}}{ln}\mathrm{2}+\frac{\pi}{\mathrm{4}} \\ $$$$=\pi−{ln}\mathrm{2}+\frac{\mathrm{1}}{\mathrm{2}}{ln}\mathrm{5}−\mathrm{2}{tan}^{−\mathrm{1}} \left(\mathrm{2}\right) \\ $$$${pls}\:{go}\:{through}… \\ $$