Here is a sketch of proof of the Cayley-Hamilton theorem via classical algebraic geometry.
The set of n x n matrices over an algebraically closed field can be identified with the affine space . Let
be the subset of matrices that satisfy their own characteristic polynomial. We will prove that
is in fact all of
. Since affine space is irreducible, it suffices to show that
is closed and
contains a non-empty open set.
Fix a matrix . First, observe that the coefficients of the characteristic polynomial are polynomials in the entries in
. In particular, the condition that a matrix satisfy its own characteristic polynomial amounts to a collection of polynomials in the entries of
vanishing. This establishes that
is closed.
Let be the set of matrices that have
distinct eigenvalues. A matrix has
distinct eigenvalues if and only if its characteristic polynomial has no double roots when it splits. This occurs if and only if the discriminant of the characteristic polynomial is nonzero. The discriminant is a polynomial in the coefficients of the characteristic polynomial. Thus the condition that a matrix have
distinct eigenvalues amounts to a polynomial in the entries of
not vanishing. Thus
is open.
Finally, we have to show . It is easy to check this for
a diagonal matrix. The general result follows from the fact that the determinant and thus the characteristic polynomial is basis-invariant.
I learned this from https://aergus.net/blog/posts/using-zariski-topology-to-prove-the-cayley-hamilton-theorem.html/