A matrix is a rectangular array of numbers (real or complex) arranged in rows and columns, enclosed in brackets.
The order (or size) of a matrix is written as , where:
Example: A matrix with 3 rows and 4 columns has order .
The element in row and column is denoted .
A matrix with exactly one row: order .
A matrix with exactly one column: order .
A matrix where the number of rows equals the number of columns: .
A matrix where .
All entries are zero, denoted .
A square matrix where all entries off the main diagonal are zero.
A diagonal matrix where all main diagonal entries are equal to the same constant .
A scalar matrix where , denoted .
Hierarchy: Identity Scalar Diagonal Square
All entries below the main diagonal are zero ( for ).
All entries above the main diagonal are zero ( for ).
Note: A matrix that is both upper and lower triangular must be a diagonal matrix.
The transpose of (denoted ) is obtained by interchanging rows and columns: .
A square matrix where (i.e., for all ).
A square matrix where (i.e., ).
Key property: All diagonal entries must be zero, since .
| Type | Condition |
|---|---|
| Row matrix | |
| Column matrix | |
| Square matrix | |
| Diagonal matrix | Square; for |
| Scalar matrix | Diagonal; all |
| Identity matrix | Scalar; |
| Upper triangular | for |
| Lower triangular | for |
| Symmetric | |
| Skew-symmetric |