Optimal. Leaf size=55 \[ -\frac {2 x \sqrt {1-a^2 x^4}}{9 a}+\frac {1}{3} x^3 \text {ArcCos}\left (a x^2\right )+\frac {2 F\left (\left .\text {ArcSin}\left (\sqrt {a} x\right )\right |-1\right )}{9 a^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {4927, 12, 327,
227} \begin {gather*} \frac {2 F\left (\left .\text {ArcSin}\left (\sqrt {a} x\right )\right |-1\right )}{9 a^{3/2}}-\frac {2 x \sqrt {1-a^2 x^4}}{9 a}+\frac {1}{3} x^3 \text {ArcCos}\left (a x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 227
Rule 327
Rule 4927
Rubi steps
\begin {align*} \int x^2 \cos ^{-1}\left (a x^2\right ) \, dx &=\frac {1}{3} x^3 \cos ^{-1}\left (a x^2\right )+\frac {1}{3} \int \frac {2 a x^4}{\sqrt {1-a^2 x^4}} \, dx\\ &=\frac {1}{3} x^3 \cos ^{-1}\left (a x^2\right )+\frac {1}{3} (2 a) \int \frac {x^4}{\sqrt {1-a^2 x^4}} \, dx\\ &=-\frac {2 x \sqrt {1-a^2 x^4}}{9 a}+\frac {1}{3} x^3 \cos ^{-1}\left (a x^2\right )+\frac {2 \int \frac {1}{\sqrt {1-a^2 x^4}} \, dx}{9 a}\\ &=-\frac {2 x \sqrt {1-a^2 x^4}}{9 a}+\frac {1}{3} x^3 \cos ^{-1}\left (a x^2\right )+\frac {2 F\left (\left .\sin ^{-1}\left (\sqrt {a} x\right )\right |-1\right )}{9 a^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 0.11, size = 63, normalized size = 1.15 \begin {gather*} \frac {1}{9} \left (-\frac {2 x \sqrt {1-a^2 x^4}}{a}+3 x^3 \text {ArcCos}\left (a x^2\right )+\frac {2 i F\left (\left .i \sinh ^{-1}\left (\sqrt {-a} x\right )\right |-1\right )}{(-a)^{3/2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 79, normalized size = 1.44
method | result | size |
default | \(\frac {x^{3} \arccos \left (a \,x^{2}\right )}{3}+\frac {2 a \left (-\frac {x \sqrt {-a^{2} x^{4}+1}}{3 a^{2}}+\frac {\sqrt {-a \,x^{2}+1}\, \sqrt {a \,x^{2}+1}\, \EllipticF \left (x \sqrt {a}, i\right )}{3 a^{\frac {5}{2}} \sqrt {-a^{2} x^{4}+1}}\right )}{3}\) | \(79\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.29, size = 33, normalized size = 0.60 \begin {gather*} \frac {3 \, a x^{3} \arccos \left (a x^{2}\right ) - 2 \, \sqrt {-a^{2} x^{4} + 1} x}{9 \, a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.75, size = 48, normalized size = 0.87 \begin {gather*} \frac {a x^{5} \Gamma \left (\frac {5}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, \frac {5}{4} \\ \frac {9}{4} \end {matrix}\middle | {a^{2} x^{4} e^{2 i \pi }} \right )}}{6 \Gamma \left (\frac {9}{4}\right )} + \frac {x^{3} \operatorname {acos}{\left (a x^{2} \right )}}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \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^2\,\mathrm {acos}\left (a\,x^2\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________