Let
Write down an invertible matrix P {\displaystyle P} so that P − 1 A P {\displaystyle P^{-1}AP} is a diagonal matrix, or state that no such P {\displaystyle P} exists.