Optimal. Leaf size=127 \[ \frac {24 e^{n \tanh ^{-1}(a x)}}{a c^3 n \left (64-20 n^2+n^4\right )}-\frac {e^{n \tanh ^{-1}(a x)} (n-4 a x)}{a c^3 \left (16-n^2\right ) \left (1-a^2 x^2\right )^2}-\frac {12 e^{n \tanh ^{-1}(a x)} (n-2 a x)}{a c^3 \left (4-n^2\right ) \left (16-n^2\right ) \left (1-a^2 x^2\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 127, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {6271, 6272}
\begin {gather*} -\frac {(n-4 a x) e^{n \tanh ^{-1}(a x)}}{a c^3 \left (16-n^2\right ) \left (1-a^2 x^2\right )^2}-\frac {12 (n-2 a x) e^{n \tanh ^{-1}(a x)}}{a c^3 \left (4-n^2\right ) \left (16-n^2\right ) \left (1-a^2 x^2\right )}+\frac {24 e^{n \tanh ^{-1}(a x)}}{a c^3 n \left (n^4-20 n^2+64\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6271
Rule 6272
Rubi steps
\begin {align*} \int \frac {e^{n \tanh ^{-1}(a x)}}{\left (c-a^2 c x^2\right )^3} \, dx &=-\frac {e^{n \tanh ^{-1}(a x)} (n-4 a x)}{a c^3 \left (16-n^2\right ) \left (1-a^2 x^2\right )^2}+\frac {12 \int \frac {e^{n \tanh ^{-1}(a x)}}{\left (c-a^2 c x^2\right )^2} \, dx}{c \left (16-n^2\right )}\\ &=-\frac {e^{n \tanh ^{-1}(a x)} (n-4 a x)}{a c^3 \left (16-n^2\right ) \left (1-a^2 x^2\right )^2}-\frac {12 e^{n \tanh ^{-1}(a x)} (n-2 a x)}{a c^3 \left (4-n^2\right ) \left (16-n^2\right ) \left (1-a^2 x^2\right )}+\frac {24 \int \frac {e^{n \tanh ^{-1}(a x)}}{c-a^2 c x^2} \, dx}{c^2 \left (64-20 n^2+n^4\right )}\\ &=\frac {24 e^{n \tanh ^{-1}(a x)}}{a c^3 n \left (64-20 n^2+n^4\right )}-\frac {e^{n \tanh ^{-1}(a x)} (n-4 a x)}{a c^3 \left (16-n^2\right ) \left (1-a^2 x^2\right )^2}-\frac {12 e^{n \tanh ^{-1}(a x)} (n-2 a x)}{a c^3 \left (4-n^2\right ) \left (16-n^2\right ) \left (1-a^2 x^2\right )}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.10, size = 111, normalized size = 0.87 \begin {gather*} \frac {(1-a x)^{-2-\frac {n}{2}} (1+a x)^{-2+\frac {n}{2}} \left (n^4-4 a n^3 x+24 \left (-1+a^2 x^2\right )^2-8 a n x \left (-5+3 a^2 x^2\right )+4 n^2 \left (-4+3 a^2 x^2\right )\right )}{a c^3 (-4+n) (-2+n) n (2+n) (4+n)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 101, normalized size = 0.80
method | result | size |
gosper | \(\frac {\left (24 a^{4} x^{4}-24 a^{3} x^{3} n +12 a^{2} n^{2} x^{2}-4 a \,n^{3} x -48 a^{2} x^{2}+n^{4}+40 n a x -16 n^{2}+24\right ) {\mathrm e}^{n \arctanh \left (a x \right )}}{\left (a^{2} x^{2}-1\right )^{2} c^{3} a \left (n^{2}-16\right ) \left (n^{2}-4\right ) n}\) | \(101\) |
risch | \(\frac {\left (24 a^{4} x^{4}-24 a^{3} x^{3} n +12 a^{2} n^{2} x^{2}-4 a \,n^{3} x -48 a^{2} x^{2}+n^{4}+40 n a x -16 n^{2}+24\right ) \left (-a x +1\right )^{-\frac {n}{2}} \left (a x +1\right )^{\frac {n}{2}}}{\left (a^{2} x^{2}-1\right )^{2} c^{3} a \left (n^{2}-16\right ) \left (n^{2}-4\right ) n}\) | \(113\) |
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 [A]
time = 0.34, size = 175, normalized size = 1.38 \begin {gather*} \frac {{\left (24 \, a^{4} x^{4} - 24 \, a^{3} n x^{3} + n^{4} + 12 \, {\left (a^{2} n^{2} - 4 \, a^{2}\right )} x^{2} - 16 \, n^{2} - 4 \, {\left (a n^{3} - 10 \, a n\right )} x + 24\right )} \left (-\frac {a x + 1}{a x - 1}\right )^{\frac {1}{2} \, n}}{a c^{3} n^{5} - 20 \, a c^{3} n^{3} + 64 \, a c^{3} n + {\left (a^{5} c^{3} n^{5} - 20 \, a^{5} c^{3} n^{3} + 64 \, a^{5} c^{3} n\right )} x^{4} - 2 \, {\left (a^{3} c^{3} n^{5} - 20 \, a^{3} c^{3} n^{3} + 64 \, a^{3} c^{3} n\right )} x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \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 [B]
time = 1.39, size = 179, normalized size = 1.41 \begin {gather*} \frac {{\left (a\,x+1\right )}^{n/2}\,\left (\frac {24\,x^4}{a\,c^3\,n\,\left (n^4-20\,n^2+64\right )}-\frac {4\,x\,\left (n^2-10\right )}{a^4\,c^3\,\left (n^4-20\,n^2+64\right )}-\frac {24\,x^3}{a^2\,c^3\,\left (n^4-20\,n^2+64\right )}+\frac {n^4-16\,n^2+24}{a^5\,c^3\,n\,\left (n^4-20\,n^2+64\right )}+\frac {x^2\,\left (12\,n^2-48\right )}{a^3\,c^3\,n\,\left (n^4-20\,n^2+64\right )}\right )}{{\left (1-a\,x\right )}^{n/2}\,\left (\frac {1}{a^4}+x^4-\frac {2\,x^2}{a^2}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________