5.9. THE STONE WEIERSTRASS APPROXIMATION THEOREM 129

∫ 1

−1X[−δ ,δ ] (t) | f (x− t)− f (x)|φ m (t)dt +

∫ 1

−1X[−1,1]\[−δ ,δ ] (t) | f (x− t)− f (x)|φ m (t)dt

Choose δ so small that if |x− y| < δ , then | f (x)− f (y)| < ε . Also let M ≥ maxx | f (x)|.Then

|pm (x)− f (x)| ≤ ε

∫ 1

−1φ m (t)dt +2M

∫ 1

−1X[−1,1]\[−δ ,δ ] (t)φ m (t)dt

= ε +2M∫ 1

−1X[−1,1]\[−δ ,δ ] (t)φ m (t)dt

From 5.5, The second term is no larger than 2M∫ 1−1 X[−1,1]\[−δ ,δ ] (t)εdt ≤ 4Mε whenever

m is large enough. Hence, for large enough m, supx∈[−1,1] |pm (x)− f (x)| ≤ (1+4M)ε .Since ε is arbitrary, this shows that the functions pm converge uniformly to f on [−1,1].However, pm is actually a polynomial. To see this, change the variables and obtain

pm (x) =∫ x+1

x−1f (t)φ m (x− t)dt

which will be a polynomial. To see this, note that a typical term is of the form∫ x+1

x−1f (t)a(x− t)k dt,

clearly a polynomial in x. This proves Corollary 5.9.2 in case [a,b] = [−1,1]. In the generalcase, there is a linear one to one onto map l : [−1,1]→ [a,b].

l (t) =b−a

2(t +1)+a

Then if f ∈C ([a,b]) , f ◦ l ∈C ([−1,1]) . Hence there is a polynomial p such that

maxt∈[−1,1]

| f ◦ l (t)− p(t)|< ε

Then letting t = l−1 (x) = 2(x−a)b−a − 1, for x ∈ [a,b] ,maxx∈[a,b]

∣∣ f (x)− p(l−1 (x)

)∣∣ < ε butx→ p

(l−1 (x)

)is a polynomial. This gives an independent proof of that corollary. ■

The next result is the key to the profound generalization of the Weierstrass theorem dueto Stone in which an interval will be replaced by a compact set and polynomials will bereplaced with elements of an algebra satisfying certain axioms.

Corollary 5.9.3 On the interval [−M,M], there exist polynomials pn, pn (0) = 0, andlimn→∞ ∥pn−|·|∥∞

= 0. recall that ∥ f∥∞≡ supt∈[−M,M] | f (t)|.

Proof: By Corollary 5.9.2 there exists a sequence of polynomials, {p̃n} such that p̃n→|·| uniformly. Then let pn (t)≡ p̃n (t)− p̃n (0) . ■

Definition 5.9.4 An algebra of functions, A defined on A, annihilates no point ofA if for all x ∈ A, there exists g ∈ A such that g(x) ̸= 0. The algebra separates points ifwhenever x1 ̸= x2, then there exists g ∈A such that g(x1) ̸= g(x2).

The following generalization is known as the Stone Weierstrass approximation theorem.

5.9. THE STONE WEIERSTRASS APPROXIMATION THEOREM 129[ %sOUle-9-Le on 04+ [ %arayi-0a OUE-)- Fb (atChoose 6 so small that if |x—y| < 6, then |f (x) — f(y)| < €. Also let M > max, |f(x)|.Then1 1Pm (eS) S€ [Om (de +2M fX1.1\(-8.5) 0) Om (Oati=e+2M [, 2i_11)\(-8,8] (t) Om (¢) dtFrom 5.5, The second term is no larger than 2M J, 2\_1.1)\|-8,8] (t) €dt < 4Me wheneverm is large enough. Hence, for large enough m, supyej_1,1) [Pm (x) — f (x)| < (1+4M)e.Since € is arbitrary, this shows that the functions p,, converge uniformly to f on [—1, 1].However, pm is actually a polynomial. To see this, change the variables and obtainrn = [£0 Om —1atwhich will be a polynomial. To see this, note that a typical term is of the formx+1 k[face nhar,x-1clearly a polynomial in x. This proves Corollary 5.9.2 in case [a,b] = [—1, 1]. In the generalcase, there is a linear one to one onto map / : [—1, 1] > [a,D]._ b-aI(t) 5Then if f € C({a,b]) , fol € C([-1, 1]). Hence there is a polynomial p such that(t+1)+amax |fol(t)—p(t)|<eéte[—1,]]Then letting t = /~! (x) = 2-4) —1, for x € [a,b] ,maxycfaj|f (x) — p (U7! (x)) | < € butx— p (1 1 (x)) is a polynomial. This gives an independent proof of that corollary. MfThe next result is the key to the profound generalization of the Weierstrass theorem dueto Stone in which an interval will be replaced by a compact set and polynomials will bereplaced with elements of an algebra satisfying certain axioms.Corollary 5.9.3 On the interval [-M,M, there exist polynomials py, Pn(0) = 0, andtity see Pn — [Ile =. recall that fll = SUPset_azag If (0)Proof: By Corollary 5.9.2 there exists a sequence of polynomials, {,,} such that pj, >|-| uniformly. Then let p, (t) = p, (t) — py (0).Definition 5.9.4 An algebra of functions, & defined on A, annihilates no point ofA if for all x € A, there exists g € & such that g(x) #0. The algebra separates points ifwhenever x; # x2, then there exists g € & such that g(x|) # g (x2).The following generalization is known as the Stone Weierstrass approximation theorem.