I am trying to evaluate $E[f(x)f(x)^T]$ where $f(x) = Nx$ and $N \in \mathbb{R}^{N \times N}$, and also $p(x) = \mathbb{N} (x|μ, \sigma)$
So, as we know,
\begin{align*} E[f(x)f(x)^T] &= \int_{-\infty}^{\infty} f(x)f(x)^{T} p(x)dx \\ &= \int_{-\infty}^{\infty} Nx(Nx)^{T} p(x) dx \\ &= \int_{-\infty}^{\infty} Nxx^{T}N^{T} p(x) dx \end{align*}
Now, I am confused about the next step as I haven't evaluated $\mathbb{E}$ with a matrix before. Can I drag the $NN^T$ part outside as it's constant with respect to $x$? Can I break the order? What to do next?