I'm struggling with the integral
$$\int e^x e^{x^2} \mathrm{d}x$$
how can you possibly integrate that?
I'm struggling with the integral
$$\int e^x e^{x^2} \mathrm{d}x$$
how can you possibly integrate that?
If you want to integrate $e^x \cdot e^{x^2}$ over all of $\Bbb R$, then you can complete the square. First:
$$e^x \cdot e^{x^2} = e^{x + x^2}$$
Then:
$$ x + x^2 = \left(x + \frac12\right)^2 - \frac14$$
Therefore: $$ e^x \cdot e^{x^2} = e^{\left(x+\frac12\right)^2 - \frac14} = e^{\left(x+\frac12\right)^2} e^{-\frac14}$$
And so:
$$\int_{\Bbb R} e^x \cdot e^{x^2} \, dx = \int_{\Bbb R} e^{\left(x+\frac12\right)^2} e^{-\frac14} \, dx$$
$e^{-1/4}$ is just a constant. Factor it out, then use substitution and a well-known formula to handle the rest.
It's not a trivial integral, if its limits are undefined.
I mean: if you know a bit about special functions, then it's trivial because its result is in the form of the Imaginary Error Function, and it is:
$$\int e^x e^{x^2}\ \text{d}x = \frac{\sqrt{\pi } \text{erfi}\left(x+\frac{1}{2}\right)}{2 \sqrt[4]{e}} + C$$
I'll write some detail later.
More on error function:
The down vote problem is a frequent problem over here. Down votes shall be applied for wrong answers or bad and useless one. This is not. Maybe is not the best one but it's correct. Anyway, still :) Thank you for your appreciation nay!
– Jan 27 '17 at 22:33