$C^infty_0(barOmega)$ dense in $W^k,p(Omega)$: the closure is necessary?Compactness result PDEsBehavior of the pointwise norm of the gradient w.r.t. to boundary conditions in elliptic PDEsAbsolutely continuous representative in $W^1,p(Omega,X)$What is the dense subset in $H_0^1(Omega)cap H^2(Omega)$Is $C^infty_0(barOmega)$ dense in the hilbert space $W^2,2(Omega)cap W^1,2_0(Omega)$How to modify a $H^1$ weak convergence sequence so that I have the $L^2$ equi-integrability of gradient?Under some regularity assumptions to the boundary $partialOmega$, the first weak eigenfunction of $-Delta$ in $Omega$ is also a strong oneUpper bound for the difference between two solutions of nonhomgenous Helmholtz pdeShow that $mathcal C^1(bar Omega )$ is dense in $W^1,p(Omega )$.Comparison principle for heat equation

How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?

Smoothness of finite-dimensional functional calculus

Has the BBC provided arguments for saying Brexit being cancelled is unlikely?

Why Is Death Allowed In the Matrix?

How could an uplifted falcon's brain work?

Why does Kotter return in Welcome Back Kotter?

Is it possible to do 50 km distance without any previous training?

"to be prejudice towards/against someone" vs "to be prejudiced against/towards someone"

How can bays and straits be determined in a procedurally generated map?

How does strength of boric acid solution increase in presence of salicylic acid?

How can I make my BBEG immortal short of making them a Lich or Vampire?

Fencing style for blades that can attack from a distance

What's the output of a record cartridge playing an out-of-speed record

Do I have a twin with permutated remainders?

TGV timetables / schedules?

Did Shadowfax go to Valinor?

Minkowski space

Arthur Somervell: 1000 Exercises - Meaning of this notation

What would happen to a modern skyscraper if it rains micro blackholes?

In Japanese, what’s the difference between “Tonari ni” (となりに) and “Tsugi” (つぎ)? When would you use one over the other?

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?

Mathematical cryptic clues

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

Why don't electron-positron collisions release infinite energy?



$C^infty_0(barOmega)$ dense in $W^k,p(Omega)$: the closure is necessary?


Compactness result PDEsBehavior of the pointwise norm of the gradient w.r.t. to boundary conditions in elliptic PDEsAbsolutely continuous representative in $W^1,p(Omega,X)$What is the dense subset in $H_0^1(Omega)cap H^2(Omega)$Is $C^infty_0(barOmega)$ dense in the hilbert space $W^2,2(Omega)cap W^1,2_0(Omega)$How to modify a $H^1$ weak convergence sequence so that I have the $L^2$ equi-integrability of gradient?Under some regularity assumptions to the boundary $partialOmega$, the first weak eigenfunction of $-Delta$ in $Omega$ is also a strong oneUpper bound for the difference between two solutions of nonhomgenous Helmholtz pdeShow that $mathcal C^1(bar Omega )$ is dense in $W^1,p(Omega )$.Comparison principle for heat equation













11












$begingroup$


It is a fundamental result of Sobolve space that




Let $Omega subset mathbbR^d$ or $mathbbR^d_+$, then
$C^infty_0(barOmega)$ is dense in $W^k,p(Omega)$.




However, in some literatures, the fact is pointed out that $C^infty_0(Omega)$ fails to dense in $W^k,p(Omega)$ in some cases.



Some I would like to try some counterexamples.



My guess is take $d = 1, k = 1, p = 2$ and $Omega = (0,1)$, i.e. claim that




$C^infty_0((0,1))$ fails to dense in $W^1,2((0,1))$.




But how should I proceed such an argument in a precise way?










share|cite|improve this question











$endgroup$







  • 1




    $begingroup$
    The basic issue can be seen with constant functions, where the derivative is zero but the derivative of $C_0^infty$ functions that approximate constant functions are highly singular near the boundary.
    $endgroup$
    – Chris Janjigian
    May 5 '12 at 3:26















11












$begingroup$


It is a fundamental result of Sobolve space that




Let $Omega subset mathbbR^d$ or $mathbbR^d_+$, then
$C^infty_0(barOmega)$ is dense in $W^k,p(Omega)$.




However, in some literatures, the fact is pointed out that $C^infty_0(Omega)$ fails to dense in $W^k,p(Omega)$ in some cases.



Some I would like to try some counterexamples.



My guess is take $d = 1, k = 1, p = 2$ and $Omega = (0,1)$, i.e. claim that




$C^infty_0((0,1))$ fails to dense in $W^1,2((0,1))$.




But how should I proceed such an argument in a precise way?










share|cite|improve this question











$endgroup$







  • 1




    $begingroup$
    The basic issue can be seen with constant functions, where the derivative is zero but the derivative of $C_0^infty$ functions that approximate constant functions are highly singular near the boundary.
    $endgroup$
    – Chris Janjigian
    May 5 '12 at 3:26













11












11








11


9



$begingroup$


It is a fundamental result of Sobolve space that




Let $Omega subset mathbbR^d$ or $mathbbR^d_+$, then
$C^infty_0(barOmega)$ is dense in $W^k,p(Omega)$.




However, in some literatures, the fact is pointed out that $C^infty_0(Omega)$ fails to dense in $W^k,p(Omega)$ in some cases.



Some I would like to try some counterexamples.



My guess is take $d = 1, k = 1, p = 2$ and $Omega = (0,1)$, i.e. claim that




$C^infty_0((0,1))$ fails to dense in $W^1,2((0,1))$.




But how should I proceed such an argument in a precise way?










share|cite|improve this question











$endgroup$




It is a fundamental result of Sobolve space that




Let $Omega subset mathbbR^d$ or $mathbbR^d_+$, then
$C^infty_0(barOmega)$ is dense in $W^k,p(Omega)$.




However, in some literatures, the fact is pointed out that $C^infty_0(Omega)$ fails to dense in $W^k,p(Omega)$ in some cases.



Some I would like to try some counterexamples.



My guess is take $d = 1, k = 1, p = 2$ and $Omega = (0,1)$, i.e. claim that




$C^infty_0((0,1))$ fails to dense in $W^1,2((0,1))$.




But how should I proceed such an argument in a precise way?







pde sobolev-spaces






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited May 25 '18 at 17:14









S. Maths

657116




657116










asked May 5 '12 at 3:02









newbienewbie

1,54111936




1,54111936







  • 1




    $begingroup$
    The basic issue can be seen with constant functions, where the derivative is zero but the derivative of $C_0^infty$ functions that approximate constant functions are highly singular near the boundary.
    $endgroup$
    – Chris Janjigian
    May 5 '12 at 3:26












  • 1




    $begingroup$
    The basic issue can be seen with constant functions, where the derivative is zero but the derivative of $C_0^infty$ functions that approximate constant functions are highly singular near the boundary.
    $endgroup$
    – Chris Janjigian
    May 5 '12 at 3:26







1




1




$begingroup$
The basic issue can be seen with constant functions, where the derivative is zero but the derivative of $C_0^infty$ functions that approximate constant functions are highly singular near the boundary.
$endgroup$
– Chris Janjigian
May 5 '12 at 3:26




$begingroup$
The basic issue can be seen with constant functions, where the derivative is zero but the derivative of $C_0^infty$ functions that approximate constant functions are highly singular near the boundary.
$endgroup$
– Chris Janjigian
May 5 '12 at 3:26










2 Answers
2






active

oldest

votes


















12












$begingroup$

Just like Chris said in his comment, let us suppose we have a bounded Lipschitz domain $Omegasubset mathbbR^d$, $C^infty_0(Omega)$ fails to approximate an arbitrary $W^k,p(Omega)$-function unless you set the boundary value to be 0.



A possible argument could be constructed using the trace theorem. Roughly speaking, denote $H^1(Omega) := W^1,2(Omega)$, let
$$
T: H^1(Omega) longrightarrow H^1/2(partial Omega)
$$
be the trace operator. Suppose we prescribe a $uin H^1(Omega)$, which has a non-zero trace, leading us to the trace inequality
$$
|Tu |_H^1/2(partial Omega) leq c| u |_H^1(Omega)
$$
Now assume we have a sequence $u_nsubset C^infty_0(Omega) subset H^1(Omega)$, such that $u_nto u$ in the $H^1(Omega)$-norm, then use trace inequality we will see the contradiction in which zero is greater than or equal to a positive number.




If you are not satisfying with the existence of the "non-zero trace" part, we could circumvent this by using the surjectivity of the trace operator, define its right inverse as
$$
mathscrI: H^1/2(partial Omega)longrightarrow H^1(Omega)
$$
serving like an extension of any function defined on boundary to the interior, and $T(mathscrIg) = g$ for any $gin H^1/2(partial Omega)$, prescribe any $gin H^1/2(partial Omega)$, say $g = 1$ on $partial Omega$, let $u = mathscrIg$.




Counter-example on $Omega = (0,1)$:



Let $u = 1in H^1(Omega) = W^1,2(Omega)$, suppose we have a sequence $u_n subset C^infty_0(Omega)$ such that
$$
| u - u_n|^2_H^1(Omega) = | u - u_n|^2_L^2(Omega) +
| u'_n|^2_L^2(Omega) longrightarrow 0
$$
so for any $epsilon>0$ we could find $N>0$ for all $n>N$:
$$
| u - u_n|_L^2(Omega) < epsilon, text and ; |u'_n|_L^2(Omega) < epsilon
$$
By triangle inequality:
$$
left|| u|_L^2(Omega) - | u_n|_L^2(Omega)right| leq | u - u_n|_L^2(Omega) < epsilon
$$
due to $| u|_L^2(Omega) = 1$, above implies
$$
1-epsilon < | u_n|_L^2(Omega) < 1+epsilon
$$
Now we would like to argue like the proof for Poincaré inequality to reach the contradiction, for 1 dimensional case it is very straightforward, for any $xin Omega$ we have:
$$
|u_n(x) - u_n(0)| = left| int^x_0 u'_n(t),dtright| leq
left| int^1_0 u'_n(t)^2,dtright|^frac12 ;
left| int^1_0 1^2,dtright|^frac12 = |u'_n|_L^2(Omega)
$$
This implies $displaystylesup_xinOmega|u_n(x)| leq |u'_n|_L^2(Omega)$, therefore combining everything we have would lead us to the following:
$$
1-epsilon < | u_n|_L^2(Omega) leq
left| int^1_0 sup_tinOmega|u_n(t)|^2,dtright|^frac12 = sup_xinOmega|u_n(x)| leq |u'_n|_L^2(Omega) < epsilon
$$
which is a contradiction, hence such sequence $u_n subset C^infty_0(Omega)$ does not exist.




A last remark: Why would the density argument of $C^infty_0(Omega)$ is true for the whole space is because of the decaying property of both the function itself and the derivative of the $W^k,p$-functions, for something to be $L^p$-integrable on the whole space, its integration must be small outside a ball of certain size, however for bounded domain, decaying property does not hold any more unless you add the compactly-supported condition.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    thanks for your reply. I'm wondering if it is possible to argue the specific case mentioned above($C^infty_0((0,1))$) without trace? Preferably, a counter-example would be selfstanding.
    $endgroup$
    – newbie
    May 7 '12 at 5:10










  • $begingroup$
    @newbie Edited the counter-example into my answer.
    $endgroup$
    – Shuhao Cao
    May 7 '12 at 6:32










  • $begingroup$
    It is crystal clear. Thanks a lot!
    $endgroup$
    – newbie
    May 7 '12 at 6:38










  • $begingroup$
    Hey, sorry I got one more question. In the estimation of sup, is $u^n(0) = 0$ from definition of $C^infty_0((0,1))$?
    $endgroup$
    – newbie
    May 7 '12 at 6:57











  • $begingroup$
    @newbie Yes, $C^infty_0((0,1))$ normally denotes the compactly supported infinitely differentiable functions on $(0,1)$, the compact supportedness means it is zero on some small neighborhood of the interval's end points.
    $endgroup$
    – Shuhao Cao
    May 7 '12 at 7:05


















0












$begingroup$

Let $f(x) = cosh(x) = tfrace^x+e^-x2$ for $xin (a,b)$. Then obviously $fin C^infty(a,b)subset H^1(a,b)$ with $f'' = f$. Hence, for all $uin C_0^infty(a,b)$ we have
$$
(f,u)_H^1 = (f,u) + (f',u') = (f,u) + [f'overline u]_a^b - (f'',u) = (f-f'',u) = 0.
$$

Therefore $C_0^infty(a,b)$ is not dense in $H^1(a,b)$.






share|cite|improve this answer









$endgroup$













    Your Answer





    StackExchange.ifUsing("editor", function ()
    return StackExchange.using("mathjaxEditing", function ()
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    );
    );
    , "mathjax-editing");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "69"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    noCode: true, onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f141223%2fc-infty-0-bar-omega-dense-in-wk-p-omega-the-closure-is-necessary%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    12












    $begingroup$

    Just like Chris said in his comment, let us suppose we have a bounded Lipschitz domain $Omegasubset mathbbR^d$, $C^infty_0(Omega)$ fails to approximate an arbitrary $W^k,p(Omega)$-function unless you set the boundary value to be 0.



    A possible argument could be constructed using the trace theorem. Roughly speaking, denote $H^1(Omega) := W^1,2(Omega)$, let
    $$
    T: H^1(Omega) longrightarrow H^1/2(partial Omega)
    $$
    be the trace operator. Suppose we prescribe a $uin H^1(Omega)$, which has a non-zero trace, leading us to the trace inequality
    $$
    |Tu |_H^1/2(partial Omega) leq c| u |_H^1(Omega)
    $$
    Now assume we have a sequence $u_nsubset C^infty_0(Omega) subset H^1(Omega)$, such that $u_nto u$ in the $H^1(Omega)$-norm, then use trace inequality we will see the contradiction in which zero is greater than or equal to a positive number.




    If you are not satisfying with the existence of the "non-zero trace" part, we could circumvent this by using the surjectivity of the trace operator, define its right inverse as
    $$
    mathscrI: H^1/2(partial Omega)longrightarrow H^1(Omega)
    $$
    serving like an extension of any function defined on boundary to the interior, and $T(mathscrIg) = g$ for any $gin H^1/2(partial Omega)$, prescribe any $gin H^1/2(partial Omega)$, say $g = 1$ on $partial Omega$, let $u = mathscrIg$.




    Counter-example on $Omega = (0,1)$:



    Let $u = 1in H^1(Omega) = W^1,2(Omega)$, suppose we have a sequence $u_n subset C^infty_0(Omega)$ such that
    $$
    | u - u_n|^2_H^1(Omega) = | u - u_n|^2_L^2(Omega) +
    | u'_n|^2_L^2(Omega) longrightarrow 0
    $$
    so for any $epsilon>0$ we could find $N>0$ for all $n>N$:
    $$
    | u - u_n|_L^2(Omega) < epsilon, text and ; |u'_n|_L^2(Omega) < epsilon
    $$
    By triangle inequality:
    $$
    left|| u|_L^2(Omega) - | u_n|_L^2(Omega)right| leq | u - u_n|_L^2(Omega) < epsilon
    $$
    due to $| u|_L^2(Omega) = 1$, above implies
    $$
    1-epsilon < | u_n|_L^2(Omega) < 1+epsilon
    $$
    Now we would like to argue like the proof for Poincaré inequality to reach the contradiction, for 1 dimensional case it is very straightforward, for any $xin Omega$ we have:
    $$
    |u_n(x) - u_n(0)| = left| int^x_0 u'_n(t),dtright| leq
    left| int^1_0 u'_n(t)^2,dtright|^frac12 ;
    left| int^1_0 1^2,dtright|^frac12 = |u'_n|_L^2(Omega)
    $$
    This implies $displaystylesup_xinOmega|u_n(x)| leq |u'_n|_L^2(Omega)$, therefore combining everything we have would lead us to the following:
    $$
    1-epsilon < | u_n|_L^2(Omega) leq
    left| int^1_0 sup_tinOmega|u_n(t)|^2,dtright|^frac12 = sup_xinOmega|u_n(x)| leq |u'_n|_L^2(Omega) < epsilon
    $$
    which is a contradiction, hence such sequence $u_n subset C^infty_0(Omega)$ does not exist.




    A last remark: Why would the density argument of $C^infty_0(Omega)$ is true for the whole space is because of the decaying property of both the function itself and the derivative of the $W^k,p$-functions, for something to be $L^p$-integrable on the whole space, its integration must be small outside a ball of certain size, however for bounded domain, decaying property does not hold any more unless you add the compactly-supported condition.






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      thanks for your reply. I'm wondering if it is possible to argue the specific case mentioned above($C^infty_0((0,1))$) without trace? Preferably, a counter-example would be selfstanding.
      $endgroup$
      – newbie
      May 7 '12 at 5:10










    • $begingroup$
      @newbie Edited the counter-example into my answer.
      $endgroup$
      – Shuhao Cao
      May 7 '12 at 6:32










    • $begingroup$
      It is crystal clear. Thanks a lot!
      $endgroup$
      – newbie
      May 7 '12 at 6:38










    • $begingroup$
      Hey, sorry I got one more question. In the estimation of sup, is $u^n(0) = 0$ from definition of $C^infty_0((0,1))$?
      $endgroup$
      – newbie
      May 7 '12 at 6:57











    • $begingroup$
      @newbie Yes, $C^infty_0((0,1))$ normally denotes the compactly supported infinitely differentiable functions on $(0,1)$, the compact supportedness means it is zero on some small neighborhood of the interval's end points.
      $endgroup$
      – Shuhao Cao
      May 7 '12 at 7:05















    12












    $begingroup$

    Just like Chris said in his comment, let us suppose we have a bounded Lipschitz domain $Omegasubset mathbbR^d$, $C^infty_0(Omega)$ fails to approximate an arbitrary $W^k,p(Omega)$-function unless you set the boundary value to be 0.



    A possible argument could be constructed using the trace theorem. Roughly speaking, denote $H^1(Omega) := W^1,2(Omega)$, let
    $$
    T: H^1(Omega) longrightarrow H^1/2(partial Omega)
    $$
    be the trace operator. Suppose we prescribe a $uin H^1(Omega)$, which has a non-zero trace, leading us to the trace inequality
    $$
    |Tu |_H^1/2(partial Omega) leq c| u |_H^1(Omega)
    $$
    Now assume we have a sequence $u_nsubset C^infty_0(Omega) subset H^1(Omega)$, such that $u_nto u$ in the $H^1(Omega)$-norm, then use trace inequality we will see the contradiction in which zero is greater than or equal to a positive number.




    If you are not satisfying with the existence of the "non-zero trace" part, we could circumvent this by using the surjectivity of the trace operator, define its right inverse as
    $$
    mathscrI: H^1/2(partial Omega)longrightarrow H^1(Omega)
    $$
    serving like an extension of any function defined on boundary to the interior, and $T(mathscrIg) = g$ for any $gin H^1/2(partial Omega)$, prescribe any $gin H^1/2(partial Omega)$, say $g = 1$ on $partial Omega$, let $u = mathscrIg$.




    Counter-example on $Omega = (0,1)$:



    Let $u = 1in H^1(Omega) = W^1,2(Omega)$, suppose we have a sequence $u_n subset C^infty_0(Omega)$ such that
    $$
    | u - u_n|^2_H^1(Omega) = | u - u_n|^2_L^2(Omega) +
    | u'_n|^2_L^2(Omega) longrightarrow 0
    $$
    so for any $epsilon>0$ we could find $N>0$ for all $n>N$:
    $$
    | u - u_n|_L^2(Omega) < epsilon, text and ; |u'_n|_L^2(Omega) < epsilon
    $$
    By triangle inequality:
    $$
    left|| u|_L^2(Omega) - | u_n|_L^2(Omega)right| leq | u - u_n|_L^2(Omega) < epsilon
    $$
    due to $| u|_L^2(Omega) = 1$, above implies
    $$
    1-epsilon < | u_n|_L^2(Omega) < 1+epsilon
    $$
    Now we would like to argue like the proof for Poincaré inequality to reach the contradiction, for 1 dimensional case it is very straightforward, for any $xin Omega$ we have:
    $$
    |u_n(x) - u_n(0)| = left| int^x_0 u'_n(t),dtright| leq
    left| int^1_0 u'_n(t)^2,dtright|^frac12 ;
    left| int^1_0 1^2,dtright|^frac12 = |u'_n|_L^2(Omega)
    $$
    This implies $displaystylesup_xinOmega|u_n(x)| leq |u'_n|_L^2(Omega)$, therefore combining everything we have would lead us to the following:
    $$
    1-epsilon < | u_n|_L^2(Omega) leq
    left| int^1_0 sup_tinOmega|u_n(t)|^2,dtright|^frac12 = sup_xinOmega|u_n(x)| leq |u'_n|_L^2(Omega) < epsilon
    $$
    which is a contradiction, hence such sequence $u_n subset C^infty_0(Omega)$ does not exist.




    A last remark: Why would the density argument of $C^infty_0(Omega)$ is true for the whole space is because of the decaying property of both the function itself and the derivative of the $W^k,p$-functions, for something to be $L^p$-integrable on the whole space, its integration must be small outside a ball of certain size, however for bounded domain, decaying property does not hold any more unless you add the compactly-supported condition.






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      thanks for your reply. I'm wondering if it is possible to argue the specific case mentioned above($C^infty_0((0,1))$) without trace? Preferably, a counter-example would be selfstanding.
      $endgroup$
      – newbie
      May 7 '12 at 5:10










    • $begingroup$
      @newbie Edited the counter-example into my answer.
      $endgroup$
      – Shuhao Cao
      May 7 '12 at 6:32










    • $begingroup$
      It is crystal clear. Thanks a lot!
      $endgroup$
      – newbie
      May 7 '12 at 6:38










    • $begingroup$
      Hey, sorry I got one more question. In the estimation of sup, is $u^n(0) = 0$ from definition of $C^infty_0((0,1))$?
      $endgroup$
      – newbie
      May 7 '12 at 6:57











    • $begingroup$
      @newbie Yes, $C^infty_0((0,1))$ normally denotes the compactly supported infinitely differentiable functions on $(0,1)$, the compact supportedness means it is zero on some small neighborhood of the interval's end points.
      $endgroup$
      – Shuhao Cao
      May 7 '12 at 7:05













    12












    12








    12





    $begingroup$

    Just like Chris said in his comment, let us suppose we have a bounded Lipschitz domain $Omegasubset mathbbR^d$, $C^infty_0(Omega)$ fails to approximate an arbitrary $W^k,p(Omega)$-function unless you set the boundary value to be 0.



    A possible argument could be constructed using the trace theorem. Roughly speaking, denote $H^1(Omega) := W^1,2(Omega)$, let
    $$
    T: H^1(Omega) longrightarrow H^1/2(partial Omega)
    $$
    be the trace operator. Suppose we prescribe a $uin H^1(Omega)$, which has a non-zero trace, leading us to the trace inequality
    $$
    |Tu |_H^1/2(partial Omega) leq c| u |_H^1(Omega)
    $$
    Now assume we have a sequence $u_nsubset C^infty_0(Omega) subset H^1(Omega)$, such that $u_nto u$ in the $H^1(Omega)$-norm, then use trace inequality we will see the contradiction in which zero is greater than or equal to a positive number.




    If you are not satisfying with the existence of the "non-zero trace" part, we could circumvent this by using the surjectivity of the trace operator, define its right inverse as
    $$
    mathscrI: H^1/2(partial Omega)longrightarrow H^1(Omega)
    $$
    serving like an extension of any function defined on boundary to the interior, and $T(mathscrIg) = g$ for any $gin H^1/2(partial Omega)$, prescribe any $gin H^1/2(partial Omega)$, say $g = 1$ on $partial Omega$, let $u = mathscrIg$.




    Counter-example on $Omega = (0,1)$:



    Let $u = 1in H^1(Omega) = W^1,2(Omega)$, suppose we have a sequence $u_n subset C^infty_0(Omega)$ such that
    $$
    | u - u_n|^2_H^1(Omega) = | u - u_n|^2_L^2(Omega) +
    | u'_n|^2_L^2(Omega) longrightarrow 0
    $$
    so for any $epsilon>0$ we could find $N>0$ for all $n>N$:
    $$
    | u - u_n|_L^2(Omega) < epsilon, text and ; |u'_n|_L^2(Omega) < epsilon
    $$
    By triangle inequality:
    $$
    left|| u|_L^2(Omega) - | u_n|_L^2(Omega)right| leq | u - u_n|_L^2(Omega) < epsilon
    $$
    due to $| u|_L^2(Omega) = 1$, above implies
    $$
    1-epsilon < | u_n|_L^2(Omega) < 1+epsilon
    $$
    Now we would like to argue like the proof for Poincaré inequality to reach the contradiction, for 1 dimensional case it is very straightforward, for any $xin Omega$ we have:
    $$
    |u_n(x) - u_n(0)| = left| int^x_0 u'_n(t),dtright| leq
    left| int^1_0 u'_n(t)^2,dtright|^frac12 ;
    left| int^1_0 1^2,dtright|^frac12 = |u'_n|_L^2(Omega)
    $$
    This implies $displaystylesup_xinOmega|u_n(x)| leq |u'_n|_L^2(Omega)$, therefore combining everything we have would lead us to the following:
    $$
    1-epsilon < | u_n|_L^2(Omega) leq
    left| int^1_0 sup_tinOmega|u_n(t)|^2,dtright|^frac12 = sup_xinOmega|u_n(x)| leq |u'_n|_L^2(Omega) < epsilon
    $$
    which is a contradiction, hence such sequence $u_n subset C^infty_0(Omega)$ does not exist.




    A last remark: Why would the density argument of $C^infty_0(Omega)$ is true for the whole space is because of the decaying property of both the function itself and the derivative of the $W^k,p$-functions, for something to be $L^p$-integrable on the whole space, its integration must be small outside a ball of certain size, however for bounded domain, decaying property does not hold any more unless you add the compactly-supported condition.






    share|cite|improve this answer











    $endgroup$



    Just like Chris said in his comment, let us suppose we have a bounded Lipschitz domain $Omegasubset mathbbR^d$, $C^infty_0(Omega)$ fails to approximate an arbitrary $W^k,p(Omega)$-function unless you set the boundary value to be 0.



    A possible argument could be constructed using the trace theorem. Roughly speaking, denote $H^1(Omega) := W^1,2(Omega)$, let
    $$
    T: H^1(Omega) longrightarrow H^1/2(partial Omega)
    $$
    be the trace operator. Suppose we prescribe a $uin H^1(Omega)$, which has a non-zero trace, leading us to the trace inequality
    $$
    |Tu |_H^1/2(partial Omega) leq c| u |_H^1(Omega)
    $$
    Now assume we have a sequence $u_nsubset C^infty_0(Omega) subset H^1(Omega)$, such that $u_nto u$ in the $H^1(Omega)$-norm, then use trace inequality we will see the contradiction in which zero is greater than or equal to a positive number.




    If you are not satisfying with the existence of the "non-zero trace" part, we could circumvent this by using the surjectivity of the trace operator, define its right inverse as
    $$
    mathscrI: H^1/2(partial Omega)longrightarrow H^1(Omega)
    $$
    serving like an extension of any function defined on boundary to the interior, and $T(mathscrIg) = g$ for any $gin H^1/2(partial Omega)$, prescribe any $gin H^1/2(partial Omega)$, say $g = 1$ on $partial Omega$, let $u = mathscrIg$.




    Counter-example on $Omega = (0,1)$:



    Let $u = 1in H^1(Omega) = W^1,2(Omega)$, suppose we have a sequence $u_n subset C^infty_0(Omega)$ such that
    $$
    | u - u_n|^2_H^1(Omega) = | u - u_n|^2_L^2(Omega) +
    | u'_n|^2_L^2(Omega) longrightarrow 0
    $$
    so for any $epsilon>0$ we could find $N>0$ for all $n>N$:
    $$
    | u - u_n|_L^2(Omega) < epsilon, text and ; |u'_n|_L^2(Omega) < epsilon
    $$
    By triangle inequality:
    $$
    left|| u|_L^2(Omega) - | u_n|_L^2(Omega)right| leq | u - u_n|_L^2(Omega) < epsilon
    $$
    due to $| u|_L^2(Omega) = 1$, above implies
    $$
    1-epsilon < | u_n|_L^2(Omega) < 1+epsilon
    $$
    Now we would like to argue like the proof for Poincaré inequality to reach the contradiction, for 1 dimensional case it is very straightforward, for any $xin Omega$ we have:
    $$
    |u_n(x) - u_n(0)| = left| int^x_0 u'_n(t),dtright| leq
    left| int^1_0 u'_n(t)^2,dtright|^frac12 ;
    left| int^1_0 1^2,dtright|^frac12 = |u'_n|_L^2(Omega)
    $$
    This implies $displaystylesup_xinOmega|u_n(x)| leq |u'_n|_L^2(Omega)$, therefore combining everything we have would lead us to the following:
    $$
    1-epsilon < | u_n|_L^2(Omega) leq
    left| int^1_0 sup_tinOmega|u_n(t)|^2,dtright|^frac12 = sup_xinOmega|u_n(x)| leq |u'_n|_L^2(Omega) < epsilon
    $$
    which is a contradiction, hence such sequence $u_n subset C^infty_0(Omega)$ does not exist.




    A last remark: Why would the density argument of $C^infty_0(Omega)$ is true for the whole space is because of the decaying property of both the function itself and the derivative of the $W^k,p$-functions, for something to be $L^p$-integrable on the whole space, its integration must be small outside a ball of certain size, however for bounded domain, decaying property does not hold any more unless you add the compactly-supported condition.







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited May 7 '12 at 6:40

























    answered May 5 '12 at 6:02









    Shuhao CaoShuhao Cao

    16.2k34293




    16.2k34293











    • $begingroup$
      thanks for your reply. I'm wondering if it is possible to argue the specific case mentioned above($C^infty_0((0,1))$) without trace? Preferably, a counter-example would be selfstanding.
      $endgroup$
      – newbie
      May 7 '12 at 5:10










    • $begingroup$
      @newbie Edited the counter-example into my answer.
      $endgroup$
      – Shuhao Cao
      May 7 '12 at 6:32










    • $begingroup$
      It is crystal clear. Thanks a lot!
      $endgroup$
      – newbie
      May 7 '12 at 6:38










    • $begingroup$
      Hey, sorry I got one more question. In the estimation of sup, is $u^n(0) = 0$ from definition of $C^infty_0((0,1))$?
      $endgroup$
      – newbie
      May 7 '12 at 6:57











    • $begingroup$
      @newbie Yes, $C^infty_0((0,1))$ normally denotes the compactly supported infinitely differentiable functions on $(0,1)$, the compact supportedness means it is zero on some small neighborhood of the interval's end points.
      $endgroup$
      – Shuhao Cao
      May 7 '12 at 7:05
















    • $begingroup$
      thanks for your reply. I'm wondering if it is possible to argue the specific case mentioned above($C^infty_0((0,1))$) without trace? Preferably, a counter-example would be selfstanding.
      $endgroup$
      – newbie
      May 7 '12 at 5:10










    • $begingroup$
      @newbie Edited the counter-example into my answer.
      $endgroup$
      – Shuhao Cao
      May 7 '12 at 6:32










    • $begingroup$
      It is crystal clear. Thanks a lot!
      $endgroup$
      – newbie
      May 7 '12 at 6:38










    • $begingroup$
      Hey, sorry I got one more question. In the estimation of sup, is $u^n(0) = 0$ from definition of $C^infty_0((0,1))$?
      $endgroup$
      – newbie
      May 7 '12 at 6:57











    • $begingroup$
      @newbie Yes, $C^infty_0((0,1))$ normally denotes the compactly supported infinitely differentiable functions on $(0,1)$, the compact supportedness means it is zero on some small neighborhood of the interval's end points.
      $endgroup$
      – Shuhao Cao
      May 7 '12 at 7:05















    $begingroup$
    thanks for your reply. I'm wondering if it is possible to argue the specific case mentioned above($C^infty_0((0,1))$) without trace? Preferably, a counter-example would be selfstanding.
    $endgroup$
    – newbie
    May 7 '12 at 5:10




    $begingroup$
    thanks for your reply. I'm wondering if it is possible to argue the specific case mentioned above($C^infty_0((0,1))$) without trace? Preferably, a counter-example would be selfstanding.
    $endgroup$
    – newbie
    May 7 '12 at 5:10












    $begingroup$
    @newbie Edited the counter-example into my answer.
    $endgroup$
    – Shuhao Cao
    May 7 '12 at 6:32




    $begingroup$
    @newbie Edited the counter-example into my answer.
    $endgroup$
    – Shuhao Cao
    May 7 '12 at 6:32












    $begingroup$
    It is crystal clear. Thanks a lot!
    $endgroup$
    – newbie
    May 7 '12 at 6:38




    $begingroup$
    It is crystal clear. Thanks a lot!
    $endgroup$
    – newbie
    May 7 '12 at 6:38












    $begingroup$
    Hey, sorry I got one more question. In the estimation of sup, is $u^n(0) = 0$ from definition of $C^infty_0((0,1))$?
    $endgroup$
    – newbie
    May 7 '12 at 6:57





    $begingroup$
    Hey, sorry I got one more question. In the estimation of sup, is $u^n(0) = 0$ from definition of $C^infty_0((0,1))$?
    $endgroup$
    – newbie
    May 7 '12 at 6:57













    $begingroup$
    @newbie Yes, $C^infty_0((0,1))$ normally denotes the compactly supported infinitely differentiable functions on $(0,1)$, the compact supportedness means it is zero on some small neighborhood of the interval's end points.
    $endgroup$
    – Shuhao Cao
    May 7 '12 at 7:05




    $begingroup$
    @newbie Yes, $C^infty_0((0,1))$ normally denotes the compactly supported infinitely differentiable functions on $(0,1)$, the compact supportedness means it is zero on some small neighborhood of the interval's end points.
    $endgroup$
    – Shuhao Cao
    May 7 '12 at 7:05











    0












    $begingroup$

    Let $f(x) = cosh(x) = tfrace^x+e^-x2$ for $xin (a,b)$. Then obviously $fin C^infty(a,b)subset H^1(a,b)$ with $f'' = f$. Hence, for all $uin C_0^infty(a,b)$ we have
    $$
    (f,u)_H^1 = (f,u) + (f',u') = (f,u) + [f'overline u]_a^b - (f'',u) = (f-f'',u) = 0.
    $$

    Therefore $C_0^infty(a,b)$ is not dense in $H^1(a,b)$.






    share|cite|improve this answer









    $endgroup$

















      0












      $begingroup$

      Let $f(x) = cosh(x) = tfrace^x+e^-x2$ for $xin (a,b)$. Then obviously $fin C^infty(a,b)subset H^1(a,b)$ with $f'' = f$. Hence, for all $uin C_0^infty(a,b)$ we have
      $$
      (f,u)_H^1 = (f,u) + (f',u') = (f,u) + [f'overline u]_a^b - (f'',u) = (f-f'',u) = 0.
      $$

      Therefore $C_0^infty(a,b)$ is not dense in $H^1(a,b)$.






      share|cite|improve this answer









      $endgroup$















        0












        0








        0





        $begingroup$

        Let $f(x) = cosh(x) = tfrace^x+e^-x2$ for $xin (a,b)$. Then obviously $fin C^infty(a,b)subset H^1(a,b)$ with $f'' = f$. Hence, for all $uin C_0^infty(a,b)$ we have
        $$
        (f,u)_H^1 = (f,u) + (f',u') = (f,u) + [f'overline u]_a^b - (f'',u) = (f-f'',u) = 0.
        $$

        Therefore $C_0^infty(a,b)$ is not dense in $H^1(a,b)$.






        share|cite|improve this answer









        $endgroup$



        Let $f(x) = cosh(x) = tfrace^x+e^-x2$ for $xin (a,b)$. Then obviously $fin C^infty(a,b)subset H^1(a,b)$ with $f'' = f$. Hence, for all $uin C_0^infty(a,b)$ we have
        $$
        (f,u)_H^1 = (f,u) + (f',u') = (f,u) + [f'overline u]_a^b - (f'',u) = (f-f'',u) = 0.
        $$

        Therefore $C_0^infty(a,b)$ is not dense in $H^1(a,b)$.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Mar 22 at 0:48









        Friedrich PhilippFriedrich Philipp

        3,350414




        3,350414



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Mathematics Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f141223%2fc-infty-0-bar-omega-dense-in-wk-p-omega-the-closure-is-necessary%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Lowndes Grove History Architecture References Navigation menu32°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661132°48′6″N 79°57′58″W / 32.80167°N 79.96611°W / 32.80167; -79.9661178002500"National Register Information System"Historic houses of South Carolina"Lowndes Grove""+32° 48' 6.00", −79° 57' 58.00""Lowndes Grove, Charleston County (260 St. Margaret St., Charleston)""Lowndes Grove"The Charleston ExpositionIt Happened in South Carolina"Lowndes Grove (House), Saint Margaret Street & Sixth Avenue, Charleston, Charleston County, SC(Photographs)"Plantations of the Carolina Low Countrye

            random experiment with two different functions on unit interval Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Random variable and probability space notionsRandom Walk with EdgesFinding functions where the increase over a random interval is Poisson distributedNumber of days until dayCan an observed event in fact be of zero probability?Unit random processmodels of coins and uniform distributionHow to get the number of successes given $n$ trials , probability $P$ and a random variable $X$Absorbing Markov chain in a computer. Is “almost every” turned into always convergence in computer executions?Stopped random walk is not uniformly integrable

            How should I support this large drywall patch? Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How do I cover large gaps in drywall?How do I keep drywall around a patch from crumbling?Can I glue a second layer of drywall?How to patch long strip on drywall?Large drywall patch: how to avoid bulging seams?Drywall Mesh Patch vs. Bulge? To remove or not to remove?How to fix this drywall job?Prep drywall before backsplashWhat's the best way to fix this horrible drywall patch job?Drywall patching using 3M Patch Plus Primer