ProofComplete

Proof: Weierstrass Approximation via Bernstein Polynomials

This proof of the Weierstrass Approximation Theorem uses Bernstein polynomials, which provide an explicit, constructive approximation. The proof combines probability (law of large numbers) with analysis (uniform continuity).


Statement

Theorem7.1Weierstrass Approximation Theorem

If f:[0,1]β†’Rf : [0, 1] \to \mathbb{R} is continuous, then for every Ο΅>0\epsilon > 0, there exists a polynomial pp such that ∣f(x)βˆ’p(x)∣<Ο΅|f(x) - p(x)| < \epsilon for all x∈[0,1]x \in [0, 1].


Proof via Bernstein Polynomials

Proof

Define the Bernstein polynomial of degree nn:

Bn(f)(x)=βˆ‘k=0nf(k/n)(nk)xk(1βˆ’x)nβˆ’k.B_n(f)(x) = \sum_{k=0}^n f(k/n) \binom{n}{k} x^k (1-x)^{n-k}.

We show Bn(f)β†’fB_n(f) \to f uniformly on [0,1][0, 1].

Step 1: Since ff is continuous on the compact set [0,1][0, 1], ff is uniformly continuous. Given Ο΅>0\epsilon > 0, choose Ξ΄>0\delta > 0 such that ∣f(x)βˆ’f(y)∣<Ο΅/2|f(x) - f(y)| < \epsilon/2 whenever ∣xβˆ’y∣<Ξ΄|x - y| < \delta.

Step 2: For fixed x∈[0,1]x \in [0, 1], the Bernstein polynomial can be interpreted probabilistically: if X∼Binomial(n,x)X \sim \text{Binomial}(n, x), then

Bn(f)(x)=E[f(X/n)].B_n(f)(x) = \mathbb{E}[f(X/n)].

By the law of large numbers, X/nβ†’xX/n \to x in probability as nβ†’βˆžn \to \infty. For large nn, ∣X/nβˆ’x∣<Ξ΄|X/n - x| < \delta with high probability, so ∣f(X/n)βˆ’f(x)∣<Ο΅/2|f(X/n) - f(x)| < \epsilon/2 with high probability.

Step 3 (Rigorous): Let M=sup⁑[0,1]∣f∣M = \sup_{[0,1]} |f|. Split the sum:

∣Bn(f)(x)βˆ’f(x)∣=βˆ£βˆ‘k=0n(f(k/n)βˆ’f(x))(nk)xk(1βˆ’x)nβˆ’k∣.|B_n(f)(x) - f(x)| = \left|\sum_{k=0}^n \left(f(k/n) - f(x)\right) \binom{n}{k} x^k (1-x)^{n-k}\right|.

For ∣k/nβˆ’x∣<Ξ΄|k/n - x| < \delta, ∣f(k/n)βˆ’f(x)∣<Ο΅/2|f(k/n) - f(x)| < \epsilon/2. For ∣k/nβˆ’x∣β‰₯Ξ΄|k/n - x| \geq \delta, use ∣f(k/n)βˆ’f(x)βˆ£β‰€2M|f(k/n) - f(x)| \leq 2M. By Chebyshev's inequality, the probability that ∣k/nβˆ’x∣β‰₯Ξ΄|k/n - x| \geq \delta is O(1/(nΞ΄2))O(1/(n\delta^2)). Combining, for large nn,

∣Bn(f)(x)βˆ’f(x)∣<Ο΅.|B_n(f)(x) - f(x)| < \epsilon.

The convergence is uniform in xx (the same nn works for all xx).

β– 

Summary

Bernstein polynomials provide a constructive proof of Weierstrass:

  • Explicit formula: Bn(f)(x)=βˆ‘k=0nf(k/n)(nk)xk(1βˆ’x)nβˆ’kB_n(f)(x) = \sum_{k=0}^n f(k/n) \binom{n}{k} x^k (1-x)^{n-k}.
  • Convergence follows from uniform continuity and probabilistic estimates.
  • Gives a practical method for polynomial approximation.

See Weierstrass Theorem for applications.