# Does the trick of multiplying moment generating functions for the sum of variables work when the distributions are not identical?

If we have two random Variables that are independent and identically distributed, their sum's moment generating function is simply their product. But does the trick work if they are not identically distributed? For example, if one is Normally distributed, and the other is Exponentially distributed, can we still multiply the moment generating functions?

I can't see any reason it won't work, but have not been able to find any examples on the Internet, which is why I wanted to confirm this.

Wikipedia on moment generating functions gives a slightly more general result in an obvious place to look (what were you searching for?). Also see math.SE: Moment generating function of $$X+Y$$ using convolution of $$X$$ and $$Y$$. – Glen_b