Optimal. Leaf size=102 \[ -\frac {e^{n \coth ^{-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 \coth ^{-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 = {6324, 6319}
\begin {gather*} \frac {\left (3-n^2\right ) (n-a x) e^{n \coth ^{-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 \coth ^{-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 6319
Rule 6324
Rubi steps
\begin {align*} \int \frac {e^{n \coth ^{-1}(a x)} x^2}{\left (c-a^2 c x^2\right )^{5/2}} \, dx &=-\frac {e^{n \coth ^{-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 \coth ^{-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 \coth ^{-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 \coth ^{-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.51, size = 109, normalized size = 1.07 \begin {gather*} \frac {e^{n \coth ^{-1}(a x)} \left (10 n-2 n^3-9 a x+a n^2 x-2 n \left (-1+n^2\right ) \cosh \left (2 \coth ^{-1}(a x)\right )+3 a \left (-1+n^2\right ) \sqrt {1-\frac {1}{a^2 x^2}} x \cosh \left (3 \coth ^{-1}(a x)\right )\right )}{4 a^3 c^2 \left (9-10 n^2+n^4\right ) \sqrt {c-a^2 c x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.09, 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 a^{2} n \,x^{2}+2 a \,n^{2} x -2 n \right ) {\mathrm e}^{n \,\mathrm {arccoth}\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 = 180, normalized size = 1.76 \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 {acoth}{\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.56, size = 175, normalized size = 1.72 \begin {gather*} \frac {{\left (\frac {a\,x+1}{a\,x}\right )}^{n/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 )}{\left (\frac {\sqrt {c-a^2\,c\,x^2}}{a^2}-x^2\,\sqrt {c-a^2\,c\,x^2}\right )\,{\left (\frac {a\,x-1}{a\,x}\right )}^{n/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________