ΘρϵηΠατπ

Weierstrass Approximation
Let fC[a,b], then there is a sequence (pn):1[x] that converges uniformly to f on [a,b]
Integrals Equal Zero Implies Function is Zero
Suppose that fC[0,1] such that 01f(x)xndx=0 for every n1 then f=0

By wat, we obtain a sequence of poly's (pk) that converge uniformly o f.

We know that for any k we see that pk(x)=i=1lkcixi and therefore

01f(x)pk(x)dx=i=1lkci01f(x)xn=0

Since products maintain uniform convergence, we also know that f(x)pn(x)uniff(x)2. And define Hn:[0,1] as Hn(x):=0xf(t)pn(t)dt therefore HnunifH where H(x)=cxf2(x)dx specifically when x=1 we have that 01f(x)pn(x)dx(=0)unif01f2(x)dx thus 01f2(x)dx=0 so that f=0 as needed.

Continuous Extension on Compact Subset
Let N and let K[N,N] be compact, then show that every continuous function f on X may be extended to a continuous function g on [N,N] such that f=g, conclude that every continuous function on X is the uniform limit of polynomials.

We construct the new function g as follows, given pX then we define g(p)=f(p), otherwise pX, note that since X is compact it's closed so that XC is open, since pXC then we know that there exists some ϵ+ such that B(x,ϵ)XC

Now define L={xX:x<p} and R={xX:x>p}. If both L=R= then X={p} and so since we assumed pX that would be a contradiction, so instead one of these must be non-empty, assume that L, we claim that L=X(,pϵ], this is the case because for any element sB(p,ϵ) it's true that sL, but also we do know that pϵX, therefore L is the intersection of two closed sets and therefore closed.

Since L is closed then sup(L)L, if it's the case that R= then we linearly interpolate from f(sup(L)) to 0 over [sup(L),N], otherwise R and we linearly interpolate from f(sup(L)) to f(inf(R)) over x[sup(L),inf(R)]. Note that by doing this it maintains the sup norm.

The function is continuous as it's a piecewise continuous and at each connection point they are continouous as the left and right limits are equal. Thus g is a continuous extension of f on [N,N], due to this we can apply WAT to g to obtain a sequence of polynomials whose limit is g, then by restriction the domain of the polynomails to X then these "new" ones go to f.