Optimal. Leaf size=71 \[ \frac {3 \sqrt {x^4+2 x^2+4}}{64 x^2}-\frac {\sqrt {x^4+2 x^2+4}}{16 x^4}+\frac {1}{128} \tanh ^{-1}\left (\frac {x^2+4}{2 \sqrt {x^4+2 x^2+4}}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 71, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.278, Rules used = {1114, 744, 806, 724, 206} \[ \frac {3 \sqrt {x^4+2 x^2+4}}{64 x^2}-\frac {\sqrt {x^4+2 x^2+4}}{16 x^4}+\frac {1}{128} \tanh ^{-1}\left (\frac {x^2+4}{2 \sqrt {x^4+2 x^2+4}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 724
Rule 744
Rule 806
Rule 1114
Rubi steps
\begin {align*} \int \frac {1}{x^5 \sqrt {4+2 x^2+x^4}} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{x^3 \sqrt {4+2 x+x^2}} \, dx,x,x^2\right )\\ &=-\frac {\sqrt {4+2 x^2+x^4}}{16 x^4}-\frac {1}{16} \operatorname {Subst}\left (\int \frac {3+x}{x^2 \sqrt {4+2 x+x^2}} \, dx,x,x^2\right )\\ &=-\frac {\sqrt {4+2 x^2+x^4}}{16 x^4}+\frac {3 \sqrt {4+2 x^2+x^4}}{64 x^2}-\frac {1}{64} \operatorname {Subst}\left (\int \frac {1}{x \sqrt {4+2 x+x^2}} \, dx,x,x^2\right )\\ &=-\frac {\sqrt {4+2 x^2+x^4}}{16 x^4}+\frac {3 \sqrt {4+2 x^2+x^4}}{64 x^2}+\frac {1}{32} \operatorname {Subst}\left (\int \frac {1}{16-x^2} \, dx,x,\frac {2 \left (4+x^2\right )}{\sqrt {4+2 x^2+x^4}}\right )\\ &=-\frac {\sqrt {4+2 x^2+x^4}}{16 x^4}+\frac {3 \sqrt {4+2 x^2+x^4}}{64 x^2}+\frac {1}{128} \tanh ^{-1}\left (\frac {4+x^2}{2 \sqrt {4+2 x^2+x^4}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 55, normalized size = 0.77 \[ \frac {1}{128} \left (\frac {2 \sqrt {x^4+2 x^2+4} \left (3 x^2-4\right )}{x^4}+\tanh ^{-1}\left (\frac {x^2+4}{2 \sqrt {x^4+2 x^2+4}}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.21, size = 60, normalized size = 0.85 \[ \frac {\left (3 x^2-4\right ) \sqrt {x^4+2 x^2+4}}{64 x^4}-\frac {1}{64} \tanh ^{-1}\left (\frac {x^2}{2}-\frac {1}{2} \sqrt {x^4+2 x^2+4}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.76, size = 81, normalized size = 1.14 \[ \frac {x^{4} \log \left (-x^{2} + \sqrt {x^{4} + 2 \, x^{2} + 4} + 2\right ) - x^{4} \log \left (-x^{2} + \sqrt {x^{4} + 2 \, x^{2} + 4} - 2\right ) + 6 \, x^{4} + 2 \, \sqrt {x^{4} + 2 \, x^{2} + 4} {\left (3 \, x^{2} - 4\right )}}{128 \, x^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.67, size = 112, normalized size = 1.58 \[ \frac {{\left (x^{2} - \sqrt {x^{4} + 2 \, x^{2} + 4}\right )}^{3} + 36 \, x^{2} - 36 \, \sqrt {x^{4} + 2 \, x^{2} + 4} + 64}{32 \, {\left ({\left (x^{2} - \sqrt {x^{4} + 2 \, x^{2} + 4}\right )}^{2} - 4\right )}^{2}} - \frac {1}{128} \, \log \left (x^{2} - \sqrt {x^{4} + 2 \, x^{2} + 4} + 2\right ) + \frac {1}{128} \, \log \left (-x^{2} + \sqrt {x^{4} + 2 \, x^{2} + 4} + 2\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.22, size = 52, normalized size = 0.73
method | result | size |
trager | \(\frac {\left (3 x^{2}-4\right ) \sqrt {x^{4}+2 x^{2}+4}}{64 x^{4}}+\frac {\ln \left (\frac {x^{2}+2 \sqrt {x^{4}+2 x^{2}+4}+4}{x^{2}}\right )}{128}\) | \(52\) |
default | \(-\frac {\sqrt {x^{4}+2 x^{2}+4}}{16 x^{4}}+\frac {3 \sqrt {x^{4}+2 x^{2}+4}}{64 x^{2}}+\frac {\arctanh \left (\frac {2 x^{2}+8}{4 \sqrt {x^{4}+2 x^{2}+4}}\right )}{128}\) | \(60\) |
risch | \(\frac {3 x^{6}+2 x^{4}+4 x^{2}-16}{64 x^{4} \sqrt {x^{4}+2 x^{2}+4}}+\frac {\arctanh \left (\frac {2 x^{2}+8}{4 \sqrt {x^{4}+2 x^{2}+4}}\right )}{128}\) | \(60\) |
elliptic | \(-\frac {\sqrt {x^{4}+2 x^{2}+4}}{16 x^{4}}+\frac {3 \sqrt {x^{4}+2 x^{2}+4}}{64 x^{2}}+\frac {\arctanh \left (\frac {2 x^{2}+8}{4 \sqrt {x^{4}+2 x^{2}+4}}\right )}{128}\) | \(60\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.21, size = 52, normalized size = 0.73 \[ \frac {3 \, \sqrt {x^{4} + 2 \, x^{2} + 4}}{64 \, x^{2}} - \frac {\sqrt {x^{4} + 2 \, x^{2} + 4}}{16 \, x^{4}} + \frac {1}{128} \, \operatorname {arsinh}\left (\frac {1}{3} \, \sqrt {3} + \frac {4 \, \sqrt {3}}{3 \, x^{2}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {1}{x^5\,\sqrt {x^4+2\,x^2+4}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{x^{5} \sqrt {x^{4} + 2 x^{2} + 4}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________