Let V be an (n−1)-dimensional subspace of $\mathbb R^n$. Argue that the transformation f : $\mathbb R^n → \mathbb R^n$ which orthogonally projects a vector onto V is diagonalizable. Moreover, compute the eigenvalues of f, the trace of f and the determinant of f.
For the first part, I know that if V is diagonalizable then there exists a D where the diagonal are the eigenvalues. I also know that in order for it to be diagonalizable it would have to have the same number of eigenvectors as the dimension. The problem is that all I'm given is the fact that it orthogonally projects a vector onto V. So given that information, how would I be able to argue that it's diagonalizable?
For second part, I know that the trace is the sum of its eigenvalues and the determinant is it's product, but given that f orthogonally projects a vector onto V, would that change it?