The function $e^{x-x^2}$ is zero if $x \to \infty$ or $x \to -\infty$ it looks like a normal-distribution-curve with the max. value at $x=0.5$.
Has somebody a hint for integrating it from $-\infty$ to $\infty$ ? Thank you.
The function $e^{x-x^2}$ is zero if $x \to \infty$ or $x \to -\infty$ it looks like a normal-distribution-curve with the max. value at $x=0.5$.
Has somebody a hint for integrating it from $-\infty$ to $\infty$ ? Thank you.
I assume you need to solve this integral: $$I=\int_{-\infty}^{+\infty}e^{x-x^2}dx.$$ Try this: $x-x^2=-(x-1/2)^2+1/4$. The integral then becomes $$I=e^{1/4}\int_{-\infty}^{+\infty}e^{-(x-1/2)^2}dx.$$ Do a change of variables, recognize the gaussian integral and you're done!