For which values of $c$ is the function $f(x)$ in $W^{1,p}_{mathrm{loc}} (mathbb{R})$?












2














We're given the function



$$f(x) = begin{cases} 2 sin(x) + 3, & x> 0 \
-2 sin(x) + c, & x leq 0
end{cases} \$$



and asked to find the values of $c$ for which $f in W^{1,p}_{mathrm{loc}}$.



To start, I've found the distributional derivative of $f$ to be



$$f'(x) = begin{cases} 2 cos(x), & x> 0 \
-2 cos(x), & x leq 0
end{cases} \$$



and I want to find values of $c$ for which $leftlVert frightrVert_{L^p(K)} < infty$ where $K$ is any closed ball in $mathbb{R}$. But I'm stuck on that computation.










share|cite|improve this question





























    2














    We're given the function



    $$f(x) = begin{cases} 2 sin(x) + 3, & x> 0 \
    -2 sin(x) + c, & x leq 0
    end{cases} \$$



    and asked to find the values of $c$ for which $f in W^{1,p}_{mathrm{loc}}$.



    To start, I've found the distributional derivative of $f$ to be



    $$f'(x) = begin{cases} 2 cos(x), & x> 0 \
    -2 cos(x), & x leq 0
    end{cases} \$$



    and I want to find values of $c$ for which $leftlVert frightrVert_{L^p(K)} < infty$ where $K$ is any closed ball in $mathbb{R}$. But I'm stuck on that computation.










    share|cite|improve this question



























      2












      2








      2







      We're given the function



      $$f(x) = begin{cases} 2 sin(x) + 3, & x> 0 \
      -2 sin(x) + c, & x leq 0
      end{cases} \$$



      and asked to find the values of $c$ for which $f in W^{1,p}_{mathrm{loc}}$.



      To start, I've found the distributional derivative of $f$ to be



      $$f'(x) = begin{cases} 2 cos(x), & x> 0 \
      -2 cos(x), & x leq 0
      end{cases} \$$



      and I want to find values of $c$ for which $leftlVert frightrVert_{L^p(K)} < infty$ where $K$ is any closed ball in $mathbb{R}$. But I'm stuck on that computation.










      share|cite|improve this question















      We're given the function



      $$f(x) = begin{cases} 2 sin(x) + 3, & x> 0 \
      -2 sin(x) + c, & x leq 0
      end{cases} \$$



      and asked to find the values of $c$ for which $f in W^{1,p}_{mathrm{loc}}$.



      To start, I've found the distributional derivative of $f$ to be



      $$f'(x) = begin{cases} 2 cos(x), & x> 0 \
      -2 cos(x), & x leq 0
      end{cases} \$$



      and I want to find values of $c$ for which $leftlVert frightrVert_{L^p(K)} < infty$ where $K$ is any closed ball in $mathbb{R}$. But I'm stuck on that computation.







      functional-analysis sobolev-spaces lp-spaces






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Jan 2 at 17:25









      Davide Giraudo

      125k16150261




      125k16150261










      asked Jan 2 at 3:45









      kkckkc

      1308




      1308






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Your claimed distributional derivative is not correct in general. Indeed you may pick up a extra Dirac delta term arising from the fact that,
          $$frac{mathrm{d}}{mathrm{d}t}, 1_{(-infty,0]} = delta_0.$$



          The following rules out all but possibly one value of $c.$




          Claim: If $f in W^{1,p}_{mathrm{loc}}(mathbb R) subset W^{1,1}_{mathrm{loc}}(mathbb R),$ then $f$ is continuous (more precisely it admits a continuous representative).




          Proof of claim: Note that if $g in C^{infty}_c(mathbb R),$ then by the fundamental theorem of calculus and $a < x < b,$
          begin{align*}
          |g(x)| &= left|g(a)+int_{a}^x g'(t) ,mathrm{d}t right| \
          &leq frac1{b-a}lVert g rVert_{L^1([a,b])} + frac1{b-a}int_a^b |g(a)-g(x)|,mathrm{d}t + lVert g' rVert_{L^1((a,b))} \
          &leq C_{a,b} lVert g rVert_{W^{1,1}([a,b])}.
          end{align*}

          So $lVert g rVert_{L^{infty}([a,b])} leq C lVert g rVert_{W^{1,1}([a,b])}$ for all $g in C^{infty}([a,b])$ and $[a,b] subset mathbb R.$ By approximating $f$ in $W^{1,1}(mathbb R)$ via mollification, we get a sequence of smooth functions which converges locally uniformly to $f$ by the above estimate. Hence $f$ is continuous in $mathbb R.$ $square$



          Now your $f$ as defined is continuous if and only if $c=3.$ So we get $f not in W^{1,p}_{mathrm{loc}}(mathbb R)$ if $c neq 3.$





          Now what happens if $c=3$? We first need to show that $f'$ is what you claim, so let
          $$g(x) = begin{cases} 2 cos(x) &text{if } x> 0 \
          -2 cos(x) &text{if } x leq 0
          end{cases} \$$

          be the candidate for $f'$ and fix an arbitrary $varphi in C^{infty}_c(mathbb R).$ Then as $f$ is continuous on $mathbb R$ and $C^1$ with derivative $g$ on $mathbb R setminus {0}$, integrating by parts on $(-infty,0)$ and $(0,infty)$ we get,
          begin{align*}
          int_{-infty}^{infty} varphi'(t) f(t) ,mathrm{d}t &= int_{-infty}^0 varphi'(t) f(t) + int_0^{infty} varphi'(t) f(t),mathrm{d}t \
          &= left(varphi'(0)f(0) - int_{-infty}^0 varphi(t)g(t) ,mathrm{d}tright) + left(-varphi'(0)f(0) - int_0^{infty} varphi(t)g(t) ,mathrm{d}tright) \
          &= - int_{-infty}^{infty} varphi(t)g(t).
          end{align*}

          Thus $f$ is weakly differentiable with weak derivative $f' = g.$ Note that we needed continuity of $f$ at $0$ to integrate by parts.



          Finally as both $f$ and $f'$ are bounded, we get $f, f' in L^{infty}(mathbb R)$ and hence $f,f' in L^p_{mathrm{loc}}(mathbb R)$ for all $p$ by Hölder. Hence $f in W^{1,p}_{mathrm{loc}}(mathbb R)$ for all $1 leq p leq infty$ when $c=3.$






          share|cite|improve this answer





















            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%2f3059122%2ffor-which-values-of-c-is-the-function-fx-in-w1-p-mathrmloc-math%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Your claimed distributional derivative is not correct in general. Indeed you may pick up a extra Dirac delta term arising from the fact that,
            $$frac{mathrm{d}}{mathrm{d}t}, 1_{(-infty,0]} = delta_0.$$



            The following rules out all but possibly one value of $c.$




            Claim: If $f in W^{1,p}_{mathrm{loc}}(mathbb R) subset W^{1,1}_{mathrm{loc}}(mathbb R),$ then $f$ is continuous (more precisely it admits a continuous representative).




            Proof of claim: Note that if $g in C^{infty}_c(mathbb R),$ then by the fundamental theorem of calculus and $a < x < b,$
            begin{align*}
            |g(x)| &= left|g(a)+int_{a}^x g'(t) ,mathrm{d}t right| \
            &leq frac1{b-a}lVert g rVert_{L^1([a,b])} + frac1{b-a}int_a^b |g(a)-g(x)|,mathrm{d}t + lVert g' rVert_{L^1((a,b))} \
            &leq C_{a,b} lVert g rVert_{W^{1,1}([a,b])}.
            end{align*}

            So $lVert g rVert_{L^{infty}([a,b])} leq C lVert g rVert_{W^{1,1}([a,b])}$ for all $g in C^{infty}([a,b])$ and $[a,b] subset mathbb R.$ By approximating $f$ in $W^{1,1}(mathbb R)$ via mollification, we get a sequence of smooth functions which converges locally uniformly to $f$ by the above estimate. Hence $f$ is continuous in $mathbb R.$ $square$



            Now your $f$ as defined is continuous if and only if $c=3.$ So we get $f not in W^{1,p}_{mathrm{loc}}(mathbb R)$ if $c neq 3.$





            Now what happens if $c=3$? We first need to show that $f'$ is what you claim, so let
            $$g(x) = begin{cases} 2 cos(x) &text{if } x> 0 \
            -2 cos(x) &text{if } x leq 0
            end{cases} \$$

            be the candidate for $f'$ and fix an arbitrary $varphi in C^{infty}_c(mathbb R).$ Then as $f$ is continuous on $mathbb R$ and $C^1$ with derivative $g$ on $mathbb R setminus {0}$, integrating by parts on $(-infty,0)$ and $(0,infty)$ we get,
            begin{align*}
            int_{-infty}^{infty} varphi'(t) f(t) ,mathrm{d}t &= int_{-infty}^0 varphi'(t) f(t) + int_0^{infty} varphi'(t) f(t),mathrm{d}t \
            &= left(varphi'(0)f(0) - int_{-infty}^0 varphi(t)g(t) ,mathrm{d}tright) + left(-varphi'(0)f(0) - int_0^{infty} varphi(t)g(t) ,mathrm{d}tright) \
            &= - int_{-infty}^{infty} varphi(t)g(t).
            end{align*}

            Thus $f$ is weakly differentiable with weak derivative $f' = g.$ Note that we needed continuity of $f$ at $0$ to integrate by parts.



            Finally as both $f$ and $f'$ are bounded, we get $f, f' in L^{infty}(mathbb R)$ and hence $f,f' in L^p_{mathrm{loc}}(mathbb R)$ for all $p$ by Hölder. Hence $f in W^{1,p}_{mathrm{loc}}(mathbb R)$ for all $1 leq p leq infty$ when $c=3.$






            share|cite|improve this answer


























              1














              Your claimed distributional derivative is not correct in general. Indeed you may pick up a extra Dirac delta term arising from the fact that,
              $$frac{mathrm{d}}{mathrm{d}t}, 1_{(-infty,0]} = delta_0.$$



              The following rules out all but possibly one value of $c.$




              Claim: If $f in W^{1,p}_{mathrm{loc}}(mathbb R) subset W^{1,1}_{mathrm{loc}}(mathbb R),$ then $f$ is continuous (more precisely it admits a continuous representative).




              Proof of claim: Note that if $g in C^{infty}_c(mathbb R),$ then by the fundamental theorem of calculus and $a < x < b,$
              begin{align*}
              |g(x)| &= left|g(a)+int_{a}^x g'(t) ,mathrm{d}t right| \
              &leq frac1{b-a}lVert g rVert_{L^1([a,b])} + frac1{b-a}int_a^b |g(a)-g(x)|,mathrm{d}t + lVert g' rVert_{L^1((a,b))} \
              &leq C_{a,b} lVert g rVert_{W^{1,1}([a,b])}.
              end{align*}

              So $lVert g rVert_{L^{infty}([a,b])} leq C lVert g rVert_{W^{1,1}([a,b])}$ for all $g in C^{infty}([a,b])$ and $[a,b] subset mathbb R.$ By approximating $f$ in $W^{1,1}(mathbb R)$ via mollification, we get a sequence of smooth functions which converges locally uniformly to $f$ by the above estimate. Hence $f$ is continuous in $mathbb R.$ $square$



              Now your $f$ as defined is continuous if and only if $c=3.$ So we get $f not in W^{1,p}_{mathrm{loc}}(mathbb R)$ if $c neq 3.$





              Now what happens if $c=3$? We first need to show that $f'$ is what you claim, so let
              $$g(x) = begin{cases} 2 cos(x) &text{if } x> 0 \
              -2 cos(x) &text{if } x leq 0
              end{cases} \$$

              be the candidate for $f'$ and fix an arbitrary $varphi in C^{infty}_c(mathbb R).$ Then as $f$ is continuous on $mathbb R$ and $C^1$ with derivative $g$ on $mathbb R setminus {0}$, integrating by parts on $(-infty,0)$ and $(0,infty)$ we get,
              begin{align*}
              int_{-infty}^{infty} varphi'(t) f(t) ,mathrm{d}t &= int_{-infty}^0 varphi'(t) f(t) + int_0^{infty} varphi'(t) f(t),mathrm{d}t \
              &= left(varphi'(0)f(0) - int_{-infty}^0 varphi(t)g(t) ,mathrm{d}tright) + left(-varphi'(0)f(0) - int_0^{infty} varphi(t)g(t) ,mathrm{d}tright) \
              &= - int_{-infty}^{infty} varphi(t)g(t).
              end{align*}

              Thus $f$ is weakly differentiable with weak derivative $f' = g.$ Note that we needed continuity of $f$ at $0$ to integrate by parts.



              Finally as both $f$ and $f'$ are bounded, we get $f, f' in L^{infty}(mathbb R)$ and hence $f,f' in L^p_{mathrm{loc}}(mathbb R)$ for all $p$ by Hölder. Hence $f in W^{1,p}_{mathrm{loc}}(mathbb R)$ for all $1 leq p leq infty$ when $c=3.$






              share|cite|improve this answer
























                1












                1








                1






                Your claimed distributional derivative is not correct in general. Indeed you may pick up a extra Dirac delta term arising from the fact that,
                $$frac{mathrm{d}}{mathrm{d}t}, 1_{(-infty,0]} = delta_0.$$



                The following rules out all but possibly one value of $c.$




                Claim: If $f in W^{1,p}_{mathrm{loc}}(mathbb R) subset W^{1,1}_{mathrm{loc}}(mathbb R),$ then $f$ is continuous (more precisely it admits a continuous representative).




                Proof of claim: Note that if $g in C^{infty}_c(mathbb R),$ then by the fundamental theorem of calculus and $a < x < b,$
                begin{align*}
                |g(x)| &= left|g(a)+int_{a}^x g'(t) ,mathrm{d}t right| \
                &leq frac1{b-a}lVert g rVert_{L^1([a,b])} + frac1{b-a}int_a^b |g(a)-g(x)|,mathrm{d}t + lVert g' rVert_{L^1((a,b))} \
                &leq C_{a,b} lVert g rVert_{W^{1,1}([a,b])}.
                end{align*}

                So $lVert g rVert_{L^{infty}([a,b])} leq C lVert g rVert_{W^{1,1}([a,b])}$ for all $g in C^{infty}([a,b])$ and $[a,b] subset mathbb R.$ By approximating $f$ in $W^{1,1}(mathbb R)$ via mollification, we get a sequence of smooth functions which converges locally uniformly to $f$ by the above estimate. Hence $f$ is continuous in $mathbb R.$ $square$



                Now your $f$ as defined is continuous if and only if $c=3.$ So we get $f not in W^{1,p}_{mathrm{loc}}(mathbb R)$ if $c neq 3.$





                Now what happens if $c=3$? We first need to show that $f'$ is what you claim, so let
                $$g(x) = begin{cases} 2 cos(x) &text{if } x> 0 \
                -2 cos(x) &text{if } x leq 0
                end{cases} \$$

                be the candidate for $f'$ and fix an arbitrary $varphi in C^{infty}_c(mathbb R).$ Then as $f$ is continuous on $mathbb R$ and $C^1$ with derivative $g$ on $mathbb R setminus {0}$, integrating by parts on $(-infty,0)$ and $(0,infty)$ we get,
                begin{align*}
                int_{-infty}^{infty} varphi'(t) f(t) ,mathrm{d}t &= int_{-infty}^0 varphi'(t) f(t) + int_0^{infty} varphi'(t) f(t),mathrm{d}t \
                &= left(varphi'(0)f(0) - int_{-infty}^0 varphi(t)g(t) ,mathrm{d}tright) + left(-varphi'(0)f(0) - int_0^{infty} varphi(t)g(t) ,mathrm{d}tright) \
                &= - int_{-infty}^{infty} varphi(t)g(t).
                end{align*}

                Thus $f$ is weakly differentiable with weak derivative $f' = g.$ Note that we needed continuity of $f$ at $0$ to integrate by parts.



                Finally as both $f$ and $f'$ are bounded, we get $f, f' in L^{infty}(mathbb R)$ and hence $f,f' in L^p_{mathrm{loc}}(mathbb R)$ for all $p$ by Hölder. Hence $f in W^{1,p}_{mathrm{loc}}(mathbb R)$ for all $1 leq p leq infty$ when $c=3.$






                share|cite|improve this answer












                Your claimed distributional derivative is not correct in general. Indeed you may pick up a extra Dirac delta term arising from the fact that,
                $$frac{mathrm{d}}{mathrm{d}t}, 1_{(-infty,0]} = delta_0.$$



                The following rules out all but possibly one value of $c.$




                Claim: If $f in W^{1,p}_{mathrm{loc}}(mathbb R) subset W^{1,1}_{mathrm{loc}}(mathbb R),$ then $f$ is continuous (more precisely it admits a continuous representative).




                Proof of claim: Note that if $g in C^{infty}_c(mathbb R),$ then by the fundamental theorem of calculus and $a < x < b,$
                begin{align*}
                |g(x)| &= left|g(a)+int_{a}^x g'(t) ,mathrm{d}t right| \
                &leq frac1{b-a}lVert g rVert_{L^1([a,b])} + frac1{b-a}int_a^b |g(a)-g(x)|,mathrm{d}t + lVert g' rVert_{L^1((a,b))} \
                &leq C_{a,b} lVert g rVert_{W^{1,1}([a,b])}.
                end{align*}

                So $lVert g rVert_{L^{infty}([a,b])} leq C lVert g rVert_{W^{1,1}([a,b])}$ for all $g in C^{infty}([a,b])$ and $[a,b] subset mathbb R.$ By approximating $f$ in $W^{1,1}(mathbb R)$ via mollification, we get a sequence of smooth functions which converges locally uniformly to $f$ by the above estimate. Hence $f$ is continuous in $mathbb R.$ $square$



                Now your $f$ as defined is continuous if and only if $c=3.$ So we get $f not in W^{1,p}_{mathrm{loc}}(mathbb R)$ if $c neq 3.$





                Now what happens if $c=3$? We first need to show that $f'$ is what you claim, so let
                $$g(x) = begin{cases} 2 cos(x) &text{if } x> 0 \
                -2 cos(x) &text{if } x leq 0
                end{cases} \$$

                be the candidate for $f'$ and fix an arbitrary $varphi in C^{infty}_c(mathbb R).$ Then as $f$ is continuous on $mathbb R$ and $C^1$ with derivative $g$ on $mathbb R setminus {0}$, integrating by parts on $(-infty,0)$ and $(0,infty)$ we get,
                begin{align*}
                int_{-infty}^{infty} varphi'(t) f(t) ,mathrm{d}t &= int_{-infty}^0 varphi'(t) f(t) + int_0^{infty} varphi'(t) f(t),mathrm{d}t \
                &= left(varphi'(0)f(0) - int_{-infty}^0 varphi(t)g(t) ,mathrm{d}tright) + left(-varphi'(0)f(0) - int_0^{infty} varphi(t)g(t) ,mathrm{d}tright) \
                &= - int_{-infty}^{infty} varphi(t)g(t).
                end{align*}

                Thus $f$ is weakly differentiable with weak derivative $f' = g.$ Note that we needed continuity of $f$ at $0$ to integrate by parts.



                Finally as both $f$ and $f'$ are bounded, we get $f, f' in L^{infty}(mathbb R)$ and hence $f,f' in L^p_{mathrm{loc}}(mathbb R)$ for all $p$ by Hölder. Hence $f in W^{1,p}_{mathrm{loc}}(mathbb R)$ for all $1 leq p leq infty$ when $c=3.$







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Jan 4 at 15:00









                ktoiktoi

                2,3331616




                2,3331616






























                    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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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.


                    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%2f3059122%2ffor-which-values-of-c-is-the-function-fx-in-w1-p-mathrmloc-math%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

                    An IMO inspired problem

                    Management

                    Has there ever been an instance of an active nuclear power plant within or near a war zone?