Redirecting to Cayley–Hamilton theorem