Suppose that $A$ is a square matrix of size $n$. Then the characteristic polynomial of $A$ is the polynomial $\charpoly{A}{x}$ defined by \begin{equation*} \charpoly{A}{x}=\detname{A-xI_n} \end{equation*}