# Math Help - probability generating function

1. ## probability generating function

Is the discrete random variable X has p.g.f Gx(s) what is the p.g.f of mX + n?

I know the p.g.f is given by sum over k (p(k)*s^k) but I'm not sure where to go from here

2. Originally Posted by James0502
Is the discrete random variable X has p.g.f Gx(s) what is the p.g.f of mX + n?

I know the p.g.f is given by sum over k (p(k)*s^k) but I'm not sure where to go from here
Let $Y = mX + n$. Your definition for $G_X(s)$, i.e. sum over k (p(k)*s^k) can alternatively be written as $\mathbb{E}(s^X)$ where $\mathbb{E}(.)$ denotes expectation.

$G_Y(s) = \mathbb{E}(s^Y) = \mathbb{E}(s^{mX+n}) = s^n\mathbb{E}((s^m)^X) = s^n G_X(s^m)$