Understanding the Principle of Gauss-Jordan Elimination for Finding Inverses

  • Thread starter Thread starter asdf1
  • Start date Start date
  • Tags Tags
    Elimination
asdf1
Messages
734
Reaction score
0
just wondering...
why does that method work for finding A^(-1)?
in other words, what's the principle behind that method?
 
Physics news on Phys.org
See if you can work out an invariant that is maintained by the algorithm. (e.g. an equation that is true at the start, and each step may change the values, but the equation remains true) That invariant should let you easily prove the result is the inverse.


(I suppose there are probably other ways of doing it too. This is just the one that strikes me as the simplest!)
 
It's because every row operation can be viewed as the product of an elementary matrix on the left and the original matrix on the right. An elementary matrix is the identity matrix with 1 row operation performed on it, for example the elementary matrix
1 0 0
0 1 0
0 5 1
represents the operation R3 <-- R3 + 5*R2
and you can verify that when you left-multiply the above matrix by any 3x3 matrix, the result is the row operation R3 <--R3 + 5*R2

So when you row reduce A to the identity matrix I, it is equivalent to left-multiplying it by a sequence of elementary matrices E1...Ek as follows:
Ek*E(k-1)*...*E3*E2*E1*A = I
So the matrix Ek*E(k-1)*...*E3*E2*E1, which is the same as Ek*E(k-1)*...*E3*E2*E1*I, is the inverse of A. But Ek*E(k-1)*...*E3*E2*E1*I is just the transformations represented by E1...Ek being applied to the identity I in the same order, which is exactly the procedure to find the inverse.
 
Last edited:
thank you very much!
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top