MTH 320 · Real Analysis II
Our notes
2 min readStatement
If f is continuous on [a, b], then for every ε > 0 there is a polynomial p with
| f(x) − p(x) | < ε for all x in [a, b]. |
|---|
Equivalently: there is a sequence of polynomials converging uniformly to f on [a, b]. The polynomials are dense in C[a, b] with the sup metric.
Reduction to [0, 1]
Substitute x = a + (b − a)t: a polynomial in t is a polynomial in x. So it is enough to prove the theorem on [0, 1].
Bernstein polynomials
For f on [0, 1], the n-th Bernstein polynomial is
Bₙ(f)(x) = Σ (k = 0 to n) f(k/n) · C(n, k) xᵏ (1 − x)^(n − k),
where C(n, k) is the binomial coefficient. It is a weighted average of the values f(k/n), with weights from the binomial distribution.
Three key sums
With weights pₖ(x) = C(n, k) xᵏ (1 − x)^(n − k):
- Σ pₖ(x) = 1.
- Σ (k/n) pₖ(x) = x.
- Σ (k/n)² pₖ(x) = x² + x(1 − x)/n.
So Bₙ(1) = 1, Bₙ(x) = x and Bₙ(x²) = x² + x(1 − x)/n. (Think of k as the number of successes in n trials with probability x: mean nx, variance nx(1 − x).)
Sketch of the proof
- f is uniformly continuous on [0, 1]: for ε there is δ with |f(x) − f(y)| < ε/2 when |x − y| < δ; and |f| ≤ M.
- |Bₙ(f)(x) − f(x)| ≤ Σ |f(k/n) − f(x)| pₖ(x).
- Split the sum: terms with |k/n − x| < δ contribute less than ε/2. For the others, |f(k/n) − f(x)| ≤ 2M, and by the sums above (Chebyshev's inequality) their total weight is at most x(1 − x)/(nδ²) ≤ 1/(4nδ²).
- So |Bₙ(f) − f| ≤ ε/2 + 2M/(4nδ²) < ε for n large, for all x at once.
Worked example
For f(x) = x² on [0, 1]: Bₙ(f)(x) − f(x) = x(1 − x)/n, whose maximum (at x = 1/2) is 1/(4n).
To be within 0.01 everywhere we need 1/(4n) < 0.01, so n > 25: n = 26 works. Bernstein polynomials converge slowly but surely.
Consequences
- C[a, b] is separable: polynomials with rational coefficients are dense.
- If ∫ₐᵇ f(x) xⁿ dx = 0 for all n ≥ 0 and f is continuous, then f = 0 (approximate f by polynomials and look at ∫ f²).
- Approximation theory and numerical analysis start here.
- The Stone-Weierstrass theorem (in Functional Analysis, MTH 420) generalises it to compact spaces and algebras of functions.
Exams usually ask
- State the Weierstrass approximation theorem and outline Bernstein's proof.
- Compute the Bernstein polynomials of simple functions.
Common mistake
Thinking the Taylor polynomials prove the theorem. A continuous function need not be differentiable, and even smooth functions can have Taylor series that do not converge to them; Bernstein polynomials need only continuity.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
No reading links here yet
Our team adds free books, videos and practice for each topic, and opens every link before it goes up.