3.995 \(\int \sqrt {1-x^2+x \sqrt {-1+x^2}} \, dx\)

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

[Out]

3/8*arcsin(x-(x^2-1)^(1/2))*2^(1/2)+1/4*(3*x+(x^2-1)^(1/2))*(1-x^2+x*(x^2-1)^(1/2))^(1/2)

________________________________________________________________________________________

Rubi [F]  time = 0.03, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \[ \int \sqrt {1-x^2+x \sqrt {-1+x^2}} \, dx \]

Verification is Not applicable to the result.

[In]

Int[Sqrt[1 - x^2 + x*Sqrt[-1 + x^2]],x]

[Out]

Defer[Int][Sqrt[1 - x^2 + x*Sqrt[-1 + x^2]], x]

Rubi steps

\begin {align*} \int \sqrt {1-x^2+x \sqrt {-1+x^2}} \, dx &=\int \sqrt {1-x^2+x \sqrt {-1+x^2}} \, dx\\ \end {align*}

________________________________________________________________________________________

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

Verification is Not applicable to the result.

[In]

Integrate[Sqrt[1 - x^2 + x*Sqrt[-1 + x^2]],x]

[Out]

Integrate[Sqrt[1 - x^2 + x*Sqrt[-1 + x^2]], x]

________________________________________________________________________________________

fricas [A]  time = 1.03, size = 68, normalized size = 1.08 \[ \frac {1}{4} \, \sqrt {-x^{2} + \sqrt {x^{2} - 1} x + 1} {\left (3 \, x + \sqrt {x^{2} - 1}\right )} + \frac {3}{8} \, \sqrt {2} \arctan \left (\frac {\sqrt {2} \sqrt {-x^{2} + \sqrt {x^{2} - 1} x + 1}}{2 \, \sqrt {x^{2} - 1}}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________