The inverse of a banded matrix

  • Context: Graduate 
  • Thread starter Thread starter EngWiPy
  • Start date Start date
  • Tags Tags
    Inverse Matrix
Click For Summary
SUMMARY

The discussion centers on the complexity of inverting a banded matrix, specifically a 512-by-512 matrix with significant elements only on the diagonals between -5 and +5. It is established that inverting the banded matrix will lead to a fully populated matrix, resulting in increased computational complexity. Instead of inverting, it is recommended to decompose the banded matrix using the LDU decomposition method, which maintains efficiency by preserving the bandwidth and avoiding unnecessary calculations on zero terms.

PREREQUISITES
  • Understanding of banded matrices and their structure
  • Familiarity with matrix decomposition techniques, specifically LDU decomposition
  • Knowledge of computational complexity in matrix operations
  • Basic linear algebra concepts, including matrix inversion and solving systems of equations
NEXT STEPS
  • Research LDU decomposition and its applications in solving linear equations
  • Explore efficient algorithms for working with banded matrices
  • Study the implications of matrix sparsity on computational performance
  • Learn about alternative methods to matrix inversion, such as using LU decomposition directly
USEFUL FOR

This discussion is beneficial for mathematicians, data scientists, and software engineers involved in numerical analysis, particularly those working with large matrices in computational applications.

EngWiPy
Messages
1,361
Reaction score
61
Hello all,

I have say 512-by-512 matrix, but based on the structure of this matrix most elements not on the diagonals between -5 to +5 (- stand for diagonal below the main diagonal, and + for diagonal above the main diagonal) are small relative to the elements of the mentioned diagonals. So, I create a 512-by-512 banded matrix, where I null all other elements not on the mentioned diagonals.

Now the question is: will there be a huge complexity saving if I want the inverse of the matrix by inverting its banded version instead of the original matrix?

Thanks
 
Physics news on Phys.org
In computer calculations, "inverting a matrix" is almost always the wrong thing to do, even if you have a nice looking math equation with an inverse matrix in it.

In this case there will be a huge "complexity" increase, because the inverse matrix will be fully populated, not banded.

What you really want to do is probably solve a set of equations or something similar. If you decompose your banded matrix as A = LDU or something similar, where L and U are lower and upper triangular and have the same bandwidth as A, you preserve the efficiency by not needing to process all the zero terms in L and U.
 
AlephZero said:
In computer calculations, "inverting a matrix" is almost always the wrong thing to do, even if you have a nice looking math equation with an inverse matrix in it.

In this case there will be a huge "complexity" increase, because the inverse matrix will be fully populated, not banded.

What you really want to do is probably solve a set of equations or something similar. If you decompose your banded matrix as A = LDU or something similar, where L and U are lower and upper triangular and have the same bandwidth as A, you preserve the efficiency by not needing to process all the zero terms in L and U.

Could you please tell me more about this process?
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K