Optimal. Leaf size=60 \[ -\frac {3}{16} \sqrt {1-x} \sqrt {x}-\frac {1}{8} \sqrt {1-x} x^{3/2}+\frac {1}{2} x^2 \text {ArcCos}\left (\sqrt {x}\right )-\frac {3}{32} \text {ArcSin}(1-2 x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 60, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.750, Rules used = {4927, 12, 52, 55,
633, 222} \begin {gather*} \frac {1}{2} x^2 \text {ArcCos}\left (\sqrt {x}\right )-\frac {3}{32} \text {ArcSin}(1-2 x)-\frac {1}{8} \sqrt {1-x} x^{3/2}-\frac {3}{16} \sqrt {1-x} \sqrt {x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 52
Rule 55
Rule 222
Rule 633
Rule 4927
Rubi steps
\begin {align*} \int x \cos ^{-1}\left (\sqrt {x}\right ) \, dx &=\frac {1}{2} x^2 \cos ^{-1}\left (\sqrt {x}\right )+\frac {1}{2} \int \frac {x^{3/2}}{2 \sqrt {1-x}} \, dx\\ &=\frac {1}{2} x^2 \cos ^{-1}\left (\sqrt {x}\right )+\frac {1}{4} \int \frac {x^{3/2}}{\sqrt {1-x}} \, dx\\ &=-\frac {1}{8} \sqrt {1-x} x^{3/2}+\frac {1}{2} x^2 \cos ^{-1}\left (\sqrt {x}\right )+\frac {3}{16} \int \frac {\sqrt {x}}{\sqrt {1-x}} \, dx\\ &=-\frac {3}{16} \sqrt {1-x} \sqrt {x}-\frac {1}{8} \sqrt {1-x} x^{3/2}+\frac {1}{2} x^2 \cos ^{-1}\left (\sqrt {x}\right )+\frac {3}{32} \int \frac {1}{\sqrt {1-x} \sqrt {x}} \, dx\\ &=-\frac {3}{16} \sqrt {1-x} \sqrt {x}-\frac {1}{8} \sqrt {1-x} x^{3/2}+\frac {1}{2} x^2 \cos ^{-1}\left (\sqrt {x}\right )+\frac {3}{32} \int \frac {1}{\sqrt {x-x^2}} \, dx\\ &=-\frac {3}{16} \sqrt {1-x} \sqrt {x}-\frac {1}{8} \sqrt {1-x} x^{3/2}+\frac {1}{2} x^2 \cos ^{-1}\left (\sqrt {x}\right )-\frac {3}{32} \text {Subst}\left (\int \frac {1}{\sqrt {1-x^2}} \, dx,x,1-2 x\right )\\ &=-\frac {3}{16} \sqrt {1-x} \sqrt {x}-\frac {1}{8} \sqrt {1-x} x^{3/2}+\frac {1}{2} x^2 \cos ^{-1}\left (\sqrt {x}\right )-\frac {3}{32} \sin ^{-1}(1-2 x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 41, normalized size = 0.68 \begin {gather*} \frac {1}{16} \left (-\sqrt {-((-1+x) x)} (3+2 x)+8 x^2 \text {ArcCos}\left (\sqrt {x}\right )+3 \text {ArcSin}\left (\sqrt {x}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 41, normalized size = 0.68
method | result | size |
derivativedivides | \(\frac {x^{2} \arccos \left (\sqrt {x}\right )}{2}-\frac {x^{\frac {3}{2}} \sqrt {1-x}}{8}-\frac {3 \sqrt {1-x}\, \sqrt {x}}{16}+\frac {3 \arcsin \left (\sqrt {x}\right )}{16}\) | \(41\) |
default | \(\frac {x^{2} \arccos \left (\sqrt {x}\right )}{2}-\frac {x^{\frac {3}{2}} \sqrt {1-x}}{8}-\frac {3 \sqrt {1-x}\, \sqrt {x}}{16}+\frac {3 \arcsin \left (\sqrt {x}\right )}{16}\) | \(41\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.47, size = 40, normalized size = 0.67 \begin {gather*} \frac {1}{2} \, x^{2} \arccos \left (\sqrt {x}\right ) - \frac {1}{8} \, x^{\frac {3}{2}} \sqrt {-x + 1} - \frac {3}{16} \, \sqrt {x} \sqrt {-x + 1} + \frac {3}{16} \, \arcsin \left (\sqrt {x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.64, size = 31, normalized size = 0.52 \begin {gather*} -\frac {1}{16} \, {\left (2 \, x + 3\right )} \sqrt {x} \sqrt {-x + 1} + \frac {1}{16} \, {\left (8 \, x^{2} - 3\right )} \arccos \left (\sqrt {x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 2.14, size = 66, normalized size = 1.10 \begin {gather*} \frac {x^{2} \operatorname {acos}{\left (\sqrt {x} \right )}}{2} + \frac {\begin {cases} \frac {\sqrt {x} \left (1 - 2 x\right ) \sqrt {1 - x}}{8} - \frac {\sqrt {x} \sqrt {1 - x}}{2} + \frac {3 \operatorname {asin}{\left (\sqrt {x} \right )}}{8} & \text {for}\: \sqrt {x} > -1 \wedge \sqrt {x} < 1 \end {cases}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.44, size = 40, normalized size = 0.67 \begin {gather*} \frac {1}{2} \, x^{2} \arccos \left (\sqrt {x}\right ) - \frac {1}{8} \, x^{\frac {3}{2}} \sqrt {-x + 1} - \frac {3}{16} \, \sqrt {x} \sqrt {-x + 1} - \frac {3}{16} \, \arccos \left (\sqrt {x}\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.02 \begin {gather*} \int x\,\mathrm {acos}\left (\sqrt {x}\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________