What happens if you add two independent random variables together? If is the result of one 6-sided die and is another, what is the distribution of ?
In the real world, this is how we model total noise from multiple sources, the combined weight of items in a box, or the total return of a multi-asset portfolio.
To find , we need to consider every possible combination of and that sums to . For example, to get with two dice, we sum the probabilities of and . For discrete variables, this operation is called a Convolution.
For continuous variables, the sum becomes an integral:
Convolution: Sum of Two D6 Dice
When you transform a random variable (e.g., let or ), the "density" of the probability changes. For multi-dimensional transformations, like changing from Cartesian coordinates to Polar coordinates , the "area" of your probability density can be stretched or compressed.
Imagine drawing a grid on a sheet of rubber. When you stretch the rubber, the density of the grid lines changes. The Jacobian determinant () is the mathematical factor that tells you exactly how much the density "squished" or "expanded" at each point during the transformation.
Finding the mean (), variance (), and higher-order moments (like skewness) can be algebraically intense. Moment Generating Functions (MGFs) provide a mathematical "fingerprint" that makes these calculations trivial.
Why is it called 'Generating'?
By taking derivatives of the MGF with respect to and then evaluating them at , you literally "generate" the moments of the distribution.
Every distribution has a unique MGF (if it exists). If you find that the sum of two variables has the MGF of a Normal distribution, then that sum must be Normally distributed. This is a very powerful way to prove the Central Limit Theorem!