Optimal. Leaf size=32 \[ \frac{i \log (-a x+i)}{a}-\frac{2}{a (-a x+i)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0380563, antiderivative size = 32, 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{i \log (-a x+i)}{a}-\frac{2}{a (-a x+i)} \]
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.0150184, size = 32, normalized size = 1. \[ \frac{i \log (-a x+i)}{a}-\frac{2}{a (-a x+i)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.043, size = 41, normalized size = 1.3 \begin{align*}{\frac{{\frac{i}{2}}\ln \left ({a}^{2}{x}^{2}+1 \right ) }{a}}-{\frac{\arctan \left ( ax \right ) }{a}}-2\,{\frac{1}{a \left ( -ax+i \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.979072, size = 55, normalized size = 1.72 \begin{align*} -\frac{4 \,{\left (-i \, a x - 1\right )}}{2 i \, a^{3} x^{2} + 4 \, a^{2} x - 2 i \, a} + \frac{i \, \log \left (i \, a x + 1\right )}{a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.72624, size = 68, normalized size = 2.12 \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.38787, size = 24, normalized size = 0.75 \begin{align*} \frac{2 a}{a^{3} x - i a^{2}} + \frac{i \log{\left (i a x + 1 \right )}}{a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.09108, size = 38, normalized size = 1.19 \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]