Optimal. Leaf size=40 \[ \frac {2 (1+i a) \log (-a-b x+i)}{b^2}-\frac {2 i x}{b}-\frac {x^2}{2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 40, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {5095, 77} \[ \frac {2 (1+i a) \log (-a-b x+i)}{b^2}-\frac {2 i x}{b}-\frac {x^2}{2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 77
Rule 5095
Rubi steps
\begin {align*} \int e^{-2 i \tan ^{-1}(a+b x)} x \, dx &=\int \frac {x (1-i a-i b x)}{1+i a+i b x} \, dx\\ &=\int \left (-\frac {2 i}{b}-x+\frac {2 (1+i a)}{b (-i+a+b x)}\right ) \, dx\\ &=-\frac {2 i x}{b}-\frac {x^2}{2}+\frac {2 (1+i a) \log (i-a-b x)}{b^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 40, normalized size = 1.00 \[ \frac {2 (1+i a) \log (-a-b x+i)}{b^2}-\frac {2 i x}{b}-\frac {x^2}{2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 35, normalized size = 0.88 \[ -\frac {b^{2} x^{2} + 4 i \, b x + 4 \, {\left (-i \, a - 1\right )} \log \left (\frac {b x + a - i}{b}\right )}{2 \, b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.14, size = 80, normalized size = 2.00 \[ -\frac {i {\left (\frac {4 \, {\left (a - i\right )} \log \left (\frac {1}{\sqrt {{\left (b x + a\right )}^{2} + 1} {\left | b \right |}}\right )}{b} - \frac {{\left (b i x + a i + 1\right )}^{2} {\left (i - \frac {2 \, {\left (a b i + 3 \, b\right )} i}{{\left (b i x + a i + 1\right )} b}\right )}}{b i^{2}}\right )}}{2 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.06, size = 85, normalized size = 2.12 \[ -\frac {x^{2}}{2}-\frac {2 i x}{b}-\frac {2 \arctan \left (b x +a \right ) a}{b^{2}}+\frac {i \ln \left (b^{2} x^{2}+2 a b x +a^{2}+1\right ) a}{b^{2}}+\frac {2 i \arctan \left (b x +a \right )}{b^{2}}+\frac {\ln \left (b^{2} x^{2}+2 a b x +a^{2}+1\right )}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.32, size = 36, normalized size = 0.90 \[ \frac {i \, {\left (i \, b x^{2} - 4 \, x\right )}}{2 \, b} - \frac {2 \, {\left (-i \, a - 1\right )} \log \left (i \, b x + i \, a + 1\right )}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.50, size = 51, normalized size = 1.28 \[ \ln \left (x+\frac {a-\mathrm {i}}{b}\right )\,\left (\frac {2}{b^2}+\frac {a\,2{}\mathrm {i}}{b^2}\right )-\frac {x^2}{2}+x\,\left (\frac {a-\mathrm {i}}{b}-\frac {a+1{}\mathrm {i}}{b}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.25, size = 32, normalized size = 0.80 \[ - \frac {x^{2}}{2} - \frac {2 i x}{b} + \frac {2 i \left (a - i\right ) \log {\left (i a + i b x + 1 \right )}}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________