Linear mapping/Diagonalizable/Direct sum of eigenspaces/Fact

Let denote a field, and let denote a -vector space of finite dimension. Let

be a linear mapping.

Then is

diagonalizable if and only if is the direct sum of the

eigenspaces.