Approximating $e^{inx}$ by polynomials

223 Views Asked by At

Show that every function $e^{inx}$ can be uniformly approximated on $[-\pi,\pi]$ by polynomials in $x$.

Using the power series expansion, $$e^{inx}=1+inx+\frac{(inx)^2}{2!}+\frac{(inx)^3}{3!}+\ldots$$ Let $s_k(x)$ denote the sum up to the $k$th term.

Also, since $e^{inx}=\cos(nx)+i\sin(nx)$, the function is periodic of period $2\pi$.

I want to show that the sequence $s_k(x)$ uniformly approximate $e^{inx}$. To do that, I need to show that for all $\epsilon>0$, there exists $k$ such that $|e^{inx}-s_k(x)|=\left|\sum_{i=k}^\infty\dfrac{(inx)^k}{k!}\right|<\epsilon$ for all $x\in[-\pi,\pi]$.

How can I show that?

1

There are 1 best solutions below

2
On BEST ANSWER

I think this is standard real analysis, we bound

$$|\sum_{j=k}^{\infty}\frac{{[inx]}^{j}}{j!}|\le \sum^{\infty}_{j=k}\frac{[n\pi]^{j}}{j!}\le \sum^{\infty}_{j=k}\frac{M^{j}}{j!},M\ge n\pi$$ Here I used a different symbol $j$ to avoid the same symbol $i$ being used twice.

We choose $k$ large enough that $2M<k$. Then we have $M^{j}\le k^{j}$. The above summation now is bounded by $$\sum^{\infty}_{j=k}\frac{k^{j}}{j!}$$ where we have $$a_{i+1}=a_{i}\frac{k}{i+1},i\ge k$$ So this is bounded by a geometric series. Now the to make it less than $\epsilon$ we just need to choose another partial sum with the beginning index $k'$ much, much greater than $k$.