Optimal. Leaf size=102 \[ -\frac {e^{n \tanh ^{-1}(a x)} (n-3 a x)}{a^3 c \left (9-n^2\right ) \left (c-a^2 c x^2\right )^{3/2}}+\frac {e^{n \tanh ^{-1}(a x)} \left (3-n^2\right ) (n-a x)}{a^3 c^2 \left (9-10 n^2+n^4\right ) \sqrt {c-a^2 c x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 102, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {6282, 6270}
\begin {gather*} \frac {\left (3-n^2\right ) (n-a x) e^{n \tanh ^{-1}(a x)}}{a^3 c^2 \left (n^4-10 n^2+9\right ) \sqrt {c-a^2 c x^2}}-\frac {(n-3 a x) e^{n \tanh ^{-1}(a x)}}{a^3 c \left (9-n^2\right ) \left (c-a^2 c x^2\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6270
Rule 6282
Rubi steps
\begin {align*} \int \frac {e^{n \tanh ^{-1}(a x)} x^2}{\left (c-a^2 c x^2\right )^{5/2}} \, dx &=-\frac {e^{n \tanh ^{-1}(a x)} (n-3 a x)}{a^3 c \left (9-n^2\right ) \left (c-a^2 c x^2\right )^{3/2}}-\frac {\left (3-n^2\right ) \int \frac {e^{n \tanh ^{-1}(a x)}}{\left (c-a^2 c x^2\right )^{3/2}} \, dx}{a^2 c \left (9-n^2\right )}\\ &=-\frac {e^{n \tanh ^{-1}(a x)} (n-3 a x)}{a^3 c \left (9-n^2\right ) \left (c-a^2 c x^2\right )^{3/2}}+\frac {e^{n \tanh ^{-1}(a x)} \left (3-n^2\right ) (n-a x)}{a^3 c^2 \left (9-10 n^2+n^4\right ) \sqrt {c-a^2 c x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.13, size = 125, normalized size = 1.23 \begin {gather*} -\frac {(1-a x)^{\frac {1}{2} (-3-n)} (1+a x)^{\frac {1}{2} (-3+n)} \sqrt {1-a^2 x^2} \left (-a^2 n^3 x^2-3 a^3 x^3+a n^2 x \left (2+a^2 x^2\right )+n \left (-2+3 a^2 x^2\right )\right )}{a^3 c^2 \left (9-10 n^2+n^4\right ) \sqrt {c-a^2 c x^2}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 96, normalized size = 0.94
method | result | size |
gosper | \(\frac {\left (a x -1\right ) \left (a x +1\right ) \left (a^{3} n^{2} x^{3}-a^{2} n^{3} x^{2}-3 a^{3} x^{3}+3 n \,x^{2} a^{2}+2 n^{2} x a -2 n \right ) {\mathrm e}^{n \arctanh \left (a x \right )}}{\left (n^{4}-10 n^{2}+9\right ) a^{3} \left (-a^{2} c \,x^{2}+c \right )^{\frac {5}{2}}}\) | \(96\) |
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.35, size = 181, normalized size = 1.77 \begin {gather*} -\frac {\sqrt {-a^{2} c x^{2} + c} {\left (2 \, a n^{2} x + {\left (a^{3} n^{2} - 3 \, a^{3}\right )} x^{3} - {\left (a^{2} n^{3} - 3 \, a^{2} n\right )} x^{2} - 2 \, n\right )} \left (-\frac {a x + 1}{a x - 1}\right )^{\frac {1}{2} \, n}}{a^{3} c^{3} n^{4} - 10 \, a^{3} c^{3} n^{2} + 9 \, a^{3} c^{3} + {\left (a^{7} c^{3} n^{4} - 10 \, a^{7} c^{3} n^{2} + 9 \, a^{7} c^{3}\right )} x^{4} - 2 \, {\left (a^{5} c^{3} n^{4} - 10 \, a^{5} c^{3} n^{2} + 9 \, a^{5} c^{3}\right )} x^{2}} \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 {x^{2} e^{n \operatorname {atanh}{\left (a x \right )}}}{\left (- c \left (a x - 1\right ) \left (a x + 1\right )\right )^{\frac {5}{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 [B]
time = 1.23, size = 162, normalized size = 1.59 \begin {gather*} \frac {{\mathrm {e}}^{\frac {n\,\ln \left (a\,x+1\right )}{2}-\frac {n\,\ln \left (1-a\,x\right )}{2}}\,\left (\frac {2\,n}{a^5\,c^2\,\left (n^4-10\,n^2+9\right )}-\frac {x^3\,\left (n^2-3\right )}{a^2\,c^2\,\left (n^4-10\,n^2+9\right )}-\frac {2\,n^2\,x}{a^4\,c^2\,\left (n^4-10\,n^2+9\right )}+\frac {n\,x^2\,\left (n^2-3\right )}{a^3\,c^2\,\left (n^4-10\,n^2+9\right )}\right )}{\frac {\sqrt {c-a^2\,c\,x^2}}{a^2}-x^2\,\sqrt {c-a^2\,c\,x^2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________