Sunday, October 14, 2018

linear algebra - Writing a matrix as a product of elementary matrices.


So if I have a matrix and I put it into RREF and keep track of the row operations, I can then write it as a product of elementary matrices. An elementary matrix is achieved when you take an identity matrix and perform one row operation on it. So if we have a matrix like [1001], one elementary matrix could look like [1011] for the row operation r2r1 or [1001/2] for the row operation r22. So if you put a matrix into reduced row echelon form then the row operations that you did can form a bunch of elementary matrices which you can put together as a product of the original matrix. So if a have a 2×2 matrix, what is the most elementary matrices that can be used. What would that look like?



Answer



Let's assume that nonzero entries in our matrices are invertible.


If a0, then a 2×2 matrix with a in the upper corner can be written as a product of 4 matrices that are elementary in the sense described:


(10ca1)(a001)(100dbca)(1ba01)=(abcd)


Notice that when a=1, three elementary matrices suffice.


If a=0 but c0, then (11c01)(0bcd)=(1cd)

Since (1cd) can be written as a product of 3 elementary matrices, (0bcd) can again be written as the product of 4. A similar argument holds when a=0 but b0.


I'll leave the case a=b=c=0 to the reader.


No comments:

Post a Comment

analysis - Injection, making bijection

I have injection f:AB and I want to get bijection. Can I just resting codomain to f(A)? I know that every function i...