MIT18.06學習筆記 - Lecture 3: Multiplication and Inverse Matrices

這個系列文章是我重溫Gilbert老爺子的線性代數在線課程的學習筆記。
Course Name:MIT 18.06 Linear Algebra
Text Book: Introduction to Linear Algebra
章節內容: 2.4-2.5


課程提綱
1. Matrix Multiplication (5 ways)
2. The laws for Matrix Operations
3. Inverse Matrices
4. Gauss-Jordan Elimination

課程重點


Row echelon form resulting from Gaussian elimination: an upper triangular matrix U .
Reduced row echelon form computed by Gauss–Jordan elimination: all of the leading coefficients (the leftmost nonzero entry in each row) are 1, and every column containing a leading coefficient has zeros elsewhere, it is unique and independent of the sequence of row operations used. For example, the third and fourth matrices are the ones in row echelon form, and the final matrix is the unique reduced row echelon form:


Matrix Multiplication (5 ways)

1. Entry view, the entry in row i and column j of AB is (row i of A ) (column j of B ):

2. Column view, columns of C are combinations of columns of A:

3. Row view, rows of C are combinations of rows of B:

4. Outer product view, AB adds up columns times rows, important special case of block view:

Compare it with the usual rows times columns. Row 1 of A times column 1 of B gave the (1,1) entry in AB . Now column 1 of A times row 1 of B gives a full matrix - not just a single number:

5. Block view, matrix can be cut into blocks, if the cuts between columns of A match the cuts between rows of B , block multiplication of AB is allowed:

Block matrix can do elimination on a whole (block) column of A :

This is the ordinary elimination, a column at a time - written in blocks. That final block S is called the Schurcomplement .

The laws for Matrix Operations



Inverse matrix is A1 and A0=I .

Inverse Matrices

The matrix A is invertible if there exists a matrix A1 such that A1A=I and AA1=I . Six notes about A1 :
Note 1: The inverse exists if and only if elimination products n pivots (row exchanges are allowed).
Note 2: Suppose BA=I and also AC=I , then B=C , according to B(AC)=(BA)C
Note 3: If A is invertible, the one and only solution to Ax=b is x=A1B
Note 4: Suppose there is a nonzero vector x such that Ax=0 , then A cannot have an inverse.
Note 5: A 2 by 2 matrix is invertible if and only if adbc is not zero:

This number adbc is the determinant of A . A matrix is invertible if its determinant is not zero, but the test for n pivot is usually decided before the determinant appears.
Note 6: A diagonal matrix has an inverse provided no diagonal entries are zeros:

The Inverse of a product AB comes in reverse order: (AB)1=B1A1
For square matrices, an inverse on one side is automatically an inverse on the other side. If AB=I then automatically BA=I , where B=A1 .

Gauss-Jordan Elimination

Th Gauss-Jordan method computes A1 using block matrix [A I] :

Here is an example, first part is doing Gaussian elimination to get U (upper triangular) in the first three columns, which is in Row Echelon Form:

Second part is to produce zeros above the pivots: Gauss would finish by back substitution but Jordan continue with elimination to the Reduced Echelon Form (after the last step):

The last step is to divide each row by its pivot, the first half of the result matrix is I , because K is invertible and the second half is K1 :

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章