Extending a function defined in $mathbb{R}^nsetminus{0}$ to a continuous function defined in $mathbb{R}^{n}$.












1












$begingroup$



Let $g: mathbb{R}^nsetminus{0} to mathbb{R}$ be a function of class $C^{1}$ and suppose that there is $M > 0$ such that
$$left|frac{partial}{partial x_{i}}g(x)right| leq M.$$
Prove that if $n geq 2$ then $g$ can be extended to a continuous function defined in $mathbb{R}^n$. Show that if $n = 1$ the statement is false.




My attempt.



I define the extension $bar{g}: mathbb{R}^n to mathbb{R}$ by $bar{g}(x) = g(x)$ if $x in mathbb{R}^{n}setminus{0$} and $displaystyle bar{g}(0) = lim_{x to 0}g(x)$. Thus
$$lim_{x to 0} bar{g}(x) = lim_{x to 0}g(x) = bar{g}(0),$$
so $bar{g}$ is continuous. So the question is reduced to proving that $displaystyle lim_{x to 0}g(x)$ exists. Thus, I must show that
$$forall epsilon > 0, exists delta > 0text{ s.t. } Vert X Vert < delta Longrightarrow |g(x)|<epsilon.$$



The hypothesis
$$left|frac{partial}{partial x_{i}}g(x)right| leq M$$
seems necessary for getting
$$|g(x)-g(y)| leq M|x-y|$$
using the Mean Value Inequality. This almost solves the problem, because if $g(0) = 0$ we can write
$$|g(x)| leq M|x|.$$
But $g(0) = 0$ doesn't make sense. I'm stuck here.



Also, I cannot see why it is necessary that $n geq 2$, where I use this in the demonstration, and why it fails when $n=1$.










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    $f(x) = x/|x|$ would be a counter-example for $n=1$. I assume that the connectedness of $mathbb{R}^nsetminus{0} $ for $n ge 2$ plays a role.
    $endgroup$
    – Martin R
    Jan 20 at 18:44






  • 2




    $begingroup$
    The problem is to show that the limit exist... To show abstracly that the limit exists, use sequential caracterisation and show the sequence is a cauchy sequence with your mean value inequality. If n=1 the mean value inequality fails. Do you see why ?
    $endgroup$
    – DLeMeur
    Jan 20 at 18:44






  • 1




    $begingroup$
    @DLeMeur, I think fails because $mathbb{R}setminus{0}$ is disconnected, as Martin said. We can define $f(x) = -1$ for $x<0$ and $f(x)=1$ for $x>0$. Then we can find $x,y$ such that $|f(x) - f(y)| = 2$ but $f'(x) = 0$ for all $x$.
    $endgroup$
    – Lucas Corrêa
    Jan 20 at 18:52








  • 1




    $begingroup$
    Yes. But you can t conclude directly the convergence of $g $.You must also show that L does not depend of $(x_n)$.
    $endgroup$
    – DLeMeur
    Jan 20 at 19:06






  • 1




    $begingroup$
    To have the MVI apply to $|f(x)-f(y)|,$ you need to know $[x,y]$ does not go through $0.$
    $endgroup$
    – zhw.
    Jan 20 at 19:33
















1












$begingroup$



Let $g: mathbb{R}^nsetminus{0} to mathbb{R}$ be a function of class $C^{1}$ and suppose that there is $M > 0$ such that
$$left|frac{partial}{partial x_{i}}g(x)right| leq M.$$
Prove that if $n geq 2$ then $g$ can be extended to a continuous function defined in $mathbb{R}^n$. Show that if $n = 1$ the statement is false.




My attempt.



I define the extension $bar{g}: mathbb{R}^n to mathbb{R}$ by $bar{g}(x) = g(x)$ if $x in mathbb{R}^{n}setminus{0$} and $displaystyle bar{g}(0) = lim_{x to 0}g(x)$. Thus
$$lim_{x to 0} bar{g}(x) = lim_{x to 0}g(x) = bar{g}(0),$$
so $bar{g}$ is continuous. So the question is reduced to proving that $displaystyle lim_{x to 0}g(x)$ exists. Thus, I must show that
$$forall epsilon > 0, exists delta > 0text{ s.t. } Vert X Vert < delta Longrightarrow |g(x)|<epsilon.$$



The hypothesis
$$left|frac{partial}{partial x_{i}}g(x)right| leq M$$
seems necessary for getting
$$|g(x)-g(y)| leq M|x-y|$$
using the Mean Value Inequality. This almost solves the problem, because if $g(0) = 0$ we can write
$$|g(x)| leq M|x|.$$
But $g(0) = 0$ doesn't make sense. I'm stuck here.



Also, I cannot see why it is necessary that $n geq 2$, where I use this in the demonstration, and why it fails when $n=1$.










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    $f(x) = x/|x|$ would be a counter-example for $n=1$. I assume that the connectedness of $mathbb{R}^nsetminus{0} $ for $n ge 2$ plays a role.
    $endgroup$
    – Martin R
    Jan 20 at 18:44






  • 2




    $begingroup$
    The problem is to show that the limit exist... To show abstracly that the limit exists, use sequential caracterisation and show the sequence is a cauchy sequence with your mean value inequality. If n=1 the mean value inequality fails. Do you see why ?
    $endgroup$
    – DLeMeur
    Jan 20 at 18:44






  • 1




    $begingroup$
    @DLeMeur, I think fails because $mathbb{R}setminus{0}$ is disconnected, as Martin said. We can define $f(x) = -1$ for $x<0$ and $f(x)=1$ for $x>0$. Then we can find $x,y$ such that $|f(x) - f(y)| = 2$ but $f'(x) = 0$ for all $x$.
    $endgroup$
    – Lucas Corrêa
    Jan 20 at 18:52








  • 1




    $begingroup$
    Yes. But you can t conclude directly the convergence of $g $.You must also show that L does not depend of $(x_n)$.
    $endgroup$
    – DLeMeur
    Jan 20 at 19:06






  • 1




    $begingroup$
    To have the MVI apply to $|f(x)-f(y)|,$ you need to know $[x,y]$ does not go through $0.$
    $endgroup$
    – zhw.
    Jan 20 at 19:33














1












1








1





$begingroup$



Let $g: mathbb{R}^nsetminus{0} to mathbb{R}$ be a function of class $C^{1}$ and suppose that there is $M > 0$ such that
$$left|frac{partial}{partial x_{i}}g(x)right| leq M.$$
Prove that if $n geq 2$ then $g$ can be extended to a continuous function defined in $mathbb{R}^n$. Show that if $n = 1$ the statement is false.




My attempt.



I define the extension $bar{g}: mathbb{R}^n to mathbb{R}$ by $bar{g}(x) = g(x)$ if $x in mathbb{R}^{n}setminus{0$} and $displaystyle bar{g}(0) = lim_{x to 0}g(x)$. Thus
$$lim_{x to 0} bar{g}(x) = lim_{x to 0}g(x) = bar{g}(0),$$
so $bar{g}$ is continuous. So the question is reduced to proving that $displaystyle lim_{x to 0}g(x)$ exists. Thus, I must show that
$$forall epsilon > 0, exists delta > 0text{ s.t. } Vert X Vert < delta Longrightarrow |g(x)|<epsilon.$$



The hypothesis
$$left|frac{partial}{partial x_{i}}g(x)right| leq M$$
seems necessary for getting
$$|g(x)-g(y)| leq M|x-y|$$
using the Mean Value Inequality. This almost solves the problem, because if $g(0) = 0$ we can write
$$|g(x)| leq M|x|.$$
But $g(0) = 0$ doesn't make sense. I'm stuck here.



Also, I cannot see why it is necessary that $n geq 2$, where I use this in the demonstration, and why it fails when $n=1$.










share|cite|improve this question











$endgroup$





Let $g: mathbb{R}^nsetminus{0} to mathbb{R}$ be a function of class $C^{1}$ and suppose that there is $M > 0$ such that
$$left|frac{partial}{partial x_{i}}g(x)right| leq M.$$
Prove that if $n geq 2$ then $g$ can be extended to a continuous function defined in $mathbb{R}^n$. Show that if $n = 1$ the statement is false.




My attempt.



I define the extension $bar{g}: mathbb{R}^n to mathbb{R}$ by $bar{g}(x) = g(x)$ if $x in mathbb{R}^{n}setminus{0$} and $displaystyle bar{g}(0) = lim_{x to 0}g(x)$. Thus
$$lim_{x to 0} bar{g}(x) = lim_{x to 0}g(x) = bar{g}(0),$$
so $bar{g}$ is continuous. So the question is reduced to proving that $displaystyle lim_{x to 0}g(x)$ exists. Thus, I must show that
$$forall epsilon > 0, exists delta > 0text{ s.t. } Vert X Vert < delta Longrightarrow |g(x)|<epsilon.$$



The hypothesis
$$left|frac{partial}{partial x_{i}}g(x)right| leq M$$
seems necessary for getting
$$|g(x)-g(y)| leq M|x-y|$$
using the Mean Value Inequality. This almost solves the problem, because if $g(0) = 0$ we can write
$$|g(x)| leq M|x|.$$
But $g(0) = 0$ doesn't make sense. I'm stuck here.



Also, I cannot see why it is necessary that $n geq 2$, where I use this in the demonstration, and why it fails when $n=1$.







real-analysis multivariable-calculus derivatives continuity






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 20 at 18:49









J. W. Tanner

2,1471117




2,1471117










asked Jan 20 at 18:37









Lucas CorrêaLucas Corrêa

1,5711321




1,5711321








  • 1




    $begingroup$
    $f(x) = x/|x|$ would be a counter-example for $n=1$. I assume that the connectedness of $mathbb{R}^nsetminus{0} $ for $n ge 2$ plays a role.
    $endgroup$
    – Martin R
    Jan 20 at 18:44






  • 2




    $begingroup$
    The problem is to show that the limit exist... To show abstracly that the limit exists, use sequential caracterisation and show the sequence is a cauchy sequence with your mean value inequality. If n=1 the mean value inequality fails. Do you see why ?
    $endgroup$
    – DLeMeur
    Jan 20 at 18:44






  • 1




    $begingroup$
    @DLeMeur, I think fails because $mathbb{R}setminus{0}$ is disconnected, as Martin said. We can define $f(x) = -1$ for $x<0$ and $f(x)=1$ for $x>0$. Then we can find $x,y$ such that $|f(x) - f(y)| = 2$ but $f'(x) = 0$ for all $x$.
    $endgroup$
    – Lucas Corrêa
    Jan 20 at 18:52








  • 1




    $begingroup$
    Yes. But you can t conclude directly the convergence of $g $.You must also show that L does not depend of $(x_n)$.
    $endgroup$
    – DLeMeur
    Jan 20 at 19:06






  • 1




    $begingroup$
    To have the MVI apply to $|f(x)-f(y)|,$ you need to know $[x,y]$ does not go through $0.$
    $endgroup$
    – zhw.
    Jan 20 at 19:33














  • 1




    $begingroup$
    $f(x) = x/|x|$ would be a counter-example for $n=1$. I assume that the connectedness of $mathbb{R}^nsetminus{0} $ for $n ge 2$ plays a role.
    $endgroup$
    – Martin R
    Jan 20 at 18:44






  • 2




    $begingroup$
    The problem is to show that the limit exist... To show abstracly that the limit exists, use sequential caracterisation and show the sequence is a cauchy sequence with your mean value inequality. If n=1 the mean value inequality fails. Do you see why ?
    $endgroup$
    – DLeMeur
    Jan 20 at 18:44






  • 1




    $begingroup$
    @DLeMeur, I think fails because $mathbb{R}setminus{0}$ is disconnected, as Martin said. We can define $f(x) = -1$ for $x<0$ and $f(x)=1$ for $x>0$. Then we can find $x,y$ such that $|f(x) - f(y)| = 2$ but $f'(x) = 0$ for all $x$.
    $endgroup$
    – Lucas Corrêa
    Jan 20 at 18:52








  • 1




    $begingroup$
    Yes. But you can t conclude directly the convergence of $g $.You must also show that L does not depend of $(x_n)$.
    $endgroup$
    – DLeMeur
    Jan 20 at 19:06






  • 1




    $begingroup$
    To have the MVI apply to $|f(x)-f(y)|,$ you need to know $[x,y]$ does not go through $0.$
    $endgroup$
    – zhw.
    Jan 20 at 19:33








1




1




$begingroup$
$f(x) = x/|x|$ would be a counter-example for $n=1$. I assume that the connectedness of $mathbb{R}^nsetminus{0} $ for $n ge 2$ plays a role.
$endgroup$
– Martin R
Jan 20 at 18:44




$begingroup$
$f(x) = x/|x|$ would be a counter-example for $n=1$. I assume that the connectedness of $mathbb{R}^nsetminus{0} $ for $n ge 2$ plays a role.
$endgroup$
– Martin R
Jan 20 at 18:44




2




2




$begingroup$
The problem is to show that the limit exist... To show abstracly that the limit exists, use sequential caracterisation and show the sequence is a cauchy sequence with your mean value inequality. If n=1 the mean value inequality fails. Do you see why ?
$endgroup$
– DLeMeur
Jan 20 at 18:44




$begingroup$
The problem is to show that the limit exist... To show abstracly that the limit exists, use sequential caracterisation and show the sequence is a cauchy sequence with your mean value inequality. If n=1 the mean value inequality fails. Do you see why ?
$endgroup$
– DLeMeur
Jan 20 at 18:44




1




1




$begingroup$
@DLeMeur, I think fails because $mathbb{R}setminus{0}$ is disconnected, as Martin said. We can define $f(x) = -1$ for $x<0$ and $f(x)=1$ for $x>0$. Then we can find $x,y$ such that $|f(x) - f(y)| = 2$ but $f'(x) = 0$ for all $x$.
$endgroup$
– Lucas Corrêa
Jan 20 at 18:52






$begingroup$
@DLeMeur, I think fails because $mathbb{R}setminus{0}$ is disconnected, as Martin said. We can define $f(x) = -1$ for $x<0$ and $f(x)=1$ for $x>0$. Then we can find $x,y$ such that $|f(x) - f(y)| = 2$ but $f'(x) = 0$ for all $x$.
$endgroup$
– Lucas Corrêa
Jan 20 at 18:52






1




1




$begingroup$
Yes. But you can t conclude directly the convergence of $g $.You must also show that L does not depend of $(x_n)$.
$endgroup$
– DLeMeur
Jan 20 at 19:06




$begingroup$
Yes. But you can t conclude directly the convergence of $g $.You must also show that L does not depend of $(x_n)$.
$endgroup$
– DLeMeur
Jan 20 at 19:06




1




1




$begingroup$
To have the MVI apply to $|f(x)-f(y)|,$ you need to know $[x,y]$ does not go through $0.$
$endgroup$
– zhw.
Jan 20 at 19:33




$begingroup$
To have the MVI apply to $|f(x)-f(y)|,$ you need to know $[x,y]$ does not go through $0.$
$endgroup$
– zhw.
Jan 20 at 19:33










1 Answer
1






active

oldest

votes


















1












$begingroup$

Hint: Suppose $x,yne 0.$ Let $L$ be the line through $x$ and $0.$ If $y$ is not on $L,$ then $[x,y]$ does not pass through $0.$ Hence $|f(y)-f(x)|le M|y-x|$ by the MVI. If $y$ is on $L,$ Choose $y'ne 0$ close to $y$ but not on $L ,...$






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%2f3080971%2fextending-a-function-defined-in-mathbbrn-setminus-0-to-a-continuous-fun%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












    $begingroup$

    Hint: Suppose $x,yne 0.$ Let $L$ be the line through $x$ and $0.$ If $y$ is not on $L,$ then $[x,y]$ does not pass through $0.$ Hence $|f(y)-f(x)|le M|y-x|$ by the MVI. If $y$ is on $L,$ Choose $y'ne 0$ close to $y$ but not on $L ,...$






    share|cite|improve this answer











    $endgroup$


















      1












      $begingroup$

      Hint: Suppose $x,yne 0.$ Let $L$ be the line through $x$ and $0.$ If $y$ is not on $L,$ then $[x,y]$ does not pass through $0.$ Hence $|f(y)-f(x)|le M|y-x|$ by the MVI. If $y$ is on $L,$ Choose $y'ne 0$ close to $y$ but not on $L ,...$






      share|cite|improve this answer











      $endgroup$
















        1












        1








        1





        $begingroup$

        Hint: Suppose $x,yne 0.$ Let $L$ be the line through $x$ and $0.$ If $y$ is not on $L,$ then $[x,y]$ does not pass through $0.$ Hence $|f(y)-f(x)|le M|y-x|$ by the MVI. If $y$ is on $L,$ Choose $y'ne 0$ close to $y$ but not on $L ,...$






        share|cite|improve this answer











        $endgroup$



        Hint: Suppose $x,yne 0.$ Let $L$ be the line through $x$ and $0.$ If $y$ is not on $L,$ then $[x,y]$ does not pass through $0.$ Hence $|f(y)-f(x)|le M|y-x|$ by the MVI. If $y$ is on $L,$ Choose $y'ne 0$ close to $y$ but not on $L ,...$







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Jan 20 at 19:14

























        answered Jan 20 at 19:05









        zhw.zhw.

        73.4k43175




        73.4k43175






























            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%2f3080971%2fextending-a-function-defined-in-mathbbrn-setminus-0-to-a-continuous-fun%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

            Mario Kart Wii

            What does “Dominus providebit” mean?

            File:Tiny Toon Adventures Wacky Sports JP Title.png