Consider the matrix

$$P=\begin{bmatrix} 1 & 1 & 0 \\ 0 & 1 & 1 \\ 0 & 0 & 1 \end{bmatrix}$$

The number of distinct eigenvalues

1. $0$
2. $1$
3. $2$
4. $3$

edited

There will be 3 Eigen values which are 1,1,1. All of these are same so the no of distinct Eigen values will be 1.

Right answer will be option  (B) 1
by (140 points) 2