Theorem (classification of separable Hilbert spaces)
Let $X$ be a separable inner product space.
-
If $\dim X = n < \infty$, then $X \isom l_2^n$. Any orthonormal basis $e_1, \ldots, e_n$ gives an isometric isomorphism $$ \begin{align*} T: X &\to l_2^n \\ x &\mapsto (\langle x, e_1\rangle, \ldots, \langle x, e_n\rangle). \end{align*} $$
-
If $\dim X = \infty$ and moreover $X$ is a Hilbert space, then $X \isom l_2$. Any orthonormal basis $e_1, e_2, \ldots$ gives an isometric isomorphism $$ \begin{align*} T: X &\to l_2 \\ x &\mapsto (\langle x, e_1\rangle, \langle x, e_2\rangle, \ldots). \end{align*} $$