What is the Moment Generating Function and How is it Used in Probability?

  • Thread starter Thread starter exitwound
  • Start date Start date
  • Tags Tags
    Functions Moment
Click For Summary

Homework Help Overview

The discussion revolves around the concept of the Moment Generating Function (MGF) in probability, particularly in the context of rolling a fair die. Participants are exploring its definition, application, and simplification methods, as well as addressing confusion regarding mathematical terminology and concepts.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants are attempting to clarify the definition of the MGF and its significance. There are questions about the correctness of initial calculations and the simplification of expressions involving sums. Some participants suggest factoring and using geometric series to simplify the MGF.

Discussion Status

The discussion is active, with participants providing guidance on how to approach the simplification of the MGF. There is acknowledgment of misunderstandings regarding the setup of the problem and the mathematical concepts involved. Multiple interpretations of the MGF's role and its components are being explored.

Contextual Notes

Some participants express a lack of familiarity with mathematical concepts due to time away from studying, which affects their understanding. There is also mention of the need for clearer explanations of terms like 't' and the relevance of the Maclaurin series in this context.

exitwound
Messages
291
Reaction score
1
I haven't taken math for going on 13 years and I am having a hard time following what this all means. I'm not sure if I'm doing it right.

First of all, can anyone explain to me in English what exactly the Moment Generating Function is? The book does a poor job at it and the teacher wasn't very clear either. In fact, the book *never* says what it is at all, just how it's used.

Homework Statement



If you toss a fair die with outcome X, p(x) = 1/6 for x=1,2,3,4,5,6. Find Mx(t).

Homework Equations



M_x(t) = E(e^{tx}) = \sum_{x\in D}e^{tx}p(x)

The Attempt at a Solution



If we start with the Expectation equation above:

\sum_{x\in D}e^{tx}p(x) = \sum_{x=1}^6 e^{tx}(1/6)

= e^{t\cdot 0}(1/6) + e^{t\cdot 1}(1/6) + e^{t\cdot 2}(1/6) + ... e^{t\cdot 6}(1/6)

= 1 + \frac{e^t}{6} + \frac{e^{2t}}{6} + \frac{e^{3t}}{6} + \frac{e^{4t}}{6} + \frac{e^{5t}}{6} + \frac{e^{6t}}{6}

First of all, is this correct so far? And if it is, since it's been umteen years since I've had algebra, what happens here? How can this be simplified?
 
Physics news on Phys.org
Why do you start your sum with

<br /> e^{t\cdot 0}<br />

when none of the sides have 0 dots? Other than that your initial setup is fine. As for simplifying,

*notice a factor common to the sum of 6 terms, and factor it out
*how would you simplify the geometric sum 1 + a +a^2 + a^3 + a^4 + a^5

I'm not sure the simplified form is much less awkward than the original form.
 
The one in the beginning shouldn't be there because x=0 isn't a possible outcome of rolling a die.

The idea of a moment generating function is that if you write it out as a power series in t, the coefficient of t^n[/tex] is the nth moment divided by n!.<br /> <br /> To simplify your expression, note that if r=e^t[/tex], your moment generating function is&lt;br /&gt; &lt;br /&gt; M=(1/6)(r+r^2+r^3+r^4+r^5+r^6)&lt;br /&gt; &lt;br /&gt; Use the formula for the partial sum of a geometric series to get it in closed form.
 
You're right about the 0 sides on a die. My mistake on that one.

As for "using the formula for the partial sum of a geometric series to get it in closed form", that's speaking MoonMan. I haven't had geometric series in over a decade. I'll have to do some digging. Ugh.

Also, I don't know what you mean by:
The idea of a moment generating function is that if you write it out as a power series in t, the coefficient of is the nth moment divided by n!.
To be completely honest, I don't even know what t is. I'm not a math major and the language is mostly foreign to me.
 
Last edited:
If you expand the exponential as a Maclaurin series, you get

M_x(t) = E(e^{tx}) = E\left[1+tx+\frac{1}{2!}(tx)^2+\frac{1}{3!}(tx)^3+\hdots\right]=E(1)+E(x)t+E(x^2)(t^2/2!)+E(x^3)(t^3/3!)+\hdots

So you can each term is proportional to a moment of x. If you have M(t), you can find the nth moment using the formula

E(x^n)=\left \frac{d^nM}{dt^n}\right|_{t=0}

I don't know of an intuitive interpretation of what t is. I just view it as a bookkeeping device.
 

Similar threads

Replies
4
Views
2K
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K