I'm trying to type this on mSE \begin{pmatrix} x_1 \\ x_3 \\ x_3 \\ x_4\\ \end{pmatrix}, is rendering like this for me
what to do?
To sum up what's been mentioned in comments:
If you use the \\
separator in the pmatrix block you get
\begin{pmatrix}
x_1 \\ x_3 \\ x_3 \\ x_4 \\
\end{pmatrix}
and if you use the &
separator you get
\begin{pmatrix}
x_1 & x_3 & x_3 & x_4
\end{pmatrix}
and if you use them both you can get
\begin{pmatrix}
x_1 & x_3 & x_3 & x_4 \\
x_1 & x_3 & x_3 & x_4
\end{pmatrix}
\newcommand
or\def
somewhere else on a page, see e.g. here. I don't suspect that is your difficulty, but having a link to the page where you tried to "type this on mSE" would help to diagnose what is going wrong. $\endgroup$