Prove that $E\!\left[\sum_{i=1}^NX_i\right]=\mu E[N]$

94 Views Asked by At

Let $X_1, X_2, \cdots$ be independent and identically distributed random variables with expectation $\mu$. Let $N$ be a positive integer-valued random variable such that $E[N] < \infty$ and such that $I_{N≥n}$ is independent of $X_n$ for all $n$. Prove that $$E\!\left[\sum_{i=1}^NX_i\right]=\mu\, E[N]$$

This is a question from an exam a few years ago. I don’t even know where to start here. What is meant by $I_{N≥n}$?

2

There are 2 best solutions below

2
On

You have to condition on the event that $N=k$ for some integer $k$; $$ E \left[ \sum_{i=1}^N X_i \right] = \sum_{k=0}^{+\infty} E \left[ \sum_{i=1}^N X_i \bigg| N = k \right] P(N=k)\\ =\sum_{k=0}^{+\infty} \sum_{i=1}^k E \left[ X_i \right] P(N=k), \quad \text{by independence of } X_i \text{ and } N \\ = \mu \sum_{k=0}^{+\infty} k P(N=k), \quad \text{since } E[X_i] = \mu \\ = \mu E[N] $$

0
On

First of all, $I_{N\geq n}$ is the random variable defined by $$ I_{N\geq n}(\omega)=I_{N(\omega)\geq n}=\begin{cases} 1\quad\text{if } N(\omega)\geq n\\0\quad \text{if } N(\omega)<n\end{cases} $$ and is often called an indicator function (for the set $\{N\geq n\}$). Now, led by the assumption that $I_{N\geq n}$ is independent of $X_n$ for all $n$, we have that $$ \mathrm{E}\Big[\sum_{n=1}^NX_n\Big]=\mathrm{E}\Big[\sum_{n=1}^\infty X_n I_{N\geq n}\Big]=\sum_{n=1}^\infty \mathrm{E}[X_nI_{N\geq n}]=\sum_{n=1}^\infty \mu P(N\geq n), $$ where we in the last equality used the independence, and in the second-to-last equality used dominated convergence. All there is left now is to conclude that $$ \sum_{n=1}^\infty P(N\geq n)=\mathrm{E}[N]. $$