So I have come across a question asked by my peers.
Define: $$g:=\sqrt{E[|y_r(t)|^2]}$$
Given that $$y_r(t)=\sqrt{t}\cdot h+k,$$ where $h$ and $k$ are independent random variables with variance $\sigma_h$ and $\sigma_k$ respectively.
So what is $g$ in this case? The answer key gives: $g=\sqrt{t \sigma_h + \sigma_k}$ .
Well, I think this answer make sense. But my friend ask me, which random variables does it apply the expectation?
I am confuse to his question, I thought when you take the expectation, you take it over all the random variable. But he says this doesn't make sense to him. Now I am confused.
$\newcommand{\E}{\operatorname{E}}\newcommand{\var}{\operatorname{var}}$ It follows from independence that $\E(hk)=\E(h)\E(k)$.
If $\E(h)=\E(k) = 0$ then $\E(h^2)= \var(h)$ and $\E(k^2)=\var(k)$ and we have \begin{align} \E\left((\sqrt{t}\, h + k)^2\right) = \E(th^2 + 2\sqrt t\,hk + k^2) & = t\E(h^2) + 2\sqrt t\E(h)\E(k) + \E(k^2) \\[10pt] & = t\var(h) + 2\cdot0\cdot0 + \var(k). \end{align} Therefore the answer key is right provided $\E(h)=\E(k)=0$.