Difference between revisions of "Weierstrass approximation theorem"

From Maths
Jump to: navigation, search
(Created page with "{{Stub page|grade=A*|msg=Proper stub}} __TOC__ ==Statement== Let {{M|C([a,b],\mathbb{R})}} denote the vector space of continuous functions from a closed interval to the real...")
 
(Added latter part of proof - MARKED AS CRAP PAGE)
 
Line 1: Line 1:
{{Stub page|grade=A*|msg=Proper stub}}
+
{{Stub page|grade=A*|msg=Proper stub
 +
* '''and really crap''' this page needs some formal logic saying what it shows, ie:
 +
** {{M|\forall f\in C([0,1],\mathbb{R})\forall\epsilon>0\exists n\in\mathbb{N}[\Vert f-B_N(f)\Vert_\infty\le\epsilon]}} or something}}
 +
{{Dire page}}
 
__TOC__
 
__TOC__
 
==Statement==
 
==Statement==
Line 37: Line 40:
 
So {{M|S_1<\frac{\epsilon}{2} }}
 
So {{M|S_1<\frac{\epsilon}{2} }}
 
{{Requires work|grade=A*|msg={{M|S_2}} is more tricky}}
 
{{Requires work|grade=A*|msg={{M|S_2}} is more tricky}}
 +
* Recall {{MM|S_2:\eq\sum_{0ini such that |xin|δ
} \big({}^nC_ix^i(1-x)^{n-i}\vert f(x)-f\left(\tfrac{i}{n}\right)\vert\big) }}
 +
*: {{MM|\le\sum_{0ini such that |xin|δ
} \big({}^nC_i x^i(1-x)^{n-i}\ 2\Vert f\Vert_\infty\big)}} {{MM|\eq 2\Vert f\Vert_\infty\sum_{0ini such that |xin|δ
}\big({}^nC_i x^i(1-x)^{n-i}\big) }}
 +
*:* By the lemma: {{M|1=\forall x,y\in[0,1]\subset\mathbb{R}[\vert f(x)-f(y)\vert\le 2\Vert f\Vert_\infty]}} - which is easily proved.
 +
*: {{MM|\eq 2\Vert f\Vert_\infty\sum_{0ini: (inx)2δ2n2
}\big({}^nC_i x^i(1-x)^{n-i}\big) }}
 +
*:* By simple re-writing of {{M|\vert x-\frac{i}{n}\vert\ge\delta}} -see annotations on lecture notes if stuck, shouldn't be stuck though
 +
*: {{MM|\eq 2\Vert f\Vert_\infty\sum_{0ini: (inx)2δ2n2
}\left(\frac{(i-nx)^2}{\delta^2n^2}{}^nC_i x^i(1-x)^{n-i}\right) }}
 +
*:* As {{M|(i-nx)^2\ge \delta^2n^2}} we see {{M|\frac{(i-nx)^2}{\delta^2n^2}\ge 1}}
 +
*: {{MM|\eq\frac{ 2\Vert f\Vert_\infty}{\delta^2n^2}\sum_{0ini: (inx)2δ2n2
}\left((i-nx)^2\ {}^nC_i x^i(1-x)^{n-i}\right) }}
 +
*: {{MM|\leq\frac{ 2\Vert f\Vert_\infty}{\delta^2n^2}\sum^n_{k\eq 0}\left((i-nx)^2\ {}^nC_i x^i(1-x)^{n-i}\right) }}
 +
*:* As the added terms are clearly {{M|+\text{ve} }}
 +
*: {{MM|\eq\frac{2\Vert f\Vert_\infty}{\delta^2n^2} nx(1-x)}} - by the third part of the lemma seemingly missing from this page (the summation {{M|\eq}} this)
 +
*: {{MM|\leq\frac{1}{4}\frac{2\Vert f\Vert_\infty}{n\delta^2} }} as {{M|x(1-x)}} attains its maximum at {{M|x\eq\frac{1}{2} }} and that maximum is {{M|\frac{1}{4} }}
 +
*: {{MM|\eq\frac{\Vert f\Vert_\infty}{2n\delta^2} }}
 +
 +
Note that:
 +
* {{MM|\lim_{n\rightarrow\infty}\left(\frac{\Vert f\Vert_\infty}{2n\delta^2}\right)\eq\frac{\Vert f\Vert_\infty}{2\delta^2}\cdot\lim_{n\rightarrow\infty}\left(\frac{1}{n}\right)\eq 0}} - so that limit exists and converges, thus we see:
 +
** {{MM|1=\forall\epsilon'>0\exists N'\in\mathbb{N}\forall n\in\mathbb{N}\left[n\ge N'\implies \left\vert\frac{\Vert f\Vert_\infty}{2n\delta^2}\right\vert<\epsilon'\right]}} (by definition of a [[convergent sequence]])
 +
*** Pick {{M|\epsilon':\eq\frac{1}{2}\epsilon}} and pick {{M|N\in\mathbb{N} }} with {{M|N\ge N'}} which we know to exist by convergence, then:
 +
**** {{MM|\frac{\Vert f\Vert_\infty}{2N\delta^2}\eq\left\vert\frac{\Vert f\Vert_\infty}{2N\delta^2}\right\vert<\epsilon':\eq\frac{1}{2}\epsilon}}
 +
 +
And so: {{M|S_1+S_2<\frac{1}{2}\epsilon+\frac{1}{2}\epsilon\eq\epsilon}} as required.
 
==References==
 
==References==
 
<references/>
 
<references/>
 
{{Theorem Of|Analysis|Real Analysis|Functional Analysis}}
 
{{Theorem Of|Analysis|Real Analysis|Functional Analysis}}

Latest revision as of 08:17, 28 December 2016

Stub grade: A*
This page is a stub
This page is a stub, so it contains little or minimal information and is on a to-do list for being expanded.The message provided is:
Proper stub
  • and really crap this page needs some formal logic saying what it shows, ie:
    • fC([0,1],R)ϵ>0nN[fBN(f)ϵ] or something
This page is a dire page and is in desperate need of an update.

Statement

Let C([a,b],R) denote the vector space of continuous functions from the closed interval [a,b]:={xR | axb}R to the real line, R. We consider this space with the sup-norm on continuous real functions:

  • :C([a,b],R)R given by :fSupx[a,b](|f(x)|) where ||:RR is, as usual, the absolute value.

Then we claim for fC([a,b],R) and ϵ>0 given:

  • there exists a polynomial, p(x):RR such that
    • fpϵ (i.e. d(f,p)ϵ where d is the metric induced by the norm )

Proof

Here we consider the interval [a,b] to be just [0,1] - the closed unit interval, and fC([0,1],R). It is easy to take a g:[a,b]R, first "contract it" so it is on [0,1] then apply the reverse of that "contraction" to put the resulting polynomial on [a,b].

  • The contraction might be: c:tt(ba)+a, for t=0 this is a and for t=1 it is b. So g(c(x)) is now defined on [0,1]

As f is uniformly continuous we know:

  • ϵ>0δ>0x,y[a,b][d(x,y)<δd(f(x),f(y))<ϵ]

Pick ϵ:=12ϵ, then:

  • δ>0x,y[a,b][|xy|<δ|f(x)f(y)|<ϵ2]

Note that:

  • f(x)Bn(f;x)=f(x)ni=0f(in)nCixi(1x)ni - where Bn(f;x) is the nth Bernstein polynomial of f evaluated at x
    =f(x)ni=0nCixi(1x)ni=1ni=0f(in)nCixi(1x)ni
    =ni=0f(x)nCixi(1x)nini=0f(in)nCixi(1x)ni
    =ni=0(f(x)f(in))nCixi(1x)ni

Next see that:

  • |f(x)Bn(f,x)|=|ni=0(f(x)f(in))nCixi(1x)ni|
    ni=0|(f(x)f(in))nCixi(1x)ni| - by triangle inequality
    =ni=0(|(f(x)f(in))|nCixi(1x)ni) - as nCixi(1x)ni is clearly 0
    =ni=0nCixi(1x)ni|f(x)f(in)|

Note that if |xin|<δ then |f(x)f(in)|<ϵ2 - as such our summation splits into two parts:

  • |f(x)Bn(f,x)|0ini such that |xin|<δ(nCixi(1x)ni|f(x)f(in)|):=S1+0ini such that |xin|δ(nCixi(1x)ni|f(x)f(in)|):=S2
    • Which we write more simply as |f(x)Bn(f,x)|S1+S2

Looking carefully at S1:=0ini such that |xin|<δ(nCixi(1x)ni|f(x)f(in)|)

we see that |xin|<δ for the things in this summation, by the uniform continuity property though we see x,y[a,b][|xy|<δ|f(x)f(y)|<ϵ2], so we see:

  • |f(x)f(in)|<ϵ2
    • Thus: S1:=0ini such that |xin|<δ(nCixi(1x)ni|f(x)f(in)|)
      <0ini such that |xin|<δ(nCixi(1x)niϵ2)
      =ϵ20ini such that |xin|<δ(nCixi(1x)ni)
    • Note that ni=0nCixi(1x)ni=1, so we see:
      • 0ini such that |xin|<δ(nCixi(1x)ni)1
        as a subset of the exact same terms

So S1<ϵ2

Grade: A*
This page requires some work to be carried out
Some aspect of this page is incomplete and work is required to finish it
The message provided is:
S2 is more tricky
  • Recall S2:=0ini such that |xin|δ(nCixi(1x)ni|f(x)f(in)|)
    0ini such that |xin|δ(nCixi(1x)ni 2f)
    =2f0ini such that |xin|δ(nCixi(1x)ni)
    • By the lemma: x,y[0,1]R[|f(x)f(y)|2f] - which is easily proved.
    =2f0ini: (inx)2δ2n2(nCixi(1x)ni)
    • By simple re-writing of |xin|δ -see annotations on lecture notes if stuck, shouldn't be stuck though
    =2f0ini: (inx)2δ2n2((inx)2δ2n2nCixi(1x)ni)
    • As (inx)2δ2n2 we see (inx)2δ2n21
    =2fδ2n20ini: (inx)2δ2n2((inx)2 nCixi(1x)ni)
    2fδ2n2nk=0((inx)2 nCixi(1x)ni)
    • As the added terms are clearly +ve
    =2fδ2n2nx(1x)
    - by the third part of the lemma seemingly missing from this page (the summation = this)
    142fnδ2
    as x(1x) attains its maximum at x=12 and that maximum is 14
    =f2nδ2

Note that:

  • limn(f2nδ2)=f2δ2limn(1n)=0
    - so that limit exists and converges, thus we see:
    • ϵ>0NNnN[nN|f2nδ2|<ϵ]
      (by definition of a convergent sequence)
      • Pick ϵ:=12ϵ and pick NN with NN which we know to exist by convergence, then:
        • f2Nδ2=|f2Nδ2|<ϵ:=12ϵ

And so: S1+S2<12ϵ+12ϵ=ϵ as required.

References