Prove that each of the following spaces are isomorphic to $\mathbb{R}^d$ for some $d$ and compute this number.
(a) Diag$_n(\mathbb{R})$, that is diagonal matrices of order $n$
(b) UT$_n(\mathbb{R})$, that is, upper triangular matrices of order n
(c) $\{f \in P_5(\mathbb{R}): f(x) = f(-x)\}$ that is, even polynomials of degree $\le 5$
My attempt:
For (a) I was thinking to give a linear transformation $T: Diag_n(\mathbb{R}) \rightarrow \mathbb{R}^n$ and show that $T$ is one to one and due to $Diag_n(\mathbb{R})$ and $\mathbb{R}^n$ have the same dimension this implies that $T$ is onto. In order to show that $T$ is one to one I only have to prove that $ker(T)= \{0\}$. Is this correct? Is there other simpler way to prove it?
For (b) a similar procedure with $T: UT_n(\mathbb{R}) \rightarrow \mathbb{R}^{n(n+1)/2}$
I dont know if I could prove (c) in a similar way. Any ideas?
You can't do that. First, finding a linear map $T:{\rm Diag}_n(\mathbb{R})\rightarrow\mathbb{R}^n$ is a good start, if you manage to show it is an isomorphism, then you're done. In order to do that, you have to prove that $T$ is one-to-one, meaning that ${\rm ker}\,T=\{0\}$ but you can't conclude using an argument of dimension, because that would mean that you use the fact that ${\rm Diag }_n(\mathbb{R})$ and $\mathbb{R}^n$ have the same dimension to conclude that indeed they have the same dimension ! You have to prove that $T$ is also onto and only then after you have proven that it is an isomorphism. As for $(b)$ you can apply the same strategy. For $(c)$, you can find a basis of the space, try to understand what is going on if $f=X^n$.