3.662 \(\int \frac{1-\frac{\sqrt{x^6}}{x}}{1-x^4} \, dx\)

Optimal. Leaf size=45 \[ \frac{\sqrt{x^6} \tan ^{-1}(x)}{2 x^3}-\frac{\sqrt{x^6} \tanh ^{-1}(x)}{2 x^3}+\frac{1}{2} \tan ^{-1}(x)+\frac{1}{2} \tanh ^{-1}(x) \]

[Out]

ArcTan[x]/2 + (Sqrt[x^6]*ArcTan[x])/(2*x^3) + ArcTanh[x]/2 - (Sqrt[x^6]*ArcTanh[
x])/(2*x^3)

_______________________________________________________________________________________

Rubi [A]  time = 0.0958688, antiderivative size = 45, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 6, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25 \[ \frac{\sqrt{x^6} \tan ^{-1}(x)}{2 x^3}-\frac{\sqrt{x^6} \tanh ^{-1}(x)}{2 x^3}+\frac{1}{2} \tan ^{-1}(x)+\frac{1}{2} \tanh ^{-1}(x) \]

Antiderivative was successfully verified.

[In]  Int[(1 - Sqrt[x^6]/x)/(1 - x^4),x]

[Out]

ArcTan[x]/2 + (Sqrt[x^6]*ArcTan[x])/(2*x^3) + ArcTanh[x]/2 - (Sqrt[x^6]*ArcTanh[
x])/(2*x^3)

_______________________________________________________________________________________

Rubi in Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((1-(x**6)**(1/2)/x)/(-x**4+1),x)

[Out]

Timed out

_______________________________________________________________________________________

Mathematica [A]  time = 0.0580209, size = 0, normalized size = 0. \[ \int \frac{1-\frac{\sqrt{x^6}}{x}}{1-x^4} \, dx \]

Verification is Not applicable to the result.

[In]  Integrate[(1 - Sqrt[x^6]/x)/(1 - x^4),x]

[Out]

Integrate[(1 - Sqrt[x^6]/x)/(1 - x^4), x]

_______________________________________________________________________________________

Maple [A]  time = 0.004, size = 35, normalized size = 0.8 \[{\frac{\ln \left ( -1+x \right ) -\ln \left ( 1+x \right ) +2\,\arctan \left ( x \right ) }{4\,{x}^{3}}\sqrt{{x}^{6}}}+{\frac{{\it Artanh} \left ( x \right ) }{2}}+{\frac{\arctan \left ( x \right ) }{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((1-(x^6)^(1/2)/x)/(-x^4+1),x)

[Out]

1/4*(x^6)^(1/2)*(ln(-1+x)-ln(1+x)+2*arctan(x))/x^3+1/2*arctanh(x)+1/2*arctan(x)

_______________________________________________________________________________________

Maxima [A]  time = 0.859317, size = 3, normalized size = 0.07 \[ \arctan \left (x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((sqrt(x^6)/x - 1)/(x^4 - 1),x, algorithm="maxima")

[Out]

arctan(x)

_______________________________________________________________________________________

Fricas [A]  time = 0.264862, size = 3, normalized size = 0.07 \[ \arctan \left (x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((sqrt(x^6)/x - 1)/(x^4 - 1),x, algorithm="fricas")

[Out]

arctan(x)

_______________________________________________________________________________________

Sympy [A]  time = 0.190615, size = 2, normalized size = 0.04 \[ \operatorname{atan}{\left (x \right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((1-(x**6)**(1/2)/x)/(-x**4+1),x)

[Out]

atan(x)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.264345, size = 42, normalized size = 0.93 \[ \frac{1}{2} \,{\left ({\rm sign}\left (x\right ) + 1\right )} \arctan \left (x\right ) - \frac{1}{4} \,{\left ({\rm sign}\left (x\right ) - 1\right )}{\rm ln}\left ({\left | x + 1 \right |}\right ) + \frac{1}{4} \,{\left ({\rm sign}\left (x\right ) - 1\right )}{\rm ln}\left ({\left | x - 1 \right |}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((sqrt(x^6)/x - 1)/(x^4 - 1),x, algorithm="giac")

[Out]

1/2*(sign(x) + 1)*arctan(x) - 1/4*(sign(x) - 1)*ln(abs(x + 1)) + 1/4*(sign(x) -
1)*ln(abs(x - 1))