# Minimal polynomial of a matrix

Let $A$ be a matrix. The minimal polynomial of $A$ is the monic polynomial $g(\lambda)$ of lowest degree such that $g(A)=0$. It divides the characteristic polynomial of $A$ and, more generally, it divides every polynomial $f$ such that $f(A)=0$.