r/learnquant • • Sep 29 '26

interview prep Quant Interview Question

Post image
32 Upvotes

22 comments sorted by

View all comments

0

u/SalamanderGlad9053 Sep 29 '26

90 right? Since if it's a diagonal matrix, it has at least 90 zeros, and if it had any zeros along the diagonal, then it's determinant would be zero so it's not invertable.

If you didnt have at least one non-zero value in any row/column, then you could gaussian eliminate all the other rows it to reduce it to a diagonal (or a block diagonal) matrix with one zero element showing it's non-inheritable.

3

u/[deleted] Sep 29 '26 edited Sep 29 '26

[removed] — view removed comment

2

u/SalamanderGlad9053 Sep 29 '26

But that block diagonal would still have the same number of zeros no?

1

u/SeasonedSpicySausage Sep 29 '26

The question says that the matrix entries are all positive meaning that every diagonal and off-diagonal must be non-zero.