Definition 3.8: (Finite sum of real-valued functions) Let (X,d_X) be a metric space and let f^{(1)},...,f^{(N)} : X -> Real. The finite sum sum_{i=1}^N f^{(i)} : X -> Real is defined by (sum_{i=1}^N f^{(i)})(x) = sum_{i=1}^N f^{(i)}(x).
Equations
- finiteSumRealFunctions f x = ∑ i : Fin N, f i x
Instances For
Example 3.5.1: Let f^{(1)}(x) = x, f^{(2)}(x) = x^2, and f^{(3)}(x) = x^3.
Define f := ∑_{i=1}^3 f^{(i)}, so that f(x) = x + x^2 + x^3.
Equations
Instances For
The finite sum of example351_fi evaluates to x + x^2 + x^3.
Helper for Text 3.5.2: choose centers and bounds for a bounded family.
Helper for Text 3.5.2: extend a pointwise bound to max (B i) 0.
Helper for Text 3.5.2: dist between sums is bounded by sum of pointwise dists.
Helper for Text 3.5.2: sum of pointwise dists is bounded by sum of max bounds.
Text 3.5.2: [Finite sums of bounded functions are bounded] Let X be a nonempty set and
let (Y, d_Y) be a metric space, with Y a normed vector space and d_Y(u,v)=‖u-v‖.
If f^{(1)}, …, f^{(n)} ∈ B(X → Y), then the pointwise sum
f(x)=∑_{i=1}^n f^{(i)}(x) is bounded, hence f ∈ B(X → Y).
Text 3.5.3: [Finite sums of continuous functions are continuous] Let (X, d_X) be a metric
space and let Y be a normed vector space (with its metric). If
f^{(1)}, …, f^{(n)} : X → Y are continuous, then f := ∑_{i=1}^n f^{(i)} is continuous.
Convergence mode for a series of functions: pointwise or uniform.
- pointwise : SeriesConvergenceMode
- uniform : SeriesConvergenceMode
Instances For
Partial sum function S_N(x) = ∑_{n=1}^N f^{(n)}(x).
Equations
- seriesPartialSum f N x = ∑ n ∈ Finset.Icc 1 N, f n x
Instances For
Definition 3.9: [Infinite series of functions] Let (X,d_X) be a metric space and let
(f^{(n)})_{n≥1} be functions f^{(n)} : X → ℝ, with partial sums
S_N(x) = ∑_{n=1}^N f^{(n)}(x). Let f : X → ℝ. (i) The series ∑_{n=1}^∞ f^{(n)}
converges pointwise to f on X if for every x ∈ X, lim_{N→∞} S_N(x) = f(x).
(ii) The series converges uniformly to f on X if S_N → f uniformly on X, i.e.
lim_{N→∞} sup_{x∈X} |S_N(x) - f(x)| = 0.
Equations
- seriesConverges f g SeriesConvergenceMode.pointwise = ∀ (x : X), Filter.Tendsto (fun (N : ℕ) => seriesPartialSum f N x) Filter.atTop (nhds (g x))
- seriesConverges f g SeriesConvergenceMode.uniform = TendstoUniformly (fun (N : ℕ) => seriesPartialSum f N) g Filter.atTop
Instances For
Definition 3.10: [Sup norm] Let X be a set and let f : X → ℝ be bounded.
The sup norm (uniform norm) is ‖f‖∞ = sup { |f(x)| : x ∈ X }, and if X = ∅
then ‖f‖∞ = 0.
Instances For
Text 3.5.4: [Finiteness and nonnegativity of the sup norm] Let X be a nonempty
set and let f : X → ℝ be bounded. Define ‖f‖∞ := sup_{x∈X} |f(x)|. Then
‖f‖∞ ∈ [0,∞), in particular it is finite and nonnegative.
Helper for Theorem 3.5: rewrite seriesPartialSum as a Finset.range sum.
Helper for Theorem 3.5: uniform convergence of partial sums to the tsum.
Helper for Theorem 3.5: continuity of each partial sum.
Theorem 3.5: [Weierstrass M-test] Let (X,d) be a metric space and let
(f^{(n)}) be a sequence of bounded real-valued continuous functions on X.
Assume the series ∑ ‖f^{(n)}‖∞ converges. Then the series of functions
∑ f^{(n)} converges uniformly on X to a function f : X → ℝ, and f is
continuous on X.
Helper for Example 3.5.2: pointwise convergence of the geometric series on (-1,1).
Helper for Example 3.5.2: explicit real value x_N = 1 - 1/2^(N+1).
Instances For
Helper for Example 3.5.2: the point x_N is at least 1/2.
Helper for Example 3.5.2: the point x_N lies in (-1,1).
Helper for Example 3.5.2: for each N, some point has error at least 1/2.
Example 3.5.2: Pointwise but not uniform convergence of a geometric series.
For f^{(n)}(x) = x^n on (-1,1), the series converges pointwise to x/(1-x),
but the convergence is not uniform on (-1,1).
Proposition 3.17: If a series of functions converges uniformly to f on X,
then it converges pointwise to f on X.
The function x ↦ 2x on (-2,1) is bounded.
The bounded function x ↦ 2x on (-2,1) packaged for supNorm.
Instances For
Pointwise bound for |2x| on (-2,1).
Any level strictly below 4 is exceeded by |2x| at some point of (-2,1).
Upper bound ‖x ↦ 2x‖∞ ≤ 4 on (-2,1).
Example 3.5.6: (Computing the sup norm) For X = (-2,1) and f(x) = 2x,
the sup norm ‖f‖∞ = sup_{x∈X} |f(x)| equals 4.
Helper for Example 3.5.8: compute ‖x ↦ x^n‖∞ on [-r,r].
Example 3.5.8: [Uniform convergence on [-r,r] for a geometric series] Let 0 < r < 1
and define f^{(n)}(x) = x^n on [-r,r]. Each f^{(n)} is continuous and bounded,
with sup norm ‖f^{(n)}‖∞ = r^n. The series ∑ f^{(n)} converges uniformly on [-r,r]
to x/(1-x), and ∑ x^n is pointwise but not uniformly convergent on (-1,1).