Let, for $m\neq 1$, $X_1, X_2\ldots$ be independent random variables with $E(X_n) = m^n, n \ge 1$, let $N \sim \text{Poisson}(\lambda)$ be independent of $X_1, X_2\ldots$ and set $$Z = X_1 + X_2 + \ldots + X_N$$ Determine $E(Z)$.
It is trickier than the i.i.d.condition.
Please show me how can I solve it.
I'm sorry that I don't know the rule here, I'll add my work back then.
There is a theorem that E[Sn] = E[N]E[x], but it does not work here, because Xi are not i.i.d. I try to do some modification based on the theorem, but it seems hard for me to work it out.