Differentiability of $f(x, y) = |xy|$ at $0$; is this a mistake by Munkres?












2












$begingroup$


I am reading Analysis on Manifolds by Munkres, and question $1$ on page $54$ says




Show that the function $f(x, y) = |xy|$ is differentiable at $0$, but it is not of class $C^1$ in any neighborhood of $0$.




I know that if a function $f$ is differentiable at a point, then all its partial derivatives exist at that point. However,



$$D_1f(x, y) = begin{cases}
|y|&text{if}, x>0 \
-|y| &text{if}, x<0
end{cases}
$$



and $D_1f(0, 0)$ does not exist. How can $f$ be differentiable at $0$?










share|cite|improve this question









$endgroup$

















    2












    $begingroup$


    I am reading Analysis on Manifolds by Munkres, and question $1$ on page $54$ says




    Show that the function $f(x, y) = |xy|$ is differentiable at $0$, but it is not of class $C^1$ in any neighborhood of $0$.




    I know that if a function $f$ is differentiable at a point, then all its partial derivatives exist at that point. However,



    $$D_1f(x, y) = begin{cases}
    |y|&text{if}, x>0 \
    -|y| &text{if}, x<0
    end{cases}
    $$



    and $D_1f(0, 0)$ does not exist. How can $f$ be differentiable at $0$?










    share|cite|improve this question









    $endgroup$















      2












      2








      2





      $begingroup$


      I am reading Analysis on Manifolds by Munkres, and question $1$ on page $54$ says




      Show that the function $f(x, y) = |xy|$ is differentiable at $0$, but it is not of class $C^1$ in any neighborhood of $0$.




      I know that if a function $f$ is differentiable at a point, then all its partial derivatives exist at that point. However,



      $$D_1f(x, y) = begin{cases}
      |y|&text{if}, x>0 \
      -|y| &text{if}, x<0
      end{cases}
      $$



      and $D_1f(0, 0)$ does not exist. How can $f$ be differentiable at $0$?










      share|cite|improve this question









      $endgroup$




      I am reading Analysis on Manifolds by Munkres, and question $1$ on page $54$ says




      Show that the function $f(x, y) = |xy|$ is differentiable at $0$, but it is not of class $C^1$ in any neighborhood of $0$.




      I know that if a function $f$ is differentiable at a point, then all its partial derivatives exist at that point. However,



      $$D_1f(x, y) = begin{cases}
      |y|&text{if}, x>0 \
      -|y| &text{if}, x<0
      end{cases}
      $$



      and $D_1f(0, 0)$ does not exist. How can $f$ be differentiable at $0$?







      real-analysis multivariable-calculus






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Jan 21 at 1:26









      OviOvi

      12.4k1040113




      12.4k1040113






















          2 Answers
          2






          active

          oldest

          votes


















          3












          $begingroup$

          We have that



          $$frac{x^2y^2}{x^2+y^2}leq x^2+y^2,$$



          so if $||(x,y)||=r$ then



          $$frac{|xy|}{||(x,y)||}=sqrt{frac{x^2y^2}{x^2+y^2}}leq r,$$



          and as such



          $$lim_{x,yto 0} frac{|xy|}{||(x,y)||}=0$$



          as $(x,y)to(0,0)$ implies that $||(x,y)||to 0$. The reason your statement does not imply nondifferentiability is that the fact that



          $$D_1f(x, y) = begin{cases}
          |y|&text{if}, x>0 \
          -|y| &text{if}, x<0
          end{cases}
          $$



          is only problematic when $y$ is away from $0$, otherwise $|y|approx-|y|$. The partials still very much exist at $f(0,0)$, as $|y|,-|y|to 0$. However, you can use your result to conclude that $D_1 f(x,y)$ does not exist if $yneq 0$.






          share|cite|improve this answer









          $endgroup$





















            2












            $begingroup$

            How did you conclude that $D_1f(0,0)$ does not exist? Try using the definition directly. You are probably confusing differentiable and continuously differentiable.






            share|cite|improve this answer









            $endgroup$









            • 1




              $begingroup$
              Ohhh I was thinking that when $y$ is fixed, we have the absolute value function, which is not differentiable at $0$. But of course, when we talk about $D_1f$ at $(0, 0)$, we're fixing $y$ to be zero, in which case we get the zero function.
              $endgroup$
              – Ovi
              Jan 21 at 1:35











            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%2f3081378%2fdifferentiability-of-fx-y-xy-at-0-is-this-a-mistake-by-munkres%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









            3












            $begingroup$

            We have that



            $$frac{x^2y^2}{x^2+y^2}leq x^2+y^2,$$



            so if $||(x,y)||=r$ then



            $$frac{|xy|}{||(x,y)||}=sqrt{frac{x^2y^2}{x^2+y^2}}leq r,$$



            and as such



            $$lim_{x,yto 0} frac{|xy|}{||(x,y)||}=0$$



            as $(x,y)to(0,0)$ implies that $||(x,y)||to 0$. The reason your statement does not imply nondifferentiability is that the fact that



            $$D_1f(x, y) = begin{cases}
            |y|&text{if}, x>0 \
            -|y| &text{if}, x<0
            end{cases}
            $$



            is only problematic when $y$ is away from $0$, otherwise $|y|approx-|y|$. The partials still very much exist at $f(0,0)$, as $|y|,-|y|to 0$. However, you can use your result to conclude that $D_1 f(x,y)$ does not exist if $yneq 0$.






            share|cite|improve this answer









            $endgroup$


















              3












              $begingroup$

              We have that



              $$frac{x^2y^2}{x^2+y^2}leq x^2+y^2,$$



              so if $||(x,y)||=r$ then



              $$frac{|xy|}{||(x,y)||}=sqrt{frac{x^2y^2}{x^2+y^2}}leq r,$$



              and as such



              $$lim_{x,yto 0} frac{|xy|}{||(x,y)||}=0$$



              as $(x,y)to(0,0)$ implies that $||(x,y)||to 0$. The reason your statement does not imply nondifferentiability is that the fact that



              $$D_1f(x, y) = begin{cases}
              |y|&text{if}, x>0 \
              -|y| &text{if}, x<0
              end{cases}
              $$



              is only problematic when $y$ is away from $0$, otherwise $|y|approx-|y|$. The partials still very much exist at $f(0,0)$, as $|y|,-|y|to 0$. However, you can use your result to conclude that $D_1 f(x,y)$ does not exist if $yneq 0$.






              share|cite|improve this answer









              $endgroup$
















                3












                3








                3





                $begingroup$

                We have that



                $$frac{x^2y^2}{x^2+y^2}leq x^2+y^2,$$



                so if $||(x,y)||=r$ then



                $$frac{|xy|}{||(x,y)||}=sqrt{frac{x^2y^2}{x^2+y^2}}leq r,$$



                and as such



                $$lim_{x,yto 0} frac{|xy|}{||(x,y)||}=0$$



                as $(x,y)to(0,0)$ implies that $||(x,y)||to 0$. The reason your statement does not imply nondifferentiability is that the fact that



                $$D_1f(x, y) = begin{cases}
                |y|&text{if}, x>0 \
                -|y| &text{if}, x<0
                end{cases}
                $$



                is only problematic when $y$ is away from $0$, otherwise $|y|approx-|y|$. The partials still very much exist at $f(0,0)$, as $|y|,-|y|to 0$. However, you can use your result to conclude that $D_1 f(x,y)$ does not exist if $yneq 0$.






                share|cite|improve this answer









                $endgroup$



                We have that



                $$frac{x^2y^2}{x^2+y^2}leq x^2+y^2,$$



                so if $||(x,y)||=r$ then



                $$frac{|xy|}{||(x,y)||}=sqrt{frac{x^2y^2}{x^2+y^2}}leq r,$$



                and as such



                $$lim_{x,yto 0} frac{|xy|}{||(x,y)||}=0$$



                as $(x,y)to(0,0)$ implies that $||(x,y)||to 0$. The reason your statement does not imply nondifferentiability is that the fact that



                $$D_1f(x, y) = begin{cases}
                |y|&text{if}, x>0 \
                -|y| &text{if}, x<0
                end{cases}
                $$



                is only problematic when $y$ is away from $0$, otherwise $|y|approx-|y|$. The partials still very much exist at $f(0,0)$, as $|y|,-|y|to 0$. However, you can use your result to conclude that $D_1 f(x,y)$ does not exist if $yneq 0$.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Jan 21 at 1:35









                Carl SchildkrautCarl Schildkraut

                11.7k11443




                11.7k11443























                    2












                    $begingroup$

                    How did you conclude that $D_1f(0,0)$ does not exist? Try using the definition directly. You are probably confusing differentiable and continuously differentiable.






                    share|cite|improve this answer









                    $endgroup$









                    • 1




                      $begingroup$
                      Ohhh I was thinking that when $y$ is fixed, we have the absolute value function, which is not differentiable at $0$. But of course, when we talk about $D_1f$ at $(0, 0)$, we're fixing $y$ to be zero, in which case we get the zero function.
                      $endgroup$
                      – Ovi
                      Jan 21 at 1:35
















                    2












                    $begingroup$

                    How did you conclude that $D_1f(0,0)$ does not exist? Try using the definition directly. You are probably confusing differentiable and continuously differentiable.






                    share|cite|improve this answer









                    $endgroup$









                    • 1




                      $begingroup$
                      Ohhh I was thinking that when $y$ is fixed, we have the absolute value function, which is not differentiable at $0$. But of course, when we talk about $D_1f$ at $(0, 0)$, we're fixing $y$ to be zero, in which case we get the zero function.
                      $endgroup$
                      – Ovi
                      Jan 21 at 1:35














                    2












                    2








                    2





                    $begingroup$

                    How did you conclude that $D_1f(0,0)$ does not exist? Try using the definition directly. You are probably confusing differentiable and continuously differentiable.






                    share|cite|improve this answer









                    $endgroup$



                    How did you conclude that $D_1f(0,0)$ does not exist? Try using the definition directly. You are probably confusing differentiable and continuously differentiable.







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Jan 21 at 1:31









                    KlausKlaus

                    2,12711




                    2,12711








                    • 1




                      $begingroup$
                      Ohhh I was thinking that when $y$ is fixed, we have the absolute value function, which is not differentiable at $0$. But of course, when we talk about $D_1f$ at $(0, 0)$, we're fixing $y$ to be zero, in which case we get the zero function.
                      $endgroup$
                      – Ovi
                      Jan 21 at 1:35














                    • 1




                      $begingroup$
                      Ohhh I was thinking that when $y$ is fixed, we have the absolute value function, which is not differentiable at $0$. But of course, when we talk about $D_1f$ at $(0, 0)$, we're fixing $y$ to be zero, in which case we get the zero function.
                      $endgroup$
                      – Ovi
                      Jan 21 at 1:35








                    1




                    1




                    $begingroup$
                    Ohhh I was thinking that when $y$ is fixed, we have the absolute value function, which is not differentiable at $0$. But of course, when we talk about $D_1f$ at $(0, 0)$, we're fixing $y$ to be zero, in which case we get the zero function.
                    $endgroup$
                    – Ovi
                    Jan 21 at 1:35




                    $begingroup$
                    Ohhh I was thinking that when $y$ is fixed, we have the absolute value function, which is not differentiable at $0$. But of course, when we talk about $D_1f$ at $(0, 0)$, we're fixing $y$ to be zero, in which case we get the zero function.
                    $endgroup$
                    – Ovi
                    Jan 21 at 1:35


















                    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%2f3081378%2fdifferentiability-of-fx-y-xy-at-0-is-this-a-mistake-by-munkres%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

                    MongoDB - Not Authorized To Execute Command

                    How to fix TextFormField cause rebuild widget in Flutter

                    in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith