$f(a)-f(b)$ is rational iff $f(a-b) $ is rational











up vote
13
down vote

favorite
5













Prove that the continuous function $f:mathbb{R} to mathbb{R}$ satisfying $fleft(xright)-fleft(yright) inmathbb{Q} iff fleft(x-yright) in mathbb{Q}$ is of the form $
fleft(xright)=ax+b.$




My Attempt.



I tried considering the function $$gleft(xright)=frac{fleft(xright)-fleft(0right)}{fleft(1right)-fleft(0right)}$$ which also satisfies the property $gleft(aright)-gleft(bright) inmathbb{Q} iff gleft(a-bright) in mathbb{Q}$,



Now I am trying to prove that this function g is identity function and then I can prove that $fleft(xright)=left(fleft(1right)-fleft(0right)right)x+fleft(0right).$ And I am done.



Also This function has to be identity function because $gleft(0right)=0$ and $gleft(1right)=1$.



I tried assuming that the function g is such that $gleft(aright)neq a$ for some $ain mathbb{R}$. Then by continuity $gleft(xright)neq x$ for some $delta>0$ neighborhood of $a$.
But I cannot move further.



Also
Using a previously known result, I was able to prove that f must be monotonic. However I do not want to use any other result which is not known and not trivial.




If a function $f $ is continous in $left[a,bright]$ and $fleft(aright)=fleft(bright)$ then for any $epsilon >0$ there exists $m,n in left[a,bright] $such that $fleft(mright)=fleft(nright)$ and $m-n=epsilon$.




In this case choose $epsilon in mathbb{R}-mathbb{Q} $ and get $m,n in left[a,bright] $ such that $fleft(mright)-fleft(nright)=0 in mathbb{Q}$ but $m-n inmathbb{R}-mathbb{Q}$.










share|cite|improve this question




























    up vote
    13
    down vote

    favorite
    5













    Prove that the continuous function $f:mathbb{R} to mathbb{R}$ satisfying $fleft(xright)-fleft(yright) inmathbb{Q} iff fleft(x-yright) in mathbb{Q}$ is of the form $
    fleft(xright)=ax+b.$




    My Attempt.



    I tried considering the function $$gleft(xright)=frac{fleft(xright)-fleft(0right)}{fleft(1right)-fleft(0right)}$$ which also satisfies the property $gleft(aright)-gleft(bright) inmathbb{Q} iff gleft(a-bright) in mathbb{Q}$,



    Now I am trying to prove that this function g is identity function and then I can prove that $fleft(xright)=left(fleft(1right)-fleft(0right)right)x+fleft(0right).$ And I am done.



    Also This function has to be identity function because $gleft(0right)=0$ and $gleft(1right)=1$.



    I tried assuming that the function g is such that $gleft(aright)neq a$ for some $ain mathbb{R}$. Then by continuity $gleft(xright)neq x$ for some $delta>0$ neighborhood of $a$.
    But I cannot move further.



    Also
    Using a previously known result, I was able to prove that f must be monotonic. However I do not want to use any other result which is not known and not trivial.




    If a function $f $ is continous in $left[a,bright]$ and $fleft(aright)=fleft(bright)$ then for any $epsilon >0$ there exists $m,n in left[a,bright] $such that $fleft(mright)=fleft(nright)$ and $m-n=epsilon$.




    In this case choose $epsilon in mathbb{R}-mathbb{Q} $ and get $m,n in left[a,bright] $ such that $fleft(mright)-fleft(nright)=0 in mathbb{Q}$ but $m-n inmathbb{R}-mathbb{Q}$.










    share|cite|improve this question


























      up vote
      13
      down vote

      favorite
      5









      up vote
      13
      down vote

      favorite
      5






      5






      Prove that the continuous function $f:mathbb{R} to mathbb{R}$ satisfying $fleft(xright)-fleft(yright) inmathbb{Q} iff fleft(x-yright) in mathbb{Q}$ is of the form $
      fleft(xright)=ax+b.$




      My Attempt.



      I tried considering the function $$gleft(xright)=frac{fleft(xright)-fleft(0right)}{fleft(1right)-fleft(0right)}$$ which also satisfies the property $gleft(aright)-gleft(bright) inmathbb{Q} iff gleft(a-bright) in mathbb{Q}$,



      Now I am trying to prove that this function g is identity function and then I can prove that $fleft(xright)=left(fleft(1right)-fleft(0right)right)x+fleft(0right).$ And I am done.



      Also This function has to be identity function because $gleft(0right)=0$ and $gleft(1right)=1$.



      I tried assuming that the function g is such that $gleft(aright)neq a$ for some $ain mathbb{R}$. Then by continuity $gleft(xright)neq x$ for some $delta>0$ neighborhood of $a$.
      But I cannot move further.



      Also
      Using a previously known result, I was able to prove that f must be monotonic. However I do not want to use any other result which is not known and not trivial.




      If a function $f $ is continous in $left[a,bright]$ and $fleft(aright)=fleft(bright)$ then for any $epsilon >0$ there exists $m,n in left[a,bright] $such that $fleft(mright)=fleft(nright)$ and $m-n=epsilon$.




      In this case choose $epsilon in mathbb{R}-mathbb{Q} $ and get $m,n in left[a,bright] $ such that $fleft(mright)-fleft(nright)=0 in mathbb{Q}$ but $m-n inmathbb{R}-mathbb{Q}$.










      share|cite|improve this question
















      Prove that the continuous function $f:mathbb{R} to mathbb{R}$ satisfying $fleft(xright)-fleft(yright) inmathbb{Q} iff fleft(x-yright) in mathbb{Q}$ is of the form $
      fleft(xright)=ax+b.$




      My Attempt.



      I tried considering the function $$gleft(xright)=frac{fleft(xright)-fleft(0right)}{fleft(1right)-fleft(0right)}$$ which also satisfies the property $gleft(aright)-gleft(bright) inmathbb{Q} iff gleft(a-bright) in mathbb{Q}$,



      Now I am trying to prove that this function g is identity function and then I can prove that $fleft(xright)=left(fleft(1right)-fleft(0right)right)x+fleft(0right).$ And I am done.



      Also This function has to be identity function because $gleft(0right)=0$ and $gleft(1right)=1$.



      I tried assuming that the function g is such that $gleft(aright)neq a$ for some $ain mathbb{R}$. Then by continuity $gleft(xright)neq x$ for some $delta>0$ neighborhood of $a$.
      But I cannot move further.



      Also
      Using a previously known result, I was able to prove that f must be monotonic. However I do not want to use any other result which is not known and not trivial.




      If a function $f $ is continous in $left[a,bright]$ and $fleft(aright)=fleft(bright)$ then for any $epsilon >0$ there exists $m,n in left[a,bright] $such that $fleft(mright)=fleft(nright)$ and $m-n=epsilon$.




      In this case choose $epsilon in mathbb{R}-mathbb{Q} $ and get $m,n in left[a,bright] $ such that $fleft(mright)-fleft(nright)=0 in mathbb{Q}$ but $m-n inmathbb{R}-mathbb{Q}$.







      real-analysis continuity functional-equations rational-numbers fixed-point-theorems






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited 2 days ago

























      asked Dec 5 at 17:03









      Rakesh Bhatt

      835113




      835113






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          9
          down vote



          accepted










          For any $y$, we have either $f(x+y) - f(x) in mathbb Q$ for all $x$, or $f(x+y) - f(x) notin mathbb Q$ for all $x$, depending on whether or not $f(y) in mathbb Q$. But $f(x+y)-f(x)$ is continuous, so by the Intermediate Value Theorem we conclude $f(x+y) - f(x)$ is constant. Thus
          $$ f(x+y) - f(x) = f(y) - f(0) $$
          This says $f(x) - f(0)$ is an additive function. And it's not hard to prove that continuous additive functions are linear.






          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',
            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%2f3027343%2ffa-fb-is-rational-iff-fa-b-is-rational%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








            up vote
            9
            down vote



            accepted










            For any $y$, we have either $f(x+y) - f(x) in mathbb Q$ for all $x$, or $f(x+y) - f(x) notin mathbb Q$ for all $x$, depending on whether or not $f(y) in mathbb Q$. But $f(x+y)-f(x)$ is continuous, so by the Intermediate Value Theorem we conclude $f(x+y) - f(x)$ is constant. Thus
            $$ f(x+y) - f(x) = f(y) - f(0) $$
            This says $f(x) - f(0)$ is an additive function. And it's not hard to prove that continuous additive functions are linear.






            share|cite|improve this answer

























              up vote
              9
              down vote



              accepted










              For any $y$, we have either $f(x+y) - f(x) in mathbb Q$ for all $x$, or $f(x+y) - f(x) notin mathbb Q$ for all $x$, depending on whether or not $f(y) in mathbb Q$. But $f(x+y)-f(x)$ is continuous, so by the Intermediate Value Theorem we conclude $f(x+y) - f(x)$ is constant. Thus
              $$ f(x+y) - f(x) = f(y) - f(0) $$
              This says $f(x) - f(0)$ is an additive function. And it's not hard to prove that continuous additive functions are linear.






              share|cite|improve this answer























                up vote
                9
                down vote



                accepted







                up vote
                9
                down vote



                accepted






                For any $y$, we have either $f(x+y) - f(x) in mathbb Q$ for all $x$, or $f(x+y) - f(x) notin mathbb Q$ for all $x$, depending on whether or not $f(y) in mathbb Q$. But $f(x+y)-f(x)$ is continuous, so by the Intermediate Value Theorem we conclude $f(x+y) - f(x)$ is constant. Thus
                $$ f(x+y) - f(x) = f(y) - f(0) $$
                This says $f(x) - f(0)$ is an additive function. And it's not hard to prove that continuous additive functions are linear.






                share|cite|improve this answer












                For any $y$, we have either $f(x+y) - f(x) in mathbb Q$ for all $x$, or $f(x+y) - f(x) notin mathbb Q$ for all $x$, depending on whether or not $f(y) in mathbb Q$. But $f(x+y)-f(x)$ is continuous, so by the Intermediate Value Theorem we conclude $f(x+y) - f(x)$ is constant. Thus
                $$ f(x+y) - f(x) = f(y) - f(0) $$
                This says $f(x) - f(0)$ is an additive function. And it's not hard to prove that continuous additive functions are linear.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Dec 5 at 17:22









                Robert Israel

                315k23206455




                315k23206455






























                    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%2f3027343%2ffa-fb-is-rational-iff-fa-b-is-rational%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

                    Accessing regular linux commands in Huawei's Dopra Linux

                    Can't connect RFCOMM socket: Host is down

                    Kernel panic - not syncing: Fatal Exception in Interrupt