## Supremum of continuous functions on $\mathbb{R}$ [closed]

### Remember to vote up questions/answers you find interesting or helpful (requires 15 reputation points)

If $f(x)$ is a continuous function on all of $\mathbb R$, with the property that $\sup_{x\in\mathbb R}|f(x)|\leq 1$. If this is the case, how I can test if the sup is attained or not? (i.e., if there exists at least $x_{o}\in \mathbb R$ such that $|f(x_{o})|\geq |f(x)|, \forall x\in \mathbb R$).

Should we have something like $\lim_{x\to\pm\infty}|f(x)|=0$, or something else?

-
$\lim\sup_{x\to\pm\infty} |f(x)|<1$ is sufficient but not necessary. – Will Sawin Jun 15 at 17:39
Will is incorrect. It is neither. But MathOverflow is probably not the place for this question. – Gerald Edgar Jun 15 at 18:06

1
(he probably meant $\limsup |fx| < \sup |f(x)|$) @Catherine: a good place for your question is e.g. en.wikipedia.org/wiki/Wikipedia:Reference_desk/… – Pietro Majer Jun 15 at 18:22
{"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": 9, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 5, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9050837755203247, "perplexity_flag": "middle"}