Optimal. Leaf size=29 \[ \frac{i}{d (a \cos (c+d x)+i a \sin (c+d x))} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0147709, antiderivative size = 29, 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}{d (a \cos (c+d x)+i a \sin (c+d x))} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3071
Rubi steps
\begin{align*} \int \frac{1}{a \cos (c+d x)+i a \sin (c+d x)} \, dx &=\frac{i}{d (a \cos (c+d x)+i a \sin (c+d x))}\\ \end{align*}
Mathematica [A] time = 0.0349311, size = 29, normalized size = 1. \[ \frac{i}{d (a \cos (c+d x)+i a \sin (c+d x))} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.074, size = 23, normalized size = 0.8 \begin{align*} 2\,{\frac{1}{ad \left ( \tan \left ( 1/2\,dx+c/2 \right ) -i \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.991109, size = 39, normalized size = 1.34 \begin{align*} \frac{2}{{\left (-i \, a + \frac{a \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1}\right )} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.10801, size = 35, normalized size = 1.21 \begin{align*} \frac{i \, e^{\left (-i \, d x - i \, c\right )}}{a d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.160911, size = 31, normalized size = 1.07 \begin{align*} \begin{cases} \frac{i e^{- i c} e^{- i d x}}{a d} & \text{for}\: a d e^{i c} \neq 0 \\\frac{x e^{- i c}}{a} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.12504, size = 28, normalized size = 0.97 \begin{align*} \frac{2}{a d{\left (\tan \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right ) - i\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]