Optimal. Leaf size=74 \[ \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} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 74, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {6307, 822, 371}
\begin {gather*} \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}+\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 {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 371
Rule 822
Rule 6307
Rubi steps
\begin {align*} \int e^{\coth ^{-1}(a x)} x^m \, dx &=-\left (\left (\left (\frac {1}{x}\right )^m x^m\right ) \text {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 ) \text {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 ) \text {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] Result contains higher order function than in optimal. Order 6 vs. order 5 in
optimal.
time = 0.28, size = 128, normalized size = 1.73 \begin {gather*} x^{1+m} \left (-\frac {\sqrt {1-\frac {1}{a^2 x^2}} \sqrt {-\frac {1}{a^2}+x^2} F_1\left (m;-\frac {1}{2},\frac {1}{2};1+m;-a x,a x\right )}{m \sqrt {-1+a x} \sqrt {\frac {1+a x}{a^2}} \sqrt {1-a^2 x^2}}+\frac {\, _2F_1\left (-\frac {1}{2},-\frac {1}{2}-\frac {m}{2};\frac {1}{2}-\frac {m}{2};\frac {1}{a^2 x^2}\right )}{1+m}\right ) \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {x^{m}}{\sqrt {\frac {a x -1}{a x +1}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{m}}{\sqrt {\frac {a x - 1}{a x + 1}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^m}{\sqrt {\frac {a\,x-1}{a\,x+1}}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________