Easy proof of Cayley Hamilton theorem

516 Views Asked by At

What is wrong with this proof of Cayley hamilton?

If $A$ is $n \times n$ matrix and $P$ is its characteristic polynomial then $P(A) = 0.$

Proof: $P(x) = \det(A - xI) \implies P(A) = \det(A - A) = \det(0) = 0.$