Skip to main content

Cumulant generating function

The cumulant generating function is the logarithm of a random variable’s moment generating function: K_X(t)=ln(E[e^{tX}]). In Intro to Probability, it gives a clean way to read off cumulants like mean and variance.

Last updated July 2026

What is the cumulant generating function?

The cumulant generating function, usually written as K_X(t), is the log of the moment generating function for a random variable X. In Intro to Probability, that means you start with M_X(t)=E[e^{tX}] and then take K_X(t)=ln(M_X(t)). The point is not just to create another function, but to package the distribution’s cumulants in a way that is easier to work with.

If you take derivatives of K_X(t) at t=0, the coefficients give you the cumulants. The first cumulant is the mean, the second cumulant is the variance, and the higher cumulants describe features like skewness and kurtosis. So instead of tracking raw moments one by one, you can use one function to pull out several shape measures.

This is where the log matters. Moments can get messy when you look at sums of random variables, but logs turn products into sums. That makes cumulant generating functions especially nice for combining independent random variables, because the cumulant generating function of a sum is the sum of the cumulant generating functions.

A common way to see the idea is to compare it with the moment generating function. The MGF tells you about moments directly, while the CGF reorganizes that same information into cumulants. You are not getting new probability content so much as a more convenient format for certain calculations.

For a normal random variable, this becomes very clean. The CGF has only the first two cumulants, so the higher ones vanish. That matches the fact that the normal distribution is completely described by its mean and variance, with no skewness or excess kurtosis.

A good mistake to avoid is treating cumulants and moments as the same thing. They are related, but not identical, and the CGF is designed to expose cumulants, not raw moments. If a problem asks for a cumulant, you usually differentiate the CGF, not the MGF itself.

Why the cumulant generating function matters in Intro to Probability

Cumulant generating functions show up whenever Intro to Probability moves from naming distributions to comparing their shape and combining them. They are especially useful in sections on moment generating functions and generating functions because they make algebra with random variables cleaner, especially for sums.

If you are working with independent random variables, the CGF saves time. Instead of redoing expected values from scratch for the sum, you can add the CGFs and then read off the cumulants. That is a fast route to the mean and variance of a sum, and it also tells you whether the distribution is symmetric or skewed.

The CGF also gives you a sharper way to talk about distribution shape than moments alone. The first two cumulants match the mean and variance, but higher cumulants give extra structure. That is useful when a problem asks you to compare two distributions that have the same average but different tails or asymmetry.

In a problem set, you might use the CGF to verify that a distribution is normal-looking, to show that higher cumulants are zero, or to simplify a computation involving a transformed random variable. It is one of those tools that looks abstract at first, but it pays off when the algebra gets bulky.

Keep studying Intro to Probability Unit 13

How the cumulant generating function connects across the course

Moment generating function

The cumulant generating function is built from the moment generating function, so you usually start there first. The MGF is E[e^{tX}], and taking the logarithm gives the CGF. If you can find the MGF, you are already most of the way to the CGF.

Cumulants

Cumulants are the quantities that come out of the derivatives of the cumulant generating function at 0. The first cumulant is the mean and the second is the variance, while higher cumulants describe shape. The CGF is basically the tool that organizes them.

Calculating Moments

Moments and cumulants both describe a distribution, but they are extracted differently. If a problem is asking for moments, you usually work from the MGF. If it asks for cumulants, the CGF is the cleaner route because differentiation after the log gives the values directly.

Linearity Property

The linearity idea shows up when you study sums of independent random variables. For CGFs, independence makes the CGF of a sum equal to the sum of the CGFs. That is one reason these functions are so useful in probability calculations.

Is the cumulant generating function on the Intro to Probability exam?

A quiz or problem set might give you a moment generating function and ask for the cumulant generating function, or it may ask you to identify the mean and variance from the first two derivatives at t=0. The move is usually mechanical: write K_X(t)=ln(M_X(t)), then differentiate if needed. If two independent random variables are added, you may be expected to use the additivity of CGFs instead of expanding everything from scratch. In a written solution, you should show the derivative step clearly, since the first derivative gives the mean and the second derivative at 0 gives the variance. That is the part instructors look for when they want more than just a final number.

The cumulant generating function vs Moment generating function

The moment generating function and cumulant generating function are closely related, but they are not the same object. The MGF gives moments directly through derivatives, while the CGF is the log of the MGF and gives cumulants. If you mix them up, you can lose track of whether you are finding moments or shape descriptors like variance and skewness.

Key things to remember about the cumulant generating function

  • The cumulant generating function is the log of the moment generating function, written K_X(t)=ln(E[e^{tX}]).

  • In Intro to Probability, you use it to get cumulants by taking derivatives at t=0.

  • The first cumulant is the mean, the second cumulant is the variance, and higher cumulants describe shape features like skewness and kurtosis.

  • For sums of independent random variables, CGFs add, which makes them useful for simplifying calculations.

  • Do not confuse cumulants with moments, because the CGF is designed to organize cumulants, not raw moments.

Frequently asked questions about the cumulant generating function

What is cumulant generating function in Intro to Probability?

It is the logarithm of a random variable’s moment generating function: K_X(t)=ln(E[e^{tX}]). In Intro to Probability, it is used to pull out cumulants, which summarize things like mean, variance, and higher shape features of a distribution.

How is a cumulant generating function different from a moment generating function?

The moment generating function gives moments directly, while the cumulant generating function is its logarithm and gives cumulants. They contain related information, but the CGF is often cleaner for sums of independent random variables because logs turn products into sums.

How do you find the mean and variance from a cumulant generating function?

Differentiate the CGF and evaluate at t=0. The first derivative at 0 gives the mean, and the second derivative at 0 gives the variance. This is why the CGF is handy when a problem asks for summary measures of a distribution.

Why do we use cumulant generating function instead of moments?

Cumulants can make distribution shape easier to read, especially when you compare random variables or add independent ones. Moments still matter, but cumulants can be more direct for variance, skewness, and kurtosis, and they often simplify algebra.