Solve Quickly: -1 1 1 1 1 Matrix Problem

  • Thread starter Thread starter Derill03
  • Start date Start date
  • Tags Tags
    Matrices
Click For Summary
SUMMARY

The discussion focuses on solving a specific 5x5 matrix characterized by -1s on the main diagonal and 1s elsewhere. The matrix can be efficiently inverted using the Sherman-Morrison formula, which is applicable due to its structure as a rank-1 update of a known invertible matrix. Participants debated whether to row reduce the matrix or apply the Sherman-Morrison formula directly, concluding that the latter is the optimal approach for this problem.

PREREQUISITES
  • Understanding of matrix inversion techniques
  • Familiarity with the Sherman-Morrison formula
  • Knowledge of rank-1 updates in linear algebra
  • Basic skills in manipulating matrices
NEXT STEPS
  • Study the Sherman-Morrison formula in detail
  • Explore rank-1 updates and their applications in matrix theory
  • Learn about matrix row reduction techniques
  • Investigate other matrix inversion methods for specialized structures
USEFUL FOR

Mathematicians, data scientists, and anyone involved in linear algebra or matrix computations will benefit from this discussion, particularly those looking to optimize matrix inversion techniques.

Derill03
Messages
62
Reaction score
0
This matrix is said to be quickly solvable but I am not sure of the trick:

-1 1 1 1 1
1 -1 1 1 1
1 1 -1 1 1
1 1 1 -1 1
1 1 1 1 -1

the matrix is all 1's with -1's on the main diagonal, I am not sure if i should row reduce until i have an upper triangular matrix and use product of diagonal entries or if there is a simple trick I am missing
 
Physics news on Phys.org
One way is to realize that it is a rank-1 update of a matrix you know how to invert
[tex]\left(\begin{matrix}-1 & 1 & 1 \\ 1 & -1 & 1 \\ 1 & 1 & -1\end{matrix}\right) = \left(\begin{matrix}1 \\ 1 \\ 1\end{matrix}\right)\left(\begin{matrix}1 & 1 & 1\end{matrix}\right) - 2 \left(\begin{matrix}1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1\end{matrix}\right)[/tex]

Apply the Sherman-Morrison formula:
http://en.wikipedia.org/wiki/Sherman–Morrison_formula

There may be other ways.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
8
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
20
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K