Optimal. Leaf size=52 \[ \frac {1}{4 \sqrt {x^2-2}}-\frac {1}{6 \left (x^2-2\right )^{3/2}}+\frac {\tan ^{-1}\left (\frac {\sqrt {x^2-2}}{\sqrt {2}}\right )}{4 \sqrt {2}} \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 52, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.308, Rules used = {266, 51, 63, 203} \[ \frac {1}{4 \sqrt {x^2-2}}-\frac {1}{6 \left (x^2-2\right )^{3/2}}+\frac {\tan ^{-1}\left (\frac {\sqrt {x^2-2}}{\sqrt {2}}\right )}{4 \sqrt {2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 51
Rule 63
Rule 203
Rule 266
Rubi steps
\begin {align*} \int \frac {1}{x \left (-2+x^2\right )^{5/2}} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{(-2+x)^{5/2} x} \, dx,x,x^2\right )\\ &=-\frac {1}{6 \left (-2+x^2\right )^{3/2}}-\frac {1}{4} \operatorname {Subst}\left (\int \frac {1}{(-2+x)^{3/2} x} \, dx,x,x^2\right )\\ &=-\frac {1}{6 \left (-2+x^2\right )^{3/2}}+\frac {1}{4 \sqrt {-2+x^2}}+\frac {1}{8} \operatorname {Subst}\left (\int \frac {1}{\sqrt {-2+x} x} \, dx,x,x^2\right )\\ &=-\frac {1}{6 \left (-2+x^2\right )^{3/2}}+\frac {1}{4 \sqrt {-2+x^2}}+\frac {1}{4} \operatorname {Subst}\left (\int \frac {1}{2+x^2} \, dx,x,\sqrt {-2+x^2}\right )\\ &=-\frac {1}{6 \left (-2+x^2\right )^{3/2}}+\frac {1}{4 \sqrt {-2+x^2}}+\frac {\tan ^{-1}\left (\frac {\sqrt {-2+x^2}}{\sqrt {2}}\right )}{4 \sqrt {2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.01, size = 30, normalized size = 0.58 \[ -\frac {\, _2F_1\left (-\frac {3}{2},1;-\frac {1}{2};1-\frac {x^2}{2}\right )}{6 \left (x^2-2\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.04, size = 46, normalized size = 0.88 \[ \frac {3 x^2-8}{12 \left (x^2-2\right )^{3/2}}+\frac {\tan ^{-1}\left (\frac {\sqrt {x^2-2}}{\sqrt {2}}\right )}{4 \sqrt {2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.74, size = 65, normalized size = 1.25 \[ \frac {3 \, \sqrt {2} {\left (x^{4} - 4 \, x^{2} + 4\right )} \arctan \left (-\frac {1}{2} \, \sqrt {2} x + \frac {1}{2} \, \sqrt {2} \sqrt {x^{2} - 2}\right ) + {\left (3 \, x^{2} - 8\right )} \sqrt {x^{2} - 2}}{12 \, {\left (x^{4} - 4 \, x^{2} + 4\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.61, size = 35, normalized size = 0.67 \[ \frac {1}{8} \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} \sqrt {x^{2} - 2}\right ) + \frac {3 \, x^{2} - 8}{12 \, {\left (x^{2} - 2\right )}^{\frac {3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.33, size = 35, normalized size = 0.67
method | result | size |
risch | \(\frac {3 x^{2}-8}{12 \left (x^{2}-2\right )^{\frac {3}{2}}}-\frac {\sqrt {2}\, \arctan \left (\frac {\sqrt {2}}{\sqrt {x^{2}-2}}\right )}{8}\) | \(35\) |
default | \(-\frac {1}{6 \left (x^{2}-2\right )^{\frac {3}{2}}}+\frac {1}{4 \sqrt {x^{2}-2}}-\frac {\sqrt {2}\, \arctan \left (\frac {\sqrt {2}}{\sqrt {x^{2}-2}}\right )}{8}\) | \(37\) |
trager | \(\frac {3 x^{2}-8}{12 \left (x^{2}-2\right )^{\frac {3}{2}}}-\frac {\RootOf \left (\textit {\_Z}^{2}+2\right ) \ln \left (\frac {\sqrt {x^{2}-2}-\RootOf \left (\textit {\_Z}^{2}+2\right )}{x}\right )}{8}\) | \(47\) |
meijerg | \(\frac {\sqrt {2}\, \left (-\mathrm {signum}\left (-1+\frac {x^{2}}{2}\right )\right )^{\frac {5}{2}} \left (-2 \sqrt {\pi }+\frac {\sqrt {\pi }\, \left (-6 x^{2}+16\right )}{8 \left (-\frac {x^{2}}{2}+1\right )^{\frac {3}{2}}}-\frac {3 \sqrt {\pi }\, \ln \left (\frac {1}{2}+\frac {\sqrt {-\frac {x^{2}}{2}+1}}{2}\right )}{2}+\frac {3 \left (\frac {8}{3}-3 \ln \relax (2)+2 \ln \relax (x )+i \pi \right ) \sqrt {\pi }}{4}\right )}{12 \sqrt {\pi }\, \mathrm {signum}\left (-1+\frac {x^{2}}{2}\right )^{\frac {5}{2}}}\) | \(96\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.96, size = 33, normalized size = 0.63 \[ -\frac {1}{8} \, \sqrt {2} \arcsin \left (\frac {\sqrt {2}}{{\left | x \right |}}\right ) + \frac {1}{4 \, \sqrt {x^{2} - 2}} - \frac {1}{6 \, {\left (x^{2} - 2\right )}^{\frac {3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.47, size = 34, normalized size = 0.65 \[ \frac {\sqrt {2}\,\mathrm {atan}\left (\frac {\sqrt {2}\,\sqrt {x^2-2}}{2}\right )}{8}+\frac {\frac {x^2}{4}-\frac {2}{3}}{{\left (x^2-2\right )}^{3/2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 3.83, size = 986, normalized size = 18.96 \[ \begin {cases} - \frac {6 i x^{4} \log {\relax (x )}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} + \frac {3 i x^{4} \log {\left (x^{2} \right )}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} + \frac {6 x^{4} \operatorname {asin}{\left (\frac {\sqrt {2}}{x} \right )}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} - \frac {6 \sqrt {2} x^{2} \sqrt {x^{2} - 2}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} + \frac {24 i x^{2} \log {\relax (x )}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} - \frac {12 i x^{2} \log {\left (x^{2} \right )}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} - \frac {24 x^{2} \operatorname {asin}{\left (\frac {\sqrt {2}}{x} \right )}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} + \frac {16 \sqrt {2} \sqrt {x^{2} - 2}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} - \frac {24 i \log {\relax (x )}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} + \frac {12 i \log {\left (x^{2} \right )}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} + \frac {24 \operatorname {asin}{\left (\frac {\sqrt {2}}{x} \right )}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} & \text {for}\: \frac {\left |{x^{2}}\right |}{2} > 1 \\\frac {3 i x^{4} \log {\left (x^{2} \right )}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} - \frac {6 i x^{4} \log {\left (\sqrt {1 - \frac {x^{2}}{2}} + 1 \right )}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} + \frac {3 \pi x^{4}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} - \frac {3 i x^{4} \log {\relax (2 )}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} - \frac {6 \sqrt {2} i x^{2} \sqrt {2 - x^{2}}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} - \frac {12 i x^{2} \log {\left (x^{2} \right )}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} + \frac {24 i x^{2} \log {\left (\sqrt {1 - \frac {x^{2}}{2}} + 1 \right )}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} - \frac {12 \pi x^{2}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} + \frac {12 i x^{2} \log {\relax (2 )}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} + \frac {16 \sqrt {2} i \sqrt {2 - x^{2}}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} + \frac {12 i \log {\left (x^{2} \right )}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} - \frac {24 i \log {\left (\sqrt {1 - \frac {x^{2}}{2}} + 1 \right )}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} + \frac {12 \pi }{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} - \frac {12 i \log {\relax (2 )}}{- 24 \sqrt {2} x^{4} + 96 \sqrt {2} x^{2} - 96 \sqrt {2}} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________