I don't know how to solve Exercise 8, Section 5.2 from Geoffrey G. Grimmett, David R. Stirzaker, Probability and Random Processes, Oxford University Press 2001. For those who don't have this book:
Let $X$ have a Poisson distribution with parameter $\Lambda$, where $\Lambda$ is exponential with parameter $\mu$. Show that $X$ has a geometric distribution.
$X \sim Poiss(\Lambda),\ \ \Lambda \sim Exp(\mu)$.
So we know that generating function of $X$ is $G_x(s) = \sum_{i=0} s^i \frac{\Lambda^i}{i!} e^{-\Lambda}= e^{\Lambda(s-1)}$.
Probability density function of $\Lambda$ is $f_{\Lambda} = \mu e^{-\mu x}$.
And I don't know what I should do next. How to decompose $\Lambda$ in $G_x$ (or maybe this is not a good idea?).
Thanks in advance for your help.
Be careful, $\Lambda$ is a random variable! So your computation only shows that $$ E[s^X \mid \Lambda] = \sum_{n=0}^\infty \frac{(s\Lambda)^n}{n!}e^{-\Lambda} = e^{\Lambda (s-1)}. $$
Now you should be able to compute $$G_X(s) = E[s^X] = E\left[E[s^X\mid \Lambda]\right].$$