As practice for our analysis final, my prof suggested we come up with examples and counterexamples (where one of the conditions isn't satisfied so the result is contradicted) for different theorems on uniform convergence, namely those concerning continuity, differentiability and integrability (outlined here: http://en.wikipedia.org/wiki/Uniform_convergence#Applications).
I've come up with examples and counterexamples and I was hoping someone could confirm they're correct since I might need them on the final.
CONTINUITY:
Example:
$f_n(x) = xe^{-nx}$ is a sequence of continuous functions that converges uniformly on $[0,1]$ to a function $f = 0$, hence f is continuous on $[0,1]$
Counterexample:
$f_n(x) = e^{-nx}$ is a sequence of continuous functions that converges on $[0,1]$ to a function $f$
$$ f(x) := \begin{cases} 1 &\text{if $x=0$}\\ 0 &\text{$x\in$} (0,1] \end{cases} $$ So $f_n(x)$ converges to a discontinuous function f, which can only happen if convergence is not uniform.
DIFFERENTIABILITY:
Example:
$f_n(x) = \frac{x}{x+n}$ converges uniformly on $[0,1]$ to a function $f = 0$
$f'_n(x) = \frac{n}{(x+n)^2}$ converges uniformly on $[0,1]$ to a function $g = 0$
Hence f is differentiable and f' = g.
Counterexample:
$f_n(x) = \frac{1}{n}\sin{nx}$ converges uniformly on $[0,1]$ to a function $f = 0$
$f'_n(x) = \cos{nx}$ converges non-uniformly on $[0,1]$ to a function $g = 1$
Hence f is differentiable but f' ≠ g.
INTEGRABILITY: Only Riemann integrals.
Example:
Example 4.2 on page 8 of this PDF: http://www.mai.liu.se/~pehor/kurser/TATA57/Uniform%20Convergence.pdf
Counterexample:
I'm not sure here either. I struggle with integration. I found this example in one of the practice problems from my book:
$f_n(x) = \frac{nx}{1+nx}$ because it converges non-uniformly on $[0,1]$.
$$ f(x) := \begin{cases} 0 &\text{if $x=0$}\\ 1 &\text{$x\in$} (0,1] \end{cases} $$
$$\lim\limits_{n\to\infty} \int_{0}^{1} f_n(x)dx = \int_{0}^{1} f(x)dx = 1$$
Does this work as a counterexample? Why or why not? I don't think there are any examples where $\lim\limits_{n\to\infty} \int_{0}^{1} f_n(x)dx ≠ \int_{0}^{1} f(x)dx$, right?