Optimal. Leaf size=266 \[ -\frac{3 \sqrt{\pi } e^2 f^{a-\frac{b^2}{4 c}} (2 c d-b e) \text{Erfi}\left (\frac{\sqrt{\log (f)} (b+2 c x)}{2 \sqrt{c}}\right )}{8 c^{5/2} \log ^{\frac{3}{2}}(f)}+\frac{\sqrt{\pi } f^{a-\frac{b^2}{4 c}} (2 c d-b e)^3 \text{Erfi}\left (\frac{\sqrt{\log (f)} (b+2 c x)}{2 \sqrt{c}}\right )}{16 c^{7/2} \sqrt{\log (f)}}+\frac{e (2 c d-b e)^2 f^{a+b x+c x^2}}{8 c^3 \log (f)}+\frac{e (d+e x) (2 c d-b e) f^{a+b x+c x^2}}{4 c^2 \log (f)}-\frac{e^3 f^{a+b x+c x^2}}{2 c^2 \log ^2(f)}+\frac{e (d+e x)^2 f^{a+b x+c x^2}}{2 c \log (f)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.32375, antiderivative size = 266, normalized size of antiderivative = 1., number of steps used = 10, number of rules used = 4, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {2241, 2240, 2234, 2204} \[ -\frac{3 \sqrt{\pi } e^2 f^{a-\frac{b^2}{4 c}} (2 c d-b e) \text{Erfi}\left (\frac{\sqrt{\log (f)} (b+2 c x)}{2 \sqrt{c}}\right )}{8 c^{5/2} \log ^{\frac{3}{2}}(f)}+\frac{\sqrt{\pi } f^{a-\frac{b^2}{4 c}} (2 c d-b e)^3 \text{Erfi}\left (\frac{\sqrt{\log (f)} (b+2 c x)}{2 \sqrt{c}}\right )}{16 c^{7/2} \sqrt{\log (f)}}+\frac{e (2 c d-b e)^2 f^{a+b x+c x^2}}{8 c^3 \log (f)}+\frac{e (d+e x) (2 c d-b e) f^{a+b x+c x^2}}{4 c^2 \log (f)}-\frac{e^3 f^{a+b x+c x^2}}{2 c^2 \log ^2(f)}+\frac{e (d+e x)^2 f^{a+b x+c x^2}}{2 c \log (f)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2241
Rule 2240
Rule 2234
Rule 2204
Rubi steps
\begin{align*} \int f^{a+b x+c x^2} (d+e x)^3 \, dx &=\frac{e f^{a+b x+c x^2} (d+e x)^2}{2 c \log (f)}-\frac{(-2 c d+b e) \int f^{a+b x+c x^2} (d+e x)^2 \, dx}{2 c}-\frac{e^2 \int f^{a+b x+c x^2} (d+e x) \, dx}{c \log (f)}\\ &=-\frac{e^3 f^{a+b x+c x^2}}{2 c^2 \log ^2(f)}+\frac{e (2 c d-b e) f^{a+b x+c x^2} (d+e x)}{4 c^2 \log (f)}+\frac{e f^{a+b x+c x^2} (d+e x)^2}{2 c \log (f)}+\frac{(2 c d-b e)^2 \int f^{a+b x+c x^2} (d+e x) \, dx}{4 c^2}-\frac{\left (e^2 (2 c d-b e)\right ) \int f^{a+b x+c x^2} \, dx}{4 c^2 \log (f)}-\frac{\left (e^2 (2 c d-b e)\right ) \int f^{a+b x+c x^2} \, dx}{2 c^2 \log (f)}\\ &=-\frac{e^3 f^{a+b x+c x^2}}{2 c^2 \log ^2(f)}+\frac{e (2 c d-b e)^2 f^{a+b x+c x^2}}{8 c^3 \log (f)}+\frac{e (2 c d-b e) f^{a+b x+c x^2} (d+e x)}{4 c^2 \log (f)}+\frac{e f^{a+b x+c x^2} (d+e x)^2}{2 c \log (f)}+\frac{(2 c d-b e)^3 \int f^{a+b x+c x^2} \, dx}{8 c^3}-\frac{\left (e^2 (2 c d-b e) f^{a-\frac{b^2}{4 c}}\right ) \int f^{\frac{(b+2 c x)^2}{4 c}} \, dx}{4 c^2 \log (f)}-\frac{\left (e^2 (2 c d-b e) f^{a-\frac{b^2}{4 c}}\right ) \int f^{\frac{(b+2 c x)^2}{4 c}} \, dx}{2 c^2 \log (f)}\\ &=-\frac{e^3 f^{a+b x+c x^2}}{2 c^2 \log ^2(f)}-\frac{3 e^2 (2 c d-b e) f^{a-\frac{b^2}{4 c}} \sqrt{\pi } \text{erfi}\left (\frac{(b+2 c x) \sqrt{\log (f)}}{2 \sqrt{c}}\right )}{8 c^{5/2} \log ^{\frac{3}{2}}(f)}+\frac{e (2 c d-b e)^2 f^{a+b x+c x^2}}{8 c^3 \log (f)}+\frac{e (2 c d-b e) f^{a+b x+c x^2} (d+e x)}{4 c^2 \log (f)}+\frac{e f^{a+b x+c x^2} (d+e x)^2}{2 c \log (f)}+\frac{\left ((2 c d-b e)^3 f^{a-\frac{b^2}{4 c}}\right ) \int f^{\frac{(b+2 c x)^2}{4 c}} \, dx}{8 c^3}\\ &=-\frac{e^3 f^{a+b x+c x^2}}{2 c^2 \log ^2(f)}-\frac{3 e^2 (2 c d-b e) f^{a-\frac{b^2}{4 c}} \sqrt{\pi } \text{erfi}\left (\frac{(b+2 c x) \sqrt{\log (f)}}{2 \sqrt{c}}\right )}{8 c^{5/2} \log ^{\frac{3}{2}}(f)}+\frac{e (2 c d-b e)^2 f^{a+b x+c x^2}}{8 c^3 \log (f)}+\frac{e (2 c d-b e) f^{a+b x+c x^2} (d+e x)}{4 c^2 \log (f)}+\frac{e f^{a+b x+c x^2} (d+e x)^2}{2 c \log (f)}+\frac{(2 c d-b e)^3 f^{a-\frac{b^2}{4 c}} \sqrt{\pi } \text{erfi}\left (\frac{(b+2 c x) \sqrt{\log (f)}}{2 \sqrt{c}}\right )}{16 c^{7/2} \sqrt{\log (f)}}\\ \end{align*}
Mathematica [A] time = 0.275, size = 169, normalized size = 0.64 \[ \frac{f^{a-\frac{b^2}{4 c}} \left (2 \sqrt{c} e f^{\frac{(b+2 c x)^2}{4 c}} \left (\log (f) \left (b^2 e^2-2 b c e (3 d+e x)+4 c^2 \left (3 d^2+3 d e x+e^2 x^2\right )\right )-4 c e^2\right )+\sqrt{\pi } \sqrt{\log (f)} (2 c d-b e) \left (\log (f) (b e-2 c d)^2-6 c e^2\right ) \text{Erfi}\left (\frac{\sqrt{\log (f)} (b+2 c x)}{2 \sqrt{c}}\right )\right )}{16 c^{7/2} \log ^2(f)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.052, size = 550, normalized size = 2.1 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.35878, size = 728, normalized size = 2.74 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.56033, size = 458, normalized size = 1.72 \begin{align*} -\frac{2 \,{\left (4 \, c^{2} e^{3} -{\left (4 \, c^{3} e^{3} x^{2} + 12 \, c^{3} d^{2} e - 6 \, b c^{2} d e^{2} + b^{2} c e^{3} + 2 \,{\left (6 \, c^{3} d e^{2} - b c^{2} e^{3}\right )} x\right )} \log \left (f\right )\right )} f^{c x^{2} + b x + a} - \frac{\sqrt{\pi }{\left (12 \, c^{2} d e^{2} - 6 \, b c e^{3} -{\left (8 \, c^{3} d^{3} - 12 \, b c^{2} d^{2} e + 6 \, b^{2} c d e^{2} - b^{3} e^{3}\right )} \log \left (f\right )\right )} \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 )}{f^{\frac{b^{2} - 4 \, a c}{4 \, c}}}}{16 \, c^{4} \log \left (f\right )^{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 + b x + c x^{2}} \left (d + e x\right )^{3}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.36433, size = 541, normalized size = 2.03 \begin{align*} -\frac{\sqrt{\pi } d^{3} \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 )}} + \frac{3 \,{\left (\frac{\sqrt{\pi } b d^{2} \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}{4 \, c}\right )}}{\sqrt{-c \log \left (f\right )}} + \frac{2 \, d^{2} e^{\left (c x^{2} \log \left (f\right ) + b x \log \left (f\right ) + a \log \left (f\right ) + 1\right )}}{\log \left (f\right )}\right )}}{4 \, c} - \frac{3 \,{\left (\frac{\sqrt{\pi }{\left (b^{2} d \log \left (f\right ) - 2 \, c d\right )} \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 ) - 8 \, c}{4 \, c}\right )}}{\sqrt{-c \log \left (f\right )} \log \left (f\right )} - \frac{2 \,{\left (c d{\left (2 \, x + \frac{b}{c}\right )} - 2 \, b d\right )} e^{\left (c x^{2} \log \left (f\right ) + b x \log \left (f\right ) + a \log \left (f\right ) + 2\right )}}{\log \left (f\right )}\right )}}{8 \, c^{2}} + \frac{\frac{\sqrt{\pi }{\left (b^{3} \log \left (f\right ) - 6 \, b c\right )} \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 ) - 12 \, c}{4 \, c}\right )}}{\sqrt{-c \log \left (f\right )} \log \left (f\right )} + \frac{2 \,{\left (c^{2}{\left (2 \, x + \frac{b}{c}\right )}^{2} \log \left (f\right ) - 3 \, b c{\left (2 \, x + \frac{b}{c}\right )} \log \left (f\right ) + 3 \, b^{2} \log \left (f\right ) - 4 \, c\right )} e^{\left (c x^{2} \log \left (f\right ) + b x \log \left (f\right ) + a \log \left (f\right ) + 3\right )}}{\log \left (f\right )^{2}}}{16 \, c^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]