Optimal. Leaf size=20 \[ -x+\frac{2 i \log (a+b x+i)}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0118928, antiderivative size = 20, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {5093, 43} \[ -x+\frac{2 i \log (a+b x+i)}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5093
Rule 43
Rubi steps
\begin{align*} \int e^{2 i \tan ^{-1}(a+b x)} \, dx &=\int \frac{1+i a+i b x}{1-i a-i b x} \, dx\\ &=\int \left (-1+\frac{2 i}{i+a+b x}\right ) \, dx\\ &=-x+\frac{2 i \log (i+a+b x)}{b}\\ \end{align*}
Mathematica [A] time = 0.0112383, size = 32, normalized size = 1.6 \[ \frac{i \log \left ((a+b x)^2+1\right )}{b}+\frac{2 \tan ^{-1}(a+b x)}{b}-x \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.039, size = 51, normalized size = 2.6 \begin{align*} -x+{\frac{i\ln \left ({b}^{2}{x}^{2}+2\,xab+{a}^{2}+1 \right ) }{b}}+2\,{\frac{1}{b}\arctan \left ( 1/2\,{\frac{2\,{b}^{2}x+2\,ab}{b}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.45703, size = 62, normalized size = 3.1 \begin{align*} -x + \frac{2 \, \arctan \left (\frac{b^{2} x + a b}{b}\right )}{b} + \frac{i \, \log \left (b^{2} x^{2} + 2 \, a b x + a^{2} + 1\right )}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.73152, size = 50, normalized size = 2.5 \begin{align*} -\frac{b x - 2 i \, \log \left (\frac{b x + a + i}{b}\right )}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.372951, size = 14, normalized size = 0.7 \begin{align*} - x + \frac{2 i \log{\left (a + b x + i \right )}}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.11232, size = 23, normalized size = 1.15 \begin{align*} -x + \frac{2 \, i \log \left (b x + a + i\right )}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]