How Does the Expectation of a Normal Variable Derivation Work?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 9K views
rwinston
Messages
36
Reaction score
0
Hi

More of a general integration question, but I just saw the following proof for the derivation of the expectation of a normal variable:

[tex] E[X] = \frac{1}{\sqrt{2\pi\sigma^2}}\int_{-\infty}^{\infty}{x exp\left( -\frac{1}{2\sigma^2}(x-\mu)^2 \right) dx} [/tex]Set z=(x-mu):

[tex] E[X] = \frac{1}{\sqrt{2\pi\sigma^2}}\int_{-\infty}^{\infty}{z exp\left( -\frac{1}{2\sigma^2}z^2 \right) dx} + \mu \frac{1}{\sqrt{2\pi\sigma^2}}\int_{-\infty}^{\infty}{exp\left( -\frac{1}{2\sigma^2}z^2 \right)dx}[/tex]

[tex]=\mu[/tex]

Now, I don't really understand how this works: if z=x-mu, then I would assume that the term inside the integral becomes:

[tex] (z+\mu) exp\left( -\frac{1}{2\sigma^2}z^2\right)[/tex]

[tex] = z \left( exp\left( -\frac{1}{2\sigma^2}z^2 \right) \right) + \mu \left( exp\left( -\frac{1}{2\sigma^2}z^2 \right) \right)[/tex]

However, I don't see how we get two separate integrals, as in the proof above. Can anyone help shed any light on this?

Cheers
 
Physics news on Phys.org
It's a sum of two terms which need to be integrated, so you can distribute the integration over the summation?
 
genneth said:
It's a sum of two terms which need to be integrated, so you can distribute the integration over the summation?

Hmm...I'm still a bit confused tho - I know that you can distribute integration as you have said, as it is a linear operation, but if this was the case, would you have the

[tex] \frac{1}{\sqrt{2\pi\sigma^2}}[/tex]

term in front of both integrals? I would have thought it was just be in front of the first one?
 
Got it, thanks :-)

matt grime said:
a(b+c) = ab+ac

you learned that in kindergarten (albeit not in such an algebraic form).