Exploring polynomial approximation
I’m thinking about how to approach the relationship between the Stone-Weierstrass theorem and Weierstrass polynomial approximation. It's circular since Stone extends Weierstrass. However, we can still approximate absolute value using polynomials without relying entirely on Weierstrass. To achieve uniformity over [-M, M], standard Weierstrass comes into play. If the user asks for a proof, they'd likely be familiar with Weierstrass's prior work for intervals. Not to forget there are other advanced proofs rooted in lattice theory.Approximating functions with polynomials
I’m exploring how the absolute value function, |x|, can be uniformly approximated by polynomials on bounded intervals. This means I can also approximate |f| by polynomials of f when the norm ‖f‖ is less than or equal to M. The idea starts with approximating |f| using polynomials q_n on the interval. However, I need to be cautious since the composition property holds for A, not B. To tackle this, I can show that closure B handles uniform limits of sequences from A, allowing me to approximate |f| appropriately.Showing absolute value in closure
I can demonstrate that for any function f in B and any ε greater than 0, I can find a g in A such that ‖f-g‖ is less than ε. Since |f| is close to |g| by the Lipschitz condition, approximating |g| in A would also let me approximate |f|. This reduces to showing that |f| is in B if f is in A, focusing on the closure.
It might actually be simpler to prove that |f| is in B for any f in B by applying the real Weierstrass theorem. This ensures that the absolute value function is approximated by polynomials, thereby offering a functional calculus setting.Establishing properties of B
If I have f in B, since B is a subalgebra, then each f^k also belongs to B, and any linear combination will as well. Therefore, when I compose polynomials with f, like p_n∘f, it stays in B. The uniform convergence to |f| means that |f| will also be in B, demonstrating its closure. This shows that B inherits properties from A and confirms that Weierstrass can help us approximate the absolute value.
For the lemma: I need to show that B is a subalgebra of C(X) and also serves as a lattice. I must first prove that it can handle absolute values and then max/min. The main lemma states that if B is a separating subalgebra of C(X,ℝ) and closed under those operations, it's uniformly dense in C(X,ℝ). A variant proof can define a set S and showing h(x) is defined within C(X) and lies in the closure of B. This aligns with the "upper envelope" concept.Constructing approximations in B
I’m considering ways to prove that for a continuous function f in B, I can construct g in B such that |f - g| is less than ε. I’ll start by defining a function α for each x in X to represent the supremum of functions g in B that are less than or equal to f. The goal is to show that this function is continuous and approximates f closely.
Using B's properties, I can create local approximants and use the separation of points to build g. I plan to prove that I can define h accurately, maintaining values around f while controlling their limits. I'll also explore concepts like the upper envelope and tools from the Tietze extension theorem to ensure the process is rigorous. Revisiting known proofs, especially in texts by Folland and Rudin, will be essential to firm up my argument.Creating global approximations in B
Since f is uniformly continuous, I can find a finite open cover where f changes less than ε. For each x in X, I can create a neighborhood U_x where |f(y) - f(x)| is less than ε for all points y in U_x. Then, due to compactness, I can select a finite subcover.
Now, I need functions g_k in B that match f at certain points, ensuring that the global function g is near f everywhere. To do this, I can use max/min operations to combine these functions across neighborhoods, maintaining closeness without interfering with prior approximations. This method is similar to Tietze’s extension theorem, where I refine functions stepwise to achieve a satisfactory result. The goal is to remember that while working with B, which has properties of a lattice, allows me to design these approximations effectively.Defining approximate functions in B
I’m working on crafting a function g in B that approximates f at specific points. I first solve for constants λ and μ to satisfy conditions at x and y, while focusing on ensuring g stays bounded relative to f. Instead of equality, I aim for inequalities like g(y) < f(y) + ε or ensuring g(y) meets a desired lower threshold.
Continuity and compactness come into play, allowing me to extend inequalities over neighborhoods. By combining functions through min operations, I build a global function that satisfies the necessary approximations across the compact set, anchoring it correctly at x while adjusting others downward. This leads to a desired lemma, confirming the boundedness of g.Building upper and lower approximations
I’m proving that I can create functions in B that serve as upper and lower approximations to f. I start with a global function g that is bounded by f + ε. Using a similar approach, I define h_x as another function in B that approximates f from below.
Next, by leveraging compactness and uniform continuity, I can ensure that for each point in my space, there exist neighborhoods where these approximations hold efficiently. I can combine these local approximations into a global function, ensuring that at any point, the combined function doesn’t overshoot or deviate too much from f. The resulting global error can be kept under ε, demonstrating uniform closeness.Finalizing the proof structure
I’m proving that on the union of neighborhoods, g_k(z) > f(z) - ε. I’ll use induction to show that as I add more neighborhoods, the function g_k will maintain that inequality.
The overall structure involves demonstrating that the closure of algebra B approximates functions in C(X) uniformly, proving key lemmas, and then constructing global approximations. I’ll also touch on the complex case, ensuring to highlight properties such as closure, density in uniform norm, and point separation. Essentially, I need to rigorously outline each step, making sure to reference relevant theorems properly.Analyzing the approximation proof
In the complex version, it's important for A to be self-adjoint, as not all complex algebras will be dense, even if they separate points. I need to address our use of Weierstrass polynomials to approximate |x| since this is for real-valued functions.
My goal is to ensure each step of the proof is clear without being overly verbose; I'll keep it concise yet thorough. When proving B's closure properties, I should show that it forms an algebra, is closed under absolute values, and demonstrates appropriate separation for points.
Overall, I need to establish conditions for approximating functions uniformly and ensure clarity in my logical structure.Clarifying the proof structure
I need to ensure I'm accurately demonstrating the closeness properties of function G_k. If z isn’t in the current union, I can still rely on g_{x_{k+1}} while showing min values are maintained. By applying max functions in the inequalities, I confirm max(a,b) fits within the boundary conditions I specified.
The induction completes by showing that G_n approximates within ε, ensuring B and C(X) are equivalent. I’ll need to carefully validate each logical step to confirm consistency without relying on unproven properties. Each part must convincingly support the overall proof structure.Detailing density in function spaces
I need to clarify if any real part of a function from set A exists within A itself. If A is closed under addition and conjugation, the real part must be included. Next, I recognize that ℜ(A) is a subalgebra of real-valued continuous functions, showing that ℜ(A) is indeed dense.
For any complex function in C(X,ℂ), I can approximate with functions in L, which combines both real and imaginary parts from ℜ(A). By showing L is dense, I arrive at the closure argument for A relating to continuous complex functions. Overall, I’ll need a concise final answer that lays out these details clearly. I’ll prove the real version first, then deduce the complex version.
Throughout, (X) is a compact Hausdorff space, and (C(X,\mathbb R)) is the Banach space of continuous real‑valued functions on (X) with the sup norm
[
|f|\infty := \sup{x\in X} |f(x)|,
]
which is in fact a maximum since (X) is compact.
1. Statement (real version)
Stone–Weierstrass (real version).
Let (X) be compact Hausdorff. Let (A) be a subalgebra of (C(X,\mathbb R)) such that
- (A) contains the constant functions;
- (A) separates points: for any distinct (x,y\in X) there exists (f\in A) with (f(x)\neq f(y)).
Then (A) is uniformly dense in (C(X,\mathbb R)); i.e. the uniform closure of (A) equals (C(X,\mathbb R)).
As background, we assume the classical Weierstrass theorem is known:
Weierstrass approximation theorem.
On a compact interval ([a,b]\subset\mathbb R), the algebra of polynomials with real coefficients is uniformly dense in (C([a,b],\mathbb R)).
2. Reduce to a uniformly closed algebra
Let (B := \overline{A}) be the closure of (A) in (|\cdot|_\infty). Then:
-
(B) is a unital subalgebra of (C(X,\mathbb R)):
If (f_n\to f), (g_n\to g) uniformly with (f_n,g_n\in A), then (f_n+g_n\to f+g), (f_ng_n\to fg), and scalar multiples also converge; hence (f+g, fg\in B).
-
(B) still contains constants (they were already in (A));
-
(B) still separates points (any separating function in (A) is already in (B)).
So it suffices to prove that such a closed algebra (B) coincides with all of (C(X,\mathbb R)).
From now on, assume (B\subset C(X,\mathbb R)) is a uniformly closed unital subalgebra that separates points.
3. Step 1: (B) is a lattice (closed under max/min)
We show:
Lemma 1. For any (f\in B), (|f|\in B). Consequently, for any (f,g\in B),
(\max(f,g),\min(f,g)\in B).
Proof.
Let (f\in B), and set (M=|f|\infty). Then the scalar function
[
\phi(t) = |t|, \quad t\in[-M,M]
]
is continuous, so by the classical Weierstrass theorem there exist polynomials (p_n(t)) with real coefficients such that
[
\sup{|t|\le M} |p_n(t) - |t|| \to 0 \quad\text{as }n\to\infty.
]
Define
[
h_n(x) := p_n(f(x)), \qquad x\in X.
]
But (p_n(f) = \sum_k a_k f^k), so each (h_n\in B) because (B) is an algebra (closed under multiplication and linear combinations).
Then
[
|h_n - |f||\infty
= \sup{x\in X} |p_n(f(x)) - |f(x)||
\le \sup_{|t|\le M} |p_n(t) - |t|| \to 0.
]
Since (B) is closed, (|f|\in B).
Now for (f,g\in B),
[
\max(f,g) = \frac{f+g + |f-g|}{2},\quad
\min(f,g) = \frac{f+g - |f-g|}{2},
]
and the right-hand sides belong to (B) because (B) is an algebra and we have just shown (|f-g|\in B).
So (B) is closed under pointwise (\max) and (\min). (\Box)
A subalgebra closed under pointwise max/min is usually called a lattice.
4. Step 2: Local “upper” approximation at one point
We next prove a key local approximation lemma: we can approximate (f) from above, touching it exactly at a prescribed point.
Lemma 2.
Let (f\in C(X,\mathbb R)), (x_0\in X), and (\varepsilon>0). Then there exists (g\in B) such that:
- (g(x_0) = f(x_0));
- (g(x) \le f(x) + \varepsilon) for all (x\in X).
Proof.
Fix (f,x_0,\varepsilon). For each (y\in X\setminus{x_0}), we will build a function (g_y\in B) such that
- (g_y(x_0) = f(x_0));
- (g_y(y) < f(y) + \varepsilon),
and with this we’ll later take a finite minimum of such (g_y)’s.
Since (B) separates points, for each (y\neq x_0) there is (h_y\in B) with (h_y(x_0)\neq h_y(y)).
Choose a real number
[
b_y < f(y) + \varepsilon
]
with (b_y \neq f(x_0)) (possible since (\mathbb R) is infinite). Set (a = f(x_0)).
We can find real scalars (\alpha_y,\beta_y) solving
[
\alpha_y h_y(x_0) + \beta_y = a, \qquad
\alpha_y h_y(y) + \beta_y = b_y.
]
Since (h_y(x_0)\neq h_y(y)), this linear system has a unique solution.
Define (g_y := \alpha_y h_y + \beta_y\cdot 1\in B). Then:
[
g_y(x_0) = a = f(x_0),\qquad
g_y(y) = b_y < f(y) + \varepsilon.
]
Now consider the continuous function
[
\delta_y(x) := f(x) + \varepsilon - g_y(x).
]
Then (\delta_y(y) = f(y)+\varepsilon - g_y(y) > 0). By continuity there is an open neighborhood (U_y) of (y) such that (\delta_y(x) > 0) on (U_y), i.e.
[
g_y(x) < f(x)+\varepsilon \quad\text{for all }x\in U_y.
]
Thus we get an open cover ({U_y : y\in X\setminus{x_0}}) of the compact set (X\setminus{x_0}). Choose a finite subcover (U_{y_1},\dots,U_{y_n}).
Define
[
g := \min{,g_{y_1},\dots,g_{y_n},} \in B;
]
this is in (B) since (B) is a lattice.
Properties:
-
At (x_0), for each (j), (g_{y_j}(x_0)=f(x_0)), hence
[
g(x_0) = \min_j g_{y_j}(x_0) = f(x_0).
]
-
For any point (x\neq x_0), there is some (j) with (x\in U_{y_j}). Then
[
g(x) = \min_i g_{y_i}(x) \le g_{y_j}(x) < f(x) + \varepsilon.
]
At (x_0) the same inequality (g(x_0) = f(x_0) \le f(x_0)+\varepsilon) trivially holds.
Hence (g(x)\le f(x)+\varepsilon) for all (x), and (g(x_0)=f(x_0)). (\Box)
5. Step 3: Global uniform approximation of an arbitrary function
Now we combine local approximants via the max operation.
Lemma 3.
Under our hypotheses on (B), for every (f\in C(X,\mathbb R)) and every (\varepsilon>0) there is a (g\in B) with
[
|f-g|_\infty < \varepsilon.
]
Proof.
Fix (f\in C(X,\mathbb R)) and (\varepsilon>0).
For each (x\in X), apply Lemma 2 to obtain a function (g_x\in B) such that
- (g_x(x) = f(x)),
- (g_x(z) \le f(z) + \varepsilon) for all (z\in X).
Consider the continuous function (h_x(z) := f(z) - g_x(z)). We have (h_x(x) = 0). By continuity, there is a neighborhood (U_x) of (x) such that (|h_x(z)| < \varepsilon) on (U_x), i.e.
[
|g_x(z) - f(z)| < \varepsilon \quad\text{for all }z\in U_x.
]
The collection ({U_x : x\in X}) is an open cover of compact (X); choose a finite subcover (U_{x_1},\dots,U_{x_m}).
Set
[
G_1 := g_{x_1},\qquad
G_k := \max(G_{k-1}, g_{x_k}) \quad (k=2,\dots,m).
]
By lattice property of (B), each (G_k\in B). Note that at each stage (G_k \le f+\varepsilon) everywhere, since all the (g_{x_j}) satisfy this and a pointwise maximum preserves that upper bound.
We claim that for each (k),
[
|G_k(z)-f(z)| < \varepsilon \quad\text{for all }z\in \bigcup_{j=1}^k U_{x_j}.
]
We argue by induction on (k).
Thus the claim holds for (k), and by induction for all (k). For (k=m), we have
[
\bigcup_{j=1}^m U_{x_j} = X.
]
So for all (z\in X),
[
|G_m(z) - f(z)| < \varepsilon,
]
i.e. (|G_m - f|_\infty < \varepsilon). Since (G_m\in B), the lemma is proved. (\Box)
6. Conclusion of the real Stone–Weierstrass theorem
From Lemma 3, every (f\in C(X,\mathbb R)) can be approximated arbitrarily well in sup norm by elements of (B). But (B) is closed, hence (f\in B). Therefore
[
B = C(X,\mathbb R).
]
Since (B) is the closure of (A), this means (A) is dense in (C(X,\mathbb R)). This proves the real Stone–Weierstrass theorem.
7. Complex Stone–Weierstrass theorem
We now deduce the complex version.
Theorem (complex Stone–Weierstrass).
Let (X) be compact Hausdorff and (A\subset C(X,\mathbb C)) be a subalgebra such that
- (A) contains the constant functions;
- (A) separates points: for any distinct (x,y\in X) there exists (f\in A) with (f(x)\neq f(y));
- (A) is closed under complex conjugation: (f\in A \Rightarrow \overline{f}\in A).
Then (A) is uniformly dense in (C(X,\mathbb C)).
Proof.
Let
[
A_{\mathbb R} := { \operatorname{Re} f : f\in A} \subset C(X,\mathbb R).
]
First, (A_{\mathbb R}) is a real unital subalgebra of (C(X,\mathbb R)):
- If (f,g\in A), then (\operatorname{Re}(f+g) = \operatorname{Re}f + \operatorname{Re}g), etc.
- For (\lambda\in\mathbb R), (\operatorname{Re}(\lambda f) = \lambda \operatorname{Re}f).
- For (f,g\in A), (\operatorname{Re}(fg) = (\operatorname{Re}f)(\operatorname{Re}g) - (\operatorname{Im}f)(\operatorname{Im}g)), and (\operatorname{Im}f,\operatorname{Im}g) also lie in (A_{\mathbb R}) since
(\operatorname{Im} f = \operatorname{Re}(-if)) and (-if\in A).
Also (A_{\mathbb R}) contains constants (since (1\in A\Rightarrow \operatorname{Re}1 = 1\in A_{\mathbb R})).
Next, (A_{\mathbb R}) separates points. Take (x\neq y). Since (A) separates points, there is (f\in A) with (f(x)\neq f(y)). Write (f = u+iv) with (u=\operatorname{Re} f), (v=\operatorname{Im}f). Then
[
f(x)\neq f(y) \quad\Rightarrow\quad u(x)\neq u(y)\text{ or }v(x)\neq v(y).
]
If (u(x)\neq u(y)), then (u\in A_{\mathbb R}) separates (x,y). If (v(x)\neq v(y)), note that (v = \operatorname{Re}(-if)) with (-if\in A), so (v\in A_{\mathbb R}) separates (x,y). Thus (A_{\mathbb R}) separates points.
Hence (A_{\mathbb R}) satisfies the hypotheses of the real Stone–Weierstrass theorem, so (A_{\mathbb R}) is dense in (C(X,\mathbb R)).
Now any (F\in C(X,\mathbb C)) can be written (F = u + i v) with (u,v\in C(X,\mathbb R)). Since (A_{\mathbb R}) is dense in (C(X,\mathbb R)), there exist sequences
[
u_n, v_n \in A_{\mathbb R}
]
such that (u_n\to u), (v_n\to v) uniformly.
For each (n), define
[
f_n := u_n + i v_n.
]
We claim (f_n\in A): indeed, (u_n, v_n\in A_{\mathbb R}) means there exist (a_n,b_n\in A) with
[
\operatorname{Re} a_n = u_n,\qquad \operatorname{Re} b_n = v_n.
]
But because (A) is closed under conjugation,
[
u_n = \frac{a_n + \overline{a_n}}{2}\in A,\qquad
v_n = \frac{b_n + \overline{b_n}}{2}\in A.
]
Thus (u_n, v_n) are real‑valued functions in (A), so (u_n + i v_n\in A) (closed under addition and scalar multiplication by (i)).
Finally,
[
|f_n - F|\infty
= |(u_n-u) + i(v_n-v)|\infty
\le |u_n-u|\infty + |v_n-v|\infty \to 0.
]
So (F) is in the closure of (A). Since (F) was arbitrary, (\overline{A} = C(X,\mathbb C)). (\Box)
8. As a corollary: classical Weierstrass theorem
Take (X=[a,b]\subset\mathbb R) and (A) the algebra of all real polynomials restricted to ([a,b]). Then:
- (A) contains constants;
- For any (x\neq y) in ([a,b]), the function (p(t)=t) is in (A) and satisfies (p(x)\neq p(y)), so (A) separates points;
- ([a,b]) is compact Hausdorff.
So by the real Stone–Weierstrass theorem, polynomials are dense in (C([a,b],\mathbb R)) with respect to the sup norm: this is the classical Weierstrass approximation theorem.
This completes the proof of the Stone–Weierstrass theorem (real and complex versions).