| Name | Condition | Example |
|---|---|---|
| Row matrix | only one row, order 1 × n | [3 0 −1 2] |
| Column matrix | only one column, order m × 1 | [4; −2; 7] |
| Zero (null) matrix O | every aᵢⱼ = 0 | [0 0 0; 0 0 0] |
| Square matrix | m = n (order n) | [1 2; 3 4] |
| Diagonal matrix | square, aᵢⱼ = 0 whenever i ≠ j | [5 0 0; 0 −1 0; 0 0 2] |
| Scalar matrix | diagonal with all diagonal entries equal to one number c | [3 0; 0 3] |
| Unit (identity) matrix Iₙ | diagonal entries 1, all others 0 | I₂ = [1 0; 0 1] |
| Upper triangular | square, aᵢⱼ = 0 for all i > j | [2 7 1; 0 4 3; 0 0 6] |
| Lower triangular | square, aᵢⱼ = 0 for all i < j | [2 0 0; 5 4 0; 1 3 6] |
Square matrices, from general to special
-
Triangular
Zeros on one side of the diagonal.
- Upper: zeros below the diagonal
- Lower: zeros above the diagonal
-
Diagonal
Both upper and lower triangular.
- Scalar: all diagonal entries equal
- Unit Iₙ: all diagonal entries 1
- Square zero matrix: scalar with c = 0
Order m × n = rows × columns. aᵢⱼ: row i first, column j second. Equal matrices: same order and every corresponding entry equal.
Key takeaways: a matrix is a rectangular array with order m × n; aᵢⱼ is in row i and column j; unit ⊂ scalar ⊂ diagonal ⊂ triangular among square matrices; and equality needs the same order and equal corresponding entries.