Optimal. Leaf size=28 \[ -\frac {\sqrt {1-x}}{\sqrt {x}}-\frac {\text {ArcSin}\left (\sqrt {x}\right )}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 28, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {4926, 12, 37}
\begin {gather*} -\frac {\text {ArcSin}\left (\sqrt {x}\right )}{x}-\frac {\sqrt {1-x}}{\sqrt {x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 37
Rule 4926
Rubi steps
\begin {align*} \int \frac {\sin ^{-1}\left (\sqrt {x}\right )}{x^2} \, dx &=-\frac {\sin ^{-1}\left (\sqrt {x}\right )}{x}+\int \frac {1}{2 \sqrt {1-x} x^{3/2}} \, dx\\ &=-\frac {\sin ^{-1}\left (\sqrt {x}\right )}{x}+\frac {1}{2} \int \frac {1}{\sqrt {1-x} x^{3/2}} \, dx\\ &=-\frac {\sqrt {1-x}}{\sqrt {x}}-\frac {\sin ^{-1}\left (\sqrt {x}\right )}{x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 23, normalized size = 0.82 \begin {gather*} -\frac {\sqrt {x-x^2}+\text {ArcSin}\left (\sqrt {x}\right )}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.00, size = 23, normalized size = 0.82
method | result | size |
derivativedivides | \(-\frac {\arcsin \left (\sqrt {x}\right )}{x}-\frac {\sqrt {1-x}}{\sqrt {x}}\) | \(23\) |
default | \(-\frac {\arcsin \left (\sqrt {x}\right )}{x}-\frac {\sqrt {1-x}}{\sqrt {x}}\) | \(23\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.47, size = 22, normalized size = 0.79 \begin {gather*} -\frac {\sqrt {-x + 1}}{\sqrt {x}} - \frac {\arcsin \left (\sqrt {x}\right )}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.23, size = 21, normalized size = 0.75 \begin {gather*} -\frac {\sqrt {x} \sqrt {-x + 1} + \arcsin \left (\sqrt {x}\right )}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 1.87, size = 42, normalized size = 1.50 \begin {gather*} \frac {\begin {cases} - \frac {2 i \sqrt {x - 1}}{\sqrt {x}} & \text {for}\: \left |{x}\right | > 1 \\- \frac {2 \sqrt {1 - x}}{\sqrt {x}} & \text {otherwise} \end {cases}}{2} - \frac {\operatorname {asin}{\left (\sqrt {x} \right )}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.40, size = 40, normalized size = 1.43 \begin {gather*} -\frac {\sqrt {-x + 1} - 1}{2 \, \sqrt {x}} - \frac {\arcsin \left (\sqrt {x}\right )}{x} + \frac {\sqrt {x}}{2 \, {\left (\sqrt {-x + 1} - 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.04 \begin {gather*} \int \frac {\mathrm {asin}\left (\sqrt {x}\right )}{x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________