Optimal. Leaf size=16 \[ -\frac {\sqrt {1-x^2}}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 16, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {270}
\begin {gather*} -\frac {\sqrt {1-x^2}}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 270
Rubi steps
\begin {align*} \int \frac {1}{x^2 \sqrt {1-x^2}} \, dx &=-\frac {\sqrt {1-x^2}}{x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 16, normalized size = 1.00 \begin {gather*} -\frac {\sqrt {1-x^2}}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 2 in
optimal.
time = 2.13, size = 35, normalized size = 2.19 \begin {gather*} \text {Piecewise}\left [\left \{\left \{-\frac {I \sqrt {-1+x^2}}{x},\text {Abs}\left [x^2\right ]>1\right \}\right \},-\frac {\sqrt {1-x^2}}{x}\right ] \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 15, normalized size = 0.94
method | result | size |
default | \(-\frac {\sqrt {-x^{2}+1}}{x}\) | \(15\) |
trager | \(-\frac {\sqrt {-x^{2}+1}}{x}\) | \(15\) |
meijerg | \(-\frac {\sqrt {-x^{2}+1}}{x}\) | \(15\) |
risch | \(\frac {x^{2}-1}{x \sqrt {-x^{2}+1}}\) | \(19\) |
gosper | \(\frac {\left (-1+x \right ) \left (1+x \right )}{x \sqrt {-x^{2}+1}}\) | \(20\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.35, size = 14, normalized size = 0.88 \begin {gather*} -\frac {\sqrt {-x^{2} + 1}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.33, size = 14, normalized size = 0.88 \begin {gather*} -\frac {\sqrt {-x^{2} + 1}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.38, size = 27, normalized size = 1.69 \begin {gather*} \begin {cases} - \frac {i \sqrt {x^{2} - 1}}{x} & \text {for}\: \left |{x^{2}}\right | > 1 \\- \frac {\sqrt {1 - x^{2}}}{x} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 33 vs.
\(2 (14) = 28\).
time = 0.00, size = 40, normalized size = 2.50 \begin {gather*} -\frac {x}{-2 \sqrt {-x^{2}+1}+2}+\frac {-2 \sqrt {-x^{2}+1}+2}{4 x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.23, size = 14, normalized size = 0.88 \begin {gather*} -\frac {\sqrt {1-x^2}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________