I am having troubles in splitting the following equation over two lines - it is too long to fit in one line.
Ideally, I would like to split it between
\end{pmatrix}=
%%% split here
\begin{pmatrix}
I tried both the split and the multiline environment but they do not seems to work with this particular case. Here the code
\begin{equation}
\label{eq:varcov}
var
\begin{bmatrix}
y_{11} \\
y_{12} \\
y_{13} \\
y_{2} \\
y_{31} \\
y_{32}
\end{bmatrix}= \\ \begin{pmatrix}
\Sigma_1 & & \\
& \Sigma_2 & \\
& & \Sigma_3
\end{pmatrix}=
% split here
\begin{pmatrix}
\sigma_B^2 + \sigma_W^2 + V_{11}^2 & \sigma_B^2 & \sigma_B^2 & & & \\
\sigma_B^2 & \sigma_B^2 + \sigma_W^2 + V_{12}^2 & \sigma_B^2 & & & \\
\sigma_B^2 & \sigma_B^2 & \sigma_B^2 + \sigma_W^2 + V_{13}^2 & & & \\
& & & \sigma_B^2 + \sigma_W^2 + V_{2}^2 & & \\
& & & & \sigma_B^2 + \sigma_W^2 + V_{31}^2 & \sigma_B^2 \\
& & & & \sigma_B^2 & \sigma_B^2 + \sigma_W^2 + V_{32}^2 \\
\end{pmatrix}
\end{equation}
Thanks in advance for the help
amsmath
loaded, forpmatrix
so usemultline
notequation