Suppose $\{N(t):t\geq 0 \}$ is a Poisson process with rate $\lambda$. Define $\{X(t):t\geq 0\}$ by $$X(t) = \sum_{i=1}^{N(t)}Y_i$$ where $Y_1,Y_2,Y_2,\ldots$ are iid with cdf $F$ and independent of $N(\cdot)$
(Let $Y\sim F$. In your answers to the following, you may use $\mu = E[Y]$, $\sigma^2 = Var(Y)$ or moments such $E[Y^2]$, $E[Y^3]$,etc.)
Suppose $0 < s < u$. Determine $Cov(X(s),X(u)$
Attempted solution -
\begin{align*} Cov(X(s),X(u)) &= Cov\left(\sum_{i=1}^{N(s)}Y_i,\sum_{j=1}^{N(u)}Y_j\right)\\ &= \sum_{i=1}^{N(s)}\sum_{j=1}^{N(u)} Cov(Y_i,Y_j)\\ &= \sum_{i=1}^{N(s)}\sum_{j=1}^{N(u)}\left(E[Y_i Y_j] - E[Y_i]E[Y_j]\right) \end{align*}
I am not sure where to go from here, any comments are greatly appreciated.
We have the following standard results:
$$Var(S_N)=E(N)Var(Y)+Var(N)(E(Y))^2$$
Define the stochastic process $\{X(t),t\ge 0\}$ by $$X(t)=\sum_{k=0}^{N(t)}Y_{k}$$ where $\{N(t),t\ge 0\}$ is a Poisson process with intensity parameter $\lambda>0$ and is independent of the i.i.d. random variables $Y_{1},Y_{2},\cdots,$. Then,
\begin{eqnarray*} % \nonumber to remove numbering (before each equation) E[X(t)] &=& E[N(t)]\cdot E[Y] \\ &=& \lambda t \cdot E[Y]\\ Var[X(t)] & = & E[N(t)\cdot Var[Y] + Var[N(t)]\cdot (E[Y])^{2}\nonumber\\ & =& \lambda t\cdot Var[Y] + \lambda t\cdot (E[Y])^{2}\\ &=& \lambda t\cdot Var[Y] + (E[Y])^{2}]\\ Var[X(t)]&=& \lambda t\cdot E[Y^{2}] \end{eqnarray*} The process $\{X(t),t\ge 0\}$ possess independent increment property.
\begin{eqnarray*} Cov[X(s),X(t)]&=& Cov[X(s),\overline{X(t)-X(s)}+X(s)] \quad \mbox{(introducing increments)}\\ &=& Cov[X(s),X(t)-X(s)] + Cov[X(s),X(s)] \\ &=& 0 + Var[X(s)]\qquad \mbox{by independence of increment}\\ &=& \lambda s \cdot E[Y^{2}]\\ &=& \lambda \min\left\{s,t\right\} \cdot E[Y^{2}] \end{eqnarray*}