Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

could any one tell me the following statement is true or false? and any reference for proof or counter examples?

The subset of $C^{\infty}$ functions with compact support in $\mathbb{R}$ in the space of bounded real valued continuos function on $\mathbb{R}$ is dense

share|cite|improve this question
up vote 4 down vote accepted

Obviously false. There is no sequence in $C_c(\mathbb R)$ (of smooth or "rough" functions) that converges uniformly to the constant function $1$.

Indeed if $(f_n)$ is any sequence in $C_c(\mathbb R)$, then $\displaystyle \lim_{n\to\infty} \lVert 1-f_n\rVert_\infty \geq 1$ since each $f_n$ is compactly supported.

share|cite|improve this answer

First, when you say "dense" you need to specify with respect to what norm. I'm assuming you mean the uniform norm (the sup norm).

That said, the statement is false. To see that, take $f(x)=c$, where $c\neq0$. Clearly $f\in C(\mathbb{R})\cap L^\infty(\mathbb{R})$ (continuous and bounded). Now, for every function $\varphi\in C^\infty_0$, we have $||\varphi-f||\geq c$. Hence, there is no function in $C^\infty_0(\mathbb{R})$ that is arbitrarily close to $f$, which means that $C^\infty_0(\mathbb{R})$ is NOT dense in $C(\mathbb{R})\cap L^\infty(\mathbb{R})$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.