Suppose that Y~DU(n), so that Y has pdf p(y)=1/n for y=1,...,n. Prove that E(e^(5Y))=(e^5(1-e^(5n)))/(n(1-e^5)). Hint: a geometric series is needed.
\[E(e^{kY})=\sum_{y=1}^n e^{ky} \frac{1}{n}=\frac{1}{n}\sum_{y=1}^n (e^k)^y\] Sum of geometric series: \[\sum_{i=1}^nr^i=\frac{1-r^{n+1}}{1-r}\]
Oops, the summation should be \[\sum_{i=1}^nr^i=\frac{r(1-r^{n+1})}{1-r}\] The one I wrote previously would be right if the summation started at 0.
i can't remember the process for reaching the sum of a geometric series. Can you refresh me briefly?
You mean like deriving it from scratch?
yeah, just a brief explanation, not a full one. if you can? (me asking hopefully?)
A telescoping sum: \[S=1+r+r^2+...+r^n\\ rS=r+r^2+r^3+...+r^{n+1}\\ S-rS=1-r^{n+1}\\ S=\frac{1-r^{n+1}}{1-r}\]
ohhhhs. I remember now. Thank you!!
Join our real-time social learning platform and learn together with your friends!