3.306 \(\int \frac{e^{-i \tan ^{-1}(a x)}}{\sqrt{1+a^2 x^2}} \, dx\)

Optimal. Leaf size=16 \[ -\frac{i \log (-a x+i)}{a} \]

[Out]

((-I)*Log[I - a*x])/a

________________________________________________________________________________________

Rubi [A]  time = 0.0315238, antiderivative size = 16, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {5073, 31} \[ -\frac{i \log (-a x+i)}{a} \]

Antiderivative was successfully verified.

[In]

Int[1/(E^(I*ArcTan[a*x])*Sqrt[1 + a^2*x^2]),x]

[Out]

((-I)*Log[I - a*x])/a

Rule 5073

Int[E^(ArcTan[(a_.)*(x_)]*(n_.))*((c_) + (d_.)*(x_)^2)^(p_.), x_Symbol] :> Dist[c^p, Int[(1 - I*a*x)^(p + (I*n
)/2)*(1 + I*a*x)^(p - (I*n)/2), x], x] /; FreeQ[{a, c, d, n, p}, x] && EqQ[d, a^2*c] && (IntegerQ[p] || GtQ[c,
 0])

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rubi steps

\begin{align*} \int \frac{e^{-i \tan ^{-1}(a x)}}{\sqrt{1+a^2 x^2}} \, dx &=\int \frac{1}{1+i a x} \, dx\\ &=-\frac{i \log (i-a x)}{a}\\ \end{align*}

Mathematica [A]  time = 0.0049329, size = 16, normalized size = 1. \[ -\frac{i \log (-a x+i)}{a} \]

Antiderivative was successfully verified.

[In]

Integrate[1/(E^(I*ArcTan[a*x])*Sqrt[1 + a^2*x^2]),x]

[Out]

((-I)*Log[I - a*x])/a

________________________________________________________________________________________

Maple [A]  time = 0.033, size = 26, normalized size = 1.6 \begin{align*}{\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]

int(1/(1+I*a*x),x)

[Out]

-1/2*I/a*ln(a^2*x^2+1)+arctan(a*x)/a

________________________________________________________________________________________

Maxima [A]  time = 0.973474, size = 16, normalized size = 1. \begin{align*} -\frac{i \, \log \left (i \, a x + 1\right )}{a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(1+I*a*x),x, algorithm="maxima")

[Out]

-I*log(I*a*x + 1)/a

________________________________________________________________________________________

Fricas [A]  time = 1.70131, size = 31, normalized size = 1.94 \begin{align*} -\frac{i \, \log \left (\frac{a x - i}{a}\right )}{a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(1+I*a*x),x, algorithm="fricas")

[Out]

-I*log((a*x - I)/a)/a

________________________________________________________________________________________

Sympy [A]  time = 0.070349, size = 12, normalized size = 0.75 \begin{align*} - \frac{i \log{\left (i a x + 1 \right )}}{a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(1+I*a*x),x)

[Out]

-I*log(I*a*x + 1)/a

________________________________________________________________________________________

Giac [A]  time = 1.11537, size = 18, normalized size = 1.12 \begin{align*} -\frac{i \log \left (a i x + 1\right )}{a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(1+I*a*x),x, algorithm="giac")

[Out]

-i*log(a*i*x + 1)/a