3

I guess the set $\{f = \cos(nx) : n=1, ... ,\infty\}$ is closed in $\ C([0,1])$ under the sup norm. Therefore, I am trying to show its limit function is of the form $\cos(nx)$. However, I have difficulty proving that for $\cos(n_ix)$ to converge, $\ n_i$ must be constant after some term. At first, I tried to prove c $\leq$ $\mid cos(nx)-cos(mx)\mid$ for some positive c and distinct m and n. Is my guess wrong?

1 Answers1

3

The set is closed. If not we would come to contradiction in the following way:

Denote $f_n(x)=cos(nx)$ and assume that some subsequence of $f_n$ converges to $f$ in sense of supremum norm and $f$ is not from the set. Let denote this subsequence as $f_k$.

Let $t\in [0,1]$. we see that $$|\int_0^tf_k-f\;dx|\leq \|f_{k}-f\|_\infty\to 0\mbox{ as }k\to\infty.$$

We see that $\int_0^tf_k\;dx=-sin(kt)/k\to 0$. Hence $\int_0^tf\;dx=0$ for every $t$ and so $f=0$. But $1=\|f_{k}\|_\infty\to \|f\|_\infty$ and so $\|f\|_\infty=1$ what is a contradiction.

elliptic
  • 386
  • The method is great. I didn't notice we can construct a sequence with increasing k such that fk goes to f if f fails to fall into the set. – Steven Chen Dec 09 '19 at 16:00
  • 2
    This is the method of computing weak limits in $L^p$ spaces. It is usefull until you are able to compute the integral on interval $[0,t]$. – elliptic Dec 09 '19 at 16:05