Integrand size = 33, antiderivative size = 21 \[ \int \frac {e^{a+b x+c x^2} (b+2 c x)}{\sqrt {a+b x+c x^2}} \, dx=\sqrt {\pi } \text {erfi}\left (\sqrt {a+b x+c x^2}\right ) \]
[Out]
Time = 0.16 (sec) , antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {6839, 2211, 2235} \[ \int \frac {e^{a+b x+c x^2} (b+2 c x)}{\sqrt {a+b x+c x^2}} \, dx=\sqrt {\pi } \text {erfi}\left (\sqrt {a+b x+c x^2}\right ) \]
[In]
[Out]
Rule 2211
Rule 2235
Rule 6839
Rubi steps \begin{align*} \text {integral}& = \text {Subst}\left (\int \frac {e^x}{\sqrt {x}} \, dx,x,a+b x+c x^2\right ) \\ & = 2 \text {Subst}\left (\int e^{x^2} \, dx,x,\sqrt {a+b x+c x^2}\right ) \\ & = \sqrt {\pi } \text {erfi}\left (\sqrt {a+b x+c x^2}\right ) \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(46\) vs. \(2(21)=42\).
Time = 1.71 (sec) , antiderivative size = 46, normalized size of antiderivative = 2.19 \[ \int \frac {e^{a+b x+c x^2} (b+2 c x)}{\sqrt {a+b x+c x^2}} \, dx=\frac {\sqrt {-a-x (b+c x)} \Gamma \left (\frac {1}{2},-a-x (b+c x)\right )}{\sqrt {a+x (b+c x)}} \]
[In]
[Out]
Time = 0.36 (sec) , antiderivative size = 18, normalized size of antiderivative = 0.86
method | result | size |
derivativedivides | \(\operatorname {erfi}\left (\sqrt {c \,x^{2}+b x +a}\right ) \sqrt {\pi }\) | \(18\) |
default | \(\operatorname {erfi}\left (\sqrt {c \,x^{2}+b x +a}\right ) \sqrt {\pi }\) | \(18\) |
[In]
[Out]
\[ \int \frac {e^{a+b x+c x^2} (b+2 c x)}{\sqrt {a+b x+c x^2}} \, dx=\int { \frac {{\left (2 \, c x + b\right )} e^{\left (c x^{2} + b x + a\right )}}{\sqrt {c x^{2} + b x + a}} \,d x } \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 49 vs. \(2 (19) = 38\).
Time = 1.43 (sec) , antiderivative size = 49, normalized size of antiderivative = 2.33 \[ \int \frac {e^{a+b x+c x^2} (b+2 c x)}{\sqrt {a+b x+c x^2}} \, dx=\frac {\sqrt {\pi } \sqrt {- a - b x - c x^{2}} \operatorname {erfc}{\left (\sqrt {- a - b x - c x^{2}} \right )}}{\sqrt {a + b x + c x^{2}}} \]
[In]
[Out]
\[ \int \frac {e^{a+b x+c x^2} (b+2 c x)}{\sqrt {a+b x+c x^2}} \, dx=\int { \frac {{\left (2 \, c x + b\right )} e^{\left (c x^{2} + b x + a\right )}}{\sqrt {c x^{2} + b x + a}} \,d x } \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.32 (sec) , antiderivative size = 20, normalized size of antiderivative = 0.95 \[ \int \frac {e^{a+b x+c x^2} (b+2 c x)}{\sqrt {a+b x+c x^2}} \, dx=i \, \sqrt {\pi } \operatorname {erf}\left (-i \, \sqrt {c x^{2} + b x + a}\right ) \]
[In]
[Out]
Time = 0.52 (sec) , antiderivative size = 49, normalized size of antiderivative = 2.33 \[ \int \frac {e^{a+b x+c x^2} (b+2 c x)}{\sqrt {a+b x+c x^2}} \, dx=\frac {\sqrt {\pi }\,\mathrm {erfc}\left (\sqrt {-c\,x^2-b\,x-a}\right )\,\sqrt {-c\,x^2-b\,x-a}}{\sqrt {c\,x^2+b\,x+a}} \]
[In]
[Out]