# Sequence of functions problem

Define $$f_n(x)= \begin{cases} 1-nx, &x\in [0,1/n],\\ 0, &x\in [1/n,1] \end{cases}$$

Then which of the following is correct:

1. $\lim_{n\to\infty}f_n(x)$ defines a continuous function on $[0,1]$.
2. $\{f_n\}$ converges uniformly on $[0,1]$.
3. $\lim_{n\to\infty}f_n(x)=0$ for all $x\in [0,1]$.
4. $\lim_{n\to\infty} f_n(x)$ exists for all $x\in[0,1]$.

Perhaps it would be helpful to first sketch the graphs of the first few $f_n$. –  David Mitra Dec 6 '12 at 12:26
I think only 4. is correct. This you can prove by choosing any $x \in [0,1]$. If $x=0$ then $f_n(0)=1$ for all $n$. If $x>0$ then for all $n > \frac{1}{x}$ f_n(x)=0\$. This is one of the standard examples on pointwise but non-uniform convergence, and is probably covered in most analysis courses...
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 1, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9611358046531677, "perplexity": 228.0832597828736}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2014-52/segments/1418802766295.3/warc/CC-MAIN-20141217075246-00171-ip-10-231-17-201.ec2.internal.warc.gz"}