Visual comparison between matrix styles:
| Example # | 8 | 9 | 10 | 11 | 12 | 13 |
|---|---|---|---|---|---|---|
| Matrix | $\begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}$ | $\begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{pmatrix}$ | $\begin{Bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{Bmatrix}$ | $\begin{vmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{vmatrix}$ | $\begin{Vmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{Vmatrix}$ | $\begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix}$ |
| Style Type | Square brackets | Parentheses | Curly braces | Vertical bars | Double vertical bars | None |
| $\LaTeX$ Matrix Environment Name | |
|
|
|
|
|
In these lecture notes, we'll use
bmatrix matrices (due to stylistic reasons: bracket matrices look stable and solid.) The code for the bmatrix in example #8 is $\begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}$.