Optimal. Leaf size=73 \[ -\frac{2}{3} \sqrt{\pi } b^{3/2} f^a \log ^{\frac{3}{2}}(f) \text{Erfi}\left (\frac{\sqrt{b} \sqrt{\log (f)}}{x}\right )+\frac{1}{3} x^3 f^{a+\frac{b}{x^2}}+\frac{2}{3} b x \log (f) f^{a+\frac{b}{x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0608214, antiderivative size = 73, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.308, Rules used = {2214, 2206, 2211, 2204} \[ -\frac{2}{3} \sqrt{\pi } b^{3/2} f^a \log ^{\frac{3}{2}}(f) \text{Erfi}\left (\frac{\sqrt{b} \sqrt{\log (f)}}{x}\right )+\frac{1}{3} x^3 f^{a+\frac{b}{x^2}}+\frac{2}{3} b x \log (f) f^{a+\frac{b}{x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2214
Rule 2206
Rule 2211
Rule 2204
Rubi steps
\begin{align*} \int f^{a+\frac{b}{x^2}} x^2 \, dx &=\frac{1}{3} f^{a+\frac{b}{x^2}} x^3+\frac{1}{3} (2 b \log (f)) \int f^{a+\frac{b}{x^2}} \, dx\\ &=\frac{1}{3} f^{a+\frac{b}{x^2}} x^3+\frac{2}{3} b f^{a+\frac{b}{x^2}} x \log (f)+\frac{1}{3} \left (4 b^2 \log ^2(f)\right ) \int \frac{f^{a+\frac{b}{x^2}}}{x^2} \, dx\\ &=\frac{1}{3} f^{a+\frac{b}{x^2}} x^3+\frac{2}{3} b f^{a+\frac{b}{x^2}} x \log (f)-\frac{1}{3} \left (4 b^2 \log ^2(f)\right ) \operatorname{Subst}\left (\int f^{a+b x^2} \, dx,x,\frac{1}{x}\right )\\ &=\frac{1}{3} f^{a+\frac{b}{x^2}} x^3+\frac{2}{3} b f^{a+\frac{b}{x^2}} x \log (f)-\frac{2}{3} b^{3/2} f^a \sqrt{\pi } \text{erfi}\left (\frac{\sqrt{b} \sqrt{\log (f)}}{x}\right ) \log ^{\frac{3}{2}}(f)\\ \end{align*}
Mathematica [A] time = 0.0243976, size = 60, normalized size = 0.82 \[ \frac{1}{3} f^a \left (x f^{\frac{b}{x^2}} \left (2 b \log (f)+x^2\right )-2 \sqrt{\pi } b^{3/2} \log ^{\frac{3}{2}}(f) \text{Erfi}\left (\frac{\sqrt{b} \sqrt{\log (f)}}{x}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.028, size = 67, normalized size = 0.9 \begin{align*}{\frac{{f}^{a}{x}^{3}}{3}{f}^{{\frac{b}{{x}^{2}}}}}+{\frac{2\,{f}^{a}\ln \left ( f \right ) bx}{3}{f}^{{\frac{b}{{x}^{2}}}}}-{\frac{2\,{f}^{a} \left ( \ln \left ( f \right ) \right ) ^{2}{b}^{2}\sqrt{\pi }}{3}{\it Erf} \left ({\frac{1}{x}\sqrt{-b\ln \left ( f \right ) }} \right ){\frac{1}{\sqrt{-b\ln \left ( f \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.16611, size = 38, normalized size = 0.52 \begin{align*} \frac{1}{2} \, f^{a} x^{3} \left (-\frac{b \log \left (f\right )}{x^{2}}\right )^{\frac{3}{2}} \Gamma \left (-\frac{3}{2}, -\frac{b \log \left (f\right )}{x^{2}}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.80747, size = 153, normalized size = 2.1 \begin{align*} \frac{2}{3} \, \sqrt{\pi } \sqrt{-b \log \left (f\right )} b f^{a} \operatorname{erf}\left (\frac{\sqrt{-b \log \left (f\right )}}{x}\right ) \log \left (f\right ) + \frac{1}{3} \,{\left (x^{3} + 2 \, b x \log \left (f\right )\right )} f^{\frac{a x^{2} + b}{x^{2}}} \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 f^{a + \frac{b}{x^{2}}} x^{2}\, 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 f^{a + \frac{b}{x^{2}}} x^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]