Skip to content
The site is in test mode. All features are free for now.
MathAgora

University Mathematics · Real analysis

Sequences and series of functions

Pointwise and uniform convergence, uniform convergence and differentiation, the Weierstrass M-test, power series, Taylor series, the Weierstrass Approximation Theorem.

100 min 8 questions

01Pointwise and uniform convergence

fn→ff_n \to f pointwise on AA if fn(x)→f(x)f_n(x) \to f(x) for each fixed x∈Ax \in A. Here NN may depend on both ε\varepsilon and xx.

fn→ff_n \to f uniformly on AA if for every ε>0\varepsilon > 0 there is one NN with ∣fn(x)−f(x)∣<ε|f_n(x) - f(x)| < \varepsilon for all n≥Nn \ge N and all x∈Ax \in A. Equivalently: sup⁡x∈A∣fn(x)−f(x)∣→0\sup_{x\in A}|f_n(x) - f(x)| \to 0. Geometrically: for n≥Nn \ge N the graph of fnf_n lies in an ε\varepsilon-band around the graph of ff.

Example: fn(x)=xnf_n(x) = x^n on [0,1][0,1] converges pointwise to f(x)=0f(x) = 0 (x<1x < 1), f(1)=1f(1) = 1. The limit is discontinuous although every fnf_n is continuous.

Theorem: a uniform limit of continuous functions is continuous. Hence xnx^n does not converge uniformly on [0,1][0,1].

Cauchy criterion: (fn)(f_n) converges uniformly   ⟺  \iff for every ε\varepsilon there is NN with ∣fn(x)−fm(x)∣<ε|f_n(x) - f_m(x)| < \varepsilon for all m,n≥Nm, n \ge N and all xx.

02Uniform convergence and differentiation

Uniform convergence fn→ff_n \to f does not give fn′→f′f_n' \to f'. E.g. fn(x)=sin⁡(nx)n→0f_n(x) = \frac{\sin(nx)}{\sqrt n} \to 0 uniformly, but fn′(x)=ncos⁡(nx)f_n'(x) = \sqrt n\cos(nx) diverges.

Theorem: let fnf_n be differentiable on [a,b][a,b], let $f_n'$ converge uniformly to gg, and let (fn(x0))(f_n(x_0)) converge at some point x0x_0. Then fnf_n converges uniformly to some ff, ff is differentiable, and f′=gf' = g.

In other words: limits and derivatives can be interchanged when the derivatives converge uniformly.

03Series of functions

∑fn\sum f_n converges (pointwise or uniformly) if the partial sums sk=f1+⋯+fks_k = f_1 + \dots + f_k do. The previous theorems carry over: a uniformly convergent series of continuous functions has a continuous sum; a series may be differentiated term by term if ∑fn′\sum f_n' converges uniformly.

Weierstrass M-test: if ∣fn(x)∣≤Mn|f_n(x)| \le M_n for all x∈Ax \in A and ∑Mn\sum M_n converges, then ∑fn\sum f_n converges uniformly on AA.

E.g. ∑sin⁡(nx)n2\sum\frac{\sin(nx)}{n^2}: ∣sin⁡(nx)n2∣≤1n2\left|\frac{\sin(nx)}{n^2}\right| \le \frac{1}{n^2}, so the series converges uniformly on R\mathbb R and its sum is continuous.

04Power series

∑anxn\sum a_nx^n is a power series. If it converges at x0x_0, it converges absolutely for all ∣x∣<∣x0∣|x| < |x_0|. Hence there is a radius of convergence R∈[0,∞]R \in [0, \infty]: convergence for ∣x∣<R|x| < R, divergence for ∣x∣>R|x| > R; the endpoints must be checked separately. If ∣an+1an∣→L\left|\frac{a_{n+1}}{a_n}\right| \to L, then R=1LR = \frac1L.

Theorems: 1) a power series converges uniformly on every [−r,r][-r, r] with r<Rr < R (by the M-test); 2) Abel's Theorem: if it converges at x=Rx = R, it converges uniformly on [0,R][0, R]; 3) the sum is continuous on (−R,R)(-R, R) and can be differentiated term by term with the same radius: (∑anxn)′=∑nanxn−1\left(\sum a_nx^n\right)' = \sum na_nx^{n-1}.

E.g. differentiating ∑n≥0xn=11−x\sum_{n\ge0}x^n = \frac{1}{1 - x} gives ∑n≥1nxn−1=1(1−x)2\sum_{n\ge1}nx^{n-1} = \frac{1}{(1 - x)^2} (∣x∣<1|x| < 1).

05Taylor series

If f(x)=∑anxnf(x) = \sum a_nx^n with radius R>0R > 0, then term-by-term differentiation gives an=f(n)(0)n!a_n = \frac{f^{(n)}(0)}{n!}. This is the Taylor series of ff about 0.

Lagrange Remainder Theorem: if ff is N+1N + 1 times differentiable, then f(x)=SN(x)+EN(x)f(x) = S_N(x) + E_N(x), where SNS_N is the NN-th Taylor polynomial and EN(x)=f(N+1)(c)(N+1)!xN+1E_N(x) = \frac{f^{(N+1)}(c)}{(N+1)!}x^{N+1} for some cc between 0 and xx. The Taylor series equals ff exactly when EN(x)→0E_N(x) \to 0.

Warning: a function can be infinitely differentiable without equaling its Taylor series. For g(x)=e−1/x2g(x) = e^{-1/x^2} (x≠0x \ne 0), g(0)=0g(0) = 0: every g(n)(0)=0g^{(n)}(0) = 0, so the Taylor series is 0, while g>0g > 0 for x≠0x \ne 0.

06The Weierstrass Approximation Theorem

Theorem: if ff is continuous on [a,b][a,b], then for every ε>0\varepsilon > 0 there is a polynomial pp with ∣f(x)−p(x)∣<ε|f(x) - p(x)| < \varepsilon for all x∈[a,b]x \in [a,b]. In other words, every continuous function is a uniform limit of polynomials.

This does not mean Taylor polynomials do the job: ∣x∣|x| is not even differentiable at 0, yet it can be uniformly approximated by polynomials on [−1,1][-1,1]. One construction uses the Bernstein polynomials Bn(x)=∑k=0nf(kn)(nk)xk(1−x)n−kB_n(x) = \sum_{k=0}^n f\left(\frac kn\right)\binom nk x^k(1 - x)^{n-k} on [0,1][0,1].

The theorem also needs a compact interval: e.g. exe^x is not a uniform limit of polynomials on all of R\mathbb R.

Key formulas

  • Uniform convergence

    sup⁡x∈A∣fn(x)−f(x)∣→0\sup_{x\in A}|f_n(x)-f(x)|\to0
  • Weierstrass M-test: the series converges uniformly

    ∣fn(x)∣≤Mn, ∑Mn<∞ ⇒ ∑fn|f_n(x)|\le M_n,\ \sum M_n<\infty\ \Rightarrow\ \sum f_n
  • Radius of convergence

    R=1L,L=lim⁡∣an+1an∣R=\frac1L,\quad L=\lim\left|\frac{a_{n+1}}{a_n}\right|
  • Term-by-term differentiation (∣x∣<R|x|<R)

    (∑anxn)′=∑nanxn−1\Big(\sum a_nx^n\Big)'=\sum na_nx^{n-1}
  • Lagrange remainder

    EN(x)=f(N+1)(c)(N+1)! xN+1E_N(x)=\frac{f^{(N+1)}(c)}{(N+1)!}\,x^{N+1}
  • From differentiating the geometric series

    ∑n=1∞nxn=x(1−x)2,∣x∣<1\sum_{n=1}^{\infty}nx^n=\frac{x}{(1-x)^2},\quad |x|<1

Worked examples

Example 1

fn(x)=nx1+n2x2f_n(x) = \frac{nx}{1 + n^2x^2} on [0,1][0,1]. Does it converge uniformly?

Example 2

Find the sum of ∑n≥1xnn\sum_{n\ge1}\frac{x^n}{n} for ∣x∣<1|x| < 1.