06/24 Lecture Inverses of Matrices and LU Factorization Lecture Notes
Introduction to Matrix Inverses (Section 3.3)
Focus of Study: The primary interest in this section is the inverse of square matrices, specifically those of order .
Definitions and Terminology:
Invertible: This is a "fancy name" for being able to find the inverse of a matrix or being able to "invert" a matrix.
Invertibility Condition: Not every square matrix is invertible. A square matrix must satisfy specific conditions to have an inverse.
Notation: The inverse of a matrix is denoted as . The transcript notes that some older or specific texts might refer to it as , but is the industry standard.
Clarification of Notation: The notation does not mean . While in common algebra , this rule does not apply to matrices, as matrix division is not defined in that manner.
Fundamental Principles of Inverses
The Identity Relationship: In standard algebra, . In linear algebra, if matrix has an inverse , then the product of the two is the identity matrix ():
The Identity Matrix (): This is the matrix equivalent of the number 1 in scalar algebra. It consists of ones along the main diagonal and zeros everywhere else.
Commutative Property of Inverses: Generally, matrix multiplication is not commutative (). However, the product of a matrix and its inverse is one of the rare occasions where the order does not matter: both and result in the identity matrix of the same order ().
Non-Invertible Matrices and Determinants
Zero Matrices: A matrix consisting entirely of zeros does not have an inverse. For any matrix , the product of the zero matrix and will result in a zero matrix, which can never equal the identity matrix ().
Dependent Rows/Columns: If a matrix has rows or columns that are multiples of one another (linearly dependent), the matrix will not have an inverse.
Example from Transcript: Consider the matrix: This matrix corresponds to dependent equations (the second row is twice the first). Its determinant is zero, thus making it non-invertible.
Determinant Condition: For a square matrix to be invertible, its determinant () must not be zero:
Uniqueness of the Inverse
Theorem of Uniqueness: If a square matrix has an inverse, that inverse is unique. A single matrix cannot have two different inverses.
Proof Logic:
Suppose matrix has two inverses, and .
Then and .
Therefore, .
Multiplying both sides on the left by the inverse of (which is assumed to exist), the terms cancel out to becomes , leaving .
Solving Linear Systems Using Inverses
Algebraic Analogy: If , then .
Application to Matrices: For a system defined by the matrix equation (where and are vectors):
Start with .
Left-multiply both sides by : .
Simplify using the associative property: .
Since , then .
The solution is .
Limitations: This method only provides a unique solution if is invertible. If is not invertible, the system may have zero solutions (parallel lines) or infinitely many solutions (coincidental lines/free variables).
Inverse of a Matrix
Standard Form: For a matrix .
Determinant: First calculate the determinant: .
Formula for Inverse: If , then:
Procedure:
Swap the elements on the main diagonal ( and ).
Change the signs of the elements on the minor diagonal ( and ).
Multiply the resulting matrix by the scalar .
Numerical Examples of Inverse Calculation
Example 1: Invertible Matrix
Matrix
Determinant: .
Preliminary Inverse Shape: .
Final Inverse Matrix: .
Example 2: Non-Invertible Matrix
Matrix (Referenced in context of row dependency).
If rows are multiples of each other, the determinant is zero. For instance, if row one multiplied by 3 gives row two, the matrix is singular.
Algebraic Properties of Inverses
Property 1: Double Inversion
Inverting an inverse matrix returns the original matrix (like "double negation" in logic).
Property 2: Scalar Multiplication
If is a non-zero scalar, then .
Property 3: Inverse of a Product (The Socks-and-Shoes Rule)
The inverse of a product is the product of the inverses in reverse order.
Proof: To solve for , left-multiply by to get , then left-multiply by to get .
Property 4: Transposition
The inverse of the transpose is the transpose of the inverse.
Property 5: Powers
, for non-negative integers .
Solving Matrix Equations for
Scenario: Solve for given an equation with multiple matrix variables.
Example Process:
If given .
Applying the product inverse rule: .
Multiplying both sides by the inverse of the lead matrix (e.g., multiplying by to cancel ).
The transcript describes complex manipulations resulting in solutions such as or variations depending on the initial specificities of the given identity operations.
Elementary Matrices
Definition: An elementary matrix () is a matrix obtained by performing a single elementary row operation on an identity matrix ().
Three Elementary Row Operations (EROs):
Row Swap: Swapping two rows ().
Row Scaling: Multiplying a row by a non-zero constant ().
Row Addition: Adding a multiple of one row to another ().
Properties of Elementary Matrices:
Every elementary matrix is invertible.
The inverse of an elementary matrix is also an elementary matrix that "undoes" the original operation.
Scaling a row by has an inverse of scaling by .
The inverse of a row swap is the same row swap.
The inverse of adding to is subtracting from (adding ).
Gauss-Jordan Elimination Method for Finding Inverses
The Augmented Matrix Method: This is used for matrices or larger.
Create an augmented matrix of the form , where is the identity matrix of the same order.
Perform elementary row operations to reduce the left side () to the identity matrix ().
Apply the exact same operations to the right side ().
When the left side becomes , the right side will have transformed into .
Resulting Form: .
Checking for Invertibility: If during the process a row of all zeros appears on the left side, the matrix is not invertible (not have an inverse).
LU Factorization (Section 3.4)
Definition: LU factorization (or decomposition) breaks a square matrix into the product of two triangular matrices:
L (Lower Triangular): A matrix with ones on the main diagonal and zeros above the diagonal.
U (Upper Triangular): A matrix in row-echelon form, with zeros below the main diagonal.
Mathematical Concept: If row operations represented by elementary matrices convert matrix into an upper triangular matrix , then:
The product corresponds to the lower triangular matrix .
Purpose: This method is useful in computer science and numerical analysis for efficiently solving systems of equations.
Class Discussion and Logistics
Technology Note: The instructor mentions that modern technology (calculators/computers) can handle the inverse of massive matrices, such as those of order , though student work is restricted mainly to or for manual calculations.
Homework Problems Mentioned:
Number 32, 33 on page 160.
Number 35 (a matrix appearing to be an elementary matrix derived from adding row 3 to row 2).
Number 53 (a matrix that, upon Gaussian elimination, resulted in a row of zeros, concluding it is not invertible).
Break Time: The class took a 10-minute break starting at 11:15 AM and reconvened at 11:25 AM.
Attendance: At the end of the lecture, the instructor attempted to navigate the official class portal to record attendance.