This document discusses how to calculate the inverse matrix for matrices of different sizes. It provides the formulas for calculating the inverse of 2x2, 3x3, and 4x4 matrices. For matrices larger than 4x4, the document recommends using methods like Gauss-Jordan, LU decomposition, or SVD instead of the formula, as calculating the inverse directly would have exponential time complexity as the matrix size increases.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
49 views
Inverse Matrix of 2
This document discusses how to calculate the inverse matrix for matrices of different sizes. It provides the formulas for calculating the inverse of 2x2, 3x3, and 4x4 matrices. For matrices larger than 4x4, the document recommends using methods like Gauss-Jordan, LU decomposition, or SVD instead of the formula, as calculating the inverse directly would have exponential time complexity as the matrix size increases.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3
Inverse matrix of 2 $\times$ 2 matrix
There exists an inverse matrix of A when detA=ad-bc 0, and it is
Inverse matrix of 3 $\times$ 3 matrix
There exists an inverse matrix of A when detA=a11a22a33+a21a32a13+a31a12a23-a11a32a23-a31a22a13-a21a12a33 0, and it is
Inverse matrix of 4 $\times$ 4 matrix
If
then there exists an inverse matrix of A, and it is
where
Inverse matrix of NxN matrix
From the analogy of the above formulae, the computation time of inverse matrix of NxN matrix will be O(N3N!). Computing inverse matrix with Gauss-Jordan method, the method using LU decomposition, and the method using SVD, will take a computation time of O(N3) (not confident). I will recommend not to use the formula for calculating inverse matrix of NxN matrix which N >= 4.