Optimal. Leaf size=74 \[ \frac{x^m \text{Hypergeometric2F1}\left (\frac{1}{2},-\frac{m}{2},1-\frac{m}{2},\frac{1}{a^2 x^2}\right )}{a m}+\frac{x^{m+1} \text{Hypergeometric2F1}\left (\frac{1}{2},\frac{1}{2} (-m-1),\frac{1-m}{2},\frac{1}{a^2 x^2}\right )}{m+1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0615149, antiderivative size = 74, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.3, Rules used = {6172, 808, 364} \[ \frac{x^m \, _2F_1\left (\frac{1}{2},-\frac{m}{2};1-\frac{m}{2};\frac{1}{a^2 x^2}\right )}{a m}+\frac{x^{m+1} \, _2F_1\left (\frac{1}{2},\frac{1}{2} (-m-1);\frac{1-m}{2};\frac{1}{a^2 x^2}\right )}{m+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6172
Rule 808
Rule 364
Rubi steps
\begin{align*} \int e^{\coth ^{-1}(a x)} x^m \, dx &=-\left (\left (\left (\frac{1}{x}\right )^m x^m\right ) \operatorname{Subst}\left (\int \frac{x^{-2-m} \left (1+\frac{x}{a}\right )}{\sqrt{1-\frac{x^2}{a^2}}} \, dx,x,\frac{1}{x}\right )\right )\\ &=-\left (\left (\left (\frac{1}{x}\right )^m x^m\right ) \operatorname{Subst}\left (\int \frac{x^{-2-m}}{\sqrt{1-\frac{x^2}{a^2}}} \, dx,x,\frac{1}{x}\right )\right )-\frac{\left (\left (\frac{1}{x}\right )^m x^m\right ) \operatorname{Subst}\left (\int \frac{x^{-1-m}}{\sqrt{1-\frac{x^2}{a^2}}} \, dx,x,\frac{1}{x}\right )}{a}\\ &=\frac{x^{1+m} \, _2F_1\left (\frac{1}{2},\frac{1}{2} (-1-m);\frac{1-m}{2};\frac{1}{a^2 x^2}\right )}{1+m}+\frac{x^m \, _2F_1\left (\frac{1}{2},-\frac{m}{2};1-\frac{m}{2};\frac{1}{a^2 x^2}\right )}{a m}\\ \end{align*}
Mathematica [C] time = 0.38729, size = 128, normalized size = 1.73 \[ x^{m+1} \left (\frac{\text{Hypergeometric2F1}\left (-\frac{1}{2},-\frac{m}{2}-\frac{1}{2},\frac{1}{2}-\frac{m}{2},\frac{1}{a^2 x^2}\right )}{m+1}-\frac{\sqrt{1-\frac{1}{a^2 x^2}} \sqrt{x^2-\frac{1}{a^2}} F_1\left (m;-\frac{1}{2},\frac{1}{2};m+1;-a x,a x\right )}{m \sqrt{a x-1} \sqrt{\frac{a x+1}{a^2}} \sqrt{1-a^2 x^2}}\right ) \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.184, size = 0, normalized size = 0. \begin{align*} \int{{x}^{m}{\frac{1}{\sqrt{{\frac{ax-1}{ax+1}}}}}}\, dx \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{x^{m}}{\sqrt{\frac{a x - 1}{a x + 1}}}\,{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 + 1\right )} x^{m} \sqrt{\frac{a x - 1}{a x + 1}}}{a x - 1}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{m}}{\sqrt{\frac{a x - 1}{a x + 1}}}\, dx \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{x^{m}}{\sqrt{\frac{a x - 1}{a x + 1}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]