I am looking to do the following:
Construct an inner product space $X$ (with inner product $\langle \cdot, \cdot \rangle$ and a proper, closed subspace $Y$ of $X$ such that $Y^\perp = \{0\}$, ie $\langle x, y \rangle = 0 \ \forall y \in Y \iff x = 0$.
I see that we need $X$ to be infinite dimensional, hence isomorphic to $\Bbb R^n$ with the standard dot product, and then clearly not possible, as a proper (closed) subspace has a smaller dimension.
If someone could give me a hint as to how to start this construction, then I'd be most grateful, as I'm fairly stuck beyond this! As always, please make sure that the hint is reasonably minor, ie doesn't give away too much - I still want to learn from this question, not just be told the answer!
The question is on a course in linear analysis.