Let $X$ and $Y$ be independet Poisson random variables with parameters $\lambda$ and $\mu$.
I have to calculate $E((X+Y)^2)$ .
What I did: $E[(X+Y)^2]=E[X^2]+E[Y^2]+2EXEY$
I know that $2EXEY=2\lambda\mu$, but I don't know how to calculate the squared expected values.
Thanks in advance!
Suppose that $X\sim\mathrm{Pois}(\lambda)$. Then $$ \operatorname{Var}X=\operatorname EX^2-(\operatorname EX)^2=\lambda. $$ Hence, $$ \operatorname EX^2=\lambda+\lambda^2. $$