∫arctanx/x^2dx
=-∫arctanxd1/x
=-arctanx/x+∫1/xdarctanx
=-arctanx/x+∫1/[x(1+x^2)]dx
=-arctanx/x+∫1/x-x/(1+x^2)dx
=-arctanx/x+lnx-1/2ln(1+x^2)+C
=-arctanx/x+ln[x/√(1+x^2)]+C
∫arctanx/x^2dx
=-∫arctanxd1/x
=-arctanx/x+∫1/xdarctanx
=-arctanx/x+∫1/[x(1+x^2)]dx
=-arctanx/x+∫1/x-x/(1+x^2)dx
=-arctanx/x+lnx-1/2ln(1+x^2)+C
=-arctanx/x+ln[x/√(1+x^2)]+C