I'm reading about Fourier analysis and in my book the author speaks about dot product for continuous functions $f, g\in L^2(a,b)$(the set of functions which are square-integrable on the interval $[a,b]$), which is defined as:
$$\langle f, g\rangle = \int_a^b f(x)\overline{g(x)}\;dx.$$
The author mentions that the reader should think the functions as vectors with the components of the vectors corresponding to the function values. This notation confuses me. If I had discrete $n$-dimensional vectors $\textbf{x}$ and $\textbf{y}$ the dot product would be:
$$\langle \textbf{x}, \textbf{y}\rangle = \sum_{i=1}^n \textbf{x}(i)\overline{\textbf{y}(i)},$$
where $\textbf{x}(i)$ corresponds to the $i$th component of vector $\textbf{x}$. To me the integral
$$\langle f, g\rangle = \int_a^b f(x)\overline{g(x)}\;dx$$
seems like area under the curve, not a dot product. I guess the $dx$ is confusing me...could someone make this formula a bit more intuitive for me? Please let me know if my question is unclear.
Thank you! =)