Moment generating function of a continuous variable

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
15 replies · 4K views
exitwound
Messages
291
Reaction score
1

Homework Statement



Find the moment generating of:

[tex]f(x)=.15e^{-.15x}[/tex]

Homework Equations



[tex]M_x(t)= \int_{-\infty}^{\infty}{e^{tx}f(x)dx}[/tex]

The Attempt at a Solution



I get down to the point (if I've done my calculus correctly) and gotten:

[tex]\frac{.15e^{(t-.15)x}}{t-.15} \Bigr| _{0}^{\infty}[/tex]

and I don't know how to evaulate this. Am I right this far? And if I am, how does this equate to the answer in the back of the book:

[tex]\frac{.15}{.15-t}[/tex]
 
Physics news on Phys.org
That's what I'm having trouble with. How do I evaluate it at infinity?
 
I'm not guessing. I plotted it out, and as x goes to -inf, e goes to inf.

Oh. typo above.
 
Oh. I see. My head wouldn't release the reading error.

[tex]\frac{-.15e^{(t-.15)\infty}}{t-.15} - \frac{-.15e^{(t-.15)0}}{t-.15}[/tex]

[tex]0-\frac{.15}{t-.15} = \frac{-.15}{t-.15}=\frac{.15}{.15-t}[/tex]

Do I have it yet? I'm way too tired to think clearly.
 
Okay. I have to take the second derivative of that to find the Variance of the pdf.

First derivative = [tex]\frac{.15}{(.15-t)^2}[/tex]

Second derivative = [tex]\frac{.3}{(.15-t)^3}[/tex]

I've even confirmed the second derviative with Wolfram Alpha. However, when I plug 0 into it (to find the second moment, or the variance), I get 88.88. But the book says 44.44. Any idea what I'm doing wrong?
 
Well, V(X) = E(x2)-[E(X)]2 but it also says that if I take the 2nd derivative of the moment generating function, I get V(X) or [itex]\sigma ^2[/itex]
 
So if E(x2) is the second derivative, I have to subtract off [E(X)]^2, or 44.44, which makes it 44.44 just like the book says.

I think I understand that now. Thanks.