Optimal. Leaf size=36 \[ \frac{e^{2 x}}{16}-\frac{1}{40} e^{2 x} \sin (4 x)-\frac{1}{80} e^{2 x} \cos (4 x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0437049, antiderivative size = 36, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {4469, 2194, 4433} \[ \frac{e^{2 x}}{16}-\frac{1}{40} e^{2 x} \sin (4 x)-\frac{1}{80} e^{2 x} \cos (4 x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4469
Rule 2194
Rule 4433
Rubi steps
\begin{align*} \int e^{2 x} \cos ^2(x) \sin ^2(x) \, dx &=\int \left (\frac{e^{2 x}}{8}-\frac{1}{8} e^{2 x} \cos (4 x)\right ) \, dx\\ &=\frac{1}{8} \int e^{2 x} \, dx-\frac{1}{8} \int e^{2 x} \cos (4 x) \, dx\\ &=\frac{e^{2 x}}{16}-\frac{1}{80} e^{2 x} \cos (4 x)-\frac{1}{40} e^{2 x} \sin (4 x)\\ \end{align*}
Mathematica [A] time = 0.0324941, size = 21, normalized size = 0.58 \[ -\frac{1}{80} e^{2 x} (2 \sin (4 x)+\cos (4 x)-5) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 28, normalized size = 0.8 \begin{align*} -{\frac{{{\rm e}^{2\,x}}\cos \left ( 4\,x \right ) }{80}}-{\frac{{{\rm e}^{2\,x}}\sin \left ( 4\,x \right ) }{40}}+{\frac{ \left ({{\rm e}^{x}} \right ) ^{2}}{16}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.961003, size = 36, normalized size = 1. \begin{align*} -\frac{1}{80} \, \cos \left (4 \, x\right ) e^{\left (2 \, x\right )} - \frac{1}{40} \, e^{\left (2 \, x\right )} \sin \left (4 \, x\right ) + \frac{1}{16} \, e^{\left (2 \, x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.86622, size = 120, normalized size = 3.33 \begin{align*} -\frac{1}{10} \,{\left (2 \, \cos \left (x\right )^{3} - \cos \left (x\right )\right )} e^{\left (2 \, x\right )} \sin \left (x\right ) - \frac{1}{20} \,{\left (2 \, \cos \left (x\right )^{4} - 2 \, \cos \left (x\right )^{2} - 1\right )} e^{\left (2 \, x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 5.17987, size = 70, normalized size = 1.94 \begin{align*} \frac{e^{2 x} \sin ^{4}{\left (x \right )}}{20} + \frac{e^{2 x} \sin ^{3}{\left (x \right )} \cos{\left (x \right )}}{10} + \frac{e^{2 x} \sin ^{2}{\left (x \right )} \cos ^{2}{\left (x \right )}}{5} - \frac{e^{2 x} \sin{\left (x \right )} \cos ^{3}{\left (x \right )}}{10} + \frac{e^{2 x} \cos ^{4}{\left (x \right )}}{20} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.12767, size = 32, normalized size = 0.89 \begin{align*} -\frac{1}{80} \,{\left (\cos \left (4 \, x\right ) + 2 \, \sin \left (4 \, x\right )\right )} e^{\left (2 \, x\right )} + \frac{1}{16} \, e^{\left (2 \, x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]