Solution
= Solution
{c}
The polynomial $X(X-1)$ annihilates $E$ by idempotence, so the <minimal polynomial> divides it. If $E=0$, its monic polynomial of smallest positive degree is $X$. If $E\ne0$, both eigenvalues zero and one occur, so both factors must divide every annihilating polynomial. Therefore
$$
\boxed{m_E(X)=\begin{cases}X,&E=0,\\X(X-1),&E\ne0\quad(E\ne I).\end{cases}}
$$