Optimal. Leaf size=112 \[ \frac {15}{4} e^{a+b x+c x^2} \sqrt {a+b x+c x^2}-\frac {5}{2} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{3/2}+e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{5/2}-\frac {15}{8} \sqrt {\pi } \text {erfi}\left (\sqrt {a+b x+c x^2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.31, antiderivative size = 112, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 4, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.121, Rules used = {6839, 2207,
2211, 2235} \begin {gather*} -\frac {15}{8} \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 )^{5/2}-\frac {5}{2} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{3/2}+\frac {15}{4} e^{a+b x+c x^2} \sqrt {a+b x+c x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2207
Rule 2211
Rule 2235
Rule 6839
Rubi steps
\begin {align*} \int e^{a+b x+c x^2} (b+2 c x) \left (a+b x+c x^2\right )^{5/2} \, dx &=\text {Subst}\left (\int e^x x^{5/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 )^{5/2}-\frac {5}{2} \text {Subst}\left (\int e^x x^{3/2} \, dx,x,a+b x+c x^2\right )\\ &=-\frac {5}{2} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{3/2}+e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{5/2}+\frac {15}{4} \text {Subst}\left (\int e^x \sqrt {x} \, dx,x,a+b x+c x^2\right )\\ &=\frac {15}{4} e^{a+b x+c x^2} \sqrt {a+b x+c x^2}-\frac {5}{2} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{3/2}+e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{5/2}-\frac {15}{8} \text {Subst}\left (\int \frac {e^x}{\sqrt {x}} \, dx,x,a+b x+c x^2\right )\\ &=\frac {15}{4} e^{a+b x+c x^2} \sqrt {a+b x+c x^2}-\frac {5}{2} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{3/2}+e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{5/2}-\frac {15}{4} \text {Subst}\left (\int e^{x^2} \, dx,x,\sqrt {a+b x+c x^2}\right )\\ &=\frac {15}{4} e^{a+b x+c x^2} \sqrt {a+b x+c x^2}-\frac {5}{2} e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{3/2}+e^{a+b x+c x^2} \left (a+b x+c x^2\right )^{5/2}-\frac {15}{8} \sqrt {\pi } \text {erfi}\left (\sqrt {a+b x+c x^2}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 2.01, size = 46, normalized size = 0.41 \begin {gather*} \frac {\sqrt {a+x (b+c x)} \Gamma \left (\frac {7}{2},-a-x (b+c x)\right )}{\sqrt {-a-x (b+c x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 94, normalized size = 0.84
method | result | size |
derivativedivides | \(-\frac {5 \,{\mathrm e}^{c \,x^{2}+b x +a} \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}}}{2}+{\mathrm e}^{c \,x^{2}+b x +a} \left (c \,x^{2}+b x +a \right )^{\frac {5}{2}}-\frac {15 \erfi \left (\sqrt {c \,x^{2}+b x +a}\right ) \sqrt {\pi }}{8}+\frac {15 \,{\mathrm e}^{c \,x^{2}+b x +a} \sqrt {c \,x^{2}+b x +a}}{4}\) | \(94\) |
default | \(-\frac {5 \,{\mathrm e}^{c \,x^{2}+b x +a} \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}}}{2}+{\mathrm e}^{c \,x^{2}+b x +a} \left (c \,x^{2}+b x +a \right )^{\frac {5}{2}}-\frac {15 \erfi \left (\sqrt {c \,x^{2}+b x +a}\right ) \sqrt {\pi }}{8}+\frac {15 \,{\mathrm e}^{c \,x^{2}+b x +a} \sqrt {c \,x^{2}+b x +a}}{4}\) | \(94\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [C] Result contains complex when optimal does not.
time = 2.95, size = 77, normalized size = 0.69 \begin {gather*} \frac {1}{4} \, {\left (4 \, {\left (c x^{2} + b x + a\right )}^{\frac {5}{2}} - 10 \, {\left (c x^{2} + b x + a\right )}^{\frac {3}{2}} + 15 \, \sqrt {c x^{2} + b x + a}\right )} e^{\left (c x^{2} + b x + a\right )} - \frac {15}{8} i \, \sqrt {\pi } \operatorname {erf}\left (-i \, \sqrt {c x^{2} + b x + a}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.91, size = 117, normalized size = 1.04 \begin {gather*} \frac {\left ({\mathrm {e}}^{c\,x^2+b\,x+a}\,\left (\frac {15\,\sqrt {-c\,x^2-b\,x-a}}{4}+\frac {5\,{\left (-c\,x^2-b\,x-a\right )}^{3/2}}{2}+{\left (-c\,x^2-b\,x-a\right )}^{5/2}\right )+\frac {15\,\sqrt {\pi }\,\mathrm {erfc}\left (\sqrt {-c\,x^2-b\,x-a}\right )}{8}\right )\,{\left (c\,x^2+b\,x+a\right )}^{5/2}}{{\left (-c\,x^2-b\,x-a\right )}^{5/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________