\[\begin{pmatrix} \text{var}_1 & \cdots & \text{cov}_{1n} \\ \vdots & \vdots & \vdots \\ \text{cov}_{1n} & \cdots & \text{var}_n \end{pmatrix} \begin{pmatrix} w_1 \\ \vdots \\ w_n \end{pmatrix} = \begin{pmatrix} \mu_1 \\ \vdots \\ \mu_n \end{pmatrix}\]