Diagonal matrix/No homothety/Does not commute/Exercise

Let

Show that commutes with all -matrices if and only if all its diagonal entries coincide.