Is there $(f_n)\subset C^\infty_c (I)$ such that $\|f_n - 1_{[a, b]} \|_{L^2 (I)} \to 0$ and $\| f_n'\|_{L^2 (I)} \to 0$?

45 Views Asked by At

Let $I$ be the open interval $(0, 1)$. Let $a, b \in I$ with $a < b$. I would like to approximate the characteristic function $f :=1_{[a, b]}$ in the following sense: we construct a sequence $(f_n) \subset C^\infty_c (I)$ such that

  1. $f_n \ge 0$.
  2. $\| f_n - f \|_{L^2 (I)} \to 0$.
  3. $\| f_n'\|_{L^2 (I)} \to 0$.

We define $g_n$ as follows

  • $g_n (x) = 0$ for $x \in (0, a - \frac{1}{n}) \cup (b + \frac{1}{n}, 1)$.
  • $g_n (x) = 1$ for $[a, b]$.
  • $g_n (x) = n(x-a + \frac{1}{n})$ for $x \in [a - \frac{1}{n}, a)$.
  • $g_n (x) = n(-x + b + \frac{1}{n})$ for $x \in [b, b + \frac{1}{n})$.

Then $(g_n) \subset H^1_0 (I)$ satisfies above three conditions. However, $g_n \notin C^\infty (I)$. Could you explain how to get my desired $(f_n)$?

enter image description here

1

There are 1 best solutions below

0
On BEST ANSWER

You are wrong in claiming that $\| g_n'\|_{L^2 (I)} \to 0$. Indeed, $\| g_n'\|_{L^2 (I)}^2 = 2n$. On the other hand, such sequence $(f_n)\subset C^\infty_c (I)$ could not exist. This is due to the following remark at page 204 of Brezis' Functional Analysis:

Remark 4. It is convenient to keep in mind the following fact, which we have used in the proof of Proposition 8.1: let $\left(u_n\right)$ be a sequence in $W^{1, p}$ such that $u_n \rightarrow u$ in $L^p$ and $\left(u_n^{\prime}\right)$ converges to some limit in $L^p$; then $u \in W^{1, p}$ and $\left\|u_n-u\right\|_{W^{1, p}} \rightarrow 0$. In fact, when $1<p \leq \infty$ it suffices to know that $u_n \rightarrow u$ in $L^p$ and $\left\|u_n^{\prime}\right\|_{L^p}$ stays bounded to conclude that $u \in W^{1, p}$ (see Exercise 8.2).