Optimal. Leaf size=267 \[ -\frac {\left (1-a^2 x^2\right )^{5/2}}{a^5 \left (c-\frac {c}{a^2 x^2}\right )^{5/2} x^4}+\frac {\left (1-a^2 x^2\right )^{5/2}}{8 a^6 \left (c-\frac {c}{a^2 x^2}\right )^{5/2} x^5 (1-a x)^2}-\frac {\left (1-a^2 x^2\right )^{5/2}}{a^6 \left (c-\frac {c}{a^2 x^2}\right )^{5/2} x^5 (1-a x)}+\frac {\left (1-a^2 x^2\right )^{5/2}}{8 a^6 \left (c-\frac {c}{a^2 x^2}\right )^{5/2} x^5 (1+a x)}-\frac {23 \left (1-a^2 x^2\right )^{5/2} \log (1-a x)}{16 a^6 \left (c-\frac {c}{a^2 x^2}\right )^{5/2} x^5}+\frac {7 \left (1-a^2 x^2\right )^{5/2} \log (1+a x)}{16 a^6 \left (c-\frac {c}{a^2 x^2}\right )^{5/2} x^5} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.15, antiderivative size = 267, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {6295, 6285, 90}
\begin {gather*} -\frac {\left (1-a^2 x^2\right )^{5/2}}{a^6 x^5 (1-a x) \left (c-\frac {c}{a^2 x^2}\right )^{5/2}}+\frac {\left (1-a^2 x^2\right )^{5/2}}{8 a^6 x^5 (a x+1) \left (c-\frac {c}{a^2 x^2}\right )^{5/2}}+\frac {\left (1-a^2 x^2\right )^{5/2}}{8 a^6 x^5 (1-a x)^2 \left (c-\frac {c}{a^2 x^2}\right )^{5/2}}-\frac {23 \left (1-a^2 x^2\right )^{5/2} \log (1-a x)}{16 a^6 x^5 \left (c-\frac {c}{a^2 x^2}\right )^{5/2}}+\frac {7 \left (1-a^2 x^2\right )^{5/2} \log (a x+1)}{16 a^6 x^5 \left (c-\frac {c}{a^2 x^2}\right )^{5/2}}-\frac {\left (1-a^2 x^2\right )^{5/2}}{a^5 x^4 \left (c-\frac {c}{a^2 x^2}\right )^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 90
Rule 6285
Rule 6295
Rubi steps
\begin {align*} \int \frac {e^{\tanh ^{-1}(a x)}}{\left (c-\frac {c}{a^2 x^2}\right )^{5/2}} \, dx &=\frac {\left (1-a^2 x^2\right )^{5/2} \int \frac {e^{\tanh ^{-1}(a x)} x^5}{\left (1-a^2 x^2\right )^{5/2}} \, dx}{\left (c-\frac {c}{a^2 x^2}\right )^{5/2} x^5}\\ &=\frac {\left (1-a^2 x^2\right )^{5/2} \int \frac {x^5}{(1-a x)^3 (1+a x)^2} \, dx}{\left (c-\frac {c}{a^2 x^2}\right )^{5/2} x^5}\\ &=\frac {\left (1-a^2 x^2\right )^{5/2} \int \left (-\frac {1}{a^5}-\frac {1}{4 a^5 (-1+a x)^3}-\frac {1}{a^5 (-1+a x)^2}-\frac {23}{16 a^5 (-1+a x)}-\frac {1}{8 a^5 (1+a x)^2}+\frac {7}{16 a^5 (1+a x)}\right ) \, dx}{\left (c-\frac {c}{a^2 x^2}\right )^{5/2} x^5}\\ &=-\frac {\left (1-a^2 x^2\right )^{5/2}}{a^5 \left (c-\frac {c}{a^2 x^2}\right )^{5/2} x^4}+\frac {\left (1-a^2 x^2\right )^{5/2}}{8 a^6 \left (c-\frac {c}{a^2 x^2}\right )^{5/2} x^5 (1-a x)^2}-\frac {\left (1-a^2 x^2\right )^{5/2}}{a^6 \left (c-\frac {c}{a^2 x^2}\right )^{5/2} x^5 (1-a x)}+\frac {\left (1-a^2 x^2\right )^{5/2}}{8 a^6 \left (c-\frac {c}{a^2 x^2}\right )^{5/2} x^5 (1+a x)}-\frac {23 \left (1-a^2 x^2\right )^{5/2} \log (1-a x)}{16 a^6 \left (c-\frac {c}{a^2 x^2}\right )^{5/2} x^5}+\frac {7 \left (1-a^2 x^2\right )^{5/2} \log (1+a x)}{16 a^6 \left (c-\frac {c}{a^2 x^2}\right )^{5/2} x^5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.19, size = 87, normalized size = 0.33 \begin {gather*} \frac {\left (1-a^2 x^2\right )^{5/2} \left (2 \left (-8 a x+\frac {1}{(-1+a x)^2}+\frac {8}{-1+a x}+\frac {1}{1+a x}\right )-23 \log (1-a x)+7 \log (1+a x)\right )}{16 a^6 \left (c-\frac {c}{a^2 x^2}\right )^{5/2} x^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.54, size = 167, normalized size = 0.63
method | result | size |
default | \(\frac {\sqrt {-a^{2} x^{2}+1}\, \left (a x +1\right ) \left (-16 a^{4} x^{4}+7 \ln \left (a x +1\right ) a^{3} x^{3}-23 \ln \left (a x -1\right ) a^{3} x^{3}+16 a^{3} x^{3}-7 a^{2} x^{2} \ln \left (a x +1\right )+23 \ln \left (a x -1\right ) a^{2} x^{2}+34 a^{2} x^{2}-7 a x \ln \left (a x +1\right )+23 \ln \left (a x -1\right ) a x -18 a x +7 \ln \left (a x +1\right )-23 \ln \left (a x -1\right )-12\right )}{16 a^{6} x^{5} \left (\frac {c \left (a^{2} x^{2}-1\right )}{a^{2} x^{2}}\right )^{\frac {5}{2}}}\) | \(167\) |
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 {a x + 1}{\sqrt {- \left (a x - 1\right ) \left (a x + 1\right )} \left (- c \left (-1 + \frac {1}{a x}\right ) \left (1 + \frac {1}{a x}\right )\right )^{\frac {5}{2}}}\, 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.00 \begin {gather*} \int \frac {a\,x+1}{{\left (c-\frac {c}{a^2\,x^2}\right )}^{5/2}\,\sqrt {1-a^2\,x^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________