Optimal. Leaf size=32 \[ -\frac {2}{a (i-a x)}+\frac {i \log (i-a x)}{a} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 32, normalized size of antiderivative = 1.00, 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 = {5181, 45}
\begin {gather*} \frac {i \log (-a x+i)}{a}-\frac {2}{a (-a x+i)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 5181
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.01, size = 32, normalized size = 1.00 \begin {gather*} -\frac {2}{a (i-a x)}+\frac {i \log (i-a x)}{a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 30, normalized size = 0.94
method | result | size |
default | \(-\frac {2}{a \left (-a x +i\right )}+\frac {i \ln \left (-a x +i\right )}{a}\) | \(30\) |
risch | \(\frac {2}{a \left (a x -i\right )}+\frac {i \ln \left (a^{2} x^{2}+1\right )}{2 a}-\frac {\arctan \left (a x \right )}{a}\) | \(40\) |
meijerg | \(\frac {i \left (-\frac {i x a \left (9 i a x +6\right )}{3 \left (i a x +1\right )^{2}}+2 \ln \left (i a x +1\right )\right )}{2 a}+\frac {x \left (i a x +2\right )}{2 \left (i a x +1\right )^{2}}\) | \(59\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.25, size = 41, normalized size = 1.28 \begin {gather*} -\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 {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.00, size = 31, normalized size = 0.97 \begin {gather*} \frac {{\left (i \, a x + 1\right )} \log \left (\frac {a x - i}{a}\right ) + 2}{a^{2} x - i \, a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.08, size = 19, normalized size = 0.59 \begin {gather*} \frac {2}{a^{2} x - i a} + \frac {i \log {\left (a x - i \right )}}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.43, size = 24, normalized size = 0.75 \begin {gather*} \frac {i \, \log \left (a x - i\right )}{a} + \frac {2}{{\left (a x - i\right )} a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.49, size = 29, normalized size = 0.91 \begin {gather*} -\frac {2}{-a^2\,x+a\,1{}\mathrm {i}}+\frac {\ln \left (a\,x-\mathrm {i}\right )\,1{}\mathrm {i}}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________