Theorem:
If an $n \times n$ matrix has n distinct eigenvalues then A is diagonalisable.
Proof:
Let $A \in \mathbb{R}^{n \times n}$. Suppose A is not diagonalisable. Then, by definition, for a given $D \in \mathbb{R}^{n \times n}$ there exists no invertible matrix $P \in \mathbb{R}^{n \times n}$ such that $P^{-1}AP = D$.
Any hint(s) to assist me would be helpful.
Thanks in advance.