# 8.1: Uniform Convergence

$$\newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$

$$\newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$

$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$

( \newcommand{\kernel}{\mathrm{null}\,}\) $$\newcommand{\range}{\mathrm{range}\,}$$

$$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$

$$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}[1]{\| #1 \|}$$

$$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$

$$\newcommand{\Span}{\mathrm{span}}$$

$$\newcommand{\id}{\mathrm{id}}$$

$$\newcommand{\Span}{\mathrm{span}}$$

$$\newcommand{\kernel}{\mathrm{null}\,}$$

$$\newcommand{\range}{\mathrm{range}\,}$$

$$\newcommand{\RealPart}{\mathrm{Re}}$$

$$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$

$$\newcommand{\Argument}{\mathrm{Arg}}$$

$$\newcommand{\norm}[1]{\| #1 \|}$$

$$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$

$$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\AA}{\unicode[.8,0]{x212B}}$$

$$\newcommand{\vectorA}[1]{\vec{#1}} % arrow$$

$$\newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow$$

$$\newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$

$$\newcommand{\vectorC}[1]{\textbf{#1}}$$

$$\newcommand{\vectorD}[1]{\overrightarrow{#1}}$$

$$\newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}}$$

$$\newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}}$$

$$\newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$

$$\newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$

$$\newcommand{\avec}{\mathbf a}$$ $$\newcommand{\bvec}{\mathbf b}$$ $$\newcommand{\cvec}{\mathbf c}$$ $$\newcommand{\dvec}{\mathbf d}$$ $$\newcommand{\dtil}{\widetilde{\mathbf d}}$$ $$\newcommand{\evec}{\mathbf e}$$ $$\newcommand{\fvec}{\mathbf f}$$ $$\newcommand{\nvec}{\mathbf n}$$ $$\newcommand{\pvec}{\mathbf p}$$ $$\newcommand{\qvec}{\mathbf q}$$ $$\newcommand{\svec}{\mathbf s}$$ $$\newcommand{\tvec}{\mathbf t}$$ $$\newcommand{\uvec}{\mathbf u}$$ $$\newcommand{\vvec}{\mathbf v}$$ $$\newcommand{\wvec}{\mathbf w}$$ $$\newcommand{\xvec}{\mathbf x}$$ $$\newcommand{\yvec}{\mathbf y}$$ $$\newcommand{\zvec}{\mathbf z}$$ $$\newcommand{\rvec}{\mathbf r}$$ $$\newcommand{\mvec}{\mathbf m}$$ $$\newcommand{\zerovec}{\mathbf 0}$$ $$\newcommand{\onevec}{\mathbf 1}$$ $$\newcommand{\real}{\mathbb R}$$ $$\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}$$ $$\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}$$ $$\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}$$ $$\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}$$ $$\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}$$ $$\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}$$ $$\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}$$ $$\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}$$ $$\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}$$ $$\newcommand{\laspan}[1]{\text{Span}\{#1\}}$$ $$\newcommand{\bcal}{\cal B}$$ $$\newcommand{\ccal}{\cal C}$$ $$\newcommand{\scal}{\cal S}$$ $$\newcommand{\wcal}{\cal W}$$ $$\newcommand{\ecal}{\cal E}$$ $$\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}$$ $$\newcommand{\gray}[1]{\color{gray}{#1}}$$ $$\newcommand{\lgray}[1]{\color{lightgray}{#1}}$$ $$\newcommand{\rank}{\operatorname{rank}}$$ $$\newcommand{\row}{\text{Row}}$$ $$\newcommand{\col}{\text{Col}}$$ $$\renewcommand{\row}{\text{Row}}$$ $$\newcommand{\nul}{\text{Nul}}$$ $$\newcommand{\var}{\text{Var}}$$ $$\newcommand{\corr}{\text{corr}}$$ $$\newcommand{\len}[1]{\left|#1\right|}$$ $$\newcommand{\bbar}{\overline{\bvec}}$$ $$\newcommand{\bhat}{\widehat{\bvec}}$$ $$\newcommand{\bperp}{\bvec^\perp}$$ $$\newcommand{\xhat}{\widehat{\xvec}}$$ $$\newcommand{\vhat}{\widehat{\vvec}}$$ $$\newcommand{\uhat}{\widehat{\uvec}}$$ $$\newcommand{\what}{\widehat{\wvec}}$$ $$\newcommand{\Sighat}{\widehat{\Sigma}}$$ $$\newcommand{\lt}{<}$$ $$\newcommand{\gt}{>}$$ $$\newcommand{\amp}{&}$$ $$\definecolor{fillinmathshade}{gray}{0.9}$$
##### Learning Objectives
• Explain uniform convergence

We have developed precise analytic definitions of the convergence of a sequence and continuity of a function and we have used these to prove the EVT and IVT for a continuous function. We will now draw our attention back to the question that originally motivated these definitions, “Why are Taylor series well behaved, but Fourier series are not necessarily?” More precisely, we mentioned that whenever a power series converges then whatever it converged to was continuous. Moreover, if we differentiate or integrate these series term by term then the resulting series will converge to the derivative or integral of the original series. This was not always the case for Fourier series. For example consider the function

\begin{align*} f(x) &= \dfrac{4}{\pi } \left ( \sum_{k=0}^{\infty }\dfrac{(-1)^k}{2k+1}\cos ((2k+1)\pi x) \right )\\ &= \dfrac{4}{\pi } \left (\cos (\pi x) - \dfrac{1}{3}\cos (2\pi x) + \dfrac{1}{5}(5\pi x) - \cdots \right ) \end{align*}

We have seen that the graph of $$f$$ is given by

Figure $$\PageIndex{1}$$: Graph of $$f$$.

If we consider the following sequence of functions

\begin{align*} f_1(x) &= \dfrac{4}{\pi } \cos \left ( \dfrac{\pi }{2}x \right )\\[4pt] f_2(x) &= \dfrac{4}{\pi } \left (\cos \left ( \dfrac{\pi }{2}x \right ) - \dfrac{1}{3}\cos \left ( \dfrac{3\pi }{2}x \right ) \right )\\[4pt] f_3(x) &= \dfrac{4}{\pi } \left (\cos \left ( \dfrac{\pi }{2}x \right ) - \dfrac{1}{3}\cos \left ( \dfrac{3\pi }{2}x \right ) + \dfrac{1}{5}\cos \left ( \dfrac{5\pi }{2}x \right ) \right )\\\vdots \end{align*}

we see the sequence of continuous functions ($$f_n$$) converges to the non-continuous function $$f$$ for each real number $$x$$. This didn’t happen with Taylor series. The partial sums for a Taylor series were polynomials and hence continuous but what they converged to was continuous as well.

The difficulty is quite delicate and it took mathematicians a while to determine the problem. There are two very subtly different ways that a sequence of functions can converge: pointwise or uniformly. This distinction was touched upon by Niels Henrik Abel (1802-1829) in 1826 while studying the domain of convergence of a power series. However, the necessary formal definitions were not made explicit until Weierstrass did it in his 1841 paper Zur Theorie der Potenzreihen (On the Theory of Power Series). This was published in his collected works in 1894.

It will be instructive to take a look at an argument that doesn’t quite work before looking at the formal definitions we will need. In 1821 Augustin Cauchy “proved” that the infinite sum of continuous functions is continuous. Of course, it is obvious (to us) that this is not true because we’ve seen several counterexamples. But Cauchy, who was a first rate mathematician was so sure of the correctness of his argument that he included it in his textbook on analysis, Cours d’analyse (1821).

##### Exercise $$\PageIndex{1}$$

Find the ﬂaw in the following “proof” that $$f$$ is also continuous at $$a$$.

Suppose $$f_1, f_2, f_3, f_4 ...$$ are all continuous at $$a$$ and that $$\sum_{n=1}^{\infty } f_n = f$$. Let $$ε > 0$$. Since $$f_n$$ is continuous at $$a$$, we can choose $$δ_n > 0$$ such that if $$|x - a| < δ_n$$, then $$|f_n(x) - f_n(a)| < \dfrac{ε}{2n}$$. Let $$δ = \inf (δ_1, δ_2, δ_3,...)$$. If $$|x - a| < δ$$ then

\begin{align*}
\left | f(x) - f(a) \right | &= \left | \sum_{n=1}^{\infty } f_n(x) - \sum_{n=1}^{\infty } f_n(a) \right |\\
&= \left | \sum_{n=1}^{\infty } \left (f_n(x) - f_n(a) \right ) \right |\\
&\leq \sum_{n=1}^{\infty } \left |f_n(x) - f_n(a) \right | \\
&\leq \sum_{n=1}^{\infty } \dfrac{\varepsilon }{2^n}\\
&\leq \varepsilon \sum_{n=1}^{\infty }\dfrac{1}{2^n} \\
&= \varepsilon
\end{align*}

Thus $$f$$ is continuous at $$a$$.

##### Definition

Let $$S$$ be a subset of the real number system and let $$(f_n) = (f_1, f_2, f_3, ...)$$ be a sequence of functions defined on $$S$$. Let $$f$$ be a function defined on $$S$$ as well. We say that ($$f_n$$) converges to $$f$$ pointwise on $$S$$ provided that for all $$x ∈ S$$, the sequence of real numbers ($$f_n(x)$$) converges to the number $$f(x)$$. In this case we write $$f_n\xrightarrow[]{ptwise}f$$ on $$S$$.

Symbolically, we have $$f_n\xrightarrow[]{ptwise}f$$ on $$S ⇔ ∀ x ∈ S,∀ ε > 0, ∃ N$$ such that $$( n > N ⇒|f_n(x) - f(x)| < ε)$$.

This is the type of convergence we have been observing to this point. By contrast we have the following new definition.

##### Definition

Let $$S$$ be a subset of the real number system and let $$(f_n) = (f_1, f_2, f_3, ...)$$ be a sequence of functions defined on $$S$$. Let $$f$$ be a function defined on $$S$$ as well. We say that ($$f_n$$) converges to $$f$$ uniformly on $$S$$ provided $$∀ ε > 0, ∃ N$$ such that $$n > N ⇒|f_n(x) - f(x)| < ε, ∀ x ∈ S$$.

In this case we write $$f_n\xrightarrow[]{unif}f$$ on $$S$$.

The difference between these two definitions is subtle. In pointwise convergence, we are given a fixed $$x ∈ S$$ and an $$ε > 0$$. Then the task is to find an $$N$$ that works for that particular $$x$$ and $$ε$$. In uniform convergence, one is given $$ε > 0$$ and must find a single $$N$$ that works for that particular $$ε$$ but also simultaneously (uniformly) for all $$x ∈ S$$. Clearly uniform convergence implies pointwise convergence as an $$N$$ which works uniformly for all $$x$$, works for each individual $$x$$ also. However the reverse is not true. This will become evident, but first consider the following example.

##### Exercise $$\PageIndex{2}$$

Let $$0 < b < 1$$ and consider the sequence of functions ($$f_n$$) defined on $$[0,b]$$ by $$f_n(x) = x_n$$. Use the definition to show that $$f_n\xrightarrow[]{unif}0$$ on $$[0 ,b]$$.

Hint

$$|x^n - 0| = x^n ≤ b^n$$

Uniform convergence is not only dependent on the sequence of functions but also on the set $$S$$. For example, the sequence $$\left ( f_n(x) \right ) = \left ( x^n \right )_{n=0}^{\infty }$$ of Problem $$\PageIndex{2}$$ does not converge uniformly on $$[0,1]$$. We could use the negation of the definition to prove this, but instead, it will be a consequence of the following theorem.

##### Theorem $$\PageIndex{1}$$

Consider a sequence of functions ($$f_n$$) which are all continuous on an interval $$I$$. Suppose $$f_n\xrightarrow[]{unif}f$$ on $$I$$. Then $$f$$ must be continuous on $$I$$.

Sketch of Proof

Let $$a ∈ I$$ and let $$ε > 0$$. The idea is to use uniform convergence to replace $$f$$ with one of the known continuous functions $$f_n$$. Specifically, by uncancelling, we can write

\begin{align*} \left | f(x) - f(a) \right | &= \left | f(x) - f_n(x) + f_n(x) - f_n(a) + f_n(a) - f(a) \right |\\ &\leq \left |f(x) - f_n(x) \right | + \left | f_n(x) - f_n(a) \right | + \left | f_n(a) - f(a) \right | \end{align*}

If we choose $$n$$ large enough, then we can make the first and last terms as small as we wish, noting that the uniform convergence makes the first term uniformly small for all $$x$$. Once we have a specific $$n$$, then we can use the continuity of $$f_n$$ to find a $$δ > 0$$ such that the middle term is small whenever $$x$$ is within $$δ$$ of $$a$$.

##### Exercise $$\PageIndex{3}$$

Provide a formal proof of Theorem $$\PageIndex{1}$$ based on the above ideas.

##### Exercise $$\PageIndex{4}$$

Consider the sequence of functions ($$f_n$$) defined on $$[0,1]$$ by $$f_n(x) = x^n$$. Show that the sequence converges to the function

$f(x) = \begin{cases} 0 & \text{ if } x\; \epsilon\; [0,1) \\ 1 & \text{ if } x= 1 \end{cases} \nonumber$

pointwise on $$[0,1]$$, but not uniformly on $$[0,1]$$.

Notice that for the Fourier series at the beginning of this chapter,

$f(x) = \dfrac{4}{\pi } \left (\cos \left ( \dfrac{\pi }{2}x \right ) - \dfrac{1}{3}\cos \left ( \dfrac{3\pi }{2}x \right ) + \dfrac{1}{5}\cos \left ( \dfrac{5\pi }{2}x \right ) - \dfrac{1}{7}\cos \left ( \dfrac{7\pi }{2}x \right ) + \cdots \right )$

the convergence cannot be uniform on $$(-∞,∞)$$, as the function $$f$$ is not continuous. This never happens with a power series, since they converge to continuous functions whenever they converge. We will also see that uniform convergence is what allows us to integrate and differentiate a power series term by term.

This page titled 8.1: Uniform Convergence is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Eugene Boman and Robert Rogers (OpenSUNY) via source content that was edited to the style and standards of the LibreTexts platform.