Matrices
Properties
Properties of matrix operations:
- Addition: If \(A\) and \(B\) are matrices of the same size \(m×n\), then their sum \(A+B\) is also an \(m×n\) matrix.
- Multiplication by scalars: If \(A\) is an \(m×n\) matrix and \(c\) is a scalar, then \(cA\) is an \(m×n\) matrix.
- Matrix multiplication: If \(A\) is an \(m×n\) matrix and \(B\) is an \(n×p\) matrix, then the product \(AB\) is an \(m×p\) matrix.
- Vectors: A vector of length \(n\) can be treated as an \(n×1\) matrix. Vector addition, scalar multiplication, and matrix-vector multiplication follow the same rules as matrix operations.
- Transpose: For an \(m×n\) matrix \(A\), its transpose \(A^T\) is an \(n×m\) matrix.
- Identity matrix: \(I_n\) is the \(n×n\) identity matrix, with 1's on the diagonal and 0's elsewhere.
- Zero matrix: Denoted by 0, it is a matrix of all zeroes with appropriate size.
- Inverse: For a square matrix \(A\), its inverse \(A^{-1}\) is a matrix of the same size such that \(AA^{-1} = A^{-1}A = I_n\). Not all matrices have inverses; those that do are called invertible.
Key properties (assuming scalars \(r, s\) and appropriately sized matrices \(A, B, C\)):
Properties of matrix addition:
Properties of matrix multiplication:
Properties of the transpose operation:
Properties of the inverse operation (for invertible matrices):
Additional Properties
Differences from regular number operations:
- Matrix multiplication is generally not commutative; in general, \(AB \neq BA\).
- The transpose of a product reverses order: \((AB)^T = B^T A^T\).
- The inverse of a product reverses order: \((AB)^{-1} = B^{-1} A^{-1}\).
- To conclude \(B = C\) from \(AB = AC\), matrix \(A\) must be invertible.
- If \(AB = 0\), it does not imply \(A = 0\) or \(B = 0\). For example,
Types
Matrices come in many forms depending on their size, elements, and special properties. Below is a detailed overview of the most common types of matrices used in linear algebra.
1. Square Matrix
A matrix with the same number of rows and columns.
Example: \(\begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}\)
2. Rectangular Matrix
A matrix where the number of rows is not equal to the number of columns.
with \(m\neq n\) .
3. Row Matrix
A matrix with only one row \(1 \times n\).
4. Column Matrix
A matrix with only one column \(m \times 1\).
5. Zero Matrix (Null Matrix)
A matrix in which all elements are zero.
6. Identity Matrix
A square matrix with ones on the main diagonal and zeros elsewhere.
7. Diagonal Matrix
A square matrix where all off-diagonal elements are zero.
8. Scalar Matrix
A diagonal matrix where all diagonal entries are equal.
9. Symmetric Matrix
A square matrix that is equal to its transpose: \(A = A^T\)
10. Skew-Symmetric (Antisymmetric) Matrix
A square matrix whose transpose equals its negative: \(A^T = -A\)
11. Orthogonal Matrix
A square matrix \(Q\) with real entries whose transpose is its inverse:
Example: A rotation matrix \(Q = \begin{bmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \end{bmatrix}\)
12. Singular Matrix
A square matrix that does not have an inverse. Its determinant is zero: \(\det(A) = 0\)
13. Invertible (Nonsingular) Matrix
A square matrix \(A\) that has an inverse: \(A^{-1} = A^{-1} A = I_n\)
14. Positive Definite Matrix
A symmetric matrix \(A\) such that for all nonzero vectors \(x\), \(x^T A x > 0\)
Its eigenvalues are strictly positive. If the quadratic form is strictly greater than zero for all non-zero vectors x, then the matrix is called positive definite.
15. Positive Semi-Definite (PSD) Matrix
A symmetric matrix \(A\) is positive semi-definite if for all vectors \(x\), \(x^T A x \geq 0\)
Its eigenvalues are non-negative. This means the quadratic form is never negative, but it can be zero for some nonzero \(x\).
16. Hermitian Matrix
A square matrix \(A\) with complex entries is Hermitian if it equals its own conjugate transpose: \(A = A^H = \overline{A}^T\)
This means \(A_{ij} = \overline{A_{ji}}\) for all \(i,j\).
Example: \(A = \begin{bmatrix} 2 & 2 + i \\ 2 - i & 3 \end{bmatrix}\)Here, \(A = A^H\).
17. Skew-Hermitian Matrix
A square matrix A is skew-Hermitian if it satisfies: \(A = -A^H = -\overline{A}^T\)(i.e. if and only if it is equal to the negative of its conjugate matrix).
This means \(A_{ij} = -\overline{A_{ji}}\).
Example: \(A = \begin{bmatrix} 0 & 2 + i \\ -2 + i & 0 \end{bmatrix}\)Here, \(A = -A^H\).
18. Idempotent Matrix
A square matrix A is idempotent if: \(A^2 = A\) or \(A^n = A\), for every \(n ≥ 2\)
This means multiplying the matrix (not element-wise) by itself returns the same matrix.
19. Nilpotent Matrix
A square matrix \(A\) of order \(n\) is nilpotent if there exists an integer \(k \leq n\) such that: \(A^k = 0\)where \(0\) is the zero matrix.
20. Involutory Matrix
A square matrix \(A\) is involutory if it is its own inverse: \(A^{-1} = A\)
For example, an identity matrix is involutory as it is equal to its inverse.