0% found this document useful (0 votes)
19 views14 pages

Weierstrass

The document summarizes key results about sequences of functions and uniform convergence. It defines pointwise and uniform convergence of sequences of functions. It proves several theorems characterizing uniform convergence, including that a uniformly convergent sequence of continuous functions has a continuous limit, and Dini's theorem stating that a decreasing sequence of continuous functions converging pointwise on a compact space converges uniformly. Examples are given showing the necessity of assumptions like compactness and monotonicity.

Uploaded by

Natalia Grijalba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views14 pages

Weierstrass

The document summarizes key results about sequences of functions and uniform convergence. It defines pointwise and uniform convergence of sequences of functions. It proves several theorems characterizing uniform convergence, including that a uniformly convergent sequence of continuous functions has a continuous limit, and Dini's theorem stating that a decreasing sequence of continuous functions converging pointwise on a compact space converges uniformly. Examples are given showing the necessity of assumptions like compactness and monotonicity.

Uploaded by

Natalia Grijalba
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Summer Programme 2021

Approximating continuous functions by smooth functions:


The Stone-Weierstrass Theorem
Satvik Saha
19MS154

Indian Institute of Science Education and Research, Kolkata,


Mohanpur, West Bengal, 741246, India.

1 Sequences of functions
Definition 1.1. Let {fn } be a sequence of functions on a set E. We say that {fn } converges
pointwise to a function f on E if the sequences fn (x) ! f (x) for every x 2 E. We write fn ! f
pointwise on E.
Definition 1.2. Let {fn } be a sequence of functions on a set E. We say that {fn } converges
uniformly to a function f on E if given ✏ > 0, there exists n0 2 N such that d(fn (x), f (x)) < ✏
for all x 2 E, n n0 . We write fn ! f uniformly on E.
Lemma 1.1. Let G be a collection of functions on a set E, and let f be a function on E with
the following property: given ✏ > 0, there exists g 2 G such that |g(x) f (x)| < ✏ for all x 2 E.
Then, f is the uniform limit of functions in G.
Proof. For all n 2 N, let gn 2 G be the function such that |gn (x) f (x)| < 1/n for all x 2 E.
Then, gn ! f uniformly on E. To prove this, let ✏ > 0. Using the Archimedean property of the
reals, pick n0 2 N such that n0 ✏ > 1. Thus, for all x 2 E and n n0 , we have
1 1
|gn (x) f (x)| <  < ✏.
n n0
Theorem 1.2 (Cauchy criterion). Let {fn } be a sequence of real valued functions on a set E.
This sequence of functions converges uniformly on E if and only if given ✏ > 0, there exists
n0 2 N such that
|fn (x) fm (x)| < ✏
for all x 2 E, m, n n0 .
Proof. First, suppose that the sequence of real valued functions {fn } converges uniformly on
E, with fn ! f uniformly. Given ✏ > 0, we choose n0 2 N such that for all x 2 E and n n0 ,

|fn (x) f (x)| < .
2
Now, for all x 2 E and m, n n0 , we have

|fn (x) fm (x)| = |(fn (x) f (x)) (fm (x) f (x))|


 |fn (x) f (x)| + |fm (x) f (x)|
✏ ✏
< +
2 2
= ✏.

1
Thus, {fn } is a Cauchy sequence.
Next, suppose that {fn } is a Cauchy sequence. Given ✏ > 0, choose n0 2 N such that for all
x 2 E and m, n n0 , we have

|fn (x) fm (x)| < .
2
Now for each point x 2 E, the Cauchy criterion for convergence of a sequence of real numbers
guarantees that limn!1 fn (x) exists. Thus, we can define the function f on E such that
f (x) = limn!1 fn (x), hence fn ! f pointwise. Fix x0 2 E, and pick n00 2 N such that for all
m n00 , we have |fm (x0 ) f (x0 )| < ✏/2. Choose m = max(n0 , n00 ), whence for all n n0 , we
have
|fn (x0 ) f (x0 )| = |(fn (x0 ) fm (x0 )) + (fm (x0 ) f (x0 ))|
 |fn (x0 ) fm (x0 )| + |fm (x0 ) f (x0 )|
✏ ✏
 +
2 2
= ✏.
Note that x0 was arbitrary, with n0 chosen independently of x0 . Thus, {fn } converges uniformly
on E.

Theorem 1.3. Let {fn } be a sequence of real valued functions on a set E, and let f be a real
valued function on X such that fn ! f pointwise. For all n 2 N, set
Mn = sup |fn (x) f (x)|
x2E

Then, fn ! f uniformly on E if and only if Mn ! 0.


Proof. First, suppose that Mn ! 0. This means that given ✏ > 0, we can find n0 2 N such that
for all n n0 , we have
Mn = sup |fn (x) f (x)| < ✏.
n2X
This directly gives
|fn (x) f (x)|  sup |fn (x) f (x)| < ✏
x2X
for all x 2 E and n n0 , hence fn ! f uniformly on E.
Next, suppose that fn ! f uniformly on E. Let ✏ > 0 and pick n0 2 N such that for all
x 2 E and n n0 , we have |fn (x) f (x)| < ✏/2. Taking supremums gives

Mn = sup |fn (x) f (x)|  < ✏,
x2E 2
hence Mn ! 0.

Theorem 1.4. Let {fn } be a sequence of real valued bounded, functions on a set E, and let f
be a function on E such that fn ! f uniformly. Then, f is bounded on E.
Proof. Using the uniform convergence of {fn }, choose n0 2 N such that
|fn (x) f (x)| < 1
for all x 2 E and n n0 . Specifically, this holds for n = n0 so for all x 2 E, we have
fn (x) 1 < f (x) < fn (x) + 1.
However, fn is bounded so there exists M > 0 such that |fn (x)| < M for all x 2 E, hence
M 1 < f (x) < M + 1
or |f (x)| < M + 1 for all x 2 E.

2
Theorem 1.5 (Uniform limit theorem). Let {fn } be a sequence of continuous functions on
a metric space X, and let f be a function on X such that fn ! f uniformly. Then, f is
continuous on X.
Proof. Fix x0 2 X, and let ✏ > 0. Use the uniform convergence of {fn } to pick n0 2 N such
that for all x 2 X and n n0 ,

|fn (x) f (x)| < .
3
Note that the above also holds specifically at x = x0 . Use the continuity of each fn to choose
> 0 such that for all x 2 X satisfying |x x0 | < , we have

|fn (x0 ) fn (x)| < .
3
Set n = n0 , whence for all x 2 X satisfying |x x0 | < , we have

|f (x0 ) f (x)| = |(f (x0 ) fn (x0 )) + (fn (x0 ) fn (x)) + (fn (x) f (x))|
 |f (x0 ) fn (x0 )| + |fn (x0 ) fn (x)| + |fn (x) f (x)|
✏ ✏ ✏
 + +
3 3 3
= ✏.

Thus, f is continuous at x0 . Since x0 was chosen arbitrarily, f is continuous on X.

Theorem 1.6 (Dini’s theorem). Let {fn } be a sequence of continuous real valued functions on
a compact metric space K such that fn fn+1 for all n 2 N, and let f be a continuous function
on K such that fn ! f pointwise. Then, fn ! f uniformly on K.
Proof. Let ✏ > 0. For each n 2 N, set gn = fn f and note that the each gn is continuous,
with gn gn+1 and gn ! 0 pointwise on K. Since {gn } is a decreasing sequence, we must have
gn 0 for all n 2 N. It is sufficient to show that gn ! 0 uniformly on K, i.e. there exists n0 2 N
such that for all x 2 K and n n0 , we have gn (x) < ✏.
Define the sets
Gn = gn 1 [✏, 1) = {x 2 K : gn (x) ✏}.
Since each gn is continuous, the sets Gn which are the pre-images of closed sets in R are closed.
Furthermore, Gn is the intersection of the closed set Gn and the compact set K, hence each Gn
is compact. Note that if x 2 Gn+1 for some n 2 N, then gn+1 (x) ✏ =) gn (x) gn+1 (x) ✏
so x 2 Gn ; this means that Gn ◆ Gn+1 for all n 2 N. Thus, if any Gn0 happened to be empty,
then all subsequent Gn n0 = ; as well.
Suppose
T that all Gn are non-empty. Then the countable intersection of nested compact sets
G = n2N Gn must also be non-empty. Pick x0 2 G, and note that x0 2 Gn for all n 2 N,
which means gn (x0 ) ✏ for all n 2 N. This contradicts the fact that gn (x0 ) ! 0 pointwise.
Thus, there must be some Gn0 = ;, hence Gn n0 = ;. In other words, for all n n0 , there is
no x 2 K such that gn (x) ✏. This completes the proof.

Remark. Note that the continuity of f , the compactness of K, and the monotonicity of {fn }
are all essential.
(a) Consider fn : [0, 1] ! R, x 7! xn , and note that xn xn+1 on [0, 1]. We have fn ! f
pointwise on the compact interval [0, 1], where
(
0, if 0  x < 1,
f : [0, 1] ! R, x 7!
1, if x = 1.

However, f is not continuous, and indeed fn 6! f uniformly on [0, 1] by the contrapositive


of Theorem 1.5.

3
Figure 1: The Bernstein polynomials of degree 7. The peaks at x = k/7 have been marked.

(b) Consider fn : (0, 1) ! R, x 7! xn , with xn xn+1 . We have fn ! 0 pointwise on the open


interval (0, 1). However, (0, 1) is not compact, and indeed fn 6! 0 uniformly on (0, 1).
Note that 0 < 2 1/n < 1 for all n 2 N, and fn (2 1/n ) = 1/2. Thus, there is no n0 2 N
such that |fn (x)| < 1/4 for all n n0 .

(c) Consider the triangular spike functions


8
>
<nx, if 0  x  1/2n,
fn : [0, 1] ! R, x 7! 1 nx, if 1/2n < x  1/n,
>
:
0, if 1/n < x  1.

Note that fn ! 0 pointwise on the compact interval [0, 1], because given any x0 2 (0, 1],
we can choose sufficiently large n0 2 N such that n0 x0 > 1, hence fn (x0 ) = 0 for all
n n0 ; if x0 = 0, then fn (0) = 0 for all n 2 N anyway. However, the sequence {fn } is not
monotonic, and indeed this convergence is not uniform on [0, 1]. Note that fn (1/2n) = 1/2
for all n 2 N, hence sup |fn (x)| 1/2 6! 0.

2 The Weierstrass Approximation Theorem


Definition 2.1 (Bernstein polynomials). The Bernstein polynomial Bnk (x) for integers 0  k 
n is defined as ✓ ◆
k n k
Bn (x) = x (1 x)n k .
k

Remark. Each polynomial Bnk on the interval [0, 1] peaks at x = k/n. See Figure 1.

4
Figure 2: The Bernstein polynomial expansion of order 20 (orange) of the curve f (x) =
ex cos(2⇡x) (red) on [0, 1]. Each term of the sum has been shown in blue. Note that only
the marked points at x = k/20 have been sampled from f .

Definition 2.2 (Bernstein expansions). Let f be a real valued function on [0, 1]. The Bernstein
polynomial expansion of f is defined as
Xn ✓ ◆ ✓ ◆
n k n k k
Bn (f, x) = x (1 x) f .
k n
k=0

Lemma 2.1. The following identities hold.


x n 1 2
Bn (1, x) = 1, Bn (x, x) = x, Bn (x2 , x) = + x .
n n
Proof. The Binomial Theorem gives the expansion
Xn ✓ ◆
n k n
(x + y)n = x y k
.
k
k=0

Taking a partial derivative with respect to x and multiplying by x/n, we have


Xn ✓ ◆
n 1 n
n(x + y) = kxk 1 y n k ,
k
k=0
Xn ✓ ◆ ✓ ◆
n k n k k
x(x + y)n 1 = x y .
k n
k=0

5
Repeating the same procedure, we have
n ✓ ◆
X ✓ ◆
n 1 n 2 n k 1 n k k
(x + y) + (n 1)x(x + y) = kx y ,
k n
k=0
Xn ✓ ◆ ✓ ◆2
x n 1 n k n k
(x + y)n 1
+ 2
x (x + y) n 2
= x y k
.
n n k n
k=0

Finally, set y = 1 x upon which all x + y terms become 1 and the right hand sides become
the Bernstein expansions of 1, x, and x2 . This establishes the desired identities.

Theorem 2.2. Let f be a real valued continuous function on the closed interval [0, 1], and let
✏ > 0. There exists a polynomial p such that |p(x) f (x)| < 0 on x 2 [0, 1].
Proof. We claim that a Bernstein polynomial expansion Bn (f, x) of sufficiently high order sat-
isfies the given conditions. Let ✏ > 0. Now, the continuity of f on the compact interval
[0, 1] implies that it is uniformly continuous and bounded. Thus, there exists > 0 such that
whenever |x x0 | < for x, x0 2 [0, 1], we have

|f (x) f (x0 )| < .
2
Fix x0 2 [0, 1]. Observe that M = supx2[0,1] |f (x)| is finite. Thus, in those cases where
|x x0 | , use |x x0 |/ 1 and the triangle inequality to write
✓ ◆
x x0 2
|f (x) f (x0 )|  2M  2M .

Thus, for all x 2 [0, 1] we have


✓ ◆2
x x0 ✏
|f (x) f (x0 )|  2M + .
2
Write

Bn (f, x) f (x0 ) = Bn (f, x) Bn (1, x) f (x0 )


Xn ✓ ◆ ✓ ◆ X n ✓ ◆
n k n k k n k
= x (1 x) f x (1 x)n k
f (x0 )
k n k
k=0 k=0
Xn ✓ ◆  ✓ ◆
n k n k k
= x (1 x) f f (x0 ) .
k n
k=0

The triangle inequality, followed by our estimate of |f (x) f (x0 )|, gives
n ✓ ◆
X ✓ ◆
n k n k k
|Bn (f, x) f (x0 )|  x (1 x) f f (x0 )
k n
k=0
n ✓ ◆ " ✓ ◆ #
X n k k/n x0 2 ✏
 x (1 x)n k
2M +
k 2
k=0
2M ✏
= 2
Bn ((x x0 )2 , x) +
2
2M ⇥ ⇤ ✏
= Bn (x2 , x) 2x0 Bn (x, x) + x20
2
+
 2
2M x x2 ✏
= 2 + x2 2xx0 + x20 + .
n n 2

6
The term in square brackets can be rearranged as
1
(x x0 ) 2 + (x x2 ).
n
Use (x 1/2)2 0 to conclude that x x2  1/4, and evaluate the expression at x = x0 to
write
M ✏
|Bn (f, x0 ) f (x0 )|  2
+ .
2n 2
Therefore, setting n0 > M/2✏ 2 , we see that

|Bn0 (f, x0 ) f (x0 )| < ✏.

Since x0 2 [0, 1] was arbitrary, this concludes the proof.

Figure 3: The first 250 Bernstein expansions of ex cos(2⇡x) on [0, 1]. Note that convergence is
fairly slow.

Corollary 2.2.1. Given any real valued continuous function f on [0, 1], there exists a sequence
of polynomials {pn } such that pn ! f uniformly on [0, 1].

Corollary 2.2.2. The same holds for any real valued continuous function on some closed in-
terval [a, b].

7
Proof. Consider the continuous bijection

' : [0, 1] ! [a, b], x 7! (b a)x + a.

For an arbitrary real valued continuous function f : [a, b] ! R, note that the composition
g = f ' is also continuous with domain [0, 1]. Given ✏ > 0, we find a polynomial p such that

|p(x) f ('(x))| = |p(x) g(x)| < ✏

on [0, 1], which means that


1
|p(' (x)) f (x)| < ✏
on [a, b]. Now, ' 1 (x) = (x a)/(b a), hence p ' 1 is also a polynomial, as desired.

3 Metric spaces of continuous functions


Theorem 3.1. Let X be a metric space and let C(X) denote the set of all real valued, contin-
uous, bounded functions on X. Define the distance function

d(f, g) = sup |f (x) g(x)|


x2X

for all f, g 2 C(X). Then, C(X) is a metric space.

Proof. Let f, g, h 2 C(X) be arbitrary. The non-negativity of d(f, g) is evident since it is


the supremum of non-negative quantities. Furthermore, f and g are bounded so d(f, g) =
sup |f g|  sup |f | + sup |g| is finite. We clearly have d(f, f ) = 0; conversely, if d(f, g) = 0,
then 0  sup |f g| = 0 forcing |f (x) g(x)| = 0 on X, hence f = g. Symmetry of d is evident
from the fact that |f (x) g(x)| = |g(x) f (x)| everywhere, hence d(f, g) = d(g, f ). Finally,
the triangle inequality gives

|f (x) h(x)|  |f (x) g(x)| + |g(x) h(x)|,

whence taking supremums immediately gives d(f, h)  d(f, g) + d(g, h).

Theorem 3.2. The metric space C(X) is complete.

Proof. We claim that every Cauchy sequences in C(X) converges in C(X)


Let {fn } be a Cauchy sequence in C(x). Given any ✏ > 0 we can find n0 2 N such that for
all m, n n0 , d(fn , fm ) < ✏. Thus,

|fn (x) fm (x)|  sup |fn (x) fm (x)| = d(fn , fm ) < ✏


x2X

for all x 2 X and m, n n0 , hence Theorem 1.2 says that fn ! f uniformly on X. Theorem 1.3
says that d(fn , f ) ! 0. Since each fn is bounded and continuous, Theorems 1.4 and 1.5
guarantee that f is also bounded and continuous. Thus, f 2 C(X), hence the Cauchy sequence
{fn } converges in C(X).

4 Algebras of functions
Definition 4.1. A family A of real valued functions on a set E is called an algebra if f +g 2 A,
f g 2 A, and cf 2 A for all f, g 2 A and c 2 R.

Definition 4.2. An algebra A is uniformly closed if given any sequence of functions {fn } in A
such that fn ! f uniformly, we have f 2 A.

8
Definition 4.3. The uniform closure B of an algebra A is the set of all functions which are
limits of uniformly convergent sequences of functions in A.

Theorem 4.1. The uniform closure B of an algebra A of bounded functions on a set E is a


uniformly closed algebra.

Proof. Let f, g 2 B. By construction, we can choose sequences {fn } and {gn } in A such that
fn ! f and gn ! g uniformly. Since each fn is bounded, we see that f is also bounded by
Theorem 1.4, and the same applies for g. In order to prove that B is an algebra, we show that
fn + gn ! f + g, fn gn ! f g, and cfn ! cf uniformly for all c 2 R.

(a) Let ✏ > 0, and let n1 , n2 2 N such that for all x 2 E,



|fn (x) f (x)| < , for all n n1 ,
2

|gn (x) g(x)| < , for all n n2 .
2
Thus, for all x 2 E and n max(n1 , n2 ), we have

|(fn (x) gn (x)) (f (x) + g(x))| < |fn (x) f (x)| + |gn (x) g(x)| < ✏.

(b) Let ✏ > 0. Note that

|fn (x)gn (x) f (x)g(x)| = |fn (x)gn (x) fn (x)g(x) + fn (x)g(x) f (x)g(x)|
 |fn (x)||gn (x) g(x)| + |fn (x) f (x)||g(x)|.

Thus, let n0 2 N be such that for all x 2 E and n n0 , we have |fn (x) f (x)| < 1, hence
|fn (x)| < |f (x)| + 1. Since f is bounded, this means that we can choose M1 > 0 such that
|fn (x)| < M1 for all x 2 E, n n0 . Similarly, pick M2 > 0 such that |g(x)| < M for all
x 2 E. Finally, pick n1 , n2 2 N such that for all x 2 E,

|fn (x) f (x)| < , for all n n1 ,
2M2

|gn (x) g(x)| < , for all n n2 .
2M1
It immediately follows that for all x 2 E and n max(n0 , n1 , n2 ), we have
✏ ✏
|fn (x)gn (x) f (x)g(x)| < M1 + M2 = ✏.
2M1 2M2
Remark. Without the requirement of boundedness, we see that x + 1/n ! x uniformly on
R, but (x + 1/n)2 = x2 + 2x/n + 1/n2 ! x2 only pointwise on R, not uniformly.

(c) Let ✏ > 0 and c 2 R. If c = 0, we trivially have 0 ! 0 uniformly for the constant zero
functions. Otherwise, pick n0 2 N such that for all x 2 E and n n0 ,

|fn (x) f (x)| < .
|c|

This immediately shows that for all x 2 E and n n0 ,

|cfn (x) cf (x)| = |c||fn (x) f (x)| < ✏.

9
To prove that B is uniformly closed, we must show that it contains all its uniform limits.
Let {hn }n2N be a sequence in B such that hn ! h uniformly for some function on E. Now, for
each hn 2 B, there exists a sequence {hni }i2N in A such that hni ! hn uniformly.
Let ✏ > 0, and pick n0 2 N such that for all x 2 E and n n0 , we have

|hn (x) h(x)| < .
2
Next, for each such n n0 , pick in 2 N such that for all x 2 E and i in , we have

|hnin (x) hn (x)| < .
2
Now, for all x 2 E and n n0 , observe that

|hnin (x) h(x)| = |(hnin (x) hn (x)) + (hn (x) h(x))|


 |hnin (x) hn (x)| + |hn (x) h(x)|
✏ ✏
< +
2 2
= ✏.

Thus, the sequence {hnin }n2N in A converges uniformly to h, so h 2 B. This proves that B is
uniformly closed.

Theorem 4.2. Let A be an algebra of real valued, bounded functions on a set E and let B be
its uniform closure. If f, g 2 B, then the functions |f | 2 B, max(f, g) 2 B, min(f, g) 2 B.

Proof. Let ✏ > 0. Since f is bounded, there exists M > 0 such that |f (x)| < M for all x 2 E.
Using Theorem 2 and its corollaries, pick a polynomial p such that for all x 2 [ M, +M ],

|p(x) |x|| < ✏.

Now, let g = p f , which is a polynomial of f . Since B is an algebra, it contains


P all nnatural
powers f 2 B, the scalar multiples cf 2 B, and the finite linear combinations
n n cn f hence
we have g 2 B Thus, for all x 2 E we have f (x) 2 [ M, +M ], so

|g(x) f (x)| = |p(f (x)) |f (x)|| < ✏.

Since ✏ > 0 was arbitrary and B is uniformly closed, we have shown that |f | 2 B.
To show that max(f, g) 2 B and min(f, g) 2 B, simply observe that
1 1
max(f, g) = (f + g) + |f g|,
2 2
1 1
min(f, g) = (f + g) |f g|.
2 2
Note that these denote the pointwise maximum and minimum.

Definition 4.4. A family A of functions on a set E is said to separate points on E if given


distinct points x1 , x2 2 E, there exists a function f 2 A such that f (x1 ) 6= f (x2 ).

Definition 4.5. A family A of functions on a set E is said to vanish at no point of E if given


x 2 E, there exists a function f 2 A such that f (x) 6= 0.

Theorem 4.3. Let A be an algebra of real valued functions on E which separates points on E
and vanishes at no point of E. Let x1 , x2 2 E be distinct, and let c1 , c2 2 R. Then there exists
a function f 2 A such that f (x1 ) = c1 and f (x2 ) = c2 .

10
Proof. Since A vanishes at no point of E, choose f1 , f2 2 A such that f1 (x1 ) 6= 0 and f2 (x2 ) 6= 0.
Since A separates points on E, pick the function g 2 A such that g(x1 ) 6= g(x2 ). Now, define
the functions h1 , h2 on E as

g(x) g(x2 ) f1 (x) g(x) g(x1 ) f2 (x)


h1 (x) = , h2 (x) = .
g(x1 ) g(x2 ) f1 (x1 ) g(x2 ) g(x1 ) f2 (x2 )

Observe that h1 , h2 2 A (use (g g(x2 ))f1 = gf1 g(x2 )f1 2 A and the analogous relation),
with h1 (x1 ) = h2 (x2 ) = 1 and h1 (x2 ) = h2 (x1 ) = 0 (essentially, hi (xj ) = ij ). Finally, define
the function f on E as
f (x) = c1 h1 (x) + c2 h2 (x).
Clearly, f 2 A with f1 (x1 ) = x1 and f2 (x2 ) = c2 as desired.

Remark. This is essentially the process of Lagrange interpolation. In order to interpolate distinct
x1 , . . . , xn with c1 , . . . , cn , use the above theorem to choose the functions hij for distinct i, j such
that hij (xi ) = 1, hij (xj ) = 0 for each pair i, j. Thus, the function
Y
hi = hij
i6=j

satisfies hi (xi ) = 1 and hi (xj6=i ) = 0. The desired interpolating function is thus


n
X
f= c i hi .
i=1

5 The Stone-Weierstrass Theorem


Theorem 5.1. Let A be an algebra of real continuous functions on a compact metric space
K. If A separates points on K and vanishes at no point of K, then the uniform closure of A
consists of all real valued, continuous functions on K.

Proof. Let B be the uniform closure of A. Since A consists of real valued, continuous functions
on a compact interval, they are all uniformly continuous and bounded, with their uniform
limits being continuous as well. Thus, B is an algebra of real valued, uniformly continuous and
bounded functions. To show that B is precisely C(K), we fix f 2 C(K) and show that f is the
uniform limit of functions from B. Since B is uniformly closed, this would imply f 2 B, thus
completing the proof.
Let ✏ > 0, and let s, t 2 K. Using Theorem 4.3, find functions gst 2 B such that gst (s) = f (s)
and gst (t) = f (t). Fix s, and note that for each t 2 K, the continuity of gst means that there
exists an open set Ust ✓ K such that

gst (x) > f (x) ✏

for all x 2 Ust . Now, the collection of open sets {Ust }t2K clearly covers the compact set K,
hence we can choose a finite sub-cover {Ust }t2T where T ⇢ K is finite. Define the function gs
on K as
gs = max gst .
t2T

By finitely many applications of Theorem 4.2, we have gs 2 B. Furthermore, given x 2 K, we


can choose t 2 T such that x 2 Ust , hence gs (x) gst (x) > f (x) ✏. Thus, for all x 2 K, we
have
gs (x) > f (x) ✏.

11
Figure 4: The construction of gs . Here, we only required three points T = {t1 , t2 , t3 }.

We repeat this process again, this time to obtain an upper bound. For each s 2 K, the
continuity of gs means that there exists an open set Us ✓ K such that

gs (x) < f (x) + ✏

for all x 2 Us . Now, the collection of open sets {Us }s2K covers the compact set K, hence we
choose a finite sub-cover {Us }s2S where S ⇢ K is finite. Define the function g on K as

g = min gs .
s2S

Again, Theorem 4.2 gives g 2 B, and given x 2 K, we can choose s 2 S such that x 2 Us ,
hence g(x)  gs (x) < f (x) + ✏. Furthermore, every gs obeys gs (x) > f (x) ✏ everywhere;
since g is the minimum of finitely many functions, given x 2 K we find s 2 S such that
g(x) = gs (x) > f (x) ✏. This shows that for all x 2 K,

f (x) ✏ < g(x) < f (x) + ✏,

or |g(x) f (x)| < ✏. Thus, f is the uniform limit of functions in B, proving that the uniform
closure of A is the set C(K).

12
Figure 5: The construction of g. Again, we only required three points S = {s1 , s2 , s3 }.

Corollary 5.1.1. Let K be a compact subset of the Euclidean metric space Rn , and let P be the
algebra of polynomials in n variables on K. Then, given any real valued, continuous function f
on K, there exists a sequence of polynomials {pn } ⇢ P such that pn ! f uniformly on K.
Proof. We need only check that P is an algebra of real continuous functions which separates
points on K and vanishes at no point of K, after which the result follows directly from the
above theorem.
Note that every polynomial function p 2 P is of the form
X
p(x) = ci1 ,i2 ,...,in xi11 xi22 . . . xinn .
i1 ,i2 ,...,in

Each term in the finite sum is the product of projection maps (x1 , . . . , xn ) 7! xi , which are
continuous. Thus, the polynomial p is indeed real valued and continuous, with the coefficients
ci1 ...in 2 R. It is evident that given a scalar c 2 R, we have cp 2 P since the result is of the
same form. Given p, q 2 P, it is also evident that p + q 2 P; term by term multiplication shows
that pq 2 P as well. Thus, P is an algebra.
To show that P vanishes nowhere on K, note that the constant polynomial p(x1 , . . . , xn ) =
1 6= 0 on any K ✓ Rn . To show that P separates points on K, pick y, w 2 K where y 6= w.
Then yj 6= wj for at least one index j, so the polynomial p(x1 , . . . , xn ) = xj separates w and y.
Applying the Stone-Weierstrass Theorem completes the proof.

Corollary 5.1.2. Let F be the algebra of functions on [0, ⇡] of the form


N
X
f (x) = a0 + an cos(nx) + bn sin(nx),
n=1

for real coefficients ai , bi . Then, given any real valued, continuous function f on [0, ⇡], there
exists a sequence of functions {fn } ⇢ F such that fn ! f uniformly on [0, ⇡].
Proof. Like before, we need only check that F satisfies the requirements of the Stone-Weierstrass
Theorem.
It is clear that F is closed under sums and scalar multiples. To show that it is closed under
products, we supply the following identities.
1
sin(nx) sin(mn) = [cos((n m)x) cos((n + m)x)] ,
2

13
1
sin(nx) cos(mn) = [sin((n + m)x) + sin((n m)x)] ,
2
1
cos(nx) cos(mn) = [cos((n + m)x) + cos((n m)x)] .
2
Thus, F is indeed an algebra. Now, F contains the constant function x 7! 1, hence F vanishes
nowhere on [0, ⇡]. Furthermore, given distinct x1 , x2 2 [0, ⇡], we must have cos(x1 ) 6= cos(x2 ),
because the map x 7! cos(x) is strictly decreasing on [0, ⇡], and hence is injective. Thus, F
separates points on [0, ⇡].

Remark. Note that F does not separate the points 0 and 2⇡, due to the periodicity of the cosine
and sine functions. In order to extend the domain to [0, ⇡↵], we may redefine F to consist of
functions of the form
N
X
f (x) = a0 + an cos(nx/↵) + bn sin(nx/↵).
n=1

Remark. Instead, consider the unit circle S 1 (which is compact under the usual Euclidean
topology on R2 ) as our domain. Let F̃ be the algebra of functions of the form
N
X
f˜(eix ) = a0 + an cos(nx) + bn sin(nx).
n=1

Here, we use the usual identification of S 1 with the unit circle in C described by the set of
points satisfying |z| = 1. The closure of this algebra is the set of all real continuous functions
on S 1 , each of which can be identified with a unique real continuous, ↵-periodic function on R.

I : F ! F̃, f 7! f˜, f˜(eix ) = f (↵x/2⇡).

Thus, given an arbitrary real valued, continuous function f on R with period ↵ and ✏ > 0, pick
g̃ 2 F̃ such that |g̃(z) f˜(z)| < ✏ on S 1 . Thus, for all x 2 R, we have

|g(x) f (x)| = |g̃(e2⇡ix/↵ ) f˜(e2⇡ix/↵ )| < ✏.

Theorem 5.2. Let A be an algebra on a compact metric space K which satisfies the require-
ments of the Stone-Weierstrass Theorem. Then, given f 2 C(K), there exists a monotonically
decreasing sequence of functions from A which converge uniformly to f on K.

Proof. For all n 2 N, define the functions fn = f + 2/3n and use the Stone-Weierstrass theorem
to select functions gn 2 A such that
1
|gn (x) fn (x)| <
3n
everywhere on K. As a result, each gn satisfies
1 1
f+ n
< gn < f + n 1
3 3
on K. This immediately gives gn > gn+1 for all n 2 N. Furthermore, for all x 2 K, we have
1
|gn (x) f (x)| < !0
3n 1
which establishes gn ! f uniformly on K by Theorem 1.3.

14

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy