Section05 Inverse Matrices
Notes
- The inverse exsits if and only if elimination produces pivots.
The matrix can't have two different inverses.
- proof
If is invertible, the one and only one solution to is
- proof
Suppose there is a nonezero vector such that . Then cann't have an inverse. No matrix can bring to .
A 2 by 2 matrix is invertible if and only if
- is the determinant of this 2 by 2 matrix.
A diagnonal matrix has an inverse provided no diagnonal entries are zero.
The Inverse of a Product
proof
从含义出发
从变化到分为两个步骤,
- 对矩阵进行的行变化,
- 然后再进行的行变化。
从 变化到 则需要进行和之前相反的变化,
- 首先,对矩阵 进行与 相反的行变化
- 然后进行与 相反的行变化
所以,
Calculating by Gauss-Jordan Elimination
steps
- Construct a augment matrix
- Elminating the block of augment matrix to . Then the block of augment matrix is eliminated to
Properties of inverse matrix
- If is a symmetric across its main diagnonal. Then is also symmetric.
- If is tridiagonal. But is a dense matrix with no zeros. ( The inverse of band matrix is always a dese matrix. )
- When is already eliminated. The product of pivots() is the determinant of matrix .
Computing in Programs
Matlab
%% Compute Directly
A_inverse = inv(A);
%% Compute in Gauss-Jordan Method
I = eye(size(A,1));
R = rref([A I]);
A_inverse = R(:, size(A,1)+1:end);
Julia
# Compute Directly (need to using LinearAlgebra Package)
using LinearAlgebra
A_inverse = inv(A);
# Compute in Gauss-Jordan Method
# In Julia we need to add RowEchelon Package
using RowEchelon
I = Matrix(I, size(A,1), size(A,2));
R = rref([A I]);
A_inverse = R[:,size(A,1):end];
Singular versus Invertible
exsits exactly when has a full set of pivots.
- if doesn't have pivots, elimination will lead to a zero row.(Left-inverse)
- those elimination steps are taken by invertible matrix . So a row of is zero.
- If had been possible, then . The zero row of times , gives a zero row of itself.
- An invertible matrix can't have a zero row! must have pivots if
A trigular matrix is invertible if and only if no diagnonal entiries are zero.
Recognizing an Invertible Matrix
- diagnonally dominant matrices
- Defination
- diagnonally dominant matrices are invertible
- proof
Properties from Exercise
Exchange the row 1 and row 2 of an invertible matrix to reach a new matrix , is also invetible, and is reached by exhange the col 1 and col 2 of .
- proo
Alternating Matrix