Optimal. Leaf size=25 \[ -2 \sqrt {1-x}+2 \sqrt {x} \text {ArcCos}\left (\sqrt {x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {6847, 4716,
267} \begin {gather*} 2 \sqrt {x} \text {ArcCos}\left (\sqrt {x}\right )-2 \sqrt {1-x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 267
Rule 4716
Rule 6847
Rubi steps
\begin {align*} \int \frac {\cos ^{-1}\left (\sqrt {x}\right )}{\sqrt {x}} \, dx &=2 \text {Subst}\left (\int \cos ^{-1}(x) \, dx,x,\sqrt {x}\right )\\ &=2 \sqrt {x} \cos ^{-1}\left (\sqrt {x}\right )+2 \text {Subst}\left (\int \frac {x}{\sqrt {1-x^2}} \, dx,x,\sqrt {x}\right )\\ &=-2 \sqrt {1-x}+2 \sqrt {x} \cos ^{-1}\left (\sqrt {x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 25, normalized size = 1.00 \begin {gather*} -2 \sqrt {1-x}+2 \sqrt {x} \text {ArcCos}\left (\sqrt {x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.00, size = 20, normalized size = 0.80
method | result | size |
derivativedivides | \(-2 \sqrt {1-x}+2 \arccos \left (\sqrt {x}\right ) \sqrt {x}\) | \(20\) |
default | \(-2 \sqrt {1-x}+2 \arccos \left (\sqrt {x}\right ) \sqrt {x}\) | \(20\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.46, size = 19, normalized size = 0.76 \begin {gather*} 2 \, \sqrt {x} \arccos \left (\sqrt {x}\right ) - 2 \, \sqrt {-x + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.24, size = 19, normalized size = 0.76 \begin {gather*} 2 \, \sqrt {x} \arccos \left (\sqrt {x}\right ) - 2 \, \sqrt {-x + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.10, size = 20, normalized size = 0.80 \begin {gather*} 2 \sqrt {x} \operatorname {acos}{\left (\sqrt {x} \right )} - 2 \sqrt {1 - x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.42, size = 19, normalized size = 0.76 \begin {gather*} 2 \, \sqrt {x} \arccos \left (\sqrt {x}\right ) - 2 \, \sqrt {-x + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.40, size = 19, normalized size = 0.76 \begin {gather*} 2\,\sqrt {x}\,\mathrm {acos}\left (\sqrt {x}\right )-2\,\sqrt {1-x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________