are all square matrices diagonalizable?
A diagonalizable matrix is any square matrix or linear map where it is possible to sum the eigenspaces to create a corresponding diagonal matrix. An n matrix is diagonalizable if the sum of the eigenspace dimensions is equal to n. ... A matrix that is not diagonalizable is considered “defective.”