Optimal. Leaf size=258 \[ -\frac{3 \sqrt{\pi } f^2 F^a (d e-c f) \text{Erfi}\left (\sqrt{b} \sqrt{\log (F)} (c+d x)\right )}{4 b^{3/2} d^4 \log ^{\frac{3}{2}}(F)}-\frac{f^3 F^{a+b (c+d x)^2}}{2 b^2 d^4 \log ^2(F)}+\frac{\sqrt{\pi } F^a (d e-c f)^3 \text{Erfi}\left (\sqrt{b} \sqrt{\log (F)} (c+d x)\right )}{2 \sqrt{b} d^4 \sqrt{\log (F)}}+\frac{3 f^2 (c+d x) (d e-c f) F^{a+b (c+d x)^2}}{2 b d^4 \log (F)}+\frac{3 f (d e-c f)^2 F^{a+b (c+d x)^2}}{2 b d^4 \log (F)}+\frac{f^3 (c+d x)^2 F^{a+b (c+d x)^2}}{2 b d^4 \log (F)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.435618, antiderivative size = 258, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 4, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.19, Rules used = {2226, 2204, 2209, 2212} \[ -\frac{3 \sqrt{\pi } f^2 F^a (d e-c f) \text{Erfi}\left (\sqrt{b} \sqrt{\log (F)} (c+d x)\right )}{4 b^{3/2} d^4 \log ^{\frac{3}{2}}(F)}-\frac{f^3 F^{a+b (c+d x)^2}}{2 b^2 d^4 \log ^2(F)}+\frac{\sqrt{\pi } F^a (d e-c f)^3 \text{Erfi}\left (\sqrt{b} \sqrt{\log (F)} (c+d x)\right )}{2 \sqrt{b} d^4 \sqrt{\log (F)}}+\frac{3 f^2 (c+d x) (d e-c f) F^{a+b (c+d x)^2}}{2 b d^4 \log (F)}+\frac{3 f (d e-c f)^2 F^{a+b (c+d x)^2}}{2 b d^4 \log (F)}+\frac{f^3 (c+d x)^2 F^{a+b (c+d x)^2}}{2 b d^4 \log (F)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2226
Rule 2204
Rule 2209
Rule 2212
Rubi steps
\begin{align*} \int F^{a+b (c+d x)^2} (e+f x)^3 \, dx &=\int \left (\frac{(d e-c f)^3 F^{a+b (c+d x)^2}}{d^3}+\frac{3 f (d e-c f)^2 F^{a+b (c+d x)^2} (c+d x)}{d^3}+\frac{3 f^2 (d e-c f) F^{a+b (c+d x)^2} (c+d x)^2}{d^3}+\frac{f^3 F^{a+b (c+d x)^2} (c+d x)^3}{d^3}\right ) \, dx\\ &=\frac{f^3 \int F^{a+b (c+d x)^2} (c+d x)^3 \, dx}{d^3}+\frac{\left (3 f^2 (d e-c f)\right ) \int F^{a+b (c+d x)^2} (c+d x)^2 \, dx}{d^3}+\frac{\left (3 f (d e-c f)^2\right ) \int F^{a+b (c+d x)^2} (c+d x) \, dx}{d^3}+\frac{(d e-c f)^3 \int F^{a+b (c+d x)^2} \, dx}{d^3}\\ &=\frac{3 f (d e-c f)^2 F^{a+b (c+d x)^2}}{2 b d^4 \log (F)}+\frac{3 f^2 (d e-c f) F^{a+b (c+d x)^2} (c+d x)}{2 b d^4 \log (F)}+\frac{f^3 F^{a+b (c+d x)^2} (c+d x)^2}{2 b d^4 \log (F)}+\frac{(d e-c f)^3 F^a \sqrt{\pi } \text{erfi}\left (\sqrt{b} (c+d x) \sqrt{\log (F)}\right )}{2 \sqrt{b} d^4 \sqrt{\log (F)}}-\frac{f^3 \int F^{a+b (c+d x)^2} (c+d x) \, dx}{b d^3 \log (F)}-\frac{\left (3 f^2 (d e-c f)\right ) \int F^{a+b (c+d x)^2} \, dx}{2 b d^3 \log (F)}\\ &=-\frac{f^3 F^{a+b (c+d x)^2}}{2 b^2 d^4 \log ^2(F)}-\frac{3 f^2 (d e-c f) F^a \sqrt{\pi } \text{erfi}\left (\sqrt{b} (c+d x) \sqrt{\log (F)}\right )}{4 b^{3/2} d^4 \log ^{\frac{3}{2}}(F)}+\frac{3 f (d e-c f)^2 F^{a+b (c+d x)^2}}{2 b d^4 \log (F)}+\frac{3 f^2 (d e-c f) F^{a+b (c+d x)^2} (c+d x)}{2 b d^4 \log (F)}+\frac{f^3 F^{a+b (c+d x)^2} (c+d x)^2}{2 b d^4 \log (F)}+\frac{(d e-c f)^3 F^a \sqrt{\pi } \text{erfi}\left (\sqrt{b} (c+d x) \sqrt{\log (F)}\right )}{2 \sqrt{b} d^4 \sqrt{\log (F)}}\\ \end{align*}
Mathematica [A] time = 0.226596, size = 148, normalized size = 0.57 \[ \frac{F^a \left (2 f F^{b (c+d x)^2} \left (b \log (F) \left (c^2 f^2-c d f (3 e+f x)+d^2 \left (3 e^2+3 e f x+f^2 x^2\right )\right )-f^2\right )+\sqrt{\pi } \sqrt{b} \sqrt{\log (F)} (d e-c f) \left (2 b \log (F) (d e-c f)^2-3 f^2\right ) \text{Erfi}\left (\sqrt{b} \sqrt{\log (F)} (c+d x)\right )\right )}{4 b^2 d^4 \log ^2(F)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.063, size = 617, normalized size = 2.4 \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.53804, size = 965, normalized size = 3.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.55833, size = 467, normalized size = 1.81 \begin{align*} \frac{\sqrt{\pi }{\left (3 \, d e f^{2} - 3 \, c f^{3} - 2 \,{\left (b d^{3} e^{3} - 3 \, b c d^{2} e^{2} f + 3 \, b c^{2} d e f^{2} - b c^{3} f^{3}\right )} \log \left (F\right )\right )} \sqrt{-b d^{2} \log \left (F\right )} F^{a} \operatorname{erf}\left (\frac{\sqrt{-b d^{2} \log \left (F\right )}{\left (d x + c\right )}}{d}\right ) - 2 \,{\left (d f^{3} -{\left (b d^{3} f^{3} x^{2} + 3 \, b d^{3} e^{2} f - 3 \, b c d^{2} e f^{2} + b c^{2} d f^{3} +{\left (3 \, b d^{3} e f^{2} - b c d^{2} f^{3}\right )} x\right )} \log \left (F\right )\right )} F^{b d^{2} x^{2} + 2 \, b c d x + b c^{2} + a}}{4 \, b^{2} d^{5} \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 \left (c + d x\right )^{2}} \left (e + f x\right )^{3}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.30584, size = 575, normalized size = 2.23 \begin{align*} -\frac{\sqrt{\pi } \operatorname{erf}\left (-\sqrt{-b \log \left (F\right )} d{\left (x + \frac{c}{d}\right )}\right ) e^{\left (a \log \left (F\right ) + 3\right )}}{2 \, \sqrt{-b \log \left (F\right )} d} + \frac{3 \,{\left (\frac{\sqrt{\pi } c f \operatorname{erf}\left (-\sqrt{-b \log \left (F\right )} d{\left (x + \frac{c}{d}\right )}\right ) e^{\left (a \log \left (F\right ) + 2\right )}}{\sqrt{-b \log \left (F\right )} d} + \frac{f e^{\left (b d^{2} x^{2} \log \left (F\right ) + 2 \, b c d x \log \left (F\right ) + b c^{2} \log \left (F\right ) + a \log \left (F\right ) + 2\right )}}{b d \log \left (F\right )}\right )}}{2 \, d} - \frac{3 \,{\left (\frac{\sqrt{\pi }{\left (2 \, b c^{2} f^{2} \log \left (F\right ) - f^{2}\right )} \operatorname{erf}\left (-\sqrt{-b \log \left (F\right )} d{\left (x + \frac{c}{d}\right )}\right ) e^{\left (a \log \left (F\right ) + 1\right )}}{\sqrt{-b \log \left (F\right )} b d \log \left (F\right )} - \frac{2 \,{\left (d f^{2}{\left (x + \frac{c}{d}\right )} - 2 \, c f^{2}\right )} e^{\left (b d^{2} x^{2} \log \left (F\right ) + 2 \, b c d x \log \left (F\right ) + b c^{2} \log \left (F\right ) + a \log \left (F\right ) + 1\right )}}{b d \log \left (F\right )}\right )}}{4 \, d^{2}} + \frac{\frac{\sqrt{\pi }{\left (2 \, b c^{3} f^{3} \log \left (F\right ) - 3 \, c f^{3}\right )} F^{a} \operatorname{erf}\left (-\sqrt{-b \log \left (F\right )} d{\left (x + \frac{c}{d}\right )}\right )}{\sqrt{-b \log \left (F\right )} b d \log \left (F\right )} + \frac{2 \,{\left (b d^{2} f^{3}{\left (x + \frac{c}{d}\right )}^{2} \log \left (F\right ) - 3 \, b c d f^{3}{\left (x + \frac{c}{d}\right )} \log \left (F\right ) + 3 \, b c^{2} f^{3} \log \left (F\right ) - f^{3}\right )} e^{\left (b d^{2} x^{2} \log \left (F\right ) + 2 \, b c d x \log \left (F\right ) + b c^{2} \log \left (F\right ) + a \log \left (F\right )\right )}}{b^{2} d \log \left (F\right )^{2}}}{4 \, d^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]