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 {2}{3} b x \log (f) f^{a+\frac {b}{x^2}}+\frac {1}{3} x^3 f^{a+\frac {b}{x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 73, normalized size of antiderivative = 1.00, 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 2204
Rule 2206
Rule 2211
Rule 2214
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.03, 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]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 56, normalized size = 0.77 \[ \frac {2}{3} \, \sqrt {\pi } \sqrt {-b \log \relax (f)} b f^{a} \operatorname {erf}\left (\frac {\sqrt {-b \log \relax (f)}}{x}\right ) \log \relax (f) + \frac {1}{3} \, {\left (x^{3} + 2 \, b x \log \relax (f)\right )} f^{\frac {a x^{2} + b}{x^{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int f^{a + \frac {b}{x^{2}}} x^{2}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 67, normalized size = 0.92 \[ -\frac {2 \sqrt {\pi }\, b^{2} f^{a} \erf \left (\frac {\sqrt {-b \ln \relax (f )}}{x}\right ) \ln \relax (f )^{2}}{3 \sqrt {-b \ln \relax (f )}}+\frac {2 b x \,f^{a} f^{\frac {b}{x^{2}}} \ln \relax (f )}{3}+\frac {x^{3} f^{a} f^{\frac {b}{x^{2}}}}{3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.27, size = 28, normalized size = 0.38 \[ \frac {1}{2} \, f^{a} x^{3} \left (-\frac {b \log \relax (f)}{x^{2}}\right )^{\frac {3}{2}} \Gamma \left (-\frac {3}{2}, -\frac {b \log \relax (f)}{x^{2}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.61, size = 71, normalized size = 0.97 \[ x^3\,\left (\frac {f^a\,f^{\frac {b}{x^2}}}{3}+\frac {2\,b\,f^a\,f^{\frac {b}{x^2}}\,\ln \relax (f)}{3\,x^2}\right )-\frac {2\,b^2\,f^a\,\sqrt {\pi }\,\mathrm {erfi}\left (\frac {b\,\ln \relax (f)}{x\,\sqrt {b\,\ln \relax (f)}}\right )\,{\ln \relax (f)}^2}{3\,\sqrt {b\,\ln \relax (f)}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int f^{a + \frac {b}{x^{2}}} x^{2}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________