notes on weierstrass approximation theorem

by math154, Jul 4, 2014, 10:22 PM

http://en.wikipedia.org/wiki/Stone%E2%80%93Weierstrass_theorem#Weierstrass_approximation_theorem

First instinct is to use Lagrange interpolation. Runge's phenomenon says equally spaced nodes are bad for this. More generally even smarter things like Chebyshev nodes are bad. See comments here for some intuition: high degree means greater oscillations in between nodes, as we've only controlled nodes perfectly and it's thus hard to bound stuff between nodes. (On the other hand, I don't see good intuition a priori why something like Chebyshev nodes shouldn't work, it's just that it's more plausible that it won't work than a "smoother/more-averaged-out" approximation. In fact the Wikipedia says all absolutely continuous guys are good with Chebyshev so blah.)

Let's do a continuous/smoother version of Lagrange interpolation instead. Analogous to Lagrange interpolation polynomials ($p_k(x)$ with $p_k(x_k) = 1$ and $p_k(x_j) = 0$ for $j\ne k$), we want interpolation polynomials $p_t(x)$ such that $p_t(x) \approx 1$ when $x \approx x_t$ for some bijection $t\to x_t$ (and $p_t(x)$ quickly decays as $x$ leaves $x_t$); for simplicity we just use $x_t := t$, but perhaps in other contexts we'd need to do something more complicated? We'll then take $P(x) = \int_0^1 f(t) p_t(x) dt$; this is apparently related to blurring; actually, this has some issues with endpoints, but if we first reduce to $f(0) = f(1) = 0$ (or write out stuff more carefully) then we're good to go. Anyway here $p_t(x) = c_n(1-(x-t)^2)^n$ works, where $n$ is a fixed positive integer and $c_n$ is just a scale factor to make $c_n \int_{-1}^1 (1-u^2)^n du = 1$, with an easy bound of $c_n < \sqrt{n}$. The rest is not hard, looking at $\int_{-1+x}^{1+x} f(x)p_t(x) dt - \int_0^1 f(t)p_t(x) dt$ using a uniform continuity bound to bound $|f(t)-f(x)|$ when $t-x$ is small. (We need uniform continuity since the same bound will apply independently of $x$.)

Some other links:

1. The probabilistic proof with Bernstein polynomials is interesting and I don't have great intuition for why this works while the Lagrange interpolation doesn't, except that the $f(i/n) [\binom{n}{i} x^i(1-x)^{n-i}]$ term has "smooth/well-behaved contribution" that peaks when $x\approx i/n$. (Compared with Lagrange where the contribution is $1$ at $x_i$, $0$ at the $x_{j\ne i}$, and perhaps unpredictable elsewhere. That probably makes stuff around $[x_{i-1},x_{i+1}]$ particularly hard to control, given that our main bound will probably come from uniform continuity of $f$ around $x_i$.)

2. http://en.wikipedia.org/wiki/Approximation_theory

3. http://mathoverflow.net/questions/91116/approximation-by-polynomials (and Hermite interpolation in general).

===

Another approach: is that it suffices to approximate the absolute value function on $[-1,1]$:
http://www.dms.uaf.edu/~maxwell/AY2011/math641/Weierstrass.pdf
http://83.143.248.39/faculty/aganchev/Real%20Analysis/old%20stuff/Walsh;%20on%20stone-weierstrass.pdf

By the polynomial interpolation Wikipedia link above though, we should be able to use Chebyshev nodes to do this. Fix $n\ge1$. Let $t_k = \cos{k\pi /n}$ for $0\le k\le n$, so $t_k \ge 0$ for $k \le n/2$ and $t_k \le 0$ for $k \ge n/2$. Then $g(x) := \prod_{k=0}^{n} (x-t_k) = \frac{\sqrt{x^2-1}}{2^n}[(x+\sqrt{x^2-1})^n - (x-\sqrt{x^2-1})^n]$ with $g(\cos\alpha) = 2^{-n}(i\sin\alpha)(2i\sin(n\alpha))$, so $|g(x)| \le 2^{-(n-1)}$ on $[-1,1]$.

But (by differentiating or using roots of unity) we have $\prod_{j\ne k}(t_k-t_j) = (-1)^k n2^{-(n-1)}$ if $0<k<n$, and $\prod_{j\ne k}(t_k-t_j) = (-1)^k n 2^{-(n-2)}$ otherwise. So letting $P_n(x) = \sum_{k=0}^{n} |t_k| \prod_{j\ne k} \frac{x-t_j}{t_k-t_j}$ and noting that $x = \sum_{k=0}^{n} t_k \prod_{j\ne k} \frac{x-t_j}{t_k-t_j}$, we have
\[ \frac{x - P_n(x)}{2} = g(x)\left(\frac{t_n}{x-t_n}\frac{2^{n-2}}{(-1)^n n} + \sum_{k > n/2}^{n-1} \frac{t_k}{x-t_k}\frac{2^{n-1}}{(-1)^k n}\right). \]
For $k>n/2$ we have $t_k<0$, so for fixed $x\ge0$, we have $\frac{t_k}{x-t_k} \ge -1$ a negative number with increasing magnitude as $k$ increases in $(n/2,n]$. So we have an alternating series, which bounds stuff by
\[ \frac{|x-P_n(x)|}{2} \le |g(x)| \frac{2^{n-2}}{n} (1 + 2\cdot 1) \le \frac{3}{2n} \]
for $x\ge0$. Of course by symmetry we get the same bound for $x\le0$, so $\lvert P_n(x) - |x| \rvert \le 3/n$ for all $x\in[-1,1]$, and we're done.

(Actually note that these are Chebyshev nodes of second kind, but not a huge difference...)

More reading:

4. Chebyshev equioscillation theorem, and theorem/reference about how well Chebyshev can do in general: http://www.siam.org/books/ot99/OT99SampleChapter.pdf

5. http://rjlipton.wordpress.com/2009/10/07/the-surprising-power-of-rational-functions/
This post has been edited 5 times. Last edited by math154, Jul 5, 2014, 6:32 AM

Comment

0 Comments

Archives
+ December 2013
+ December 2012
+ February 2012
+ January 2012
+ November 2011
+ April 2011
+ January 2011
+ November 2010
+ October 2010
+ December 2009
Hi
+ October 2009
+ July 2009
Shouts
Submit
  • !!!!!!!!

    by stroller, Mar 10, 2020, 8:15 PM

  • cooooooool
    nice blog

    by Navansh, Jun 4, 2019, 7:47 AM

  • Victor is one of the GOATs.

    by awesomemathlete, Oct 2, 2018, 11:48 PM

  • This blog is truly amazing.

    by sunfishho, Feb 20, 2018, 6:32 AM

  • what a gem.

    by vjdjmathaddict, May 10, 2017, 3:26 PM

  • Advertisement

    by ahaanomegas, Dec 15, 2013, 7:21 PM

  • yo dawg i heard you imo

    by Mewto55555, Aug 1, 2013, 10:25 PM

  • Good job on 5 problems on USAMO. I know that is a pretty bad score for someone as awesome as you on a normal USAMO, but no one got all 6 this year so it's GREAT!

    VICTOR WANG 42 ON IMO 2013 LET'S GO.

    See you at MOP this year (probably :) ).

    by yugrey, May 3, 2013, 10:32 PM

  • you can just write "Solution

    by math154, Feb 6, 2013, 6:33 PM

  • Hello. May I ask a stupid question: how to turn "Hidden Text" into hidden "Solution" tag?

    by ysymyth, Feb 1, 2013, 12:59 PM

  • This is a good blog.I like it.

    by Lingqiao, Jul 17, 2012, 4:21 PM

  • hi.i like the blog.

    by Dranzer, Feb 9, 2012, 12:25 PM

  • sorry, i've decided this blog is just for the random stuff i do. don't take it personally... you can always post things on your own blog

    by math154, Nov 23, 2011, 10:26 PM

  • what i got uncontribbed for posting a nice geo problem?

    by yugrey, Nov 23, 2011, 1:32 AM

  • Can I be a contributor?

    by Binomial-theorem, Oct 5, 2011, 12:39 AM

101 shouts
Tags
About Owner
  • Posts: 4302
  • Joined: Jan 21, 2008
Blog Stats
  • Blog created: Feb 26, 2009
  • Total entries: 96
  • Total visits: 191483
  • Total comments: 125
Search Blog
a