Optimal. Leaf size=50 \[ -4 x^{m+1} \text{Hypergeometric2F1}(1,m+1,m+2,-i a x)+\frac{4 x^{m+1}}{1+i a x}+\frac{x^{m+1}}{m+1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0390302, antiderivative size = 50, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.286, Rules used = {5062, 89, 80, 64} \[ -4 x^{m+1} \text{Hypergeometric2F1}(1,m+1,m+2,-i a x)+\frac{4 x^{m+1}}{1+i a x}+\frac{x^{m+1}}{m+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5062
Rule 89
Rule 80
Rule 64
Rubi steps
\begin{align*} \int e^{-4 i \tan ^{-1}(a x)} x^m \, dx &=\int \frac{x^m (1-i a x)^2}{(1+i a x)^2} \, dx\\ &=\frac{4 x^{1+m}}{1+i a x}+\frac{\int \frac{x^m \left (-a^2 (3+4 m)+i a^3 x\right )}{1+i a x} \, dx}{a^2}\\ &=\frac{x^{1+m}}{1+m}+\frac{4 x^{1+m}}{1+i a x}-(4 (1+m)) \int \frac{x^m}{1+i a x} \, dx\\ &=\frac{x^{1+m}}{1+m}+\frac{4 x^{1+m}}{1+i a x}-4 x^{1+m} \, _2F_1(1,1+m;2+m;-i a x)\\ \end{align*}
Mathematica [A] time = 0.0207909, size = 58, normalized size = 1.16 \[ \frac{x^{m+1} (-4 (m+1) (a x-i) \text{Hypergeometric2F1}(1,m+1,m+2,-i a x)+a x-4 i m-5 i)}{(m+1) (a x-i)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.536, size = 428, normalized size = 8.6 \begin{align*}{\frac{-{\frac{i}{6}} \left ( ia \right ) ^{-m}}{a} \left ({\frac{{x}^{m} \left ( ia \right ) ^{m} \left ({a}^{2}{x}^{2}{m}^{4}+6\,{a}^{4}{x}^{4}m+11\,{a}^{2}{x}^{2}{m}^{3}-126\,iamx-2\,iax{m}^{4}+46\,{a}^{2}{x}^{2}{m}^{2}-72\,iax-{m}^{4}+24\,i{a}^{3}{x}^{3}+90\,{a}^{2}m{x}^{2}-21\,iax{m}^{3}-10\,{m}^{3}+72\,{a}^{2}{x}^{2}-79\,iax{m}^{2}-35\,{m}^{2}+6\,i{a}^{3}{x}^{3}m-50\,m-24 \right ) }{m \left ( 1+m \right ) \left ( 1+iax \right ) ^{3}}}+{x}^{m} \left ( ia \right ) ^{m} \left ({m}^{3}+9\,{m}^{2}+26\,m+24 \right ){\it LerchPhi} \left ( -iax,1,m \right ) \right ) }+{\frac{{\frac{i}{3}} \left ( ia \right ) ^{-m}}{a} \left ( -{\frac{{x}^{m} \left ( ia \right ) ^{m} \left ( -{a}^{2}{x}^{2}{m}^{2}-4\,{a}^{2}m{x}^{2}+2\,iax{m}^{2}-6\,{a}^{2}{x}^{2}+7\,iamx+{m}^{2}+6\,iax+3\,m+2 \right ) }{ \left ( 1+iax \right ) ^{3}}}+{x}^{m} \left ( ia \right ) ^{m}m \left ({m}^{2}+3\,m+2 \right ){\it LerchPhi} \left ( -iax,1,m \right ) \right ) }-{\frac{{\frac{i}{6}} \left ( ia \right ) ^{-m}}{a} \left ( -{\frac{{x}^{m} \left ( ia \right ) ^{m} \left ( -{a}^{2}{x}^{2}{m}^{2}+2\,{a}^{2}m{x}^{2}+2\,iax{m}^{2}-5\,iamx+{m}^{2}-3\,m+2 \right ) }{ \left ( 1+iax \right ) ^{3}}}+{x}^{m} \left ( ia \right ) ^{m} \left ({m}^{2}-3\,m+2 \right ) m{\it LerchPhi} \left ( -iax,1,m \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (a^{2} x^{2} + 1\right )}^{2} x^{m}}{{\left (i \, a x + 1\right )}^{4}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (a^{2} x^{2} + 2 i \, a x - 1\right )} x^{m}}{a^{2} x^{2} - 2 i \, a x - 1}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (a^{2} x^{2} + 1\right )}^{2} x^{m}}{{\left (i \, a x + 1\right )}^{4}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]