Probability- Expected value of e^x

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 16K views
Roni1985
Messages
200
Reaction score
0

Homework Statement


Find E[e^x] where x~N([tex]\mu[/tex], sigma squared)

Homework Equations


The Attempt at a Solution



It looks like a moment generating function.
Here is what I did:
Assume X= [tex]\mu[/tex] + [tex]\sigma[/tex]*Z

E[etx]= E[et([tex]\mu[/tex]+[tex]\sigma[/tex]*Z)]

I simplified it and used the fact of moment generating functions and got
=exp{[tex]\sigma[/tex]2*t2/2+[tex]\mu[/tex]*t}
I plugged in t=1 and that was my answer.

Do you think it makes sense?
Is there a better/faster way?

Thanks.
 
Last edited:
Physics news on Phys.org
Your statement of the problem appear garbled. Did it just say "Find the expectation of e^x", without telling you how x was distributed?

You say that you assume x is normally distributed. Why did you write it as
[tex]\mu + \sigma * N(\mu,\sigma_2)[/tex] ?

It's just a general to write it as [tex]\mu + \sigma N(0,1)[/tex]
 
Stephen Tashi said:
Your statement of the problem appear garbled. Did it just say "Find the expectation of e^x", without telling you how x was distributed?

You say that you assume x is normally distributed. Why did you write it as
[tex]\mu + \sigma * N(\mu,\sigma_2)[/tex] ?

It's just a general to write it as [tex]\mu + \sigma N(0,1)[/tex]

You are totally right... hold on... editing my question
 
Last edited:
Roni1985 said:
Here is what I did:
Assume X= [tex]\mu[/tex] + [tex]\sigma[/tex]*Z
E[etx]= E[et([tex]\mu[/tex]+[tex]\sigma[/tex]*Z)]

I simplified it and used the fact of moment generating functions

Explain what you mean by "the fact of moment generating functions".

and got
=exp{[itex]\sigma[/itex]2*t2/2+[itex]\mu[/itex]*t}


I plugged in t=1 and that was my answer.

Do you think it makes sense?

It doesn't make sense to me. You didn't really say what your answer was.
 
Stephen Tashi said:
Explain what you mean by "the fact of moment generating functions".
It doesn't make sense to me. You didn't really say what your answer was.

This is my final answer:
exp{sigma^2/2+[tex]\mu[/tex]}

How would you approach this question?
 
The moment generating function for the random variable

[tex]e^x = e^{(\mu + \sigma z)}[/tex]

is

[tex]E( e^{t e^{\mu + \sigma z}})[/tex]

which looks difficult to compute.

It seems simpler to compute the expected value from the definition of expected value.

[tex]E( e^x) = E(e^{\mu + \sigma z}) = \frac{1}{\sqrt{2\pi}} \int_{-\infty}^\infty e^{\mu + \sigma z} e^{ \frac{-z^2}{2} } dz[/tex]
 
Stephen Tashi said:
The moment generating function for the random variable

[tex]e^x = e^{(\mu + \sigma z)}[/tex]

is

[tex]E( e^{t e^{\mu + \sigma z}})[/tex]

which looks difficult to compute.

It seems simpler to compute the expected value from the definition of expected value.

[tex]E( e^x) = E(e^{\mu + \sigma z}) = \frac{1}{\sqrt{2\pi}} \int_{-\infty}^\infty e^{\mu + \sigma z} e^{ \frac{-z^2}{2} } dz[/tex]

Got it... the moment generating function of a normally distributed r.v. solves the same integral.

Thanks very much for the help... appreciate it.

Roni.
 
Roni1985 said:
Got it... the moment generating function of a normally distributed r.v. solves the same integral.

You'll have to explain that to me Roni, I don't see it.

And, by the way, I don't think you substitute t = 1 into the moment generating function of a random variable to get the mean of the random variable.