What is the smallest value of $n$ for which there are two non-conjugate $n\times n$ matrices which have the same minimal and characteristic polynomials and eigenspaces of equal dimension?
I first thought that the answer would be 4, as we know that for $n<4$ having the same minimal and characteristic polynomial implies similarity, but since we have the additional condition that they must have eigenspaces of equal dimension, I am not sure.
Let $k$ be an algebraically closed field.
Facts: Let $M$ be a matrix with coefficients in $k$. Then $M$ is conjugate to a block-diagonal matrix where each block is a Jordan block. These blocks, up to reordering, classify the conjugacy classes. Moreover, let $\lambda$ be an eigenvalue of $M$. Then
Therefore, it is enough to look for the smallest integer $N$ such that there are an integer $k$, and two different $k$-tuples of integers $(n_1,\cdots,n_k)$ and $(m_1,\cdots,m_k)$ such that:
and to form two matrices with only one eigenvalue having Jordan blocks of sizes $(n_1,\cdots,n_k)$ and $(m_1,\cdots,m_k)$.
It is easily seen that the smallest $N$ is $7$, and that examples of tuples are $(3,3,1)$ and $(3,2,2)$.
An example of a couple of two matrices is the following:
$ \begin{pmatrix} 1&1&0&0&0&0&0\\ 0&1&1&0&0&0&0\\ 0&0&1&0&0&0&0\\ 0&0&0&1&1&0&0\\ 0&0&0&0&1&1&0\\ 0&0&0&0&0&1&0\\ 0&0&0&0&0&0&1\\ \end{pmatrix}$ and
$\begin{pmatrix} 1&1&0&0&0&0&0\\ 0&1&1&0&0&0&0\\ 0&0&1&0&0&0&0\\ 0&0&0&1&1&0&0\\ 0&0&0&0&1&0&0\\ 0&0&0&0&0&1&1\\ 0&0&0&0&0&0&1\\ \end{pmatrix}.$