10
$\begingroup$

How do you show that the space $C_c (\mathbb{R})$ of continuous functions on $\mathbb{R}$ is dense in $L_1(\mu)$, where $\mu$ is a regular measure on the reals, without using Lusin's theorem directly?

More concretly, given an integrable function $f$, I'd like to know how to explicitely construct a sequence of functions in $C_c(\mathbb{R})$ that converges to it in $L_1$, without just using simple functions at all, or their density in $L_1(\mu)$.

I thought about defining $f_k:=f\chi_{E_k}$, where $E_k:=\{x\in\mathbb{R}: |f(x)|\geq \frac 1k\}$, but there's no guarantee that these would be continuous (there's no guarantee that $f$ is continuous). Perhaps there is a way to "smooth" them out enough to make them continuous?

$\endgroup$
1
  • 1
    $\begingroup$ Not directly related but you can look up mollifier. Really interesting stuff. $\endgroup$
    – Hui Yu
    Commented Nov 23, 2012 at 3:30

3 Answers 3

10
$\begingroup$

Another approach uses the representation of the dual $\left[ L^1(\mathbb{R})\right]^\star$ as $L^\infty(\mathbb{R})$ and the Hahn-Banach separation theorem. Namely, to prove that a vector subspace of a Banach space is dense we only need to show that the only continuous linear functional that vanishes on it is the null one.

To do this fix $\phi \in L^\infty(\mathbb{R})$ and suppose that $$\tag{1}\int_{-\infty}^\infty \phi(x)f(x)\, dx=0, \quad \forall f\in C_c(\mathbb{R}).$$ We claim that $\phi=0$ almost everywhere. Indeed, let $a<b$ be fixed numbers. Approximate the characteristic function $\chi_{[a,b]}$ with a family $\chi^{(\varepsilon)}_{[a, b]}$ of "trapezoidal-like" functions:

trapezoidal function

We have $$\int_{-\infty}^\infty \left\lvert \chi_{[a,b]}(x)-\chi_{[a,b]}^{(\varepsilon)}\right\rvert\, dx = 2\varepsilon$$ so \begin{align} \left\lvert \int_{-\infty}^\infty \phi(x)\chi_{[a,b]}(x)\, dx - \int_{-\infty}^\infty \phi(x)\chi_{[a, b]}^{(\varepsilon)}(x)\, dx \right\rvert & \le \lVert \phi\rVert_{\infty} \int_{-\infty}^\infty \left\lvert \chi_{[a,b]}(x)-\chi_{[a,b]}^{(\varepsilon)}(x)\right\rvert\, dx \\ &=2\varepsilon \lVert \phi\rVert_\infty. \end{align} In particular, $$\int_a^b \phi(x)\, dx=\lim_{\varepsilon \to 0} \int_{-\infty}^\infty \phi(x)\chi_{[a,b]}^{(\varepsilon)}\, dx,$$ and the last limit is $0$ due to our assumption (1): indeed, every $\chi_{[a, b]}^{(\varepsilon)}$ is a continuous function with compact support. We have thus shown that $$\tag{2} \int_a^b\phi(x)\, dx=0, \qquad \forall a<b.$$ It is intuitively clear that this can happen only if $\phi=0$ almost everywhere: for a rigorous proof of this you can apply the Lebesgue differentiation theorem or Lemma 1 of this post. This proves the claim.

To conclude we only need to recall that every continuous linear functional $\Lambda \in \left[ L^1(\mathbb{R})\right]^\star$ is of the form $$\Lambda f= \int_{-\infty}^\infty \phi(x)f(x)\, dx,\qquad f \in L^1(\mathbb{R}),$$ for a unique $\phi\in L^\infty(\mathbb{R})$, and then apply the Hahn-Banach separation theorem. $\square$

A final remark: Even if we did not mention convolutions explicitly, the present proof is not that different in nature from the ones presented above. Both rely on the possibility of approximating "rough" functions (like our $\chi_{[a, b]}$) with "smooth" ones.

$\endgroup$
1
  • $\begingroup$ @GiusseppeNegro Thank you for your detailed answer. But would you write the definition of the trapezoidal-like function? $\endgroup$ Commented Aug 9, 2016 at 6:47
6
$\begingroup$

What you do is convolution against "good" functions. If you do the convolution with a $C^\infty$ function, the result will be $C^\infty$.

You can find the details in Chapter 9 of Wheeden-Zygmund. There you can find proofs of the following facts (I'll write $1$-dimensional versions, but the results are $n$-dimensional):

  • If $f\in L^p(\mathbb R)$, $g\in C^k_0(\mathbb R)$, then $f*g\in C^k(\mathbb R)$ and $$D^\alpha(f*g)(x)=(f*D^\alpha g)(x)$$ for any $\alpha$.

  • Given $g\in C^\infty_0(\mathbb R)$ with $g\geq0$ and $\int_{\mathbb R}g=1$, $\varepsilon>0$, let $g_\varepsilon(x)=\varepsilon^{-1}g(\varepsilon^{-1}x)$. For any $f\in L^p(\mathbb R)$, $\|f*g_\varepsilon-f\|_p\to0$ as $\varepsilon\to0$.

  • Given $f\in L^p(\mathbb R)$, $\delta>0$, let $f=f_1+f_2$, where $f_1$ has compact support and $\|f_2\|_2<\delta$. Choose $g$ as in 2); then $\|f_1*g_\varepsilon-f_1\|_p\to0$ as $\varepsilon\to0$. Now $$ \|f_1*g_\varepsilon-f\|_p\leq \|f_1*g_\varepsilon-f_1\|_p+\|f_2\|_p<2\delta $$ if $\varepsilon$ is small enough. As $f_1*g_\varepsilon\in C_c(\mathbb R)$, we are done.

$\endgroup$
16
  • $\begingroup$ I don't have quick access to that Wheeden-Zygmund book. Could you please provide a quick sketch of how to prove that $\|f\ast g_\epsilon-f\|$ goes to 0 as $\epsilon \to 0$? $\endgroup$
    – FPP
    Commented Nov 23, 2012 at 15:40
  • 1
    $\begingroup$ You are right about that inequality. But you still need 2) above, and its proof uses Hölder's Inequality and maybe other (stuff) I haven't looked carefully lately, so it might still not work. The decomposition $f_1+f_2$ is a consequence of the fact that $\int_{\mathbb R}f=\lim_n\int_{B_n}f$, where $B_n$ is the ball of radius $n$ centered at the origin. $\endgroup$ Commented Feb 6, 2014 at 22:21
  • 1
    $\begingroup$ To construct the kernel $g$, you start with the function $h(x)=e^{-1/x^2}$ for positive $x$ and $0$ for negative $x$. Then $h(x-a)h(b-x)$ is $C^\infty$ with support $[a,b]$. And $h(|x|)h(r-|x|)$ is $C^\infty(\mathbb R^n)$ with support in the ball of radius $r$ around the origin. $\endgroup$ Commented Feb 6, 2014 at 22:39
  • 1
    $\begingroup$ The convolution of an $L^p$ function with a $C^\infty$ function is $C^\infty$, for any $L^p$ function. $\endgroup$ Commented Feb 7, 2014 at 1:22
  • 1
    $\begingroup$ @mathlover: I wrote that $f_1$ has compact support, but no one is saying that it has to be continuous. $\endgroup$ Commented Nov 3, 2023 at 14:28
1
$\begingroup$

One standard way of doing this is with convolutions. Let $f\in L^1$.

First note that the sequence $f\chi_{[-n,n]}$ converges to $f$ in $L^1$ as $n\to \infty$, so it suffices to find compactly supported continuous functions converging to $f\chi_{[-n,n]}$. In other words, we may assume with no loss of generality that $f$ is compactly supported.

Let $\varphi\colon \mathbb{R}\to \mathbb{R}$ be a compactly supported smooth function that is nonnegative and has $\int \varphi\,d\mu = 1$. For each $\epsilon>0$, let $\varphi_\epsilon(x) = \epsilon^{-1}\varphi(x/\epsilon)$. Then $\varphi_\epsilon$ is also a nonnegative compactly supported smooth function with $\int\varphi_\epsilon\,d\mu = 1$. One can show that the convolution $f*\varphi_\epsilon$ is a compactly supported smooth function for each $\epsilon$, and that $f*\varphi_\epsilon\to f$ in $L^1$ as $\epsilon\to 0$.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .