For a geometric distribution with $p_{x}(x)=p(1-p)^x, x=0,1,2,3,...$ I have been asked to find the probability generating function.
I know that the way to find this is by finding $E(s^x)$ (the expectation) but I've plugged in the probability mass function and summed it and I'm just not getting a proper answer (I roughly know what the end result should look like).
Can someone please help me with the steps of finding this?
Thanks