I am currently reading about Fourier series and Orthogonality of functions and Complete Sets of functions. Below are two extracts from the book I'm reading for which I simply do not understand:
Extract 1:
$\sin {nx}$ is a complete set on $(0, \pi)$; we used this fact when we started with a function given on $(0, \pi)$, defined it on $(−\pi, 0)$ to make it odd, and then expanded it in a sine series.
Extract 2:
A function given on $(0, l)$ can be expanded in a sine series by defining it on $(−l, 0)$ to make it odd, or in a cosine series by defining it on $(−l, 0)$ to make it even (where $l$ is the period of the function).
For the first extract I don't understand why 'defining $\sin{nx}$ on $(-\pi,0)$' makes it an odd function as it was my understanding that $\sin{nx}$ is odd on $[0,\pi]$.
For the second extract I am starting to wonder if there is a typo; since it says that we can define it on $[-l,0]$ to make a sine series or a cosine series. This doesn't make any sense to me, as I don't see how that interval can represent $\fbox{both}$ a sine series and a cosine series.
Most importantly; Why is $\sin{nx}$ a complete set of orthogonal functions on $[0,\pi]$?
Any ideas?
Many thanks.
I think this question touches an important and essential aspect of a function. Namely, a function is more than the mapping $$y=f(x)$$ It is an object which also crucially depends on the domain and the codomain where it is defined. \begin{align*} &f:X\rightarrow Y\\ &y=f(x) \end{align*}
With respect to your second question, let us assume a function $f$ is defined at $(0,l)$ \begin{align*} &f:(0,l)\rightarrow\mathbb{R}\\ &y=f(x) \end{align*}
Epiloque: To say it less formally, it is essential where an object lives.
Question: Is $f(x)=|x|$ differentiable? Answer: It depends! Question: Is $f(x)=\text{sign}(x)$ continuous? Answer: It depends! The term continuous touches another essential aspect. It does not merely depend on the domain and codomain as a whole, but also on the fine grained structure, namely what are the open sets, what are neighborhoods of points. This is a main theme in point set topology.