Optimal. Leaf size=19 \[ \frac{\sin \left (x^3\right )}{6}+\frac{1}{54} \sin \left (9 x^3\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0372446, antiderivative size = 19, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 3, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.188, Rules used = {4572, 3380, 2637} \[ \frac{\sin \left (x^3\right )}{6}+\frac{1}{54} \sin \left (9 x^3\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4572
Rule 3380
Rule 2637
Rubi steps
\begin{align*} \int x^2 \cos \left (4 x^3\right ) \cos \left (5 x^3\right ) \, dx &=\int \left (\frac{1}{2} x^2 \cos \left (x^3\right )+\frac{1}{2} x^2 \cos \left (9 x^3\right )\right ) \, dx\\ &=\frac{1}{2} \int x^2 \cos \left (x^3\right ) \, dx+\frac{1}{2} \int x^2 \cos \left (9 x^3\right ) \, dx\\ &=\frac{1}{6} \operatorname{Subst}\left (\int \cos (x) \, dx,x,x^3\right )+\frac{1}{6} \operatorname{Subst}\left (\int \cos (9 x) \, dx,x,x^3\right )\\ &=\frac{\sin \left (x^3\right )}{6}+\frac{1}{54} \sin \left (9 x^3\right )\\ \end{align*}
Mathematica [A] time = 0.0086818, size = 19, normalized size = 1. \[ \frac{\sin \left (x^3\right )}{6}+\frac{1}{54} \sin \left (9 x^3\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.045, size = 16, normalized size = 0.8 \begin{align*}{\frac{\sin \left ({x}^{3} \right ) }{6}}+{\frac{\sin \left ( 9\,{x}^{3} \right ) }{54}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.964867, size = 20, normalized size = 1.05 \begin{align*} \frac{1}{54} \, \sin \left (9 \, x^{3}\right ) + \frac{1}{6} \, \sin \left (x^{3}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.14163, size = 116, normalized size = 6.11 \begin{align*} \frac{1}{27} \,{\left (128 \, \cos \left (x^{3}\right )^{8} - 224 \, \cos \left (x^{3}\right )^{6} + 120 \, \cos \left (x^{3}\right )^{4} - 20 \, \cos \left (x^{3}\right )^{2} + 5\right )} \sin \left (x^{3}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 7.69553, size = 32, normalized size = 1.68 \begin{align*} - \frac{4 \sin{\left (4 x^{3} \right )} \cos{\left (5 x^{3} \right )}}{27} + \frac{5 \sin{\left (5 x^{3} \right )} \cos{\left (4 x^{3} \right )}}{27} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.08441, size = 53, normalized size = 2.79 \begin{align*} \frac{128}{27} \, \sin \left (x^{3}\right )^{9} - \frac{32}{3} \, \sin \left (x^{3}\right )^{7} + 8 \, \sin \left (x^{3}\right )^{5} - \frac{20}{9} \, \sin \left (x^{3}\right )^{3} + \frac{1}{3} \, \sin \left (x^{3}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]