Optimal. Leaf size=42 \[ \frac {x^{1+m} F_1\left (1+m;\frac {2+n}{2},1-\frac {n}{2};2+m;a x,-a x\right )}{c (1+m)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {6285, 138}
\begin {gather*} \frac {x^{m+1} F_1\left (m+1;\frac {n+2}{2},1-\frac {n}{2};m+2;a x,-a x\right )}{c (m+1)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 138
Rule 6285
Rubi steps
\begin {align*} \int \frac {e^{n \tanh ^{-1}(a x)} x^m}{c-a^2 c x^2} \, dx &=\frac {\int x^m (1-a x)^{-1-\frac {n}{2}} (1+a x)^{-1+\frac {n}{2}} \, dx}{c}\\ &=\frac {x^{1+m} F_1\left (1+m;\frac {2+n}{2},1-\frac {n}{2};2+m;a x,-a x\right )}{c (1+m)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(106\) vs. \(2(42)=84\).
time = 0.15, size = 106, normalized size = 2.52 \begin {gather*} \frac {e^{n \tanh ^{-1}(a x)} \left (-1+e^{-2 \tanh ^{-1}(a x)}\right )^m \left (1+e^{-2 \tanh ^{-1}(a x)}\right )^m \left (-e^{-4 \tanh ^{-1}(a x)} \left (-1+e^{2 \tanh ^{-1}(a x)}\right )^2\right )^{-m} x^m F_1\left (-\frac {n}{2};m,-m;1-\frac {n}{2};-e^{-2 \tanh ^{-1}(a x)},e^{-2 \tanh ^{-1}(a x)}\right )}{a c n} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {{\mathrm e}^{n \arctanh \left (a x \right )} x^{m}}{-a^{2} c \,x^{2}+c}\, 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*} - \frac {\int \frac {x^{m} e^{n \operatorname {atanh}{\left (a x \right )}}}{a^{2} x^{2} - 1}\, dx}{c} \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.02 \begin {gather*} \int \frac {x^m\,{\mathrm {e}}^{n\,\mathrm {atanh}\left (a\,x\right )}}{c-a^2\,c\,x^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________