Optimal. Leaf size=34 \[ \frac{x^2}{4}+\frac{1}{2} \sqrt{1-x^2} x \cos ^{-1}(x)-\frac{1}{4} \cos ^{-1}(x)^2 \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0297441, antiderivative size = 34, normalized size of antiderivative = 1., 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 = {4648, 4642, 30} \[ \frac{x^2}{4}+\frac{1}{2} \sqrt{1-x^2} x \cos ^{-1}(x)-\frac{1}{4} \cos ^{-1}(x)^2 \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4648
Rule 4642
Rule 30
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.0157414, size = 30, normalized size = 0.88 \[ \frac{1}{4} \left (x^2+2 \sqrt{1-x^2} x \cos ^{-1}(x)-\cos ^{-1}(x)^2\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.083, size = 33, normalized size = 1. \begin{align*} -{\frac{\arccos \left ( x \right ) }{2} \left ( -x\sqrt{-{x}^{2}+1}+\arccos \left ( x \right ) \right ) }+{\frac{ \left ( \arccos \left ( x \right ) \right ) ^{2}}{4}}+{\frac{{x}^{2}}{4}}-{\frac{1}{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.49029, size = 41, normalized size = 1.21 \begin{align*} \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{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.38116, size = 81, normalized size = 2.38 \begin{align*} \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{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 21.5284, size = 48, normalized size = 1.41 \begin{align*} \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} - \frac{\pi ^{2}}{16} - \frac{1}{4} & \text{for}\: x < 1 \\\text{NaN} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.32261, size = 36, normalized size = 1.06 \begin{align*} \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{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]