Optimal. Leaf size=31 \[ -\frac{i (a \cos (c+d x)+i a \sin (c+d x))^3}{3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0162244, antiderivative size = 31, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.045, Rules used = {3071} \[ -\frac{i (a \cos (c+d x)+i a \sin (c+d x))^3}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3071
Rubi steps
\begin{align*} \int (a \cos (c+d x)+i a \sin (c+d x))^3 \, dx &=-\frac{i (a \cos (c+d x)+i a \sin (c+d x))^3}{3 d}\\ \end{align*}
Mathematica [A] time = 0.0821072, size = 31, normalized size = 1. \[ -\frac{i (a \cos (c+d x)+i a \sin (c+d x))^3}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.058, size = 76, normalized size = 2.5 \begin{align*}{\frac{1}{d} \left ({\frac{i}{3}}{a}^{3} \left ( 2+ \left ( \sin \left ( dx+c \right ) \right ) ^{2} \right ) \cos \left ( dx+c \right ) -{a}^{3} \left ( \sin \left ( dx+c \right ) \right ) ^{3}-i{a}^{3} \left ( \cos \left ( dx+c \right ) \right ) ^{3}+{\frac{{a}^{3} \left ( 2+ \left ( \cos \left ( dx+c \right ) \right ) ^{2} \right ) \sin \left ( dx+c \right ) }{3}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.01103, size = 112, normalized size = 3.61 \begin{align*} -\frac{i \, a^{3} \cos \left (d x + c\right )^{3}}{d} - \frac{a^{3} \sin \left (d x + c\right )^{3}}{d} - \frac{i \,{\left (\cos \left (d x + c\right )^{3} - 3 \, \cos \left (d x + c\right )\right )} a^{3}}{3 \, d} - \frac{{\left (\sin \left (d x + c\right )^{3} - 3 \, \sin \left (d x + c\right )\right )} a^{3}}{3 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.03724, size = 46, normalized size = 1.48 \begin{align*} -\frac{i \, a^{3} e^{\left (3 i \, d x + 3 i \, c\right )}}{3 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.166956, size = 37, normalized size = 1.19 \begin{align*} \begin{cases} - \frac{i a^{3} e^{3 i c} e^{3 i d x}}{3 d} & \text{for}\: 3 d \neq 0 \\a^{3} x e^{3 i c} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.10807, size = 70, normalized size = 2.26 \begin{align*} -\frac{i \, a^{3} e^{\left (3 i \, d x + 3 i \, c\right )}}{6 \, d} - \frac{i \, a^{3} e^{\left (-3 i \, d x - 3 i \, c\right )}}{6 \, d} + \frac{a^{3} \sin \left (3 \, d x + 3 \, c\right )}{3 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]