Integrand size = 13, antiderivative size = 44 \[ \int e^{a+b x-c x^2} \, dx=-\frac {e^{a+\frac {b^2}{4 c}} \sqrt {\pi } \text {erf}\left (\frac {b-2 c x}{2 \sqrt {c}}\right )}{2 \sqrt {c}} \]
[Out]
Time = 0.01 (sec) , antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {2266, 2236} \[ \int e^{a+b x-c x^2} \, dx=-\frac {\sqrt {\pi } e^{a+\frac {b^2}{4 c}} \text {erf}\left (\frac {b-2 c x}{2 \sqrt {c}}\right )}{2 \sqrt {c}} \]
[In]
[Out]
Rule 2236
Rule 2266
Rubi steps \begin{align*} \text {integral}& = e^{a+\frac {b^2}{4 c}} \int e^{-\frac {(b-2 c x)^2}{4 c}} \, dx \\ & = -\frac {e^{a+\frac {b^2}{4 c}} \sqrt {\pi } \text {erf}\left (\frac {b-2 c x}{2 \sqrt {c}}\right )}{2 \sqrt {c}} \\ \end{align*}
Time = 0.03 (sec) , antiderivative size = 46, normalized size of antiderivative = 1.05 \[ \int e^{a+b x-c x^2} \, dx=\frac {e^{a+\frac {b^2}{4 c}} \sqrt {\pi } \text {erf}\left (\frac {-b+2 c x}{2 \sqrt {c}}\right )}{2 \sqrt {c}} \]
[In]
[Out]
Time = 0.01 (sec) , antiderivative size = 34, normalized size of antiderivative = 0.77
method | result | size |
default | \(-\frac {\sqrt {\pi }\, {\mathrm e}^{a +\frac {b^{2}}{4 c}} \operatorname {erf}\left (-\sqrt {c}\, x +\frac {b}{2 \sqrt {c}}\right )}{2 \sqrt {c}}\) | \(34\) |
risch | \(-\frac {\sqrt {\pi }\, {\mathrm e}^{\frac {4 c a +b^{2}}{4 c}} \operatorname {erf}\left (-\sqrt {c}\, x +\frac {b}{2 \sqrt {c}}\right )}{2 \sqrt {c}}\) | \(37\) |
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 36, normalized size of antiderivative = 0.82 \[ \int e^{a+b x-c x^2} \, dx=\frac {\sqrt {\pi } \operatorname {erf}\left (\frac {2 \, c x - b}{2 \, \sqrt {c}}\right ) e^{\left (\frac {b^{2} + 4 \, a c}{4 \, c}\right )}}{2 \, \sqrt {c}} \]
[In]
[Out]
Time = 0.29 (sec) , antiderivative size = 41, normalized size of antiderivative = 0.93 \[ \int e^{a+b x-c x^2} \, dx=\frac {\sqrt {\pi } \sqrt {- \frac {1}{c}} e^{a + \frac {b^{2}}{4 c}} \operatorname {erfi}{\left (\frac {b - 2 c x}{2 \sqrt {- c}} \right )}}{2} \]
[In]
[Out]
none
Time = 0.21 (sec) , antiderivative size = 32, normalized size of antiderivative = 0.73 \[ \int e^{a+b x-c x^2} \, dx=\frac {\sqrt {\pi } \operatorname {erf}\left (\sqrt {c} x - \frac {b}{2 \, \sqrt {c}}\right ) e^{\left (a + \frac {b^{2}}{4 \, c}\right )}}{2 \, \sqrt {c}} \]
[In]
[Out]
none
Time = 0.32 (sec) , antiderivative size = 38, normalized size of antiderivative = 0.86 \[ \int e^{a+b x-c x^2} \, dx=-\frac {\sqrt {\pi } \operatorname {erf}\left (-\frac {1}{2} \, \sqrt {c} {\left (2 \, x - \frac {b}{c}\right )}\right ) e^{\left (\frac {b^{2} + 4 \, a c}{4 \, c}\right )}}{2 \, \sqrt {c}} \]
[In]
[Out]
Time = 0.04 (sec) , antiderivative size = 40, normalized size of antiderivative = 0.91 \[ \int e^{a+b x-c x^2} \, dx=-\frac {\sqrt {\pi }\,\mathrm {erf}\left (\frac {b\,1{}\mathrm {i}-c\,x\,2{}\mathrm {i}}{2\,\sqrt {-c}}\right )\,{\mathrm {e}}^{a+\frac {b^2}{4\,c}}\,1{}\mathrm {i}}{2\,\sqrt {-c}} \]
[In]
[Out]