Optimal. Leaf size=181 \[ -\frac {1}{5 a x^5}-\frac {\sqrt {1+\frac {1}{a^2 x^4}}}{5 x^3}-\frac {2 a^2 \sqrt {1+\frac {1}{a^2 x^4}}}{5 \left (a+\frac {1}{x^2}\right ) x}+\frac {2 \sqrt {a} \sqrt {\frac {a^2+\frac {1}{x^4}}{\left (a+\frac {1}{x^2}\right )^2}} \left (a+\frac {1}{x^2}\right ) E\left (2 \cot ^{-1}\left (\sqrt {a} x\right )|\frac {1}{2}\right )}{5 \sqrt {1+\frac {1}{a^2 x^4}}}-\frac {\sqrt {a} \sqrt {\frac {a^2+\frac {1}{x^4}}{\left (a+\frac {1}{x^2}\right )^2}} \left (a+\frac {1}{x^2}\right ) F\left (2 \cot ^{-1}\left (\sqrt {a} x\right )|\frac {1}{2}\right )}{5 \sqrt {1+\frac {1}{a^2 x^4}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 181, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 7, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.583, Rules used = {6471, 30, 342,
285, 311, 226, 1210} \begin {gather*} -\frac {\sqrt {\frac {1}{a^2 x^4}+1}}{5 x^3}-\frac {2 a^2 \sqrt {\frac {1}{a^2 x^4}+1}}{5 x \left (a+\frac {1}{x^2}\right )}-\frac {\sqrt {a} \sqrt {\frac {a^2+\frac {1}{x^4}}{\left (a+\frac {1}{x^2}\right )^2}} \left (a+\frac {1}{x^2}\right ) F\left (2 \cot ^{-1}\left (\sqrt {a} x\right )|\frac {1}{2}\right )}{5 \sqrt {\frac {1}{a^2 x^4}+1}}+\frac {2 \sqrt {a} \sqrt {\frac {a^2+\frac {1}{x^4}}{\left (a+\frac {1}{x^2}\right )^2}} \left (a+\frac {1}{x^2}\right ) E\left (2 \cot ^{-1}\left (\sqrt {a} x\right )|\frac {1}{2}\right )}{5 \sqrt {\frac {1}{a^2 x^4}+1}}-\frac {1}{5 a x^5} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 226
Rule 285
Rule 311
Rule 342
Rule 1210
Rule 6471
Rubi steps
\begin {align*} \int \frac {e^{\text {csch}^{-1}\left (a x^2\right )}}{x^4} \, dx &=\frac {\int \frac {1}{x^6} \, dx}{a}+\int \frac {\sqrt {1+\frac {1}{a^2 x^4}}}{x^4} \, dx\\ &=-\frac {1}{5 a x^5}-\text {Subst}\left (\int x^2 \sqrt {1+\frac {x^4}{a^2}} \, dx,x,\frac {1}{x}\right )\\ &=-\frac {1}{5 a x^5}-\frac {\sqrt {1+\frac {1}{a^2 x^4}}}{5 x^3}-\frac {2}{5} \text {Subst}\left (\int \frac {x^2}{\sqrt {1+\frac {x^4}{a^2}}} \, dx,x,\frac {1}{x}\right )\\ &=-\frac {1}{5 a x^5}-\frac {\sqrt {1+\frac {1}{a^2 x^4}}}{5 x^3}-\frac {1}{5} (2 a) \text {Subst}\left (\int \frac {1}{\sqrt {1+\frac {x^4}{a^2}}} \, dx,x,\frac {1}{x}\right )+\frac {1}{5} (2 a) \text {Subst}\left (\int \frac {1-\frac {x^2}{a}}{\sqrt {1+\frac {x^4}{a^2}}} \, dx,x,\frac {1}{x}\right )\\ &=-\frac {1}{5 a x^5}-\frac {\sqrt {1+\frac {1}{a^2 x^4}}}{5 x^3}-\frac {2 a^2 \sqrt {1+\frac {1}{a^2 x^4}}}{5 \left (a+\frac {1}{x^2}\right ) x}+\frac {2 \sqrt {a} \sqrt {\frac {a^2+\frac {1}{x^4}}{\left (a+\frac {1}{x^2}\right )^2}} \left (a+\frac {1}{x^2}\right ) E\left (2 \cot ^{-1}\left (\sqrt {a} x\right )|\frac {1}{2}\right )}{5 \sqrt {1+\frac {1}{a^2 x^4}}}-\frac {\sqrt {a} \sqrt {\frac {a^2+\frac {1}{x^4}}{\left (a+\frac {1}{x^2}\right )^2}} \left (a+\frac {1}{x^2}\right ) F\left (2 \cot ^{-1}\left (\sqrt {a} x\right )|\frac {1}{2}\right )}{5 \sqrt {1+\frac {1}{a^2 x^4}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 0.14, size = 114, normalized size = 0.63 \begin {gather*} \frac {\left (a x^2\right )^{3/2} \left (3 \left (1-e^{2 \text {csch}^{-1}\left (a x^2\right )}\right )^{3/2}+4 e^{2 \text {csch}^{-1}\left (a x^2\right )} \, _2F_1\left (-\frac {1}{2},\frac {3}{4};\frac {7}{4};e^{2 \text {csch}^{-1}\left (a x^2\right )}\right )\right )}{6 \sqrt {2-2 e^{2 \text {csch}^{-1}\left (a x^2\right )}} \sqrt {\frac {e^{\text {csch}^{-1}\left (a x^2\right )}}{-1+e^{2 \text {csch}^{-1}\left (a x^2\right )}}} x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.05, size = 171, normalized size = 0.94
method | result | size |
default | \(\frac {\sqrt {\frac {a^{2} x^{4}+1}{a^{2} x^{4}}}\, \left (-2 \sqrt {i a}\, a^{4} x^{8}+2 i a^{3} \sqrt {-i a \,x^{2}+1}\, \sqrt {i a \,x^{2}+1}\, x^{5} \EllipticF \left (x \sqrt {i a}, i\right )-2 i a^{3} \sqrt {-i a \,x^{2}+1}\, \sqrt {i a \,x^{2}+1}\, x^{5} \EllipticE \left (x \sqrt {i a}, i\right )-3 \sqrt {i a}\, x^{4} a^{2}-\sqrt {i a}\right )}{5 x^{3} \left (a^{2} x^{4}+1\right ) \sqrt {i a}}-\frac {1}{5 a \,x^{5}}\) | \(171\) |
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(-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]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 1.48, size = 44, normalized size = 0.24 \begin {gather*} - \frac {\Gamma \left (\frac {3}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {3}{4} \\ \frac {7}{4} \end {matrix}\middle | {\frac {e^{i \pi }}{a^{2} x^{4}}} \right )}}{4 x^{3} \Gamma \left (\frac {7}{4}\right )} - \frac {1}{5 a x^{5}} \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 [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\sqrt {\frac {1}{a^2\,x^4}+1}+\frac {1}{a\,x^2}}{x^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________