Optimal. Leaf size=30 \[ \frac{2}{a (a x+i)}-\frac{i \log (a x+i)}{a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0382867, antiderivative size = 30, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {5073, 43} \[ \frac{2}{a (a x+i)}-\frac{i \log (a x+i)}{a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5073
Rule 43
Rubi steps
\begin{align*} \int \frac{e^{3 i \tan ^{-1}(a x)}}{\sqrt{1+a^2 x^2}} \, dx &=\int \frac{1+i a x}{(1-i a x)^2} \, dx\\ &=\int \left (-\frac{2}{(i+a x)^2}-\frac{i}{i+a x}\right ) \, dx\\ &=\frac{2}{a (i+a x)}-\frac{i \log (i+a x)}{a}\\ \end{align*}
Mathematica [A] time = 0.0141234, size = 30, normalized size = 1. \[ \frac{2}{a (a x+i)}-\frac{i \log (a x+i)}{a} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.044, size = 40, normalized size = 1.3 \begin{align*} 2\,{\frac{1}{a \left ( ax+i \right ) }}-{\frac{{\frac{i}{2}}\ln \left ({a}^{2}{x}^{2}+1 \right ) }{a}}-{\frac{\arctan \left ( ax \right ) }{a}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.47707, size = 59, normalized size = 1.97 \begin{align*} \frac{4 \, a x - 4 i}{2 \,{\left (a^{3} x^{2} + a\right )}} - \frac{\arctan \left (a x\right )}{a} - \frac{i \, \log \left (a^{2} x^{2} + 1\right )}{2 \, a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.77536, size = 69, normalized size = 2.3 \begin{align*} \frac{{\left (-i \, a x + 1\right )} \log \left (\frac{a x + i}{a}\right ) + 2}{a^{2} x + i \, a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.458285, size = 22, normalized size = 0.73 \begin{align*} \frac{2 a}{a^{3} x + i a^{2}} - \frac{i \log{\left (a x + i \right )}}{a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.1164, size = 34, normalized size = 1.13 \begin{align*} -\frac{i \log \left (a x + i\right )}{a} + \frac{2}{{\left (a x + i\right )} a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]