Optimal. Leaf size=18 \[ \frac{x}{2 \sqrt{\frac{1}{2-x^2}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0488586, antiderivative size = 18, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095, Rules used = {6720, 383} \[ \frac{x}{2 \sqrt{\frac{1}{2-x^2}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6720
Rule 383
Rubi steps
\begin{align*} \int \left (1-x^2\right ) \sqrt{\frac{1}{2-x^2}} \, dx &=\left (\sqrt{\frac{1}{2-x^2}} \sqrt{2-x^2}\right ) \int \frac{1-x^2}{\sqrt{2-x^2}} \, dx\\ &=\frac{x}{2 \sqrt{\frac{1}{2-x^2}}}\\ \end{align*}
Mathematica [A] time = 0.0089827, size = 18, normalized size = 1. \[ \frac{x}{2 \sqrt{\frac{1}{2-x^2}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 20, normalized size = 1.1 \begin{align*} -{\frac{x \left ({x}^{2}-2 \right ) }{2}\sqrt{- \left ({x}^{2}-2 \right ) ^{-1}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\int{\left (x^{2} - 1\right )} \sqrt{-\frac{1}{x^{2} - 2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.67516, size = 50, normalized size = 2.78 \begin{align*} -\frac{1}{2} \,{\left (x^{3} - 2 \, x\right )} \sqrt{-\frac{1}{x^{2} - 2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 0.505023, size = 26, normalized size = 1.44 \begin{align*} - \frac{x^{3} \sqrt{\frac{1}{2 - x^{2}}}}{2} + x \sqrt{\frac{1}{2 - x^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.12969, size = 24, normalized size = 1.33 \begin{align*} -\frac{1}{2} \, \sqrt{-x^{2} + 2} x \mathrm{sgn}\left (x^{2} - 2\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]