Optimal. Leaf size=41 \[ \frac {(1-a x)^{1-2 p}}{a (1-2 p)}+\frac {(1-a x)^{-2 p}}{a p} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 41, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {6140, 43} \[ \frac {(1-a x)^{1-2 p}}{a (1-2 p)}+\frac {(1-a x)^{-2 p}}{a p} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 6140
Rubi steps
\begin {align*} \int e^{2 (1+p) \tanh ^{-1}(a x)} \left (1-a^2 x^2\right )^{-p} \, dx &=\int (1-a x)^{-1-2 p} (1+a x) \, dx\\ &=\int \left (2 (1-a x)^{-1-2 p}-(1-a x)^{-2 p}\right ) \, dx\\ &=\frac {(1-a x)^{1-2 p}}{a (1-2 p)}+\frac {(1-a x)^{-2 p}}{a p}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 31, normalized size = 0.76 \[ \frac {(1-a x)^{-2 p} (a p x+p-1)}{a p (2 p-1)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.53, size = 80, normalized size = 1.95 \[ -\frac {{\left (a^{2} p x^{2} - a x - p + 1\right )} \left (\frac {a x + 1}{a x - 1}\right )^{p + 1}}{{\left (2 \, a p^{2} - a p + {\left (2 \, a^{2} p^{2} - a^{2} p\right )} x\right )} {\left (-a^{2} x^{2} + 1\right )}^{p}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (\frac {a x + 1}{a x - 1}\right )^{p + 1}}{{\left (-a^{2} x^{2} + 1\right )}^{p}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 59, normalized size = 1.44 \[ -\frac {\left (a x -1\right ) \left (a p x +p -1\right ) {\mathrm e}^{2 \left (1+p \right ) \arctanh \left (a x \right )} \left (-a^{2} x^{2}+1\right )^{-p}}{a p \left (2 p -1\right ) \left (a x +1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.34, size = 40, normalized size = 0.98 \[ -\frac {a p x + p - 1}{{\left (2 \, \left (-1\right )^{p} p^{2} - \left (-1\right )^{p} p\right )} {\left (a x - 1\right )}^{2 \, p} a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.12, size = 84, normalized size = 2.05 \[ \frac {p\,{\left (a\,x+1\right )}^p-{\left (a\,x+1\right )}^p+a\,p\,x\,{\left (a\,x+1\right )}^p}{2\,a\,p^2\,{\left (1-a^2\,x^2\right )}^p\,{\left (1-a\,x\right )}^p-a\,p\,{\left (1-a^2\,x^2\right )}^p\,{\left (1-a\,x\right )}^p} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________