Optimal. Leaf size=42 \[ \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)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.102289, antiderivative size = 42, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.08, Rules used = {6150, 133} \[ \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)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6150
Rule 133
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] time = 0.195915, size = 106, normalized size = 2.52 \[ \frac{x^m \left (e^{-2 \tanh ^{-1}(a x)}-1\right )^m \left (e^{-2 \tanh ^{-1}(a x)}+1\right )^m \left (-e^{-4 \tanh ^{-1}(a x)} \left (e^{2 \tanh ^{-1}(a x)}-1\right )^2\right )^{-m} e^{n \tanh ^{-1}(a x)} 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} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.203, size = 0, normalized size = 0. \begin{align*} \int{\frac{{{\rm e}^{n{\it Artanh} \left ( ax \right ) }}{x}^{m}}{-{a}^{2}c{x}^{2}+c}}\, 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} \left (\frac{a x + 1}{a x - 1}\right )^{\frac{1}{2} \, n}}{a^{2} c x^{2} - c}\,{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{x^{m} \left (\frac{a x + 1}{a x - 1}\right )^{\frac{1}{2} \, n}}{a^{2} c x^{2} - c}, 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*} - \frac{\int \frac{x^{m} e^{n \operatorname{atanh}{\left (a x \right )}}}{a^{2} x^{2} - 1}\, dx}{c} \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} \left (\frac{a x + 1}{a x - 1}\right )^{\frac{1}{2} \, n}}{a^{2} c x^{2} - c}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]