TITLE: How to solve this integral $\int _0^{\infty} e^{-x^3+2x^2+1}\,\mathrm{d}x$
QUESTION [5 upvotes]: My classmate asked me about this integral:$$\int_0^{\infty} e^{-x^3+2x^2+1}\,\mathrm{d}x$$
but I have no idea how to do it. What's the closed form of it? I guess it may be related to the Airy function.

REPLY [5 votes]: I guess it may be related to the Airy function.

You guessed well. In general, we have $~\displaystyle\int_0^\infty\exp\Big(-x^2(x+3a)\Big)~dx~=~\frac2{e^{2a^3}}\cdot\frac{\text{Bi}\Big(3^{2/3}~a^2\Big)}{3^{4/3}}-$ 
$-a\cdot~_2F_2\bigg(\bigg[\dfrac12~,~1\bigg]~;~\bigg[\dfrac23~,~\dfrac43\bigg]~;~-4a^3\bigg).~$ In this particular case, $a=-\dfrac23.$