Optimal. Leaf size=20 \[ -\frac{\text{csch}^{-1}\left (\frac{\sqrt{2} x}{\sqrt{b}}\right )}{\sqrt{b}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0081978, antiderivative size = 20, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {25, 335, 215} \[ -\frac{\text{csch}^{-1}\left (\frac{\sqrt{2} x}{\sqrt{b}}\right )}{\sqrt{b}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 25
Rule 335
Rule 215
Rubi steps
\begin{align*} \int \frac{\sqrt{2+\frac{b}{x^2}}}{b+2 x^2} \, dx &=\int \frac{1}{\sqrt{2+\frac{b}{x^2}} x^2} \, dx\\ &=-\operatorname{Subst}\left (\int \frac{1}{\sqrt{2+b x^2}} \, dx,x,\frac{1}{x}\right )\\ &=-\frac{\text{csch}^{-1}\left (\frac{\sqrt{2} x}{\sqrt{b}}\right )}{\sqrt{b}}\\ \end{align*}
Mathematica [B] time = 0.0131397, size = 48, normalized size = 2.4 \[ -\frac{x \sqrt{\frac{b}{x^2}+2} \tanh ^{-1}\left (\frac{\sqrt{b+2 x^2}}{\sqrt{b}}\right )}{\sqrt{b} \sqrt{b+2 x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.01, size = 50, normalized size = 2.5 \begin{align*} -{x\sqrt{{\frac{2\,{x}^{2}+b}{{x}^{2}}}}\ln \left ( 2\,{\frac{\sqrt{b}\sqrt{2\,{x}^{2}+b}+b}{x}} \right ){\frac{1}{\sqrt{b}}}{\frac{1}{\sqrt{2\,{x}^{2}+b}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.78051, size = 184, normalized size = 9.2 \begin{align*} \left [\frac{\log \left (-\frac{x^{2} - \sqrt{b} x \sqrt{\frac{2 \, x^{2} + b}{x^{2}}} + b}{x^{2}}\right )}{2 \, \sqrt{b}}, \frac{\sqrt{-b} \arctan \left (\frac{\sqrt{-b} x \sqrt{\frac{2 \, x^{2} + b}{x^{2}}}}{2 \, x^{2} + b}\right )}{b}\right ] \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{\sqrt{\frac{b}{x^{2}} + 2}}{b + 2 x^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.09049, size = 59, normalized size = 2.95 \begin{align*} \frac{\arctan \left (\frac{\sqrt{2 \, x^{2} + b}}{\sqrt{-b}}\right ) \mathrm{sgn}\left (x\right )}{\sqrt{-b}} - \frac{\arctan \left (\frac{\sqrt{b}}{\sqrt{-b}}\right ) \mathrm{sgn}\left (x\right )}{\sqrt{-b}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]