I'm new to latex and all of my matrices seem to be created on new lines, I can't seem to put them side by side. Here is what I am doing to make a matrix (with the 2d identity matrix as an example):
\[ \left( \begin{array}{cc}
1 & 0 \\
0 & 1
\end{array} \right) \]
Am I making it wrong? How can I place a second matrix directly beside this, as you would when doing matrix mathematics? Thanks


%(comment character)). – Alan Munn Jan 29 '11 at 20:52