Optimal. Leaf size=28 \[ \frac{\tan ^{-1}(a x)}{2 a}+\frac{1}{2 a (a x+i)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0422823, antiderivative size = 28, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.125, Rules used = {5073, 44, 203} \[ \frac{\tan ^{-1}(a x)}{2 a}+\frac{1}{2 a (a x+i)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5073
Rule 44
Rule 203
Rubi steps
\begin{align*} \int \frac{e^{i \tan ^{-1}(a x)}}{\left (1+a^2 x^2\right )^{3/2}} \, dx &=\int \frac{1}{(1-i a x)^2 (1+i a x)} \, dx\\ &=\int \left (-\frac{1}{2 (i+a x)^2}+\frac{1}{2 \left (1+a^2 x^2\right )}\right ) \, dx\\ &=\frac{1}{2 a (i+a x)}+\frac{1}{2} \int \frac{1}{1+a^2 x^2} \, dx\\ &=\frac{1}{2 a (i+a x)}+\frac{\tan ^{-1}(a x)}{2 a}\\ \end{align*}
Mathematica [A] time = 0.0155222, size = 21, normalized size = 0.75 \[ \frac{\tan ^{-1}(a x)+\frac{1}{a x+i}}{2 a} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.037, size = 38, normalized size = 1.4 \begin{align*}{\frac{2\,{a}^{2}x-2\,ia}{4\,{a}^{2} \left ({a}^{2}{x}^{2}+1 \right ) }}+{\frac{\arctan \left ( ax \right ) }{2\,a}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.45607, size = 38, normalized size = 1.36 \begin{align*} \frac{a x - i}{2 \,{\left (a^{3} x^{2} + a\right )}} + \frac{\arctan \left (a x\right )}{2 \, a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.93926, size = 116, normalized size = 4.14 \begin{align*} \frac{{\left (i \, a x - 1\right )} \log \left (\frac{a x + i}{a}\right ) +{\left (-i \, a x + 1\right )} \log \left (\frac{a x - i}{a}\right ) + 2}{4 \,{\left (a^{2} x + i \, a\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 0.474389, size = 39, normalized size = 1.39 \begin{align*} i a \left (- \frac{i a}{2 a^{4} x + 2 i a^{3}} + \frac{- \frac{\log{\left (x - \frac{i}{a} \right )}}{4} + \frac{\log{\left (x + \frac{i}{a} \right )}}{4}}{a^{2}}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.10985, size = 55, normalized size = 1.96 \begin{align*} \frac{i \log \left (a x + i\right )}{4 \, a} + \frac{\log \left (-a i x - 1\right )}{4 \, a i} + \frac{1}{2 \,{\left (a x + i\right )} a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]