Matrix Builder
Build a matrix from individual entries. Change its size and brackets to see how the same values become different TeX environments.
Build a matrix
Resizing keeps the retained entries. New entries start at zero.
\begin{bmatrix}
1 & 0 \\
0 & 1
\end{bmatrix}Rows, columns, and delimiters
Ampersands separate columns, and a double backslash starts a new row. The pmatrix environment uses parentheses; bmatrix uses square brackets. KaTeX sizes the delimiters to fit the entries. Read about matrix environments to explore other styles.