3.999 \(\int \frac {1}{(1+x^4) \sqrt {-x^2+\sqrt {1+x^4}}} \, dx\)

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

[Out]

arctan(x/(-x^2+(x^4+1)^(1/2))^(1/2))

________________________________________________________________________________________

Rubi [A]  time = 0.06, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {2128, 203} \[ \tan ^{-1}\left (\frac {x}{\sqrt {\sqrt {x^4+1}-x^2}}\right ) \]

Antiderivative was successfully verified.

[In]

Int[1/((1 + x^4)*Sqrt[-x^2 + Sqrt[1 + x^4]]),x]

[Out]

ArcTan[x/Sqrt[-x^2 + Sqrt[1 + x^4]]]

Rule 203

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTan[(Rt[b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[b, 2]), x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 2128

Int[1/(((a_) + (b_.)*(x_)^(n_.))*Sqrt[(c_.)*(x_)^2 + (d_.)*((a_) + (b_.)*(x_)^(n_.))^(p_.)]), x_Symbol] :> Dis
t[1/a, Subst[Int[1/(1 - c*x^2), x], x, x/Sqrt[c*x^2 + d*(a + b*x^n)^(2/n)]], x] /; FreeQ[{a, b, c, d, n}, x] &
& EqQ[p, 2/n]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 1.06, size = 24, normalized size = 1.09 \[ \cot ^{-1}\left (\frac {\sqrt {\sqrt {x^4+1}-x^2}}{x}\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[1/((1 + x^4)*Sqrt[-x^2 + Sqrt[1 + x^4]]),x]

[Out]

ArcCot[Sqrt[-x^2 + Sqrt[1 + x^4]]/x]

________________________________________________________________________________________

fricas [B]  time = 1.79, size = 62, normalized size = 2.82 \[ -\frac {1}{4} \, \arctan \left (\frac {4 \, {\left (10 \, x^{7} - 6 \, x^{3} + {\left (7 \, x^{5} - x\right )} \sqrt {x^{4} + 1}\right )} \sqrt {-x^{2} + \sqrt {x^{4} + 1}}}{17 \, x^{8} - 46 \, x^{4} + 1}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(x^4+1)/(-x^2+(x^4+1)^(1/2))^(1/2),x, algorithm="fricas")

[Out]

-1/4*arctan(4*(10*x^7 - 6*x^3 + (7*x^5 - x)*sqrt(x^4 + 1))*sqrt(-x^2 + sqrt(x^4 + 1))/(17*x^8 - 46*x^4 + 1))

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{{\left (x^{4} + 1\right )} \sqrt {-x^{2} + \sqrt {x^{4} + 1}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(x^4+1)/(-x^2+(x^4+1)^(1/2))^(1/2),x, algorithm="giac")

[Out]

integrate(1/((x^4 + 1)*sqrt(-x^2 + sqrt(x^4 + 1))), x)

________________________________________________________________________________________

maple [F]  time = 0.08, size = 0, normalized size = 0.00 \[ \int \frac {1}{\left (x^{4}+1\right ) \sqrt {-x^{2}+\sqrt {x^{4}+1}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(x^4+1)/(-x^2+(x^4+1)^(1/2))^(1/2),x)

[Out]

int(1/(x^4+1)/(-x^2+(x^4+1)^(1/2))^(1/2),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{{\left (x^{4} + 1\right )} \sqrt {-x^{2} + \sqrt {x^{4} + 1}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(x^4+1)/(-x^2+(x^4+1)^(1/2))^(1/2),x, algorithm="maxima")

[Out]

integrate(1/((x^4 + 1)*sqrt(-x^2 + sqrt(x^4 + 1))), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.05 \[ \int \frac {1}{\sqrt {\sqrt {x^4+1}-x^2}\,\left (x^4+1\right )} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(((x^4 + 1)^(1/2) - x^2)^(1/2)*(x^4 + 1)),x)

[Out]

int(1/(((x^4 + 1)^(1/2) - x^2)^(1/2)*(x^4 + 1)), x)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(x**4+1)/(-x**2+(x**4+1)**(1/2))**(1/2),x)

[Out]

Integral(1/(sqrt(-x**2 + sqrt(x**4 + 1))*(x**4 + 1)), x)

________________________________________________________________________________________