I was trying to solve this problem: find all vectors $U, V\in \mathbb R^{n}$ such that $$\begin{bmatrix}\mathbf{O} & U \\ V^T & 0\end{bmatrix}$$ is a diagonalisable matrix.
I was able to see that the above matrix is of rank at most $2$ so I tried to find the remainning two eigenvalues of the matrix, but I did not find them in terms of $U$ and $V$. Is there any way to do it?
Denote by $A$ the given matrix and suppose that the base field is $\mathbb R$.
Case 1: $U=V=0$
In that case, $A=0$ is diagonalizable.
Case 2: only one of $U,V$ is equal to zero
Here, $A$ is a non-zero triangular matrix with the main diagonal equal to zero. Hence $A$ is not diagonalizable.
Case 3: non of $U,V$ is zero
In that case, the rank of $A$ is equal to $2$. Its null space is of dimension $n-2$ and defined by the equations:
$$\begin{cases} x_{n+1} &= 0\\ \sum_{i=1}^n V_i x_i &= 0 \end{cases}$$
Let's have a look at the other eigenspaces. If $x \neq 0$ is an eigenvector associated to the eigenvalue $\lambda \neq 0$, we have the equations $$\begin{cases} U_i x_{n+1} &= \lambda x_i \text{ for } 1 \le i \le n\\ \sum_{i=1}^n V_i x_i &= \lambda x_{n+1} \end{cases}$$
$x_{n+1} \neq 0$ as otherwise $x =0$. Replacing $x_i= \frac{U_i x_{n+1}}{\lambda}$ in the last equation, we get
$$\lambda^2 = \sum_{i=1}^n U_i V_i = U^TV$$
If $U^TV \lt 0$, $0$ is the only eigenvalue of $A$ which is non-zero, and $A$ is not diagonalizable.
If $U^TV = 0$, we get $\lambda = 0$. $0$ is the only eigenvalue and the associated eigenspace is of dimension $n-2$. Hence $A$ is not diagonalizable.
Finally if $U^TV \gt 0$, we get two additional non-zero eigenvalues, namely $\pm \sqrt{U^TV}$ with associated distinct eigenspaces of dimension $1$. Therefore $A$ is diagonalizable.