It is only diagonalizable if .

A matrix is only diagonalizable if it has n linearly independent eigenvectors. Also, just because a matrix has distinct eigenvalues it may not be diagonalizable if the eigenvectors aren't lin. independent, and conversely, a matrix with repeated eigenvalues isn't necessarily non-diagonalizable either.