Does existence of mixed derivative imply continuity?












3












$begingroup$


I would like to does existence of mixed derivative at a point guarantees the function is continuous at that point?



And I would like to ask if ${frac {partial ^{2}f}{partial x^{2}}}$ exist implies the function is continuous at that point. I believe the answer to this question is no because I can construct a function f(x) such that it equals to $x^2$ for $x=0$ and equals 1 otherwise.



But how about the first question?Thanks.










share|cite|improve this question









$endgroup$

















    3












    $begingroup$


    I would like to does existence of mixed derivative at a point guarantees the function is continuous at that point?



    And I would like to ask if ${frac {partial ^{2}f}{partial x^{2}}}$ exist implies the function is continuous at that point. I believe the answer to this question is no because I can construct a function f(x) such that it equals to $x^2$ for $x=0$ and equals 1 otherwise.



    But how about the first question?Thanks.










    share|cite|improve this question









    $endgroup$















      3












      3








      3





      $begingroup$


      I would like to does existence of mixed derivative at a point guarantees the function is continuous at that point?



      And I would like to ask if ${frac {partial ^{2}f}{partial x^{2}}}$ exist implies the function is continuous at that point. I believe the answer to this question is no because I can construct a function f(x) such that it equals to $x^2$ for $x=0$ and equals 1 otherwise.



      But how about the first question?Thanks.










      share|cite|improve this question









      $endgroup$




      I would like to does existence of mixed derivative at a point guarantees the function is continuous at that point?



      And I would like to ask if ${frac {partial ^{2}f}{partial x^{2}}}$ exist implies the function is continuous at that point. I believe the answer to this question is no because I can construct a function f(x) such that it equals to $x^2$ for $x=0$ and equals 1 otherwise.



      But how about the first question?Thanks.







      continuity partial-derivative






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Dec 10 '18 at 6:42









      garygary

      162




      162






















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          Tl;dr: The existence of a mixed partial derivative at some point doesn't imply that the function is continuous at said point. The weaker statement which is related, that is, "the existence of all mixed partial derivatives at some point implies continuity at the point" is also false.





          For the following I will be assuming three dimensions (since there isn't much of a difference with higher dimensions).



          Let's start with the example you gave, since it seems you already have some intuition built there:
          $$
          f(x, y) =
          begin{cases}x^2 quad mbox{ if $x = 0$}\
          0 quad mbox{ otherwise.}
          end{cases}
          $$



          Since you're looking at $frac{partial^2f}{partial x^2}$, I have a feeling that the function you had in mind was to use $x^2$ when $y=0$ rather than $x=0$ like this:



          $$
          f(x, y) =
          begin{cases}x^2 quad mbox{ if $y = 0$}\
          0 quad mbox{ otherwise.}
          end{cases}
          $$



          The advantage this gives becomes clear when we try to take the partial derivative with respect to $x$. In particular, we don't cross the boundaries defining the piecewise function when making small changes to $x$. Since this never happens, $
          frac{partial f}{partial x} =
          begin{cases}2x quad mbox{ if $y = 0$}\
          0 quad mbox{ otherwise.}
          end{cases}
          $
          and $
          frac{partial^2 f}{partial x^2} =
          begin{cases}2 quad mbox{ if $y = 0$}\
          0 quad mbox{ otherwise.}
          end{cases}
          $



          Of course, $f$ is not continuous at $(3,0)$, but the second partial derivative with respect to $x$ exists at that point. So, the existence of second degree (or any degree, for that matter) partial derivatives in one variable do not imply that the function is continuous.





          Now back to your first question. Say we tweak the last example so



          $$
          f(x, y) =
          begin{cases}2 quad mbox{ if $y = 0$}\
          0 quad mbox{ otherwise.}
          end{cases}
          $$



          Now $
          frac{partial f}{partial x} =
          begin{cases}0 quad mbox{ if $y = 0$}\
          0 quad mbox{ otherwise}
          end{cases}
          $
          , so $frac{partial f}{partial x} = 0$ for all $(x, y)$. If we now take the partial with respect to $y$, the resulting function is still $0$ for all $(x, y)$. So now we have a function where the mixed derivative $frac{partial^2 f}{partial x partial y} = 0$ exists for all $(x,y)$ but is not continuous for $y = 0$.





          This last result leaves room for other partial derivatives to not exist, namely $frac{partial f}{partial y}$. By using a more esoteric piecewise function, we can give a counterexample to this as well.





          Consider



          $$
          f(x, y) =
          begin{cases}1 quad mbox{ if $x = y not = 0$}\
          0 quad mbox{ otherwise.}
          end{cases}
          $$



          This function is zero everywhere except along the line $y = x$, except again at the point $(0,0)$. As a result, $f$ is not continuous at $(0,0)$ since approaching the point through the line $y=x$ gives a different result. However, no matter how many partial derivatives you take and in whatever order, the mixed partial derivative is defined (and is equal to $0$) at the point $(0,0)$.





          The last case I can think of (which is well beyond the scope of the question, but still worth thinking about) is whether the existence of every mixed partial derivative at every point implies continuity for all points. My instinct tells me that this may be enough to get around the weird pitfalls that surround continuity for multivariable functions, but I'm far from confident.






          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%2f3033548%2fdoes-existence-of-mixed-derivative-imply-continuity%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









            0












            $begingroup$

            Tl;dr: The existence of a mixed partial derivative at some point doesn't imply that the function is continuous at said point. The weaker statement which is related, that is, "the existence of all mixed partial derivatives at some point implies continuity at the point" is also false.





            For the following I will be assuming three dimensions (since there isn't much of a difference with higher dimensions).



            Let's start with the example you gave, since it seems you already have some intuition built there:
            $$
            f(x, y) =
            begin{cases}x^2 quad mbox{ if $x = 0$}\
            0 quad mbox{ otherwise.}
            end{cases}
            $$



            Since you're looking at $frac{partial^2f}{partial x^2}$, I have a feeling that the function you had in mind was to use $x^2$ when $y=0$ rather than $x=0$ like this:



            $$
            f(x, y) =
            begin{cases}x^2 quad mbox{ if $y = 0$}\
            0 quad mbox{ otherwise.}
            end{cases}
            $$



            The advantage this gives becomes clear when we try to take the partial derivative with respect to $x$. In particular, we don't cross the boundaries defining the piecewise function when making small changes to $x$. Since this never happens, $
            frac{partial f}{partial x} =
            begin{cases}2x quad mbox{ if $y = 0$}\
            0 quad mbox{ otherwise.}
            end{cases}
            $
            and $
            frac{partial^2 f}{partial x^2} =
            begin{cases}2 quad mbox{ if $y = 0$}\
            0 quad mbox{ otherwise.}
            end{cases}
            $



            Of course, $f$ is not continuous at $(3,0)$, but the second partial derivative with respect to $x$ exists at that point. So, the existence of second degree (or any degree, for that matter) partial derivatives in one variable do not imply that the function is continuous.





            Now back to your first question. Say we tweak the last example so



            $$
            f(x, y) =
            begin{cases}2 quad mbox{ if $y = 0$}\
            0 quad mbox{ otherwise.}
            end{cases}
            $$



            Now $
            frac{partial f}{partial x} =
            begin{cases}0 quad mbox{ if $y = 0$}\
            0 quad mbox{ otherwise}
            end{cases}
            $
            , so $frac{partial f}{partial x} = 0$ for all $(x, y)$. If we now take the partial with respect to $y$, the resulting function is still $0$ for all $(x, y)$. So now we have a function where the mixed derivative $frac{partial^2 f}{partial x partial y} = 0$ exists for all $(x,y)$ but is not continuous for $y = 0$.





            This last result leaves room for other partial derivatives to not exist, namely $frac{partial f}{partial y}$. By using a more esoteric piecewise function, we can give a counterexample to this as well.





            Consider



            $$
            f(x, y) =
            begin{cases}1 quad mbox{ if $x = y not = 0$}\
            0 quad mbox{ otherwise.}
            end{cases}
            $$



            This function is zero everywhere except along the line $y = x$, except again at the point $(0,0)$. As a result, $f$ is not continuous at $(0,0)$ since approaching the point through the line $y=x$ gives a different result. However, no matter how many partial derivatives you take and in whatever order, the mixed partial derivative is defined (and is equal to $0$) at the point $(0,0)$.





            The last case I can think of (which is well beyond the scope of the question, but still worth thinking about) is whether the existence of every mixed partial derivative at every point implies continuity for all points. My instinct tells me that this may be enough to get around the weird pitfalls that surround continuity for multivariable functions, but I'm far from confident.






            share|cite|improve this answer









            $endgroup$


















              0












              $begingroup$

              Tl;dr: The existence of a mixed partial derivative at some point doesn't imply that the function is continuous at said point. The weaker statement which is related, that is, "the existence of all mixed partial derivatives at some point implies continuity at the point" is also false.





              For the following I will be assuming three dimensions (since there isn't much of a difference with higher dimensions).



              Let's start with the example you gave, since it seems you already have some intuition built there:
              $$
              f(x, y) =
              begin{cases}x^2 quad mbox{ if $x = 0$}\
              0 quad mbox{ otherwise.}
              end{cases}
              $$



              Since you're looking at $frac{partial^2f}{partial x^2}$, I have a feeling that the function you had in mind was to use $x^2$ when $y=0$ rather than $x=0$ like this:



              $$
              f(x, y) =
              begin{cases}x^2 quad mbox{ if $y = 0$}\
              0 quad mbox{ otherwise.}
              end{cases}
              $$



              The advantage this gives becomes clear when we try to take the partial derivative with respect to $x$. In particular, we don't cross the boundaries defining the piecewise function when making small changes to $x$. Since this never happens, $
              frac{partial f}{partial x} =
              begin{cases}2x quad mbox{ if $y = 0$}\
              0 quad mbox{ otherwise.}
              end{cases}
              $
              and $
              frac{partial^2 f}{partial x^2} =
              begin{cases}2 quad mbox{ if $y = 0$}\
              0 quad mbox{ otherwise.}
              end{cases}
              $



              Of course, $f$ is not continuous at $(3,0)$, but the second partial derivative with respect to $x$ exists at that point. So, the existence of second degree (or any degree, for that matter) partial derivatives in one variable do not imply that the function is continuous.





              Now back to your first question. Say we tweak the last example so



              $$
              f(x, y) =
              begin{cases}2 quad mbox{ if $y = 0$}\
              0 quad mbox{ otherwise.}
              end{cases}
              $$



              Now $
              frac{partial f}{partial x} =
              begin{cases}0 quad mbox{ if $y = 0$}\
              0 quad mbox{ otherwise}
              end{cases}
              $
              , so $frac{partial f}{partial x} = 0$ for all $(x, y)$. If we now take the partial with respect to $y$, the resulting function is still $0$ for all $(x, y)$. So now we have a function where the mixed derivative $frac{partial^2 f}{partial x partial y} = 0$ exists for all $(x,y)$ but is not continuous for $y = 0$.





              This last result leaves room for other partial derivatives to not exist, namely $frac{partial f}{partial y}$. By using a more esoteric piecewise function, we can give a counterexample to this as well.





              Consider



              $$
              f(x, y) =
              begin{cases}1 quad mbox{ if $x = y not = 0$}\
              0 quad mbox{ otherwise.}
              end{cases}
              $$



              This function is zero everywhere except along the line $y = x$, except again at the point $(0,0)$. As a result, $f$ is not continuous at $(0,0)$ since approaching the point through the line $y=x$ gives a different result. However, no matter how many partial derivatives you take and in whatever order, the mixed partial derivative is defined (and is equal to $0$) at the point $(0,0)$.





              The last case I can think of (which is well beyond the scope of the question, but still worth thinking about) is whether the existence of every mixed partial derivative at every point implies continuity for all points. My instinct tells me that this may be enough to get around the weird pitfalls that surround continuity for multivariable functions, but I'm far from confident.






              share|cite|improve this answer









              $endgroup$
















                0












                0








                0





                $begingroup$

                Tl;dr: The existence of a mixed partial derivative at some point doesn't imply that the function is continuous at said point. The weaker statement which is related, that is, "the existence of all mixed partial derivatives at some point implies continuity at the point" is also false.





                For the following I will be assuming three dimensions (since there isn't much of a difference with higher dimensions).



                Let's start with the example you gave, since it seems you already have some intuition built there:
                $$
                f(x, y) =
                begin{cases}x^2 quad mbox{ if $x = 0$}\
                0 quad mbox{ otherwise.}
                end{cases}
                $$



                Since you're looking at $frac{partial^2f}{partial x^2}$, I have a feeling that the function you had in mind was to use $x^2$ when $y=0$ rather than $x=0$ like this:



                $$
                f(x, y) =
                begin{cases}x^2 quad mbox{ if $y = 0$}\
                0 quad mbox{ otherwise.}
                end{cases}
                $$



                The advantage this gives becomes clear when we try to take the partial derivative with respect to $x$. In particular, we don't cross the boundaries defining the piecewise function when making small changes to $x$. Since this never happens, $
                frac{partial f}{partial x} =
                begin{cases}2x quad mbox{ if $y = 0$}\
                0 quad mbox{ otherwise.}
                end{cases}
                $
                and $
                frac{partial^2 f}{partial x^2} =
                begin{cases}2 quad mbox{ if $y = 0$}\
                0 quad mbox{ otherwise.}
                end{cases}
                $



                Of course, $f$ is not continuous at $(3,0)$, but the second partial derivative with respect to $x$ exists at that point. So, the existence of second degree (or any degree, for that matter) partial derivatives in one variable do not imply that the function is continuous.





                Now back to your first question. Say we tweak the last example so



                $$
                f(x, y) =
                begin{cases}2 quad mbox{ if $y = 0$}\
                0 quad mbox{ otherwise.}
                end{cases}
                $$



                Now $
                frac{partial f}{partial x} =
                begin{cases}0 quad mbox{ if $y = 0$}\
                0 quad mbox{ otherwise}
                end{cases}
                $
                , so $frac{partial f}{partial x} = 0$ for all $(x, y)$. If we now take the partial with respect to $y$, the resulting function is still $0$ for all $(x, y)$. So now we have a function where the mixed derivative $frac{partial^2 f}{partial x partial y} = 0$ exists for all $(x,y)$ but is not continuous for $y = 0$.





                This last result leaves room for other partial derivatives to not exist, namely $frac{partial f}{partial y}$. By using a more esoteric piecewise function, we can give a counterexample to this as well.





                Consider



                $$
                f(x, y) =
                begin{cases}1 quad mbox{ if $x = y not = 0$}\
                0 quad mbox{ otherwise.}
                end{cases}
                $$



                This function is zero everywhere except along the line $y = x$, except again at the point $(0,0)$. As a result, $f$ is not continuous at $(0,0)$ since approaching the point through the line $y=x$ gives a different result. However, no matter how many partial derivatives you take and in whatever order, the mixed partial derivative is defined (and is equal to $0$) at the point $(0,0)$.





                The last case I can think of (which is well beyond the scope of the question, but still worth thinking about) is whether the existence of every mixed partial derivative at every point implies continuity for all points. My instinct tells me that this may be enough to get around the weird pitfalls that surround continuity for multivariable functions, but I'm far from confident.






                share|cite|improve this answer









                $endgroup$



                Tl;dr: The existence of a mixed partial derivative at some point doesn't imply that the function is continuous at said point. The weaker statement which is related, that is, "the existence of all mixed partial derivatives at some point implies continuity at the point" is also false.





                For the following I will be assuming three dimensions (since there isn't much of a difference with higher dimensions).



                Let's start with the example you gave, since it seems you already have some intuition built there:
                $$
                f(x, y) =
                begin{cases}x^2 quad mbox{ if $x = 0$}\
                0 quad mbox{ otherwise.}
                end{cases}
                $$



                Since you're looking at $frac{partial^2f}{partial x^2}$, I have a feeling that the function you had in mind was to use $x^2$ when $y=0$ rather than $x=0$ like this:



                $$
                f(x, y) =
                begin{cases}x^2 quad mbox{ if $y = 0$}\
                0 quad mbox{ otherwise.}
                end{cases}
                $$



                The advantage this gives becomes clear when we try to take the partial derivative with respect to $x$. In particular, we don't cross the boundaries defining the piecewise function when making small changes to $x$. Since this never happens, $
                frac{partial f}{partial x} =
                begin{cases}2x quad mbox{ if $y = 0$}\
                0 quad mbox{ otherwise.}
                end{cases}
                $
                and $
                frac{partial^2 f}{partial x^2} =
                begin{cases}2 quad mbox{ if $y = 0$}\
                0 quad mbox{ otherwise.}
                end{cases}
                $



                Of course, $f$ is not continuous at $(3,0)$, but the second partial derivative with respect to $x$ exists at that point. So, the existence of second degree (or any degree, for that matter) partial derivatives in one variable do not imply that the function is continuous.





                Now back to your first question. Say we tweak the last example so



                $$
                f(x, y) =
                begin{cases}2 quad mbox{ if $y = 0$}\
                0 quad mbox{ otherwise.}
                end{cases}
                $$



                Now $
                frac{partial f}{partial x} =
                begin{cases}0 quad mbox{ if $y = 0$}\
                0 quad mbox{ otherwise}
                end{cases}
                $
                , so $frac{partial f}{partial x} = 0$ for all $(x, y)$. If we now take the partial with respect to $y$, the resulting function is still $0$ for all $(x, y)$. So now we have a function where the mixed derivative $frac{partial^2 f}{partial x partial y} = 0$ exists for all $(x,y)$ but is not continuous for $y = 0$.





                This last result leaves room for other partial derivatives to not exist, namely $frac{partial f}{partial y}$. By using a more esoteric piecewise function, we can give a counterexample to this as well.





                Consider



                $$
                f(x, y) =
                begin{cases}1 quad mbox{ if $x = y not = 0$}\
                0 quad mbox{ otherwise.}
                end{cases}
                $$



                This function is zero everywhere except along the line $y = x$, except again at the point $(0,0)$. As a result, $f$ is not continuous at $(0,0)$ since approaching the point through the line $y=x$ gives a different result. However, no matter how many partial derivatives you take and in whatever order, the mixed partial derivative is defined (and is equal to $0$) at the point $(0,0)$.





                The last case I can think of (which is well beyond the scope of the question, but still worth thinking about) is whether the existence of every mixed partial derivative at every point implies continuity for all points. My instinct tells me that this may be enough to get around the weird pitfalls that surround continuity for multivariable functions, but I'm far from confident.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Dec 19 '18 at 9:16









                David JDavid J

                12




                12






























                    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%2f3033548%2fdoes-existence-of-mixed-derivative-imply-continuity%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

                    Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                    ComboBox Display Member on multiple fields

                    Is it possible to collect Nectar points via Trainline?