This question was asked in a masters entance exam of an institute for which I am preparing and I was unable to solve it .
Which of the following spaces are connected ?
- The set of upper triangular matrices as a subspace of $M_{n}(\mathbb{R})$ .
2.The set of invertible diagonal as a subspace of $M_{n}(\mathbb{R})$ .
Although I have studied topology from Wayne Patty but this type of questions were not there and our instructer was very unprofessional . So , I was a bit stumped upon seeing connectedness of matrices and would really appreciate a detailed answer.