Optimal. Leaf size=63 \[ \frac {2^{2+p} c (1+a x)^{1-p} \left (c-a^2 c x^2\right )^{-1+p} \, _2F_1\left (-2-p,-1+p;p;\frac {1}{2} (1-a x)\right )}{a (1-p)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {6276, 692, 71}
\begin {gather*} \frac {c 2^{p+2} (a x+1)^{1-p} \left (c-a^2 c x^2\right )^{p-1} \, _2F_1\left (-p-2,p-1;p;\frac {1}{2} (1-a x)\right )}{a (1-p)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 71
Rule 692
Rule 6276
Rubi steps
\begin {align*} \int e^{4 \tanh ^{-1}(a x)} \left (c-a^2 c x^2\right )^p \, dx &=c^2 \int (1+a x)^4 \left (c-a^2 c x^2\right )^{-2+p} \, dx\\ &=\left (c^2 (1+a x)^{1-p} (c-a c x)^{1-p} \left (c-a^2 c x^2\right )^{-1+p}\right ) \int (1+a x)^{2+p} (c-a c x)^{-2+p} \, dx\\ &=\frac {2^{2+p} c (1+a x)^{1-p} \left (c-a^2 c x^2\right )^{-1+p} \, _2F_1\left (-2-p,-1+p;p;\frac {1}{2} (1-a x)\right )}{a (1-p)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 72, normalized size = 1.14 \begin {gather*} -\frac {2^{2+p} (1-a x)^{-1+p} \left (1-a^2 x^2\right )^{-p} \left (c-a^2 c x^2\right )^p \, _2F_1\left (-2-p,-1+p;p;\frac {1}{2} (1-a x)\right )}{a (-1+p)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {\left (a x +1\right )^{4} \left (-a^{2} c \,x^{2}+c \right )^{p}}{\left (-a^{2} x^{2}+1\right )^{2}}\, 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 {\left (- c \left (a x - 1\right ) \left (a x + 1\right )\right )^{p} \left (a x + 1\right )^{2}}{\left (a x - 1\right )^{2}}\, 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.02 \begin {gather*} \int \frac {{\left (c-a^2\,c\,x^2\right )}^p\,{\left (a\,x+1\right )}^4}{{\left (a^2\,x^2-1\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________