Optimal. Leaf size=16 \[ \frac{1}{6} \sin ^4\left (\frac{3 x}{2}+\frac{1}{2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0161971, antiderivative size = 16, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.087, Rules used = {2564, 30} \[ \frac{1}{6} \sin ^4\left (\frac{3 x}{2}+\frac{1}{2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2564
Rule 30
Rubi steps
\begin{align*} \int \cos \left (\frac{1}{2} (1+3 x)\right ) \sin ^3\left (\frac{1}{2} (1+3 x)\right ) \, dx &=\frac{2}{3} \operatorname{Subst}\left (\int x^3 \, dx,x,\sin \left (\frac{1}{2}+\frac{3 x}{2}\right )\right )\\ &=\frac{1}{6} \sin ^4\left (\frac{1}{2}+\frac{3 x}{2}\right )\\ \end{align*}
Mathematica [A] time = 0.0210782, size = 25, normalized size = 1.56 \[ \frac{1}{2} \left (\frac{1}{24} \cos (6 x+2)-\frac{1}{6} \cos (3 x+1)\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.006, size = 11, normalized size = 0.7 \begin{align*}{\frac{1}{6} \left ( \sin \left ({\frac{1}{2}}+{\frac{3\,x}{2}} \right ) \right ) ^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.9477, size = 14, normalized size = 0.88 \begin{align*} \frac{1}{6} \, \sin \left (\frac{3}{2} \, x + \frac{1}{2}\right )^{4} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.326, size = 66, normalized size = 4.12 \begin{align*} \frac{1}{6} \, \cos \left (\frac{3}{2} \, x + \frac{1}{2}\right )^{4} - \frac{1}{3} \, \cos \left (\frac{3}{2} \, x + \frac{1}{2}\right )^{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 0.572874, size = 39, normalized size = 2.44 \begin{align*} - \frac{\sin ^{2}{\left (\frac{3 x}{2} + \frac{1}{2} \right )} \cos ^{2}{\left (\frac{3 x}{2} + \frac{1}{2} \right )}}{3} - \frac{\cos ^{4}{\left (\frac{3 x}{2} + \frac{1}{2} \right )}}{6} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.10547, size = 14, normalized size = 0.88 \begin{align*} \frac{1}{6} \, \sin \left (\frac{3}{2} \, x + \frac{1}{2}\right )^{4} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]