Optimal. Leaf size=34 \[ \frac {x^2}{4}+\frac {1}{2} x \sqrt {1-x^2} \cos ^{-1}(x)-\frac {1}{4} \cos ^{-1}(x)^2 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {4742, 4738, 30}
\begin {gather*} \frac {1}{2} \sqrt {1-x^2} x \text {ArcCos}(x)-\frac {\text {ArcCos}(x)^2}{4}+\frac {x^2}{4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 4738
Rule 4742
Rubi steps
\begin {align*} \int \sqrt {1-x^2} \cos ^{-1}(x) \, dx &=\frac {1}{2} x \sqrt {1-x^2} \cos ^{-1}(x)+\frac {\int x \, dx}{2}+\frac {1}{2} \int \frac {\cos ^{-1}(x)}{\sqrt {1-x^2}} \, dx\\ &=\frac {x^2}{4}+\frac {1}{2} x \sqrt {1-x^2} \cos ^{-1}(x)-\frac {1}{4} \cos ^{-1}(x)^2\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 30, normalized size = 0.88 \begin {gather*} \frac {1}{4} \left (x^2+2 x \sqrt {1-x^2} \cos ^{-1}(x)-\cos ^{-1}(x)^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.11, size = 33, normalized size = 0.97
method | result | size |
default | \(-\frac {\arccos \left (x \right ) \left (-x \sqrt {-x^{2}+1}+\arccos \left (x \right )\right )}{2}+\frac {\arccos \left (x \right )^{2}}{4}+\frac {x^{2}}{4}-\frac {1}{4}\) | \(33\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 1.73, size = 30, normalized size = 0.88 \begin {gather*} \frac {1}{4} \, x^{2} + \frac {1}{2} \, {\left (\sqrt {-x^{2} + 1} x + \arcsin \left (x\right )\right )} \arccos \left (x\right ) + \frac {1}{4} \, \arcsin \left (x\right )^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.51, size = 26, normalized size = 0.76 \begin {gather*} \frac {1}{2} \, \sqrt {-x^{2} + 1} x \arccos \left (x\right ) + \frac {1}{4} \, x^{2} - \frac {1}{4} \, \arccos \left (x\right )^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 1.07, size = 39, normalized size = 1.15 \begin {gather*} \left (\begin {cases} \frac {x \sqrt {1 - x^{2}}}{2} + \frac {\operatorname {asin}{\left (x \right )}}{2} & \text {for}\: x > -1 \wedge x < 1 \end {cases}\right ) \operatorname {acos}{\left (x \right )} + \begin {cases} \text {NaN} & \text {for}\: x < -1 \\\frac {x^{2}}{4} + \frac {\operatorname {asin}^{2}{\left (x \right )}}{4} & \text {for}\: x < 1 \\\text {NaN} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.40, size = 27, normalized size = 0.79 \begin {gather*} \frac {1}{2} \, \sqrt {-x^{2} + 1} x \arccos \left (x\right ) + \frac {1}{4} \, x^{2} - \frac {1}{4} \, \arccos \left (x\right )^{2} - \frac {1}{8} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \mathrm {acos}\left (x\right )\,\sqrt {1-x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________