Optimal. Leaf size=21 \[ \frac{1}{4} \sin ^4(x+1)-\frac{1}{6} \sin ^6(x+1) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0298582, antiderivative size = 21, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {2564, 14} \[ \frac{1}{4} \sin ^4(x+1)-\frac{1}{6} \sin ^6(x+1) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2564
Rule 14
Rubi steps
\begin{align*} \int \cos ^3(1+x) \sin ^3(1+x) \, dx &=\operatorname{Subst}\left (\int x^3 \left (1-x^2\right ) \, dx,x,\sin (1+x)\right )\\ &=\operatorname{Subst}\left (\int \left (x^3-x^5\right ) \, dx,x,\sin (1+x)\right )\\ &=\frac{1}{4} \sin ^4(1+x)-\frac{1}{6} \sin ^6(1+x)\\ \end{align*}
Mathematica [A] time = 0.0127767, size = 25, normalized size = 1.19 \[ \frac{1}{8} \left (\frac{1}{24} \cos (6 (x+1))-\frac{3}{8} \cos (2 (x+1))\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.013, size = 24, normalized size = 1.1 \begin{align*} -{\frac{ \left ( \cos \left ( 1+x \right ) \right ) ^{4} \left ( \sin \left ( 1+x \right ) \right ) ^{2}}{6}}-{\frac{ \left ( \cos \left ( 1+x \right ) \right ) ^{4}}{12}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.9565, size = 23, normalized size = 1.1 \begin{align*} -\frac{1}{6} \, \sin \left (x + 1\right )^{6} + \frac{1}{4} \, \sin \left (x + 1\right )^{4} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.97505, size = 50, normalized size = 2.38 \begin{align*} \frac{1}{6} \, \cos \left (x + 1\right )^{6} - \frac{1}{4} \, \cos \left (x + 1\right )^{4} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.07261, size = 22, normalized size = 1.05 \begin{align*} \frac{\sin ^{6}{\left (x + 1 \right )}}{12} + \frac{\sin ^{4}{\left (x + 1 \right )} \cos ^{2}{\left (x + 1 \right )}}{4} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.08373, size = 23, normalized size = 1.1 \begin{align*} -\frac{1}{6} \, \sin \left (x + 1\right )^{6} + \frac{1}{4} \, \sin \left (x + 1\right )^{4} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]