a) Prove that for every ε>0 there is a positive integer n
and real numbers λ1,…,λn such that
x∈[−1,1]maxx−k=1∑nλkx2k+1<ε.
b) Prove that for every odd continuous function f on [−1,1] and for
every ε>0 there is a positive integer n and real numbers
μ1,…,μn such that
x∈[−1,1]maxf(x)−k=1∑nμkx2k+1<ε.
Recall that f is odd means that f(x)=−f(−x) for all x∈[−1,1].
Solution (official)
a) Let n be such that (1−ε2)n≤ε. Then
∣x(1−x2)n∣<ε for every x∈[−1,1]. Thus one can
set λk=(−1)k+1(kn) because then
x−k=1∑nλkx2k+1=k=0∑n(−1)k(kn)x2k+1=x(1−x2)n.
b) From the Weierstrass theorem there is a polynomial, say
p∈Πm, such that
x∈[−1,1]max∣f(x)−p(x)∣<2ε.
Set q(x)=21{p(x)−p(−x)}. Then
f(x)−q(x)=21{f(x)−p(x)}−21{f(−x)−p(−x)}
and
∣x∣≤1max∣f(x)−q(x)∣≤21∣x∣≤1max∣f(x)−p(x)∣+21∣x∣≤1max∣f(−x)−p(−x)∣<2ε.(1)
But q is an odd polynomial in Πm and it can be written as
q(x)=k=0∑mbkx2k+1=b0x+k=1∑mbkx2k+1.
If b0=0 then (1) proves b). If b0=0 then one applies a) with
2∣b0∣ε instead of ε to get
∣x∣≤1maxb0x−b0k=1∑nλkx2k+1<2ε(2)
for appropriate n and λ1,λ2,…,λn. Now b)
follows from (1) and (2) with max{n,m} instead of n.