Optimal. Leaf size=19 \[ -\frac {1}{2} \cos \left (x^2\right )+\frac {1}{6} \cos ^3\left (x^2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 19, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {3460, 2713}
\begin {gather*} \frac {1}{6} \cos ^3\left (x^2\right )-\frac {\cos \left (x^2\right )}{2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2713
Rule 3460
Rubi steps
\begin {align*} \int x \sin ^3\left (x^2\right ) \, dx &=\frac {1}{2} \text {Subst}\left (\int \sin ^3(x) \, dx,x,x^2\right )\\ &=-\left (\frac {1}{2} \text {Subst}\left (\int \left (1-x^2\right ) \, dx,x,\cos \left (x^2\right )\right )\right )\\ &=-\frac {1}{2} \cos \left (x^2\right )+\frac {1}{6} \cos ^3\left (x^2\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 19, normalized size = 1.00 \begin {gather*} -\frac {3}{8} \cos \left (x^2\right )+\frac {1}{24} \cos \left (3 x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 2.00, size = 14, normalized size = 0.74 \begin {gather*} -\frac {\text {Cos}\left [x^2\right ] \left (2+{\text {Sin}\left [x^2\right ]}^2\right )}{6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 15, normalized size = 0.79
method | result | size |
derivativedivides | \(-\frac {\left (2+\sin ^{2}\left (x^{2}\right )\right ) \cos \left (x^{2}\right )}{6}\) | \(15\) |
default | \(-\frac {\left (2+\sin ^{2}\left (x^{2}\right )\right ) \cos \left (x^{2}\right )}{6}\) | \(15\) |
risch | \(-\frac {3 \cos \left (x^{2}\right )}{8}+\frac {\cos \left (3 x^{2}\right )}{24}\) | \(16\) |
norman | \(\frac {-2 \left (\tan ^{2}\left (\frac {x^{2}}{2}\right )\right )-\frac {2}{3}}{\left (1+\tan ^{2}\left (\frac {x^{2}}{2}\right )\right )^{3}}\) | \(26\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 15, normalized size = 0.79 \begin {gather*} \frac {1}{24} \, \cos \left (3 \, x^{2}\right ) - \frac {3}{8} \, \cos \left (x^{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.32, size = 15, normalized size = 0.79 \begin {gather*} \frac {1}{6} \, \cos \left (x^{2}\right )^{3} - \frac {1}{2} \, \cos \left (x^{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.15, size = 22, normalized size = 1.16 \begin {gather*} - \frac {\sin ^{2}{\left (x^{2} \right )} \cos {\left (x^{2} \right )}}{2} - \frac {\cos ^{3}{\left (x^{2} \right )}}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 18, normalized size = 0.95 \begin {gather*} \frac {-\cos \left (x^{2}\right )+\frac {\cos ^{3}\left (x^{2}\right )}{3}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.18, size = 14, normalized size = 0.74 \begin {gather*} \frac {\cos \left (x^2\right )\,\left ({\cos \left (x^2\right )}^2-3\right )}{6} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________