Example 8.1.1.
Let \(f_n(x)=x^n\) on \([0,1]\text{.}\) Then \(f_n(x)\to 0\) for every \(x \in [0,1)\text{,}\) while \(f_n(1)=1\) for every \(n\text{.}\) Thus the pointwise limit is
\begin{equation*}
f(x)=\begin{cases}
0 & \text{if } 0 \le x \lt 1,\\
1 & \text{if } x=1.
\end{cases}
\end{equation*}
Each \(f_n\) is a polynomial, but the limit is not continuous at \(1\text{.}\)
