Optimal. Leaf size=35 \[ -\frac {30 \cos \left (\frac {x}{2}\right )}{13 \sqrt [3]{e^x}}+\frac {6 \sin \left (\frac {x}{2}\right )}{13 \sqrt [3]{e^x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 35, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 4, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.190, Rules used = {2319, 6874,
4518, 4517} \begin {gather*} \frac {6 \sin \left (\frac {x}{2}\right )}{13 \sqrt [3]{e^x}}-\frac {30 \cos \left (\frac {x}{2}\right )}{13 \sqrt [3]{e^x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2319
Rule 4517
Rule 4518
Rule 6874
Rubi steps
\begin {align*} \int \frac {\cos \left (\frac {x}{2}\right )+\sin \left (\frac {x}{2}\right )}{\sqrt [3]{e^x}} \, dx &=\frac {e^{x/3} \int e^{-x/3} \left (\cos \left (\frac {x}{2}\right )+\sin \left (\frac {x}{2}\right )\right ) \, dx}{\sqrt [3]{e^x}}\\ &=\frac {\left (6 e^{x/3}\right ) \text {Subst}\left (\int e^{-2 x} (\cos (3 x)+\sin (3 x)) \, dx,x,\frac {x}{6}\right )}{\sqrt [3]{e^x}}\\ &=\frac {\left (6 e^{x/3}\right ) \text {Subst}\left (\int \left (e^{-2 x} \cos (3 x)+e^{-2 x} \sin (3 x)\right ) \, dx,x,\frac {x}{6}\right )}{\sqrt [3]{e^x}}\\ &=\frac {\left (6 e^{x/3}\right ) \text {Subst}\left (\int e^{-2 x} \cos (3 x) \, dx,x,\frac {x}{6}\right )}{\sqrt [3]{e^x}}+\frac {\left (6 e^{x/3}\right ) \text {Subst}\left (\int e^{-2 x} \sin (3 x) \, dx,x,\frac {x}{6}\right )}{\sqrt [3]{e^x}}\\ &=-\frac {30 \cos \left (\frac {x}{2}\right )}{13 \sqrt [3]{e^x}}+\frac {6 \sin \left (\frac {x}{2}\right )}{13 \sqrt [3]{e^x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 26, normalized size = 0.74 \begin {gather*} \frac {6 \left (-5 \cos \left (\frac {x}{2}\right )+\sin \left (\frac {x}{2}\right )\right )}{13 \sqrt [3]{e^x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 22, normalized size = 0.63
method | result | size |
default | \(-\frac {30 \,{\mathrm e}^{-\frac {x}{3}} \cos \left (\frac {x}{2}\right )}{13}+\frac {6 \,{\mathrm e}^{-\frac {x}{3}} \sin \left (\frac {x}{2}\right )}{13}\) | \(22\) |
risch | \(\frac {\left (-\frac {15}{169}-\frac {3 i}{169}\right ) \left (\left (25-5 i\right ) \cos \left (\frac {x}{2}\right )+\left (-5+i\right ) \sin \left (\frac {x}{2}\right )\right )}{\left ({\mathrm e}^{x}\right )^{\frac {1}{3}}}\) | \(26\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 1.48, size = 39, normalized size = 1.11 \begin {gather*} -\frac {6}{13} \, {\left (3 \, \cos \left (\frac {1}{2} \, x\right ) + 2 \, \sin \left (\frac {1}{2} \, x\right )\right )} e^{\left (-\frac {1}{3} \, x\right )} - \frac {6}{13} \, {\left (2 \, \cos \left (\frac {1}{2} \, x\right ) - 3 \, \sin \left (\frac {1}{2} \, x\right )\right )} e^{\left (-\frac {1}{3} \, x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.49, size = 21, normalized size = 0.60 \begin {gather*} -\frac {30}{13} \, \cos \left (\frac {1}{2} \, x\right ) e^{\left (-\frac {1}{3} \, x\right )} + \frac {6}{13} \, e^{\left (-\frac {1}{3} \, x\right )} \sin \left (\frac {1}{2} \, x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.24, size = 29, normalized size = 0.83 \begin {gather*} \frac {6 \sin {\left (\frac {x}{2} \right )}}{13 \sqrt [3]{e^{x}}} - \frac {30 \cos {\left (\frac {x}{2} \right )}}{13 \sqrt [3]{e^{x}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.21, size = 39, normalized size = 1.11 \begin {gather*} -\frac {6}{13} \, {\left (3 \, \cos \left (\frac {1}{2} \, x\right ) + 2 \, \sin \left (\frac {1}{2} \, x\right )\right )} e^{\left (-\frac {1}{3} \, x\right )} - \frac {6}{13} \, {\left (2 \, \cos \left (\frac {1}{2} \, x\right ) - 3 \, \sin \left (\frac {1}{2} \, x\right )\right )} e^{\left (-\frac {1}{3} \, x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.10, size = 19, normalized size = 0.54 \begin {gather*} -\frac {6\,{\mathrm {e}}^{-\frac {x}{3}}\,\left (5\,\cos \left (\frac {x}{2}\right )-\sin \left (\frac {x}{2}\right )\right )}{13} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________