# Pointwise convergence

In mathematics, pointwise convergence is one of various senses in which a sequence of functions can converge to a particular function. It is weaker than uniform convergence, to which it is often compared.[1][2]

## Definition

Suppose that ${\displaystyle X}$ is a set and ${\displaystyle Y}$ is a topological space, such as the real or complex numbers or a metric space, for example. A net or sequence of functions ${\displaystyle \left(f_{n}\right),}$ all having the same domain ${\displaystyle X}$ and codomain ${\displaystyle Y,}$ is said to converge pointwise to a given function ${\displaystyle f:X\to Y}$ often written as

${\displaystyle \lim _{n\to \infty }f_{n}=f\ {\mbox{pointwise}}}$
if (and only if)
${\displaystyle \lim _{n\to \infty }f_{n}(x)=f(x){\text{ for every }}x{\text{ in the domain of }}f.}$
The function ${\displaystyle f}$ is said to be the pointwise limit function of the ${\displaystyle \left(f_{n}\right).}$

## Properties

This concept is often contrasted with uniform convergence. To say that

${\displaystyle \lim _{n\to \infty }f_{n}=f\ {\mbox{uniformly}}}$
means that
${\displaystyle \lim _{n\to \infty }\,\sup\{\,\left|f_{n}(x)-f(x)\right|:x\in A\,\}=0,}$
where ${\displaystyle A}$ is the common domain of ${\displaystyle f}$ and ${\displaystyle f_{n}.}$ That is a stronger statement than the assertion of pointwise convergence: every uniformly convergent sequence is pointwise convergent, to the same limiting function, but some pointwise convergent sequences are not uniformly convergent. For example, if ${\displaystyle f_{n}:[0,1)\to [0,1)}$ is a sequence of functions defined by ${\displaystyle f_{n}(x)=x^{n},}$ then ${\displaystyle \lim _{n\to \infty }f_{n}(x)=0}$ pointwise on the interval ${\displaystyle [0,1),}$ but not uniformly.

The pointwise limit of a sequence of continuous functions may be a discontinuous function, but only if the convergence is not uniform. For example,

${\displaystyle f(x)=\lim _{n\to \infty }\cos(\pi x)^{2n}}$
takes the value ${\displaystyle 1}$ when ${\displaystyle x}$ is an integer and ${\displaystyle 0}$ when ${\displaystyle x}$ is not an integer, and so is discontinuous at every integer.

The values of the functions ${\displaystyle f_{n}}$ need not be real numbers, but may be in any topological space, in order that the concept of pointwise convergence make sense. Uniform convergence, on the other hand, does not make sense for functions taking values in topological spaces generally, but makes sense for functions taking values in metric spaces, and, more generally, in uniform spaces.

## Topology

Let ${\displaystyle Y^{X}}$ denote the set of all functions from some given set ${\displaystyle X}$ into some topological space ${\displaystyle Y.}$ As described in the article on characterizations of the category of topological spaces, if certain conditions are met then it is possible to define a unique topology on a set in terms of what nets do and do not converge. The definition of pointwise convergence meets these conditions and so it induces a topology, called the topology of pointwise convergence, on the set ${\displaystyle Y^{X}}$ of all functions of the form ${\displaystyle X\to Y.}$ A net in ${\displaystyle Y^{X}}$ converges in this topology if an only if it converges points.

The topology of pointwise convergence is the same as convergence in the product topology on the space ${\displaystyle Y^{X},}$ where ${\displaystyle X}$ is the domain and ${\displaystyle Y}$ is the codomain. Explicitly, if ${\displaystyle {\mathcal {F}}\subseteq Y^{X}}$ is a set of functions from some set ${\displaystyle X}$ into some topological space ${\displaystyle Y}$ then the topology of pointwise convergence on ${\displaystyle {\mathcal {F}}}$ is equal to the subspace topology that it inherits from the product space ${\displaystyle \prod _{x\in X}Y}$ when ${\displaystyle {\mathcal {F}}}$ is identified as a subset if this Cartesian product via the canonical inclusion map ${\displaystyle {\mathcal {F}}\to \prod _{x\in X}Y}$ defined by ${\displaystyle f\mapsto (f(x))_{x\in X}.}$

If the codomain ${\displaystyle Y}$ is compact, then by Tychonoff's theorem, the space ${\displaystyle Y^{X}}$ is also compact.

## Almost everywhere convergence

In measure theory, one talks about almost everywhere convergence of a sequence of measurable functions defined on a measurable space. That means pointwise convergence almost everywhere, that is, on a subset of the domain whose complement has measure zero. Egorov's theorem states that pointwise convergence almost everywhere on a set of finite measure implies uniform convergence on a slightly smaller set.

Almost everywhere pointwise convergence on the space of functions on a measure space does not define the structure of a topology on the space of measurable functions on a measure space (although it is a convergence structure). For in a topological space, when every subsequence of a sequence has itself a subsequence with the same subsequential limit, the sequence itself must converge to that limit.

But consider the sequence of so-called "galloping rectangles" functions, which are defined using the floor function: let ${\displaystyle N=\operatorname {floor} \left(\log _{2}n\right)}$ and ${\displaystyle k=n}$ mod ${\displaystyle 2^{X},}$ and let

${\displaystyle f_{n}(x)={\begin{cases}1,&{\frac {k}{2^{N}}}\leq x\leq {\frac {k+1}{2^{N}}}\\0,&{\text{otherwise}}.\end{cases}}}$

Then any subsequence of the sequence ${\displaystyle \left(f_{n}\right)_{n}}$ has a sub-subsequence which itself converges almost everywhere to zero, for example, the subsequence of functions which do not vanish at ${\displaystyle x=0.}$ But at no point does the original sequence converge pointwise to zero. Hence, unlike convergence in measure and ${\displaystyle L^{p}}$ convergence, pointwise convergence almost everywhere is not the convergence of any topology on the space of functions.