kingwinner said:
Looking back to my calculus textbook, it says that it is entirely possible that
∞
∫ odd function will diverge so it's not always equal to zero.
-∞
The book also provided many counterexamples.
So back to our integral,
∞
∫ [1/sqrt(2 pi)] x e-x2/2 dx
-∞
Saying that the integrand is an odd function, and thus the integral is 0 doesn't look quite right to me. The integral might not even converge. How can I prove that the integral converges in the first place? Secondly, is it true in general that IF the integral of an odd function converges, it must equal 0?
It is true that the fact a function is odd does not, by itself, mean an integral of the type
you are working with will converge. Consider g(x) = x. This is an odd function, and
<br />
\int_{-\infty}^\infty x \, dx<br />
does not exist.
It is true that if the function f is odd,
and
the integral converges, the value of the integral is zero. The demonstration is the one I gave you.
How do you prove the integral exists? At this level begin to evaluate it. If, when you work through the limits you find they exist, the integral converges. If the limits don't exist, the integral doesn't converge.
And the antiderivative of x e^{{-x^2}/2} is -e^{{-x^2}/2} + C
So now use this to compute
<br />
\int_a^0 x e^{{-x^2}/2} \, dx + \int_0^b x e^{{-x^2}/2} \, dx<br />
using your antiderivative, then take limits as a \to -\infty and b \to \infty to finish the calculation of the improper integral.
For the second integral, after letting u=x, dv=xe-x2/2 and integrating by parts, I have to end up integrating e^{{-x^2}/2}, how can I do so?
Thank you!
You've already stated that part of the integrand is the standard normal density, so you know that
<br />
\frac 1 {\sqrt{2 \pi}} \int_{-\infty}^\infty e^{{-x^2}/2} \, dx = 1<br />
correct? That should allow you to finish the integration.