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 ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0518186, antiderivative size = 71, normalized size of antiderivative = 1., 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 1114
Rule 744
Rule 806
Rule 724
Rule 206
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.0278847, 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]
________________________________________________________________________________________
Maple [A] time = 0.01, size = 60, normalized size = 0.9 \begin{align*} -{\frac{1}{16\,{x}^{4}}\sqrt{{x}^{4}+2\,{x}^{2}+4}}+{\frac{3}{64\,{x}^{2}}\sqrt{{x}^{4}+2\,{x}^{2}+4}}+{\frac{1}{128}{\it Artanh} \left ({\frac{2\,{x}^{2}+8}{4}{\frac{1}{\sqrt{{x}^{4}+2\,{x}^{2}+4}}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.46907, size = 70, normalized size = 0.99 \begin{align*} \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 ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.36044, size = 196, normalized size = 2.76 \begin{align*} \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}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{x^{5} \sqrt{x^{4} + 2 x^{2} + 4}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{x^{4} + 2 \, x^{2} + 4} x^{5}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]