Optimal. Leaf size=81 \[ \frac{f^{a+b x+c x^2}}{2 c \log (f)}-\frac{\sqrt{\pi } b f^{a-\frac{b^2}{4 c}} \text{Erfi}\left (\frac{\sqrt{\log (f)} (b+2 c x)}{2 \sqrt{c}}\right )}{4 c^{3/2} \sqrt{\log (f)}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0675503, antiderivative size = 81, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214 \[ \frac{f^{a+b x+c x^2}}{2 c \log (f)}-\frac{\sqrt{\pi } b f^{a-\frac{b^2}{4 c}} \text{Erfi}\left (\frac{\sqrt{\log (f)} (b+2 c x)}{2 \sqrt{c}}\right )}{4 c^{3/2} \sqrt{\log (f)}} \]
Antiderivative was successfully verified.
[In] Int[f^(a + b*x + c*x^2)*x,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ - \frac{b f^{a - \frac{b^{2}}{4 c}} \int f^{\frac{b^{2}}{4 c} + b x + c x^{2}}\, dx}{2 c} + \frac{f^{a + b x + c x^{2}}}{2 c \log{\left (f \right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(f**(c*x**2+b*x+a)*x,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0708535, size = 81, normalized size = 1. \[ \frac{f^{a+b x+c x^2}}{2 c \log (f)}-\frac{\sqrt{\pi } b f^{a-\frac{b^2}{4 c}} \text{Erfi}\left (\frac{\sqrt{\log (f)} (b+2 c x)}{2 \sqrt{c}}\right )}{4 c^{3/2} \sqrt{\log (f)}} \]
Antiderivative was successfully verified.
[In] Integrate[f^(a + b*x + c*x^2)*x,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.033, size = 80, normalized size = 1. \[{\frac{{f}^{c{x}^{2}+bx+a}}{2\,c\ln \left ( f \right ) }}+{\frac{b\sqrt{\pi }}{4\,c}{f}^{{\frac{4\,ac-{b}^{2}}{4\,c}}}{\it Erf} \left ( -\sqrt{-c\ln \left ( f \right ) }x+{\frac{b\ln \left ( f \right ) }{2}{\frac{1}{\sqrt{-c\ln \left ( f \right ) }}}} \right ){\frac{1}{\sqrt{-c\ln \left ( f \right ) }}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(f^(c*x^2+b*x+a)*x,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.812306, size = 182, normalized size = 2.25 \[ -\frac{{\left (\frac{\sqrt{\pi }{\left (2 \, c x \log \left (f\right ) + b \log \left (f\right )\right )} b{\left (\operatorname{erf}\left (\frac{1}{2} \, \sqrt{-\frac{{\left (2 \, c x \log \left (f\right ) + b \log \left (f\right )\right )}^{2}}{c \log \left (f\right )}}\right ) - 1\right )} \log \left (f\right )}{\left (c \log \left (f\right )\right )^{\frac{3}{2}} \sqrt{-\frac{{\left (2 \, c x \log \left (f\right ) + b \log \left (f\right )\right )}^{2}}{c \log \left (f\right )}}} - \frac{2 \, c e^{\left (\frac{{\left (2 \, c x \log \left (f\right ) + b \log \left (f\right )\right )}^{2}}{4 \, c \log \left (f\right )}\right )} \log \left (f\right )}{\left (c \log \left (f\right )\right )^{\frac{3}{2}}}\right )} f^{a}}{4 \, \sqrt{c \log \left (f\right )} f^{\frac{b^{2}}{4 \, c}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(f^(c*x^2 + b*x + a)*x,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.257668, size = 109, normalized size = 1.35 \[ -\frac{\frac{\sqrt{\pi } b \operatorname{erf}\left (\frac{{\left (2 \, c x + b\right )} \sqrt{-c \log \left (f\right )}}{2 \, c}\right ) \log \left (f\right )}{f^{\frac{b^{2} - 4 \, a c}{4 \, c}}} - 2 \, \sqrt{-c \log \left (f\right )} f^{c x^{2} + b x + a}}{4 \, \sqrt{-c \log \left (f\right )} c \log \left (f\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(f^(c*x^2 + b*x + a)*x,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int f^{a + b x + c x^{2}} x\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(f**(c*x**2+b*x+a)*x,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.260188, size = 108, normalized size = 1.33 \[ \frac{\frac{\sqrt{\pi } b \operatorname{erf}\left (-\frac{1}{2} \, \sqrt{-c{\rm ln}\left (f\right )}{\left (2 \, x + \frac{b}{c}\right )}\right ) e^{\left (-\frac{b^{2}{\rm ln}\left (f\right ) - 4 \, a c{\rm ln}\left (f\right )}{4 \, c}\right )}}{\sqrt{-c{\rm ln}\left (f\right )}} + \frac{2 \, e^{\left (c x^{2}{\rm ln}\left (f\right ) + b x{\rm ln}\left (f\right ) + a{\rm ln}\left (f\right )\right )}}{{\rm ln}\left (f\right )}}{4 \, c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(f^(c*x^2 + b*x + a)*x,x, algorithm="giac")
[Out]