Optimal. Leaf size=69 \[ \frac{(2-a n x) e^{n \tanh ^{-1}(a x)}}{a^2 c^2 \left (4-n^2\right ) \left (1-a^2 x^2\right )}-\frac{e^{n \tanh ^{-1}(a x)}}{a^2 c^2 \left (4-n^2\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.149231, antiderivative size = 102, normalized size of antiderivative = 1.48, number of steps used = 3, number of rules used = 3, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.13, Rules used = {6145, 6136, 6137} \[ \frac{n (n-2 a x) e^{n \tanh ^{-1}(a x)}}{2 a^2 c^2 \left (4-n^2\right ) \left (1-a^2 x^2\right )}-\frac{e^{n \tanh ^{-1}(a x)}}{a^2 c^2 \left (4-n^2\right )}+\frac{e^{n \tanh ^{-1}(a x)}}{2 a^2 c^2 \left (1-a^2 x^2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6145
Rule 6136
Rule 6137
Rubi steps
\begin{align*} \int \frac{e^{n \tanh ^{-1}(a x)} x}{\left (c-a^2 c x^2\right )^2} \, dx &=\frac{e^{n \tanh ^{-1}(a x)}}{2 a^2 c^2 \left (1-a^2 x^2\right )}-\frac{n \int \frac{e^{n \tanh ^{-1}(a x)}}{\left (c-a^2 c x^2\right )^2} \, dx}{2 a}\\ &=\frac{e^{n \tanh ^{-1}(a x)}}{2 a^2 c^2 \left (1-a^2 x^2\right )}+\frac{e^{n \tanh ^{-1}(a x)} n (n-2 a x)}{2 a^2 c^2 \left (4-n^2\right ) \left (1-a^2 x^2\right )}-\frac{n \int \frac{e^{n \tanh ^{-1}(a x)}}{c-a^2 c x^2} \, dx}{a c \left (4-n^2\right )}\\ &=-\frac{e^{n \tanh ^{-1}(a x)}}{a^2 c^2 \left (4-n^2\right )}+\frac{e^{n \tanh ^{-1}(a x)}}{2 a^2 c^2 \left (1-a^2 x^2\right )}+\frac{e^{n \tanh ^{-1}(a x)} n (n-2 a x)}{2 a^2 c^2 \left (4-n^2\right ) \left (1-a^2 x^2\right )}\\ \end{align*}
Mathematica [A] time = 0.0340597, size = 56, normalized size = 0.81 \[ -\frac{(1-a x)^{-\frac{n}{2}-1} (a x+1)^{\frac{n}{2}-1} \left (a^2 x^2-a n x+1\right )}{a^2 c^2 \left (n^2-4\right )} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.03, size = 47, normalized size = 0.7 \begin{align*}{\frac{{{\rm e}^{n{\it Artanh} \left ( ax \right ) }} \left ({a}^{2}{x}^{2}-nax+1 \right ) }{ \left ({a}^{2}{x}^{2}-1 \right ){c}^{2}{a}^{2} \left ({n}^{2}-4 \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{x \left (\frac{a x + 1}{a x - 1}\right )^{\frac{1}{2} \, n}}{{\left (a^{2} c x^{2} - c\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.2321, size = 151, normalized size = 2.19 \begin{align*} -\frac{{\left (a^{2} x^{2} - a n x + 1\right )} \left (\frac{a x + 1}{a x - 1}\right )^{\frac{1}{2} \, n}}{a^{2} c^{2} n^{2} - 4 \, a^{2} c^{2} -{\left (a^{4} c^{2} n^{2} - 4 \, a^{4} c^{2}\right )} x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \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 \left (\frac{a x + 1}{a x - 1}\right )^{\frac{1}{2} \, n}}{{\left (a^{2} c x^{2} - c\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]