(Tried asking this on math stackexchange, but no takers so far.)


I'm trying to prove something about matroids, which I have reduced to the following question:


Suppose I have a matrix $M$ which is a direct sum of submatrices $M\_1,M\_2,…,M\_k.$ When do the invariant factors of the $\{M\_i\}$ partition the set of invariant factors of $M$?


To be more explicit, let $d\_1,…,d\_n$ be the invariant factors of the matrix $M$ (so that $d\_j|d\_{j+1}$ for all $1≤j≤n−1$). Let $D$ be the set of these numbers, and similarly let $D\_i$ be the set of invariant factors of the summand $M\_i$ for each $i.$ Are there any known conditions under which:


$$\bigsqcup\_iD\_i=D?$$


By definition, $M$ is a block-diagonal matrix, where the blocks are the $\{M\_i\}$. And in fact, it is not hard to see that for the purposes of this question we can assume without loss of generality that $M$ is actually diagonal (that is, each $M\_i$ is a diagonal matrix). This means that I simply need conditions on the order and nature of the diagonal entries.


However, any information related to this scenario will be welcome, even if you think it is obvious! Please feel free to generally hold forth.


Thanks!



When do the invariant factors of a direct sum of matrices correspond to those of its summands?
By definition $M-XI\_n$ is equivalent, in $M\_n(k[X])$ to ${\rm diag}(d\_1,\ldots,d\_n)$. Likewise, $M\_j-XI\_{n\_j}$ is equivalent, in $M\_n(k[X])$ to ${\rm diag}(d\_{j,1},\ldots,d\_{j,n\_j})$. Therefore $M-X\_I$ is equivalent to the diagonal matrix with diagonal entries the polynomials $d\_{j,s}$ where $1\le j\le k$ and $1\le s\le n\_j$. Conclusion: the latter polynomials are the invariant factors of $M$ if and only if they form an ordered sequence. In other words, if and only if, for every pairs $(j,s)$ and $(i,t)$, one among the polynomial $d\_{j,s}$ and $d\_{i,t}$ divides the other.


