444 CHAPTER 16. APPROXIMATION OF FUNCTIONS AND THE INTEGRAL

which implies maxy∈H maxx∈K h(x,y)≥max(x,y)∈K×H h(x,y) . The other inequality is alsoobtained.

Let f ∈C (Rp;X) where Rp = [0,1]p . Then let x̂p ≡ (x1, ...,xp−1) . By Theorem 16.1.2,if n is large enough,

maxxp∈[0,1]

∥∥∥∥∥ n

∑k=0

f

(·, k

n

)(nk

)xk

p (1− xp)n−k−f (·,xp)

∥∥∥∥∥C([0,1]p−1;X)

2

Now f(·, k

n

)∈C (Rp−1;X) and so by induction, there is a polynomial pk (x̂p) such that

maxx̂p∈Rp−1

∥∥∥∥pk (x̂p)−(

nk

)f

(x̂p,

kn

)∥∥∥∥X<

ε

(n+1)2

Thus, letting p(x)≡ ∑nk=0pk (x̂p)xk

p (1− xp)n−k ,

∥p−f∥C(Rp;X) ≤ maxxp∈[0,1]

maxx̂p∈Rp−1

∥∥p(x̂p,xp)−f (x̂p,xp)∥∥

X < ε

where p is a polynomial with coefficients in X .In general, if Rp ≡∏

pk=1 [ak,bk] , note that there is a linear function lk : [0,1]→ [ak,bk]

which is one to one and onto. Thus l (x)≡ (l1 (x1) , ..., lp (xp)) is a one to one and onto mapfrom [0,1]p to Rp and the above result can be applied to f ◦ l to obtain a polynomial p with∥p−f ◦ l∥C([0,1]p;X) < ε. Thus

∥∥p◦ l−1−f∥∥

C(Rp;X) < ε and p◦ l−1 is a polynomial. Thisproves the following theorem.

Theorem 16.2.1 Let f be a function in C (R;X) for X a normed linear space where R ≡∏

pk=1 [ak,bk] . Then for any ε > 0 there exists a polynomial p having coefficients in X such

that ∥p−f∥C(R;X) < ε .

These Bernstein polynomials are very remarkable approximations. It turns out that if fis C1 ([0,1] ;X) , then limn→∞ p′n (x)→ f ′ (x) uniformly on [0,1] . This all works for func-tions of many variables as well, but here I will only show it for functions of one variable. Iassume the reader knows about the derivative of a function of one variable.

Lemma 16.2.2 Let f ∈C1 ([0,1]) and let

pm (x)≡m

∑k=0

(mk

)xk (1− x)m−k f

(km

)be the mth Bernstein polynomial. Then in addition to ∥pm− f∥[0,1]→ 0, it also follows that∥∥p′m− f ′

∥∥[0,1]→ 0

Proof: From simple computations,

p′m (x) =m

∑k=1

(mk

)kxk−1 (1− x)m−k f

(km

)

−m−1

∑k=0

(mk

)xk (m− k)(1− x)m−1−k f

(km

)

444 CHAPTER 16. APPROXIMATION OF FUNCTIONS AND THE INTEGRALwhich implies maxycy Maxyex A (x,y) > Max(,.5)exxH h (x,y). The other inequality is alsoobtained.Let f € C(Rp;X) where R, = [0, 1]? . Then let &, = (x1,...,xp—-1). By Theorem 16.1.2,if n is large enough,¥ (5) (Qs an) Fo)k=0maxXp€[0,1]<C([0,1]?-!:x)NIMNow f (-, £) € C(Rp_1;X) and so by induction, there is a polynomial p; (#,) such thatvi (@r)~(")# (#5)Thus, letting p(x) = Yi_9 Px (Bp) x4 (1 —x,)"*,_ maxBpERp_1x (n+1)2IIP — Flle(ep:x) < xpel0.l]@peRy Ip (&p.xp) _ f (€p,Xp)|ly <eéwhere p is a polynomial with coefficients in X.In general, if Rp = TTj_, lax, be], note that there is a linear function J; : [0,1] — [ax, be)which is one to one and onto. Thus J (a) = (1; (x1),...,lp (%p)) is a one to one and onto mapfrom [0, 1]? to R, and the above result can be applied to f of to obtain a polynomial p with\|p — Ff Ollleqo,1":x) < €. Thus pol! — Fle(xp:x) <eand pol! isa polynomial. Thisproves the following theorem.Theorem 16.2.1 Let f be a function in C(R;X) for X a normed linear space where R =Me, (ax, by] . Then for any € > 0 there exists a polynomial p having coefficients in X suchthat ||p— f llccrix) < €These Bernstein polynomials are very remarkable approximations. It turns out that if fis C! ({0,1];X), then lim,5.. p’, (x) + f’ (x) uniformly on [0,1]. This all works for func-tions of many variables as well, but here I will only show it for functions of one variable. Iassume the reader knows about the derivative of a function of one variable.Lemma 16.2.2 Let f € C! ({0,1]) and letbe the m'" Bernstein polynomial. Then in addition to || Pm — f\| (0,1) —* 9, it also follows that\|Pin — f'llo,1 70Proof: From simple computations,