Optimal. Leaf size=142 \[ \frac {105}{16} \sqrt {\pi } \text {erfi}\left (\sqrt {a+b x+c x^2}\right )+e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{7/2}-\frac {7}{2} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{5/2}+\frac {35}{4} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{3/2}-\frac {105}{8} e^{a+b x+c x^2} \sqrt {a+b x+c x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.63, antiderivative size = 142, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 4, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.121, Rules used = {6707, 2176, 2180, 2204} \[ \frac {105}{16} \sqrt {\pi } \text {Erfi}\left (\sqrt {a+b x+c x^2}\right )+e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{7/2}-\frac {7}{2} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{5/2}+\frac {35}{4} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{3/2}-\frac {105}{8} e^{a+b x+c x^2} \sqrt {a+b x+c x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2176
Rule 2180
Rule 2204
Rule 6707
Rubi steps
\begin {align*} \int e^{a+b x+c x^2} (b+2 c x) \left (a+b x+c x^2\right )^{7/2} \, dx &=\operatorname {Subst}\left (\int e^x x^{7/2} \, dx,x,a+b x+c x^2\right )\\ &=e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{7/2}-\frac {7}{2} \operatorname {Subst}\left (\int e^x x^{5/2} \, dx,x,a+b x+c x^2\right )\\ &=-\frac {7}{2} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{5/2}+e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{7/2}+\frac {35}{4} \operatorname {Subst}\left (\int e^x x^{3/2} \, dx,x,a+b x+c x^2\right )\\ &=\frac {35}{4} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{3/2}-\frac {7}{2} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{5/2}+e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{7/2}-\frac {105}{8} \operatorname {Subst}\left (\int e^x \sqrt {x} \, dx,x,a+b x+c x^2\right )\\ &=-\frac {105}{8} e^{a+b x+c x^2} \sqrt {a+b x+c x^2}+\frac {35}{4} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{3/2}-\frac {7}{2} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{5/2}+e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{7/2}+\frac {105}{16} \operatorname {Subst}\left (\int \frac {e^x}{\sqrt {x}} \, dx,x,a+b x+c x^2\right )\\ &=-\frac {105}{8} e^{a+b x+c x^2} \sqrt {a+b x+c x^2}+\frac {35}{4} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{3/2}-\frac {7}{2} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{5/2}+e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{7/2}+\frac {105}{8} \operatorname {Subst}\left (\int e^{x^2} \, dx,x,\sqrt {a+b x+c x^2}\right )\\ &=-\frac {105}{8} e^{a+b x+c x^2} \sqrt {a+b x+c x^2}+\frac {35}{4} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{3/2}-\frac {7}{2} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{5/2}+e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{7/2}+\frac {105}{16} \sqrt {\pi } \text {erfi}\left (\sqrt {a+b x+c x^2}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.20, size = 47, normalized size = 0.33 \[ -\frac {\sqrt {a+x (b+c x)} \Gamma \left (\frac {9}{2},-a-x (b+c x)\right )}{\sqrt {-a-x (b+c x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.42, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (2 \, c^{4} x^{7} + 7 \, b c^{3} x^{6} + 3 \, {\left (3 \, b^{2} c^{2} + 2 \, a c^{3}\right )} x^{5} + 5 \, {\left (b^{3} c + 3 \, a b c^{2}\right )} x^{4} + a^{3} b + {\left (b^{4} + 12 \, a b^{2} c + 6 \, a^{2} c^{2}\right )} x^{3} + 3 \, {\left (a b^{3} + 3 \, a^{2} b c\right )} x^{2} + {\left (3 \, a^{2} b^{2} + 2 \, a^{3} c\right )} x\right )} \sqrt {c x^{2} + b x + a} e^{\left (c x^{2} + b x + a\right )}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.46, size = 93, normalized size = 0.65 \[ \frac {105}{16} \, \sqrt {\pi } i \operatorname {erf}\left (-\sqrt {c x^{2} + b x + a} i\right ) + \frac {1}{8} \, {\left (8 \, {\left (c x^{2} + b x + a\right )}^{\frac {7}{2}} - 28 \, {\left (c x^{2} + b x + a\right )}^{\frac {5}{2}} + 70 \, {\left (c x^{2} + b x + a\right )}^{\frac {3}{2}} - 105 \, \sqrt {c x^{2} + b x + a}\right )} e^{\left (c x^{2} + b x + a\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 119, normalized size = 0.84 \[ \frac {105 \sqrt {\pi }\, \erfi \left (\sqrt {c \,x^{2}+b x +a}\right )}{16}+\frac {35 \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}} {\mathrm e}^{c \,x^{2}+b x +a}}{4}-\frac {7 \left (c \,x^{2}+b x +a \right )^{\frac {5}{2}} {\mathrm e}^{c \,x^{2}+b x +a}}{2}+\left (c \,x^{2}+b x +a \right )^{\frac {7}{2}} {\mathrm e}^{c \,x^{2}+b x +a}-\frac {105 \sqrt {c \,x^{2}+b x +a}\, {\mathrm e}^{c \,x^{2}+b x +a}}{8} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int {\left (c x^{2} + b x + a\right )}^{\frac {7}{2}} {\left (2 \, c x + b\right )} e^{\left (c x^{2} + b x + a\right )}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.22, size = 135, normalized size = 0.95 \[ \frac {\left ({\mathrm {e}}^{c\,x^2+b\,x+a}\,\left (\frac {105\,\sqrt {-c\,x^2-b\,x-a}}{8}+\frac {35\,{\left (-c\,x^2-b\,x-a\right )}^{3/2}}{4}+\frac {7\,{\left (-c\,x^2-b\,x-a\right )}^{5/2}}{2}+{\left (-c\,x^2-b\,x-a\right )}^{7/2}\right )+\frac {105\,\sqrt {\pi }\,\mathrm {erfc}\left (\sqrt {-c\,x^2-b\,x-a}\right )}{16}\right )\,{\left (c\,x^2+b\,x+a\right )}^{7/2}}{{\left (-c\,x^2-b\,x-a\right )}^{7/2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________