Does Density Property assure the continuity of a Non-Contractive Function?












0












$begingroup$


I want to be sure about a detail:



We know that, any contractive function is continuous. Reformulated in other words, any function that does not increase distance is continuous.



But, suppose we are in $mathbb{R}$, and we have a distance increasing function $f$ on a subset $A$ of $mathbb{R}$. Does the density property of $A$ in $mathbb{R}$ guarantee the continuity of this function $f$? ie. Will the image of $A$ by $f$ still be dense in $mathbb{R}$?










share|cite|improve this question











$endgroup$

















    0












    $begingroup$


    I want to be sure about a detail:



    We know that, any contractive function is continuous. Reformulated in other words, any function that does not increase distance is continuous.



    But, suppose we are in $mathbb{R}$, and we have a distance increasing function $f$ on a subset $A$ of $mathbb{R}$. Does the density property of $A$ in $mathbb{R}$ guarantee the continuity of this function $f$? ie. Will the image of $A$ by $f$ still be dense in $mathbb{R}$?










    share|cite|improve this question











    $endgroup$















      0












      0








      0





      $begingroup$


      I want to be sure about a detail:



      We know that, any contractive function is continuous. Reformulated in other words, any function that does not increase distance is continuous.



      But, suppose we are in $mathbb{R}$, and we have a distance increasing function $f$ on a subset $A$ of $mathbb{R}$. Does the density property of $A$ in $mathbb{R}$ guarantee the continuity of this function $f$? ie. Will the image of $A$ by $f$ still be dense in $mathbb{R}$?










      share|cite|improve this question











      $endgroup$




      I want to be sure about a detail:



      We know that, any contractive function is continuous. Reformulated in other words, any function that does not increase distance is continuous.



      But, suppose we are in $mathbb{R}$, and we have a distance increasing function $f$ on a subset $A$ of $mathbb{R}$. Does the density property of $A$ in $mathbb{R}$ guarantee the continuity of this function $f$? ie. Will the image of $A$ by $f$ still be dense in $mathbb{R}$?







      general-topology continuity metric-spaces






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Jan 4 at 23:30







      freehumorist

















      asked Jan 4 at 23:23









      freehumoristfreehumorist

      351214




      351214






















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          No, you can define $f: mathbb{R} to mathbb{R}$ by $f(x) = frac12 x$ for $x in mathbb{Q}$ and $f(x) = 2x$ for $x notin mathbb{Q}$. $f$ is contractive on the dense set $mathbb{Q}$ but not on $mathbb{R}$ and nowhere continuous except at $x=0$.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            you saying there exists non continuous functions which are contracting too, right?
            $endgroup$
            – freehumorist
            Jan 4 at 23:49












          • $begingroup$
            @freehumorist No, this function is not contracting and it's not continuous.
            $endgroup$
            – Henno Brandsma
            Jan 4 at 23:50










          • $begingroup$
            so how is this an answer to my question? I thought I asked that, when we have a distance-increasing function over a dense set, the continuity would be preserved in the image set too...
            $endgroup$
            – freehumorist
            Jan 4 at 23:53










          • $begingroup$
            @freehumorist we also have here a distance increasing function on the dense irrationals and no continuity. So it does answer that too. BTW Distance increasingness does not imply continuity, decreasingness does (but on the whole domain).
            $endgroup$
            – Henno Brandsma
            Jan 4 at 23:55












          • $begingroup$
            Ok I got your answer. I think I should add another criteria: I want the function to be linear and monotone. Your example amazed me, now that I get; though it is not the answer I wanted.
            $endgroup$
            – freehumorist
            Jan 4 at 23:59











          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%2f3062230%2fdoes-density-property-assure-the-continuity-of-a-non-contractive-function%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$

          No, you can define $f: mathbb{R} to mathbb{R}$ by $f(x) = frac12 x$ for $x in mathbb{Q}$ and $f(x) = 2x$ for $x notin mathbb{Q}$. $f$ is contractive on the dense set $mathbb{Q}$ but not on $mathbb{R}$ and nowhere continuous except at $x=0$.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            you saying there exists non continuous functions which are contracting too, right?
            $endgroup$
            – freehumorist
            Jan 4 at 23:49












          • $begingroup$
            @freehumorist No, this function is not contracting and it's not continuous.
            $endgroup$
            – Henno Brandsma
            Jan 4 at 23:50










          • $begingroup$
            so how is this an answer to my question? I thought I asked that, when we have a distance-increasing function over a dense set, the continuity would be preserved in the image set too...
            $endgroup$
            – freehumorist
            Jan 4 at 23:53










          • $begingroup$
            @freehumorist we also have here a distance increasing function on the dense irrationals and no continuity. So it does answer that too. BTW Distance increasingness does not imply continuity, decreasingness does (but on the whole domain).
            $endgroup$
            – Henno Brandsma
            Jan 4 at 23:55












          • $begingroup$
            Ok I got your answer. I think I should add another criteria: I want the function to be linear and monotone. Your example amazed me, now that I get; though it is not the answer I wanted.
            $endgroup$
            – freehumorist
            Jan 4 at 23:59
















          1












          $begingroup$

          No, you can define $f: mathbb{R} to mathbb{R}$ by $f(x) = frac12 x$ for $x in mathbb{Q}$ and $f(x) = 2x$ for $x notin mathbb{Q}$. $f$ is contractive on the dense set $mathbb{Q}$ but not on $mathbb{R}$ and nowhere continuous except at $x=0$.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            you saying there exists non continuous functions which are contracting too, right?
            $endgroup$
            – freehumorist
            Jan 4 at 23:49












          • $begingroup$
            @freehumorist No, this function is not contracting and it's not continuous.
            $endgroup$
            – Henno Brandsma
            Jan 4 at 23:50










          • $begingroup$
            so how is this an answer to my question? I thought I asked that, when we have a distance-increasing function over a dense set, the continuity would be preserved in the image set too...
            $endgroup$
            – freehumorist
            Jan 4 at 23:53










          • $begingroup$
            @freehumorist we also have here a distance increasing function on the dense irrationals and no continuity. So it does answer that too. BTW Distance increasingness does not imply continuity, decreasingness does (but on the whole domain).
            $endgroup$
            – Henno Brandsma
            Jan 4 at 23:55












          • $begingroup$
            Ok I got your answer. I think I should add another criteria: I want the function to be linear and monotone. Your example amazed me, now that I get; though it is not the answer I wanted.
            $endgroup$
            – freehumorist
            Jan 4 at 23:59














          1












          1








          1





          $begingroup$

          No, you can define $f: mathbb{R} to mathbb{R}$ by $f(x) = frac12 x$ for $x in mathbb{Q}$ and $f(x) = 2x$ for $x notin mathbb{Q}$. $f$ is contractive on the dense set $mathbb{Q}$ but not on $mathbb{R}$ and nowhere continuous except at $x=0$.






          share|cite|improve this answer









          $endgroup$



          No, you can define $f: mathbb{R} to mathbb{R}$ by $f(x) = frac12 x$ for $x in mathbb{Q}$ and $f(x) = 2x$ for $x notin mathbb{Q}$. $f$ is contractive on the dense set $mathbb{Q}$ but not on $mathbb{R}$ and nowhere continuous except at $x=0$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Jan 4 at 23:43









          Henno BrandsmaHenno Brandsma

          112k348121




          112k348121












          • $begingroup$
            you saying there exists non continuous functions which are contracting too, right?
            $endgroup$
            – freehumorist
            Jan 4 at 23:49












          • $begingroup$
            @freehumorist No, this function is not contracting and it's not continuous.
            $endgroup$
            – Henno Brandsma
            Jan 4 at 23:50










          • $begingroup$
            so how is this an answer to my question? I thought I asked that, when we have a distance-increasing function over a dense set, the continuity would be preserved in the image set too...
            $endgroup$
            – freehumorist
            Jan 4 at 23:53










          • $begingroup$
            @freehumorist we also have here a distance increasing function on the dense irrationals and no continuity. So it does answer that too. BTW Distance increasingness does not imply continuity, decreasingness does (but on the whole domain).
            $endgroup$
            – Henno Brandsma
            Jan 4 at 23:55












          • $begingroup$
            Ok I got your answer. I think I should add another criteria: I want the function to be linear and monotone. Your example amazed me, now that I get; though it is not the answer I wanted.
            $endgroup$
            – freehumorist
            Jan 4 at 23:59


















          • $begingroup$
            you saying there exists non continuous functions which are contracting too, right?
            $endgroup$
            – freehumorist
            Jan 4 at 23:49












          • $begingroup$
            @freehumorist No, this function is not contracting and it's not continuous.
            $endgroup$
            – Henno Brandsma
            Jan 4 at 23:50










          • $begingroup$
            so how is this an answer to my question? I thought I asked that, when we have a distance-increasing function over a dense set, the continuity would be preserved in the image set too...
            $endgroup$
            – freehumorist
            Jan 4 at 23:53










          • $begingroup$
            @freehumorist we also have here a distance increasing function on the dense irrationals and no continuity. So it does answer that too. BTW Distance increasingness does not imply continuity, decreasingness does (but on the whole domain).
            $endgroup$
            – Henno Brandsma
            Jan 4 at 23:55












          • $begingroup$
            Ok I got your answer. I think I should add another criteria: I want the function to be linear and monotone. Your example amazed me, now that I get; though it is not the answer I wanted.
            $endgroup$
            – freehumorist
            Jan 4 at 23:59
















          $begingroup$
          you saying there exists non continuous functions which are contracting too, right?
          $endgroup$
          – freehumorist
          Jan 4 at 23:49






          $begingroup$
          you saying there exists non continuous functions which are contracting too, right?
          $endgroup$
          – freehumorist
          Jan 4 at 23:49














          $begingroup$
          @freehumorist No, this function is not contracting and it's not continuous.
          $endgroup$
          – Henno Brandsma
          Jan 4 at 23:50




          $begingroup$
          @freehumorist No, this function is not contracting and it's not continuous.
          $endgroup$
          – Henno Brandsma
          Jan 4 at 23:50












          $begingroup$
          so how is this an answer to my question? I thought I asked that, when we have a distance-increasing function over a dense set, the continuity would be preserved in the image set too...
          $endgroup$
          – freehumorist
          Jan 4 at 23:53




          $begingroup$
          so how is this an answer to my question? I thought I asked that, when we have a distance-increasing function over a dense set, the continuity would be preserved in the image set too...
          $endgroup$
          – freehumorist
          Jan 4 at 23:53












          $begingroup$
          @freehumorist we also have here a distance increasing function on the dense irrationals and no continuity. So it does answer that too. BTW Distance increasingness does not imply continuity, decreasingness does (but on the whole domain).
          $endgroup$
          – Henno Brandsma
          Jan 4 at 23:55






          $begingroup$
          @freehumorist we also have here a distance increasing function on the dense irrationals and no continuity. So it does answer that too. BTW Distance increasingness does not imply continuity, decreasingness does (but on the whole domain).
          $endgroup$
          – Henno Brandsma
          Jan 4 at 23:55














          $begingroup$
          Ok I got your answer. I think I should add another criteria: I want the function to be linear and monotone. Your example amazed me, now that I get; though it is not the answer I wanted.
          $endgroup$
          – freehumorist
          Jan 4 at 23:59




          $begingroup$
          Ok I got your answer. I think I should add another criteria: I want the function to be linear and monotone. Your example amazed me, now that I get; though it is not the answer I wanted.
          $endgroup$
          – freehumorist
          Jan 4 at 23:59


















          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%2f3062230%2fdoes-density-property-assure-the-continuity-of-a-non-contractive-function%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

          Bressuire

          Cabo Verde

          Gyllenstierna