Given an invertible square matrix
If
Find inverses
import numpy as np
np.linalg.inv([[1,2,3], [4,5,6], [7,8,9]])
With determinant
2x2 matrix
Given the matrix
its inverse matrix is computed using determinant
3x3 Matrix
Let
A
its inverse matrix
With elementary transformations
As the byproduct of Gaussian elimination
An inverse matrix is a by-product of Gaussian elimination process: it is equal to the product of all elementary matrices used to solve
There are many cases where
does not exist (i.e. is invertible). But if it does, we know that
- there’s a unique solution
- the unique solution is found by
Given a linear system
So if we solve the linear system
Hint
Hint
Special inverses
Inverse of a product
Let
Inverse of the transpose
Let