I explored quite a few online resources and math StackExchange questions too. I know that in general, rank is not equal to the number of non-zero eigenvalues. But I was confused by seeing this Solution to Problem 21.1 a. Here they seem to conclude rank based on the theorem "Eigenvectors with distinct eigenvalues are always linearly independent" Also, the column space of the matrix contains all the non-zero eigen vectors.
So, I was wondering if I can make a statement as
Rank >= number of non-zero(counted without repetitions) eigenvalues
or should/can it be
Rank >= number of distinct non-zero eigen values
I could not create any counterexample which disproves this statement. Nor could I analytically prove it is correct. Thank you for the help!