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

Optimal. Leaf size=27 \[ \sqrt {\frac {1}{1-x^2}} \sqrt {1-x^2} \sin ^{-1}(x) \]

[Out]

arcsin(x)*(1/(-x^2+1))^(1/2)*(-x^2+1)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {6688, 6720, 216} \[ \sqrt {\frac {1}{1-x^2}} \sqrt {1-x^2} \sin ^{-1}(x) \]

Antiderivative was successfully verified.

[In]

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

[Out]

Sqrt[(1 - x^2)^(-1)]*Sqrt[1 - x^2]*ArcSin[x]

Rule 216

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

Rule 6688

Int[u_, x_Symbol] :> With[{v = SimplifyIntegrand[u, x]}, Int[v, x] /; SimplerIntegrandQ[v, u, x]]

Rule 6720

Int[(u_.)*((a_.)*(v_)^(m_.))^(p_), x_Symbol] :> Dist[(a^IntPart[p]*(a*v^m)^FracPart[p])/v^(m*FracPart[p]), Int
[u*v^(m*p), x], x] /; FreeQ[{a, m, p}, x] &&  !IntegerQ[p] &&  !FreeQ[v, x] &&  !(EqQ[a, 1] && EqQ[m, 1]) &&
!(EqQ[v, x] && EqQ[m, 1])

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 27, normalized size = 1.00 \[ \sqrt {\frac {1}{1-x^2}} \sqrt {1-x^2} \sin ^{-1}(x) \]

Antiderivative was successfully verified.

[In]

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

[Out]

Sqrt[(1 - x^2)^(-1)]*Sqrt[1 - x^2]*ArcSin[x]

________________________________________________________________________________________

fricas [A]  time = 0.41, size = 26, normalized size = 0.96 \[ 2 \, \arctan \left (\frac {{\left (x^{2} - 1\right )} \sqrt {-\frac {1}{x^{2} - 1}} + 1}{x}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

2*arctan(((x^2 - 1)*sqrt(-1/(x^2 - 1)) + 1)/x)

________________________________________________________________________________________

giac [A]  time = 0.34, size = 10, normalized size = 0.37 \[ -\arcsin \relax (x) \mathrm {sgn}\left (x^{2} - 1\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-arcsin(x)*sgn(x^2 - 1)

________________________________________________________________________________________

maple [A]  time = 0.01, size = 30, normalized size = 1.11 \[ \sqrt {-\frac {1}{x^{2}-1}}\, \sqrt {x^{2}-1}\, \ln \left (x +\sqrt {x^{2}-1}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(-1/(x^2-1))^(1/2)*(x^2-1)^(1/2)*ln(x+(x^2-1)^(1/2))

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________