Suppose $A, B, C$ are square matrices of size n>1 and let $M = \begin{bmatrix} A & B \\ 0_n & C \end{bmatrix}$
If $A, C$ are diagonalizable, is $M$ diagonalizable?
Also, what if we are given that $M$ is diagonalizable, can we conclude that A and C are diagonalizable?
I just seem clueless right now, but I have been thinking of using the fact that if a matrix is diagonalizable, then its minimal polynomial is just a product of linear expressions, say $\prod_i(x-\lambda_i)$ where the $\lambda_i$'s are distinct.
I also tried looking for the proper $P$ so that I can write $P^{-1}MP$ as a diagonal matrix and that did not work.
Not for the first, try with $$M=\left( \begin{matrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 1 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \\ \end{matrix} \right) $$
The second part is true. Suppose $M$ diagonalizable but that $A$ or $C$ is not. If $A$ is not diagonalizable there is an eigenvalue $\lambda$ of $A$ whose algebraic multiplicity is strictly larger than the geometric. This implies that there is $X\neq 0$ so that $(A-\lambda)X\neq 0$ but $(A-\lambda)^2X =0$. Then with $V=\left(\begin{matrix} X \\ 0 \end{matrix} \right)$ we have $(M-\lambda)V\neq 0$ and $(M-\lambda)^2V =0$ so $M$ was not diagonalizable. If $C$ is not then there is $Y^T$ so that $Y^T(C-\lambda)\neq 0$ but $Y(C-\lambda)^2 =0$. Then with $W^T=( 0^T\ \ Y^T)$ we have $W^T(M-\lambda)\neq 0$ and $W^T(M-\lambda)^2 =0$ so $M$ was not diagonalizable.