Why is the dimension of the Hilbert space of square-integrable functions infinite? I guess I'm having trouble visualizing the basis of this space.
For example, if are talking about the space of square integrable functions on a finite interval, then all functions of theform for positive integer n are in the space. Can you show that they are independent?
A set of functions like sin(nx) for integer n would be a natural choice also.