Optimal. Leaf size=39 \[ -\frac{x^{m+1}}{m+1}+\frac{2 x^{m+1} \text{Hypergeometric2F1}(1,m+1,m+2,-i a x)}{m+1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0231997, antiderivative size = 39, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {5062, 80, 64} \[ -\frac{x^{m+1}}{m+1}+\frac{2 x^{m+1} \text{Hypergeometric2F1}(1,m+1,m+2,-i a x)}{m+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5062
Rule 80
Rule 64
Rubi steps
\begin{align*} \int e^{-2 i \tan ^{-1}(a x)} x^m \, dx &=\int \frac{x^m (1-i a x)}{1+i a x} \, dx\\ &=-\frac{x^{1+m}}{1+m}+2 \int \frac{x^m}{1+i a x} \, dx\\ &=-\frac{x^{1+m}}{1+m}+\frac{2 x^{1+m} \, _2F_1(1,1+m;2+m;-i a x)}{1+m}\\ \end{align*}
Mathematica [A] time = 0.0082643, size = 29, normalized size = 0.74 \[ \frac{x^{m+1} (-1+2 \text{Hypergeometric2F1}(1,m+1,m+2,-i a x))}{m+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.382, size = 158, normalized size = 4.1 \begin{align*}{\frac{i \left ( ia \right ) ^{-m}}{a} \left ({\frac{{x}^{m} \left ( ia \right ) ^{m} \left ( -{a}^{2}m{x}^{2}-iamx-{m}^{2}-2\,iax-3\,m-2 \right ) }{m \left ( 1+m \right ) \left ( 1+iax \right ) }}+{x}^{m} \left ( ia \right ) ^{m} \left ( 2+m \right ){\it LerchPhi} \left ( -iax,1,m \right ) \right ) }-{\frac{i \left ( ia \right ) ^{-m}}{a} \left ({\frac{{x}^{m} \left ( ia \right ) ^{m} \left ( -1-m \right ) }{ \left ( 1+m \right ) \left ( 1+iax \right ) }}+{x}^{m} \left ( ia \right ) ^{m}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 )} x^{m}}{{\left (i \, a x + 1\right )}^{2}}\,{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 x + i\right )} x^{m}}{a x - i}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 31.5172, size = 578, normalized size = 14.82 \begin{align*} \text{result too large to display} \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 )} x^{m}}{{\left (i \, a x + 1\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]