- You can visit 01 Basic Matrix, 02 Operations with Matrices
Matrix Review and Notation
- Definition: A matrix is a rectangular array of (real/complex) numbers
- Example:
- Terminology:
- Each number is called an entry or element
- denotes the set of real numbers
- denotes the set of all matrices with real entries having rows and columns
- Called -by- matrices or matrices
- Example: Matrix above is a 2-by-3 matrix ()
Matrix Notations
Using example:
- Matrix Naming:
- Matrices are usually denoted by capital letters (, , , etc.)
- Corresponding lower case letter with subscript denotes the entry
- Entry Notation:
- Can also use or
- Row and Column Notation:
- denotes the th row of
- Example:
- denotes the th column of
- Example:
- denotes the th row of
Matrix Operations
Addition
- Rule: If and are -by- matrices, is a -by- matrix with
- Example:
Subtraction
- Rule: If and are -by- matrices, is a -by- matrix with
- Example:
Scalar-Matrix Multiplication
- Rule: If is a matrix and is a scalar, then has entries
- Example:
Matrix-Matrix Multiplication
อันนี้ก็เป็นการคูณ Matrix ธรรมดาเนอะ ก็ตบ ๆ เอาได้เลย!!
- Rule: If is a -by- matrix and is a -by- matrix, is a -by- matrix with:
- Example 1:
- Example 2:
- Important Note: in general
Transpose
- Definition: If is -by-, then its transpose (denoted ) is a -by- matrix with
- Example:
- Properties:
Identity Matrix and Inverse
Identity Matrix
- Definition: An identity matrix is a -by- matrix (square matrix) whose diagonal entries are 1 and nondiagonal entries are 0
- Example:
- Note: The subscript is usually omitted if its dimension can be inferred
Inverse
- Definition: If is -by-, its inverse (denoted ) is a -by- matrix satisfying:
- Important: Some matrices do not have inverses
Linear Independence and Rank
Linear Independence
-
Definition: Vectors are said to be linearly independent if: if and only if (scalar)
-
Linear Dependence: Otherwise, they are called linearly dependent
- If are linearly dependent, then there are scalars , not all zeros at the same time, such that:
Rank
- Visit Lecture 9 - Basis, Dimension, Fundamental Matrix Spaces
- Definition: The rank of matrix is the maximal number of columns (or rows) of that are linearly independent
Nonsingular vs Singular Matrices
- Visit 03 Determinants
- Nonsingular Matrix: A -by- matrix is said to be nonsingular if it satisfies any one of the following equivalent conditions:
- has an inverse
- For any vector ,
- Singular Matrix: Otherwise, the matrix is singular
Orthogonal Matrices
- Definition: The matrix is said to be orthogonal if:
- Examples of Orthogonal Matrices:
- (Identity matrix)
- for any