Optimal. Leaf size=116 \[ \frac {32 \left (1-\frac {1}{a x}\right )^{\frac {5-n}{2}} \left (1+\frac {1}{a x}\right )^{\frac {1}{2} (-5+n)} \left (c-a^2 c x^2\right )^{3/2} \, _2F_1\left (5,\frac {5-n}{2};\frac {7-n}{2};\frac {a-\frac {1}{x}}{a+\frac {1}{x}}\right )}{a^4 (5-n) \left (1-\frac {1}{a^2 x^2}\right )^{3/2} x^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.14, antiderivative size = 116, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {6327, 6330,
133} \begin {gather*} \frac {32 \left (c-a^2 c x^2\right )^{3/2} \left (1-\frac {1}{a x}\right )^{\frac {5-n}{2}} \left (\frac {1}{a x}+1\right )^{\frac {n-5}{2}} \, _2F_1\left (5,\frac {5-n}{2};\frac {7-n}{2};\frac {a-\frac {1}{x}}{a+\frac {1}{x}}\right )}{a^4 (5-n) x^3 \left (1-\frac {1}{a^2 x^2}\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 133
Rule 6327
Rule 6330
Rubi steps
\begin {align*} \int e^{n \coth ^{-1}(a x)} \left (c-a^2 c x^2\right )^{3/2} \, dx &=\frac {\left (c-a^2 c x^2\right )^{3/2} \int e^{n \coth ^{-1}(a x)} \left (1-\frac {1}{a^2 x^2}\right )^{3/2} x^3 \, dx}{\left (1-\frac {1}{a^2 x^2}\right )^{3/2} x^3}\\ &=-\frac {\left (c-a^2 c x^2\right )^{3/2} \text {Subst}\left (\int \frac {\left (1-\frac {x}{a}\right )^{\frac {3}{2}-\frac {n}{2}} \left (1+\frac {x}{a}\right )^{\frac {3}{2}+\frac {n}{2}}}{x^5} \, dx,x,\frac {1}{x}\right )}{\left (1-\frac {1}{a^2 x^2}\right )^{3/2} x^3}\\ &=\frac {32 \left (1-\frac {1}{a x}\right )^{\frac {5-n}{2}} \left (1+\frac {1}{a x}\right )^{\frac {1}{2} (-5+n)} \left (c-a^2 c x^2\right )^{3/2} \, _2F_1\left (5,\frac {5-n}{2};\frac {7-n}{2};\frac {a-\frac {1}{x}}{a+\frac {1}{x}}\right )}{a^4 (5-n) \left (1-\frac {1}{a^2 x^2}\right )^{3/2} x^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(280\) vs. \(2(116)=232\).
time = 1.55, size = 280, normalized size = 2.41 \begin {gather*} \frac {c^2 \left (96 a^3 c \left (1-\frac {1}{a^2 x^2}\right )^{3/2} x^3 \left (a e^{n \coth ^{-1}(a x)} \sqrt {1-\frac {1}{a^2 x^2}} x (n+a x)+2 e^{(1+n) \coth ^{-1}(a x)} (-1+n) \, _2F_1\left (1,\frac {1+n}{2};\frac {3+n}{2};e^{2 \coth ^{-1}(a x)}\right )\right )-c \left (-1+a^2 x^2\right ) \left (2 e^{n \coth ^{-1}(a x)} \left (-1+a^2 x^2\right )^2 \left (-a \left (-21+n^2\right ) x+2 n \left (1-n^2+\left (3+n^2\right ) \cosh \left (2 \coth ^{-1}(a x)\right )\right )+a \left (3+n^2\right ) \sqrt {1-\frac {1}{a^2 x^2}} x \cosh \left (3 \coth ^{-1}(a x)\right )\right )+16 a e^{(1+n) \coth ^{-1}(a x)} \left (-3+3 n-n^2+n^3\right ) \sqrt {1-\frac {1}{a^2 x^2}} x \, _2F_1\left (1,\frac {1+n}{2};\frac {3+n}{2};e^{2 \coth ^{-1}(a x)}\right )\right )\right )}{192 a \left (c-a^2 c x^2\right )^{3/2}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.06, size = 0, normalized size = 0.00 \[\int {\mathrm e}^{n \,\mathrm {arccoth}\left (a x \right )} \left (-a^{2} c \,x^{2}+c \right )^{\frac {3}{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 \left (- c \left (a x - 1\right ) \left (a x + 1\right )\right )^{\frac {3}{2}} e^{n \operatorname {acoth}{\left (a x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\mathrm {e}}^{n\,\mathrm {acoth}\left (a\,x\right )}\,{\left (c-a^2\,c\,x^2\right )}^{3/2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________