Moment Generating Function (MGF) Calculator

Unleash the power of MGF! Calculate the Moment Generating Function for your probability distributions with ease. Just enter your PMF or PDF and the variable 't'.

Enter Distribution and Variable

Specify the probability mass function (PMF) or probability density function (PDF).

Enter the variable 't' for the MGF calculation.

Moment Generating Function (MGF):

What is a Moment Generating Function (MGF)?

In probability theory and statistics, the moment-generating function (MGF) of a random variable X is a function that uniquely determines the probability distribution of X. For a continuous random variable, it's defined as the expected value of etX, i.e., MX(t) = E[etX]. For a discrete random variable, the expectation is a sum instead of an integral.

MGFs are incredibly useful because they can simplify the analysis of sums of independent random variables, and they provide a straightforward way to find the moments of a distribution. For example, the n-th moment about the origin is the n-th derivative of the MGF evaluated at t=0.

Example Use Cases:

Sources: Wikipedia, MathWorld