A few weeks ago MIT published MathNet, a huge dataset containing Olympiad problems from almost every national and international competition, being the aim of this compilation is to enhance AI reasoning power in mathematics. I am not interested in the former application, but rather, I see it as a unified platform for accessing a content which used to be spread along multiple journals, websites, etc.
I have been particularly enjoying some of the problems proposed in the Romanian Mathematical Olympiad, since they tend to include abstract and linear algebra among its topics, and today I bring two on the latter which can be solved by peeking into the Jordan canonical form (JCF) of its matrices. Without further ado, let us get started with the first one.
Proposed in Romanian Mathematical Olympiad 2018, 11th Grade, Problem 4.
The solution to second problem proceeds in an analogous fashion, so it may be worth trying to solve it before looking at the construction presented here.
Proposed in Romanian Mathematical Olympiad Shortlist 2018, Putnam Seniors, Problem 4.
For the challenging direction, thinking once again in terms of the JCF and playing with the blocks reveals that they must be either $J_1(0)$ or $J_2(0)$; let us prove this formally. On the one hand, $A$ does not have any nonzero eigenvalues, since $$ A^2 v = \lambda^2 v = 0 = \mathbf 0 v. $$ Likewise, it cannot have a $0$-block with dimension larger than two, since that would imply that $\dim \ker \mathbf 0 = \dim \ker A^2 < n$, because by definition there would be a generalized eigenvector of rank at least $3$. All together, $$ P^{-1}AP = \operatorname{diag}(J_2(0), \cdots, J_2(0), 0, \cdots, 0), $$ so we must find a way to factor $J_2(0)$ as $\bar B \bar C$ such that $\bar C \bar B = \mathbf 0$.
Indeed, by choosing $$ \bar B = \begin{pmatrix} 0 & 1\\ 0 & 0\end{pmatrix}, \qquad \bar C = \begin{pmatrix} 0 & 0\\ 0 & 1\end{pmatrix} $$ we get that $$ \bar B \bar C = \begin{pmatrix} 0 & 1\\ 0 & 0\end{pmatrix} = J_2(0),\qquad \bar C \bar B = \begin{pmatrix} 0 & 0\\ 0 & 0\end{pmatrix} = \mathbf 0. $$ The construction is then done as $$ A = P\begin{pmatrix} J_2(0)\\ & \ddots\\ & & J_2(0)\\ & & & 0\\ & & & & \ddots\\ & & & & & 0 \end{pmatrix}P^{-1} \implies B = P\begin{pmatrix} \bar B\\ & \ddots\\ & & \bar B\\ & & & 0\\ & & & & \ddots\\ & & & & & 0 \end{pmatrix}P^{-1},\ C = P\begin{pmatrix} \bar C\\ & \ddots\\ & & \bar C\\ & & & 0\\ & & & & \ddots\\ & & & & & 0 \end{pmatrix}P^{-1}. $$
The Jordan canonical form is after all a nice tool to have in one's belt when dealing with matrices that need not be diagonalizable. The singular value decomposition may as well be useful, but sometimes resorting to similarities proves to be easier than working with equivalences (even if they are orthogonal), as it was the case here. We employed the Jordan canonical form also because both problems had some loss of structure under exponentiation, which is very closely related to the idea of generalized eigenvectors that gives raise to this factorization itself, so it is worth taking into account for future problems.