3.677 \(\int \frac {(1+x^2) \tan ^{-1}(x)}{x^5} \, dx\)

Optimal. Leaf size=31 \[ -\frac {1}{12 x^3}-\frac {\left (x^2+1\right )^2 \tan ^{-1}(x)}{4 x^4}-\frac {1}{4 x} \]

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {4944, 14} \[ -\frac {1}{12 x^3}-\frac {\left (x^2+1\right )^2 \tan ^{-1}(x)}{4 x^4}-\frac {1}{4 x} \]

Antiderivative was successfully verified.

[In]

Int[((1 + x^2)*ArcTan[x])/x^5,x]

[Out]

-1/(12*x^3) - 1/(4*x) - ((1 + x^2)^2*ArcTan[x])/(4*x^4)

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rule 4944

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)*((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^2)^(q_.), x_Symbol] :> Simp
[((f*x)^(m + 1)*(d + e*x^2)^(q + 1)*(a + b*ArcTan[c*x])^p)/(d*f*(m + 1)), x] - Dist[(b*c*p)/(f*(m + 1)), Int[(
f*x)^(m + 1)*(d + e*x^2)^q*(a + b*ArcTan[c*x])^(p - 1), x], x] /; FreeQ[{a, b, c, d, e, f, m, q}, x] && EqQ[e,
 c^2*d] && EqQ[m + 2*q + 3, 0] && GtQ[p, 0] && NeQ[m, -1]

Rubi steps

\begin {align*} \int \frac {\left (1+x^2\right ) \tan ^{-1}(x)}{x^5} \, dx &=-\frac {\left (1+x^2\right )^2 \tan ^{-1}(x)}{4 x^4}+\frac {1}{4} \int \frac {1+x^2}{x^4} \, dx\\ &=-\frac {\left (1+x^2\right )^2 \tan ^{-1}(x)}{4 x^4}+\frac {1}{4} \int \left (\frac {1}{x^4}+\frac {1}{x^2}\right ) \, dx\\ &=-\frac {1}{12 x^3}-\frac {1}{4 x}-\frac {\left (1+x^2\right )^2 \tan ^{-1}(x)}{4 x^4}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 0.01, size = 59, normalized size = 1.90 \[ -\frac {\, _2F_1\left (-\frac {1}{2},1;\frac {1}{2};-x^2\right )}{2 x}-\frac {\, _2F_1\left (-\frac {3}{2},1;-\frac {1}{2};-x^2\right )}{12 x^3}-\frac {\tan ^{-1}(x)}{4 x^4}-\frac {\tan ^{-1}(x)}{2 x^2} \]

Antiderivative was successfully verified.

[In]

Integrate[((1 + x^2)*ArcTan[x])/x^5,x]

[Out]

-1/4*ArcTan[x]/x^4 - ArcTan[x]/(2*x^2) - Hypergeometric2F1[-3/2, 1, -1/2, -x^2]/(12*x^3) - Hypergeometric2F1[-
1/2, 1, 1/2, -x^2]/(2*x)

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (1+x^2\right ) \tan ^{-1}(x)}{x^5} \, dx \]

Verification is Not applicable to the result.

[In]

IntegrateAlgebraic[((1 + x^2)*ArcTan[x])/x^5,x]

[Out]

Could not integrate

________________________________________________________________________________________

fricas [A]  time = 1.02, size = 26, normalized size = 0.84 \[ -\frac {3 \, x^{3} + 3 \, {\left (x^{4} + 2 \, x^{2} + 1\right )} \arctan \relax (x) + x}{12 \, x^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x^2+1)*arctan(x)/x^5,x, algorithm="fricas")

[Out]

-1/12*(3*x^3 + 3*(x^4 + 2*x^2 + 1)*arctan(x) + x)/x^4

________________________________________________________________________________________

giac [A]  time = 0.95, size = 31, normalized size = 1.00 \[ -\frac {3 \, x^{2} + 1}{12 \, x^{3}} - \frac {{\left (2 \, x^{2} + 1\right )} \arctan \relax (x)}{4 \, x^{4}} - \frac {1}{4} \, \arctan \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x^2+1)*arctan(x)/x^5,x, algorithm="giac")

[Out]

-1/12*(3*x^2 + 1)/x^3 - 1/4*(2*x^2 + 1)*arctan(x)/x^4 - 1/4*arctan(x)

________________________________________________________________________________________

maple [A]  time = 0.08, size = 30, normalized size = 0.97




method result size



default \(-\frac {\arctan \relax (x )}{2 x^{2}}-\frac {\arctan \relax (x )}{4 x^{4}}-\frac {1}{12 x^{3}}-\frac {1}{4 x}-\frac {\arctan \relax (x )}{4}\) \(30\)
meijerg \(-\frac {1}{12 x^{3}}-\frac {1}{4 x}-\frac {2 \left (-\frac {3 x^{4}}{8}+\frac {3}{8}\right ) \arctan \left (\sqrt {x^{2}}\right )}{3 x^{3} \sqrt {x^{2}}}-\frac {\left (x^{2}+1\right ) \arctan \relax (x )}{2 x^{2}}\) \(47\)
risch \(\frac {i \left (2 x^{2}+1\right ) \ln \left (i x +1\right )}{8 x^{4}}+\frac {i \left (3 \ln \left (x -i\right ) x^{4}-3 \ln \left (x +i\right ) x^{4}+6 i x^{3}-6 x^{2} \ln \left (-i x +1\right )+2 i x -3 \ln \left (-i x +1\right )\right )}{24 x^{4}}\) \(80\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^2+1)*arctan(x)/x^5,x,method=_RETURNVERBOSE)

[Out]

-1/2*arctan(x)/x^2-1/4*arctan(x)/x^4-1/12/x^3-1/4/x-1/4*arctan(x)

________________________________________________________________________________________

maxima [A]  time = 0.95, size = 31, normalized size = 1.00 \[ -\frac {3 \, x^{2} + 1}{12 \, x^{3}} - \frac {{\left (2 \, x^{2} + 1\right )} \arctan \relax (x)}{4 \, x^{4}} - \frac {1}{4} \, \arctan \relax (x) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x^2+1)*arctan(x)/x^5,x, algorithm="maxima")

[Out]

-1/12*(3*x^2 + 1)/x^3 - 1/4*(2*x^2 + 1)*arctan(x)/x^4 - 1/4*arctan(x)

________________________________________________________________________________________

mupad [B]  time = 0.32, size = 30, normalized size = 0.97 \[ -\frac {\mathrm {atan}\relax (x)}{4}-\frac {\frac {x}{12}+\frac {\mathrm {atan}\relax (x)}{4}+\frac {x^2\,\mathrm {atan}\relax (x)}{2}+\frac {x^3}{4}}{x^4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((atan(x)*(x^2 + 1))/x^5,x)

[Out]

- atan(x)/4 - (x/12 + atan(x)/4 + (x^2*atan(x))/2 + x^3/4)/x^4

________________________________________________________________________________________

sympy [A]  time = 0.84, size = 34, normalized size = 1.10 \[ - \frac {\operatorname {atan}{\relax (x )}}{4} - \frac {1}{4 x} - \frac {\operatorname {atan}{\relax (x )}}{2 x^{2}} - \frac {1}{12 x^{3}} - \frac {\operatorname {atan}{\relax (x )}}{4 x^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((x**2+1)*atan(x)/x**5,x)

[Out]

-atan(x)/4 - 1/(4*x) - atan(x)/(2*x**2) - 1/(12*x**3) - atan(x)/(4*x**4)

________________________________________________________________________________________