Optimal. Leaf size=17 \[ \frac {\sin ^4(x)}{4}-\frac {\sin ^6(x)}{6} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {2644, 14}
\begin {gather*} \frac {\sin ^4(x)}{4}-\frac {\sin ^6(x)}{6} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2644
Rubi steps
\begin {align*} \int \cos ^3(x) \sin ^3(x) \, dx &=\text {Subst}\left (\int x^3 \left (1-x^2\right ) \, dx,x,\sin (x)\right )\\ &=\text {Subst}\left (\int \left (x^3-x^5\right ) \, dx,x,\sin (x)\right )\\ &=\frac {\sin ^4(x)}{4}-\frac {\sin ^6(x)}{6}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 17, normalized size = 1.00 \begin {gather*} -\frac {3}{64} \cos (2 x)+\frac {1}{192} \cos (6 x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 1.78, size = 12, normalized size = 0.71 \begin {gather*} \frac {\left (2+\text {Cos}\left [2 x\right ]\right ) \text {Sin}\left [x\right ]^4}{12} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 18, normalized size = 1.06
method | result | size |
risch | \(\frac {\cos \left (6 x \right )}{192}-\frac {3 \cos \left (2 x \right )}{64}\) | \(14\) |
default | \(-\frac {\left (\cos ^{4}\left (x \right )\right ) \left (\sin ^{2}\left (x \right )\right )}{6}-\frac {\left (\cos ^{4}\left (x \right )\right )}{12}\) | \(18\) |
norman | \(\frac {6 \left (\tan ^{4}\left (\frac {x}{2}\right )\right )+6 \left (\tan ^{8}\left (\frac {x}{2}\right )\right )+\frac {2 \left (\tan ^{12}\left (\frac {x}{2}\right )\right )}{15}+\frac {4 \left (\tan ^{2}\left (\frac {x}{2}\right )\right )}{5}+\frac {4 \left (\tan ^{10}\left (\frac {x}{2}\right )\right )}{5}+\frac {2}{15}}{\left (1+\tan ^{2}\left (\frac {x}{2}\right )\right )^{6}}\) | \(54\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 13, normalized size = 0.76 \begin {gather*} -\frac {1}{6} \, \sin \left (x\right )^{6} + \frac {1}{4} \, \sin \left (x\right )^{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 13, normalized size = 0.76 \begin {gather*} \frac {1}{6} \, \cos \left (x\right )^{6} - \frac {1}{4} \, \cos \left (x\right )^{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.03, size = 12, normalized size = 0.71 \begin {gather*} - \frac {\sin ^{6}{\left (x \right )}}{6} + \frac {\sin ^{4}{\left (x \right )}}{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 19, normalized size = 1.12 \begin {gather*} \frac {\frac {\cos ^{6}x}{3}-\frac {\cos ^{4}x}{2}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 14, normalized size = 0.82 \begin {gather*} -\frac {{\sin \left (x\right )}^4\,\left (2\,{\sin \left (x\right )}^2-3\right )}{12} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________