Optimal. Leaf size=23 \[ \frac{1}{10} e^{-3 x} \sin (x)-\frac{3}{10} e^{-3 x} \cos (x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0089591, antiderivative size = 23, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 8, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125, Rules used = {4433} \[ \frac{1}{10} e^{-3 x} \sin (x)-\frac{3}{10} e^{-3 x} \cos (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4433
Rubi steps
\begin{align*} \int e^{-3 x} \cos (x) \, dx &=-\frac{3}{10} e^{-3 x} \cos (x)+\frac{1}{10} e^{-3 x} \sin (x)\\ \end{align*}
Mathematica [A] time = 0.0131711, size = 16, normalized size = 0.7 \[ \frac{1}{10} e^{-3 x} (\sin (x)-3 \cos (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 18, normalized size = 0.8 \begin{align*} -{\frac{3\,{{\rm e}^{-3\,x}}\cos \left ( x \right ) }{10}}+{\frac{{{\rm e}^{-3\,x}}\sin \left ( x \right ) }{10}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.960083, size = 20, normalized size = 0.87 \begin{align*} -\frac{1}{10} \,{\left (3 \, \cos \left (x\right ) - \sin \left (x\right )\right )} e^{\left (-3 \, x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.17241, size = 62, normalized size = 2.7 \begin{align*} -\frac{3}{10} \, \cos \left (x\right ) e^{\left (-3 \, x\right )} + \frac{1}{10} \, e^{\left (-3 \, x\right )} \sin \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.4711, size = 20, normalized size = 0.87 \begin{align*} \frac{e^{- 3 x} \sin{\left (x \right )}}{10} - \frac{3 e^{- 3 x} \cos{\left (x \right )}}{10} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.0824, size = 20, normalized size = 0.87 \begin{align*} -\frac{1}{10} \,{\left (3 \, \cos \left (x\right ) - \sin \left (x\right )\right )} e^{\left (-3 \, x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]