I want to show that if $A$ is a $2\times2$ matrix with repeated eigenvalue $c$, then $(A-c)^2=0$.
I'm aware that this is a simple case of the Cayley-Hamilton theorem, but this requires more background to follow than I would like to require. Is there an easier direct check we can do in the $2\times2$ case?
Well, every such matrix is similar to an upper triangular matrix with the same eigenvalues*. And similarity transformations don't change the polynomials that a matrix satisfies.**
So can you show that $$ A = \begin{bmatrix} a & b \\ 0 & a \end{bmatrix} $$ satisfies a quadratic of the form $(A - c)^2$ for some constant $c$? What should $c$ be?
** Why? Hint: write out $p(QAQ^{-1})$ for your example above, but write your example in the form $$(A - cI)^2.$$ Then try to notice a pattern that might apply to polynomials in general.