- #1
alexmahone
- 304
- 0
I just finished writing a computer program that takes as input a number of matrices and computes the inverse of the product of matrices.
To test this program, I wanted to input a 3x2 matrix followed by a 2x3 matrix so that the product would be a 3x3 matrix. No matter how hard I try, the determinant of the product turns out to be zero and so the product is non-invertible. Is there a theorem in linear algebra that implies that the product of a 3x2 matrix and 2x3 matrix will always have determinant zero?
To test this program, I wanted to input a 3x2 matrix followed by a 2x3 matrix so that the product would be a 3x3 matrix. No matter how hard I try, the determinant of the product turns out to be zero and so the product is non-invertible. Is there a theorem in linear algebra that implies that the product of a 3x2 matrix and 2x3 matrix will always have determinant zero?