Optimal. Leaf size=56 \[ \frac {f^{a-\frac {b^2}{4 c}} \sqrt {\pi } \text {erfi}\left (\frac {(b+2 c x) \sqrt {\log (f)}}{2 \sqrt {c}}\right )}{2 \sqrt {c} \sqrt {\log (f)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 56, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {2266, 2235}
\begin {gather*} \frac {\sqrt {\pi } f^{a-\frac {b^2}{4 c}} \text {Erfi}\left (\frac {\sqrt {\log (f)} (b+2 c x)}{2 \sqrt {c}}\right )}{2 \sqrt {c} \sqrt {\log (f)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2235
Rule 2266
Rubi steps
\begin {align*} \int f^{a+b x+c x^2} \, dx &=f^{a-\frac {b^2}{4 c}} \int f^{\frac {(b+2 c x)^2}{4 c}} \, dx\\ &=\frac {f^{a-\frac {b^2}{4 c}} \sqrt {\pi } \text {erfi}\left (\frac {(b+2 c x) \sqrt {\log (f)}}{2 \sqrt {c}}\right )}{2 \sqrt {c} \sqrt {\log (f)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 56, normalized size = 1.00 \begin {gather*} \frac {f^{a-\frac {b^2}{4 c}} \sqrt {\pi } \text {erfi}\left (\frac {(b+2 c x) \sqrt {\log (f)}}{2 \sqrt {c}}\right )}{2 \sqrt {c} \sqrt {\log (f)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 50, normalized size = 0.89
method | result | size |
risch | \(-\frac {\sqrt {\pi }\, f^{a} f^{-\frac {b^{2}}{4 c}} \erf \left (-\sqrt {-c \ln \left (f \right )}\, x +\frac {b \ln \left (f \right )}{2 \sqrt {-c \ln \left (f \right )}}\right )}{2 \sqrt {-c \ln \left (f \right )}}\) | \(50\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 50, normalized size = 0.89 \begin {gather*} \frac {\sqrt {\pi } f^{a} \operatorname {erf}\left (\sqrt {-c \log \left (f\right )} x - \frac {b \log \left (f\right )}{2 \, \sqrt {-c \log \left (f\right )}}\right )}{2 \, \sqrt {-c \log \left (f\right )} f^{\frac {b^{2}}{4 \, c}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.38, size = 55, normalized size = 0.98 \begin {gather*} -\frac {\sqrt {\pi } \sqrt {-c \log \left (f\right )} \operatorname {erf}\left (\frac {{\left (2 \, c x + b\right )} \sqrt {-c \log \left (f\right )}}{2 \, c}\right )}{2 \, c f^{\frac {b^{2} - 4 \, a c}{4 \, c}} \log \left (f\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int f^{a + b x + c x^{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.62, size = 50, normalized size = 0.89 \begin {gather*} -\frac {\sqrt {\pi } \operatorname {erf}\left (-\frac {1}{2} \, \sqrt {-c \log \left (f\right )} {\left (2 \, x + \frac {b}{c}\right )}\right ) e^{\left (-\frac {b^{2} \log \left (f\right ) - 4 \, a c \log \left (f\right )}{4 \, c}\right )}}{2 \, \sqrt {-c \log \left (f\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.53, size = 49, normalized size = 0.88 \begin {gather*} -\frac {f^a\,\sqrt {\pi }\,{\mathrm {e}}^{-\frac {b^2\,\ln \left (f\right )}{4\,c}}\,\mathrm {erf}\left (\frac {b\,\ln \left (f\right )\,1{}\mathrm {i}+c\,x\,\ln \left (f\right )\,2{}\mathrm {i}}{2\,\sqrt {c\,\ln \left (f\right )}}\right )\,1{}\mathrm {i}}{2\,\sqrt {c\,\ln \left (f\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________