Math Applets

Pointwise Convergence

Pointwise convergence:

Let KK be an arbitrary set and fn:KCf_n : K \to \mathbb{C} for nNn \in \mathbb{N} and f:KCf : K \to \mathbb{C}. The sequence (fn)nN(f_n)_{n \in \mathbb{N}} is called pointwise convergent towards ff, if for every xKx \in K it holds that limnfn(x)=f(x),\lim_{n \to \infty} f_n(x) = f(x), i.e., for every xKx \in K and every ε>0\varepsilon > 0 there exists an Nx,εNN_{x,\varepsilon} \in \mathbb{N} such that fn(x)f(x)<εfor all nNx,ε.|f_n(x) - f(x)| < \varepsilon \quad \text{for all } n \ge N_{x,\varepsilon}.


  • Explore pointwise convergence for the sequence fn(x)=xn(x[0,1]),f_n(x)=x^n \qquad (x\in[0,1]), and its pointwise limit f(x)={0,0x<1,1,x=1.f(x)= \begin{cases} 0,& 0\le x<1,\\[4pt] 1,& x=1. \end{cases}
  • For a fixed choice of xx and ε>0\varepsilon>0, the applet helps you see when fn(x)f(x)<εfor all nNx,ε.|f_n(x)-f(x)|<\varepsilon \quad\text{for all } n \ge N_{x,\varepsilon}.
  • Use the slider nn to choose the current index nn (the solid blue curve is xnx^n).
  • Use the slider ε\varepsilon to set the tolerance ε>0\varepsilon>0.
  • Drag the point xx on the xx-axis to choose the evaluation point x[0,1]x\in[0,1].
  • The solid blue curve is the current function fn(x)=xnf_n(x)=x^n.
  • The faint dashed blue curves are earlier functions xkx^k (for k<nk<n), to show the trend as nn grows.
  • The red limit function is drawn as:
    • the red line y=0y=0 (limit on [0,1)[0,1)),
    • the red point (1,1)(1,1) (since 1n=11^n=1 for all nn).
  • The vertical gray guide marks the chosen xx.
  • The dashed horizontal lines form the ε\varepsilon-tube around the limit value at the chosen xx: f(x)±εf(x)\pm\varepsilon.
  • The point Pn=(x,fn(x))P_n=(x,f_n(x)) shows the current value of the sequence at your chosen xx.
  • The dashed segment from f(x)f(x) to fn(x)f_n(x) visualizes the error fn(x)f(x)|f_n(x)-f(x)|.
  • Fix an x<1x<1 and increase nn: the point Pn=(x,xn)P_n=(x,x^n) moves down toward 00, and eventually enters the ε\varepsilon-tube around f(x)=0f(x)=0.
  • When fn(x)f(x)<ε,|f_n(x)-f(x)|<\varepsilon, the point PnP_n (and the point xx on the axis) turn green.
  • Drag xx closer to 11 (e.g. 0.9,0.99,0.9990.9,0.99,0.999) while keeping ε\varepsilon fixed: you will need much larger nn before xn<εx^n<\varepsilon. This shows that Nx,εN_{x,\varepsilon} depends strongly on xx.
  • Check the special case x=1x=1: since fn(1)=1f_n(1)=1 for all nn, the limit value is f(1)=1f(1)=1 (the red point (1,1)(1,1)), not 00.
Loading graph…
  • Hold Shift + scroll to zoom
  • Hold Shift + drag to move
  • Points shaped like <> act as sliders

Description

Link to code.

Reference: Lecture Notes Calculus 1 ( May22,2022 ) Definition8.1 page 144

This applet visualizes pointconvergence using the sequence of functions

fn(x)=xn(x[0,1]). f_n(x)=x^n \qquad (x\in[0,1]).

The blue solid curve is the current function fnf_n. Faint dashed blue curves show earlier functions xkx^k (only for k<nk<n) to make the trend visible. The pointwise limit is drawn in red: the line y=0y=0 (the “zero function”), together with the special point (1,1)(1,1), since 1n=11^n=1 for all nn.

Two sliders are used: n selects the current index nn in fn(x)=xnf_n(x)=x^n, and ε selects the tolerance ε>0\varepsilon>0. A draggable point x chooses the evaluation point x[0,1]x\in[0,1]. The applet draws the horizontal ε\varepsilon-tube f(x)±εf(x)\pm\varepsilon and highlights the point (x,fn(x))(x,f_n(x)). This point turns green exactly when

fn(x)f(x)<ε. |f_n(x)-f(x)|<\varepsilon.

The displayed value Nx,εN_{x,\varepsilon} is the first index after which the inequality holds at the chosen xx and ε\varepsilon.

const ok = Math.abs(fnx - fx) < eps;

First, increase nn and observe that for any fixed x<1x < 1, the values xnx^n drop toward 00.
Hence, the blue curve approaches the red zero function on [0,1)[0,1).

The behaviour at x=1x = 1 is different:

fn(1)=1for all n,f_n(1) = 1 \quad \text{for all } n,

which is why the limit includes the point (1,1)(1,1).