Math 2.0

Approximations and expansions Proof

Proof of the Weierstrass approximation theorem

Builds on Composition of continuous functions is continuousBoundedness theoremContinuous functions on a closed bounded interval are uniformly continuousUniform continuity on a setBernstein polynomialBinomial theoremFactorial formula for binomial coefficientsTriangle inequalityArchimedean property

Proof

We move the problem to [0,1][0, 1] and show that the Bernstein polynomials of the moved function approximate it uniformly.

Part 1: reduction to [0,1][0, 1].

  1. Let a<ba < b, let f ⁣:[a,b]→ℝf \colon [a, b] \to \R be continuous, and let ε>0\varepsilon > 0. Put L=b−a>0L = b - a > 0.
  2. For t∈[0,1]t \in [0, 1], let g(t)=f(a+tL)g(t) = f(a + tL). The map t↦a+tLt \mapsto a + tL is continuous and sends [0,1][0, 1] into [a,b][a, b].
  3. So g ⁣:[0,1]→ℝg \colon [0, 1] \to \R is continuous, since a composition of continuous functions is continuous.
  4. By the boundedness theorem, there is M>0M > 0 with ∣g(t)∣≤M\abs{g(t)} \le M for all t∈[0,1]t \in [0, 1].
  5. Continuous functions on a closed bounded interval are uniformly continuous. By the definition of uniform continuity, there is δ>0\delta > 0 with this property. s,t∈[0,1], ∣s−t∣<δ  ⟹  ∣g(s)−g(t)∣<ε2.s, t \in [0, 1], \ \abs{s - t} < \delta \implies \abs{g(s) - g(t)} < \frac{\varepsilon}{2}.

Part 2: three identities.

  1. Fix an integer n≥1n \ge 1 and x∈[0,1]x \in [0, 1]. For 0≤k≤n0 \le k \le n, let bk=(nk)xk(1−x)n−kb_k = \binom{n}{k} x^k (1 - x)^{n-k}, the Bernstein basis polynomials at xx. Each bk≥0b_k \ge 0.
  2. By the binomial theorem, ∑k=0nbk=(x+(1−x))n=1\sum_{k=0}^{n} b_k = (x + (1 - x))^n = 1.
  3. For 1≤k≤n1 \le k \le n, the factorial formula gives k(nk)=n!(k−1)! (n−k)!=n(n−1k−1)k \binom{n}{k} = \frac{n!}{(k-1)! \, (n-k)!} = n \binom{n-1}{k-1}.
  4. The term with k=0k = 0 vanishes. So by step 8, with j=k−1j = k - 1 and the binomial theorem, ∑k=0nkbk=nx∑j=0n−1(n−1j)xj(1−x)n−1−j=nx.\sum_{k=0}^{n} k b_k = n x \sum_{j=0}^{n-1} \binom{n-1}{j} x^j (1 - x)^{n-1-j} = n x.
  5. Similarly, for 2≤k≤n2 \le k \le n, the factorial formula gives k(k−1)(nk)=n(n−1)(n−2k−2)k (k - 1) \binom{n}{k} = n (n - 1) \binom{n-2}{k-2}.
  6. The terms with k=0k = 0 and k=1k = 1 vanish. If n≥2n \ge 2, step 10 and the binomial theorem give ∑k=0nk(k−1)bk=n(n−1)x2\sum_{k=0}^{n} k (k - 1) b_k = n (n - 1) x^2.
  7. If n=1n = 1, both sides of this identity are 00. So it holds for all n≥1n \ge 1.
  8. Write (k−nx)2=k(k−1)+k−2nx k+n2x2(k - nx)^2 = k (k - 1) + k - 2nx \, k + n^2 x^2. By steps 7, 9 and 11, ∑k=0n(k−nx)2bk=n(n−1)x2+nx−2n2x2+n2x2=nx(1−x).\sum_{k=0}^{n} (k - nx)^2 b_k = n(n-1) x^2 + nx - 2 n^2 x^2 + n^2 x^2 = n x (1 - x).
  9. Since 14−x+x2=(x−12)2≥0\frac{1}{4} - x + x^2 = (x - \frac{1}{2})^2 \ge 0, we have x(1−x)≤14x (1 - x) \le \frac{1}{4}. Dividing step 13 by n2n^2 gives ∑k=0n(kn−x)2bk≤14n.\sum_{k=0}^{n} \Big( \frac{k}{n} - x \Big)^2 b_k \le \frac{1}{4n}.

Part 3: the estimate.

  1. The Bernstein polynomial of gg is Bn(g)(x)=∑k=0ng(kn)bkB_n(g)(x) = \sum_{k=0}^{n} g(\frac{k}{n}) b_k. By step 7, g(x)=∑k=0ng(x)bkg(x) = \sum_{k=0}^{n} g(x) b_k.
  2. Subtracting, and using the triangle inequality with bk≥0b_k \ge 0, ∣g(x)−Bn(g)(x)∣≤∑k=0n∣g(x)−g(kn)∣ bk.\abs{g(x) - B_n(g)(x)} \le \sum_{k=0}^{n} \Big| g(x) - g\Big(\frac{k}{n}\Big) \Big| \, b_k.
  3. Let K1K_1 be the set of kk with ∣kn−x∣<δ\abs{\frac{k}{n} - x} < \delta. Let K2K_2 be the set of the remaining k∈{0,…,n}k \in \set{0, \dots, n}.
  4. For k∈K1k \in K_1, step 5 gives ∣g(x)−g(kn)∣<ε2\abs{g(x) - g(\frac{k}{n})} < \frac{\varepsilon}{2}. So by step 7, the sum over K1K_1 is at most ε2∑kbk=ε2\frac{\varepsilon}{2} \sum_{k} b_k = \frac{\varepsilon}{2}.
  5. For k∈K2k \in K_2, step 4 gives ∣g(x)−g(kn)∣≤2M\abs{g(x) - g(\frac{k}{n})} \le 2M. Also 1≤(kn−x)2/δ21 \le (\frac{k}{n} - x)^2 / \delta^2.
  6. So by step 14, the sum over K2K_2 is at most 2Mδ2∑k∈K2(kn−x)2bk≤2Mδ2⋅14n=M2nδ2.\frac{2M}{\delta^2} \sum_{k \in K_2} \Big( \frac{k}{n} - x \Big)^2 b_k \le \frac{2M}{\delta^2} \cdot \frac{1}{4n} = \frac{M}{2 n \delta^2}.
  7. By the Archimedean property, choose an integer n≥1n \ge 1 with n>Mεδ2n > \frac{M}{\varepsilon \delta^2}. Then M2nδ2<ε2\frac{M}{2 n \delta^2} < \frac{\varepsilon}{2}.
  8. For this nn, steps 16 to 21 give ∣g(x)−Bn(g)(x)∣<ε2+ε2=ε\abs{g(x) - B_n(g)(x)} < \frac{\varepsilon}{2} + \frac{\varepsilon}{2} = \varepsilon. This holds for every x∈[0,1]x \in [0, 1], since nn does not depend on xx.

Part 4: back to [a,b][a, b].

  1. Let q=Bn(g)q = B_n(g), a polynomial in one variable. Define p(x)=q(x−aL)p(x) = q\big( \frac{x - a}{L} \big) for real xx.
  2. Each power (x−aL)j\big( \frac{x - a}{L} \big)^j expands into a polynomial in xx, by the binomial theorem. So pp is a polynomial.
  3. Let x∈[a,b]x \in [a, b], and put t=x−aLt = \frac{x - a}{L}. Then t∈[0,1]t \in [0, 1], a+tL=xa + tL = x, and so g(t)=f(x)g(t) = f(x).
  4. By step 22, ∣f(x)−p(x)∣=∣g(t)−q(t)∣<ε\abs{f(x) - p(x)} = \abs{g(t) - q(t)} < \varepsilon. This proves the theorem.

Idea

The Bernstein polynomial Bn(g)(x)B_n(g)(x) is a weighted average of the values g(k/n)g(k/n). The weights bk(x)b_k(x) concentrate near k/n=xk/n = x, because their variance about xx is at most 1/(4n)1/(4n). Uniform continuity controls the nearby terms, and the variance bound makes the distant terms small.

Reading path

To understand this page from the ground up, read these 124 pages in order. The foundations come first. The path takes the proofs Proof of the approximation property of the supremum, Proof that every sequence has a monotone subsequence, by peaks, Proof of the commutativity of addition by induction, Proof of the epsilon-delta form of continuity, Proof that there is a natural number n with 1/n below any positive epsilon, Proof that continuous functions on a closed bounded interval are uniformly continuous, Proof that the reals form an ordered field, with the Cauchy sequence construction, Proof of the double negation law by a truth table, Proof of strong induction from ordinary induction, Proof of Pascal's rule from the recursive definition, Proof of the triangle inequality for real numbers, Proof of the epsilon-N definition of the limit of a sequence, Proof that limits preserve non-strict inequalities, Proof of the factorial formula for binomial coefficients by induction, Proof of the binomial theorem by induction, Proof of the well-ordering principle from strong induction, Proof of the Bolzano–Weierstrass theorem by a monotone subsequence, Proof of the Archimedean property in an Archimedean ordered field, Proof that a composition of continuous functions is continuous, Proof that a decreasing sequence bounded below converges, Proof that the reals are Archimedean from the completeness axiom, Proof that convergent sequences are bounded, Proof of the monotone convergence theorem for sequences, Proof that continuity is equivalent to sequential continuity, Proof of the boundedness theorem by Bolzano–Weierstrass.

  1. Bernstein polynomial definition
  2. Binomial coefficient definition
  3. Construction of the reals from Cauchy sequences concept
  4. Definition by recursion concept
  5. Element definition
  6. Factorial definition
  7. Group concept
  8. Integers object
  9. Limit point of a set definition
  10. Mathematical induction concept
  11. Natural numbers object
  12. Ordered field definition
  13. Peano axioms concept
  14. Proposition concept
  15. Rational numbers object
  16. Real numbers object
  17. Sequence definition
  18. Set bounded above definition
  19. Proof of Pascal's rule from the recursive definition proof
  20. Set definition
  21. Ring definition
  22. Ring of integers statement
  23. Limit of a function definition
  24. Archimedean ordered field definition
  25. Successor function definition
  26. Conjunction definition
  27. Disjunction definition
  28. Implication definition
  29. Negation definition
  30. Predicate definition
  31. The reals form a field statement
  32. Real sequence definition
  33. Subsequence definition
  34. Infimum definition
  35. Supremum definition
  36. Pascal's rule statement
  37. Ordered pair definition
  38. Commutative ring definition
  39. Continuity at a point definition
  40. Addition of natural numbers definition
  41. Biconditional definition
  42. Proof of the Archimedean property in an Archimedean ordered field proof
  43. The rationals form a field statement
  44. Truth table concept
  45. Modus ponens concept
  46. The successor function is injective statement
  47. Zero is not a successor statement
  48. Universal quantifier definition
  49. Bounded sequence definition
  50. Limit of a sequence definition
  51. Monotone sequence definition
  52. Completeness axiom statement
  53. Cartesian product definition
  54. Proof of the factorial formula for binomial coefficients by induction proof
  55. Continuous function definition
  56. Archimedean property statement
  57. Proof of the commutativity of addition by induction proof
  58. Subset definition
  59. Order on the natural numbers definition
  60. Propositional logic concept
  61. Mathematical proof concept
  62. The rationals form an ordered field statement
  63. Convergent sequence definition
  64. Sequential continuity definition
  65. Factorial formula for binomial coefficients statement
  66. Binary relation definition
  67. Proof that a composition of continuous functions is continuous proof
  68. Order on the reals definition
  69. Commutativity of addition statement
  70. Tautology definition
  71. Proof of strong induction from ordinary induction proof
  72. Proof of the binomial theorem by induction proof
  73. Antisymmetric relation definition
  74. Reflexive relation definition
  75. Transitive relation definition
  76. Interval definition
  77. Logical equivalence definition
  78. Strong induction statement
  79. Binomial theorem statement
  80. Preorder definition
  81. Proof of the epsilon-delta form of continuity proof
  82. Proof of the well-ordering principle from strong induction proof
  83. Proof of the double negation law by a truth table proof
  84. Partial order definition
  85. Epsilon-delta definition of continuity statement
  86. Well-ordering principle statement
  87. Double negation law statement
  88. Total order definition
  89. Uniform continuity definition
  90. Composition of continuous functions is continuous statement
  91. Proof by contradiction concept
  92. Proof that every sequence has a monotone subsequence, by peaks proof
  93. Uniform continuity on a set definition
  94. Proof that the reals form an ordered field, with the Cauchy sequence construction proof
  95. Every sequence has a monotone subsequence statement
  96. The reals form an ordered field statement
  97. Absolute value definition
  98. Proof of the approximation property of the supremum proof
  99. Proof of the triangle inequality for real numbers proof
  100. Proof of the epsilon-N definition of the limit of a sequence proof
  101. Approximation property of the supremum statement
  102. Triangle inequality statement
  103. Epsilon-N definition of the limit of a sequence statement
  104. Proof that the reals are Archimedean from the completeness axiom proof
  105. Proof that limits preserve non-strict inequalities proof
  106. The reals are Archimedean statement
  107. Proof that convergent sequences are bounded proof
  108. Proof of the monotone convergence theorem for sequences proof
  109. Proof that there is a natural number n with 1/n below any positive epsilon proof
  110. Limits preserve non-strict inequalities statement
  111. Convergent sequences are bounded statement
  112. Monotone convergence theorem for sequences statement
  113. There is a natural number n with 1/n below any positive epsilon statement
  114. Proof that a decreasing sequence bounded below converges proof
  115. Decreasing sequence bounded below converges statement
  116. Proof that continuity is equivalent to sequential continuity proof
  117. Continuity is equivalent to sequential continuity statement
  118. Proof of the Bolzano–Weierstrass theorem by a monotone subsequence proof
  119. Bolzano–Weierstrass theorem statement
  120. Proof that continuous functions on a closed bounded interval are uniformly continuous proof
  121. Proof of the boundedness theorem by Bolzano–Weierstrass proof
  122. Continuous functions on a closed bounded interval are uniformly continuous statement
  123. Boundedness theorem statement
  124. Proof of the Weierstrass approximation theorem proof

Where this leads

12 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Bernstein_polynomial, Approximating continuous functions, Elementary proof
About this page
TagBAVZZ1KJSY
URIm2://BAVZZ1KJSY
Kindproof
WritingW0 stub
MSC41A10
ProvesWeierstrass approximation theorem
UsesComposition of continuous functions is continuous, Boundedness theorem, Continuous functions on a closed bounded interval are uniformly continuous, Uniform continuity on a set, Bernstein polynomial, Binomial theorem, Factorial formula for binomial coefficients, Triangle inequality, Archimedean property
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.