Solution
= Solution
{c}
In the adapted basis from part (a), the matrix has $r$ diagonal entries equal to one and $N-r$ equal to zero. With the <characteristic polynomial> convention $\chi_E(X)=\det(XI-E)$,
$$
\boxed{\chi_E(X)=X^{N-r}(X-1)^r.}
$$
The <characteristic polynomial> is independent of the choice of basis.