The polynomial function gX(z)=∑j=0Npjzj=E[zX] is the probability generating function (PGF) of the random variable X.
The expectation E[Y] can be computed by taking the first derivative of gY(z) with respect to z and evaluating at z=1:
E[Y]=gY′(1) Given:
gY(z)=(1−β+βz)N Differentiating with respect to z using the chain rule:
gY′(z)=N(1−β+βz)N−1⋅β Evaluating at z=1:
gY′(1)=N(1−β+β(1))N−1⋅β=N(1)N−1β=Nβ Alternatively, recognizing gY(z)=((1−β)+βz)N as the PGF of a Binomial distribution Y∼Binomial(N,β), the mean is known to be E[Y]=Nβ.
Hence, the correct option is (B).