Optimal. Leaf size=11 \[ \sin (x)+\frac {\sin ^4(x)}{4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 11, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {3302}
\begin {gather*} \frac {\sin ^4(x)}{4}+\sin (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3302
Rubi steps
\begin {align*} \int \cos (x) \left (1+\sin ^3(x)\right ) \, dx &=\text {Subst}\left (\int \left (1+x^3\right ) \, dx,x,\sin (x)\right )\\ &=\sin (x)+\frac {\sin ^4(x)}{4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 11, normalized size = 1.00 \begin {gather*} \sin (x)+\frac {\sin ^4(x)}{4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.04, size = 10, normalized size = 0.91
method | result | size |
derivativedivides | \(\sin \left (x \right )+\frac {\left (\sin ^{4}\left (x \right )\right )}{4}\) | \(10\) |
default | \(\sin \left (x \right )+\frac {\left (\sin ^{4}\left (x \right )\right )}{4}\) | \(10\) |
risch | \(\sin \left (x \right )+\frac {\cos \left (4 x \right )}{32}-\frac {\cos \left (2 x \right )}{8}\) | \(16\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 1.30, size = 9, normalized size = 0.82 \begin {gather*} \frac {1}{4} \, \sin \left (x\right )^{4} + \sin \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.02, size = 15, normalized size = 1.36 \begin {gather*} \frac {1}{4} \, \cos \left (x\right )^{4} - \frac {1}{2} \, \cos \left (x\right )^{2} + \sin \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.13, size = 8, normalized size = 0.73 \begin {gather*} \frac {\sin ^{4}{\left (x \right )}}{4} + \sin {\left (x \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.43, size = 9, normalized size = 0.82 \begin {gather*} \frac {1}{4} \, \sin \left (x\right )^{4} + \sin \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.04, size = 9, normalized size = 0.82 \begin {gather*} \frac {{\sin \left (x\right )}^4}{4}+\sin \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________