I have a random variable $\epsilon_n$, which is a column vector dependent on $n$, and another vector $w$, which is constant. How do I find the expectation $E[(w^T\epsilon_n)^2]$? It is given that the expected value of $\epsilon_n$ is zero.
My intuition was to write it as $(E[w^T\epsilon_n])^2+Var(w^T\epsilon_n)$, which then becomes $Var(w^T\epsilon_n)$, as the expectation of inner product of a constant vector and another vector is simply the inner product of that constant vector times the expectation of the other(follows from definition of expectation), which in this case is 0. Now I know from the scalar case that $Var(aX)=a^2Var(X)$, where $a$ is a scalar constant. But can I conclude similarly here that $Var(w^T\epsilon_n)=||w||^2Var(\epsilon_n)$?
In the given problem,\begin{align}\mathrm{var}(w^{\top}\epsilon_n)&=w^{\top}\mathrm{cov}(\epsilon_n)w, \end{align} where $\mathrm{cov}(\epsilon_n)=E[\epsilon_n \epsilon_n^{\top}]$, since $\epsilon_n$ is a zero mean random vector.