Optimal. Leaf size=45 \[ -\frac {4 i}{a^2 (a x+i)}-\frac {8 \log (a x+i)}{a^2}-\frac {4 i x}{a}+\frac {x^2}{2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 45, normalized size of antiderivative = 1.00, 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 = {5062, 77} \[ -\frac {4 i}{a^2 (a x+i)}-\frac {8 \log (a x+i)}{a^2}-\frac {4 i x}{a}+\frac {x^2}{2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 77
Rule 5062
Rubi steps
\begin {align*} \int e^{4 i \tan ^{-1}(a x)} x \, dx &=\int \frac {x (1+i a x)^2}{(1-i a x)^2} \, dx\\ &=\int \left (-\frac {4 i}{a}+x+\frac {4 i}{a (i+a x)^2}-\frac {8}{a (i+a x)}\right ) \, dx\\ &=-\frac {4 i x}{a}+\frac {x^2}{2}-\frac {4 i}{a^2 (i+a x)}-\frac {8 \log (i+a x)}{a^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 45, normalized size = 1.00 \[ -\frac {4 i}{a^2 (a x+i)}-\frac {8 \log (a x+i)}{a^2}-\frac {4 i x}{a}+\frac {x^2}{2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 54, normalized size = 1.20 \[ \frac {a^{3} x^{3} - 7 i \, a^{2} x^{2} + 8 \, a x - {\left (16 \, a x + 16 i\right )} \log \left (\frac {a x + i}{a}\right ) - 8 i}{2 \, a^{3} x + 2 i \, a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 45, normalized size = 1.00 \[ -\frac {8 \, \log \left (a x + i\right )}{a^{2}} - \frac {4 \, i}{{\left (a x + i\right )} a^{2}} + \frac {a^{4} x^{2} - 8 \, a^{3} i x}{2 \, a^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 53, normalized size = 1.18 \[ \frac {x^{2}}{2}-\frac {4 i x}{a}-\frac {4 i}{a^{2} \left (a x +i\right )}-\frac {4 \ln \left (a^{2} x^{2}+1\right )}{a^{2}}+\frac {8 i \arctan \left (a x \right )}{a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.42, size = 60, normalized size = 1.33 \[ -\frac {4 \, {\left (i \, a x + 1\right )}}{a^{4} x^{2} + a^{2}} + \frac {a x^{2} - 8 i \, x}{2 \, a} + \frac {8 i \, \arctan \left (a x\right )}{a^{2}} - \frac {4 \, \log \left (a^{2} x^{2} + 1\right )}{a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 43, normalized size = 0.96 \[ \frac {x^2}{2}-\frac {8\,\ln \left (x+\frac {1{}\mathrm {i}}{a}\right )}{a^2}-\frac {4{}\mathrm {i}}{a^3\,\left (x+\frac {1{}\mathrm {i}}{a}\right )}-\frac {x\,4{}\mathrm {i}}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.19, size = 36, normalized size = 0.80 \[ \frac {x^{2}}{2} - \frac {4 i}{a^{3} x + i a^{2}} - \frac {4 i x}{a} - \frac {8 \log {\left (a x + i \right )}}{a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________