To show $f$ is unifromly continuous if $|f(x)-g_epsilon(x)|<epsilon$.

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite
1













Let $Asubset mathbbR$ and suppose that $f:Ato mathbbR$ has the following property: for each $epsilon>0$ there exists a function $g_epsilon:Ato mathbbR$ such that $g_epsilon$ is uniformly continuous on $A$ and $|f(x)-g_epsilon(x)|<epsilon$ for all $xin A$. Prove that $f$ is uniformly continuous on A.




My attempt: Since $g_epsilon$ is uniformly continuous so for each $epsilon>0$ $exists delta(epsilon)>0$ such that if $x,uin A$ are arbitrary numbers then $|g_epsilon/2(x)-f(x)|<epsilon/2$. Now



$|f(x)-f(u)|=|f(x)-g_epsilon/2(x)+g_epsilon/2(x)-f(u)|leq |f(x)-g_epsilon/2(x)|+|g_epsilon/2(x)-f(u)|<epsilon/2+epsilon/2=epsilon$. Hence $f(x)$ is uniformly continuous.



Is my solution correct? If not, where is my mistake? Please any suggestion would be helpful. thank you.







share|cite|improve this question
























    up vote
    2
    down vote

    favorite
    1













    Let $Asubset mathbbR$ and suppose that $f:Ato mathbbR$ has the following property: for each $epsilon>0$ there exists a function $g_epsilon:Ato mathbbR$ such that $g_epsilon$ is uniformly continuous on $A$ and $|f(x)-g_epsilon(x)|<epsilon$ for all $xin A$. Prove that $f$ is uniformly continuous on A.




    My attempt: Since $g_epsilon$ is uniformly continuous so for each $epsilon>0$ $exists delta(epsilon)>0$ such that if $x,uin A$ are arbitrary numbers then $|g_epsilon/2(x)-f(x)|<epsilon/2$. Now



    $|f(x)-f(u)|=|f(x)-g_epsilon/2(x)+g_epsilon/2(x)-f(u)|leq |f(x)-g_epsilon/2(x)|+|g_epsilon/2(x)-f(u)|<epsilon/2+epsilon/2=epsilon$. Hence $f(x)$ is uniformly continuous.



    Is my solution correct? If not, where is my mistake? Please any suggestion would be helpful. thank you.







    share|cite|improve this question






















      up vote
      2
      down vote

      favorite
      1









      up vote
      2
      down vote

      favorite
      1






      1






      Let $Asubset mathbbR$ and suppose that $f:Ato mathbbR$ has the following property: for each $epsilon>0$ there exists a function $g_epsilon:Ato mathbbR$ such that $g_epsilon$ is uniformly continuous on $A$ and $|f(x)-g_epsilon(x)|<epsilon$ for all $xin A$. Prove that $f$ is uniformly continuous on A.




      My attempt: Since $g_epsilon$ is uniformly continuous so for each $epsilon>0$ $exists delta(epsilon)>0$ such that if $x,uin A$ are arbitrary numbers then $|g_epsilon/2(x)-f(x)|<epsilon/2$. Now



      $|f(x)-f(u)|=|f(x)-g_epsilon/2(x)+g_epsilon/2(x)-f(u)|leq |f(x)-g_epsilon/2(x)|+|g_epsilon/2(x)-f(u)|<epsilon/2+epsilon/2=epsilon$. Hence $f(x)$ is uniformly continuous.



      Is my solution correct? If not, where is my mistake? Please any suggestion would be helpful. thank you.







      share|cite|improve this question













      Let $Asubset mathbbR$ and suppose that $f:Ato mathbbR$ has the following property: for each $epsilon>0$ there exists a function $g_epsilon:Ato mathbbR$ such that $g_epsilon$ is uniformly continuous on $A$ and $|f(x)-g_epsilon(x)|<epsilon$ for all $xin A$. Prove that $f$ is uniformly continuous on A.




      My attempt: Since $g_epsilon$ is uniformly continuous so for each $epsilon>0$ $exists delta(epsilon)>0$ such that if $x,uin A$ are arbitrary numbers then $|g_epsilon/2(x)-f(x)|<epsilon/2$. Now



      $|f(x)-f(u)|=|f(x)-g_epsilon/2(x)+g_epsilon/2(x)-f(u)|leq |f(x)-g_epsilon/2(x)|+|g_epsilon/2(x)-f(u)|<epsilon/2+epsilon/2=epsilon$. Hence $f(x)$ is uniformly continuous.



      Is my solution correct? If not, where is my mistake? Please any suggestion would be helpful. thank you.









      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Aug 27 at 13:33









      Kushal Bhuyan

      4,91421242




      4,91421242




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          Your idea is great. But you can't compare $f(u)$ and $g_epsilon/2(x)$ that easily, so you need to include one more term. Also, you have to use your $delta$ somehow, and as part of that specify what property you want it to fulfill. At the moment, you've just picked an arbitrary $delta$ and not used it.



          Take a $delta$ such that for any $x, y$ with $|x-y|<delta$ we have $|g_epsilon/3(x)-g_epsilon/3(y)|<fracepsilon3$. This way we get, for any $x, y$ with $|x, y|<delta$:
          $$
          |f(x)-f(y)| = |f(x)-g_epsilon/3(x) + g_epsilon/3(x) - g_epsilon/3(u) + g_epsilon/3(u) - f(u)|\
          leq |f(x)-g_epsilon/3(x)| + |g_epsilon/3(x) - g_epsilon/3(u)| + |g_epsilon/3(u) - f(u)|\
          <3cdot fracepsilon3
          $$






          share|cite|improve this answer



























            up vote
            3
            down vote













            One term missing.
            $$
            |f(x)- f(y)| leqslant |f(x) - g_varepsilon/3(x)| + |g_varepsilon/3(x) - g_varepsilon/3(y)|+|g_varepsilon/3(y) - f(y)|.
            $$






            share|cite|improve this answer


















            • 1




              But then you only get $frac3epsilon2$. Need to pick a different $g$.
              – Arthur
              Aug 27 at 13:43










            • @Arthur Thanks! I did not notice this.
              – xbh
              Aug 27 at 13:43










            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: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            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%2f2896191%2fto-show-f-is-unifromly-continuous-if-fx-g-epsilonx-epsilon%23new-answer', 'question_page');

            );

            Post as a guest






























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            Your idea is great. But you can't compare $f(u)$ and $g_epsilon/2(x)$ that easily, so you need to include one more term. Also, you have to use your $delta$ somehow, and as part of that specify what property you want it to fulfill. At the moment, you've just picked an arbitrary $delta$ and not used it.



            Take a $delta$ such that for any $x, y$ with $|x-y|<delta$ we have $|g_epsilon/3(x)-g_epsilon/3(y)|<fracepsilon3$. This way we get, for any $x, y$ with $|x, y|<delta$:
            $$
            |f(x)-f(y)| = |f(x)-g_epsilon/3(x) + g_epsilon/3(x) - g_epsilon/3(u) + g_epsilon/3(u) - f(u)|\
            leq |f(x)-g_epsilon/3(x)| + |g_epsilon/3(x) - g_epsilon/3(u)| + |g_epsilon/3(u) - f(u)|\
            <3cdot fracepsilon3
            $$






            share|cite|improve this answer
























              up vote
              1
              down vote



              accepted










              Your idea is great. But you can't compare $f(u)$ and $g_epsilon/2(x)$ that easily, so you need to include one more term. Also, you have to use your $delta$ somehow, and as part of that specify what property you want it to fulfill. At the moment, you've just picked an arbitrary $delta$ and not used it.



              Take a $delta$ such that for any $x, y$ with $|x-y|<delta$ we have $|g_epsilon/3(x)-g_epsilon/3(y)|<fracepsilon3$. This way we get, for any $x, y$ with $|x, y|<delta$:
              $$
              |f(x)-f(y)| = |f(x)-g_epsilon/3(x) + g_epsilon/3(x) - g_epsilon/3(u) + g_epsilon/3(u) - f(u)|\
              leq |f(x)-g_epsilon/3(x)| + |g_epsilon/3(x) - g_epsilon/3(u)| + |g_epsilon/3(u) - f(u)|\
              <3cdot fracepsilon3
              $$






              share|cite|improve this answer






















                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                Your idea is great. But you can't compare $f(u)$ and $g_epsilon/2(x)$ that easily, so you need to include one more term. Also, you have to use your $delta$ somehow, and as part of that specify what property you want it to fulfill. At the moment, you've just picked an arbitrary $delta$ and not used it.



                Take a $delta$ such that for any $x, y$ with $|x-y|<delta$ we have $|g_epsilon/3(x)-g_epsilon/3(y)|<fracepsilon3$. This way we get, for any $x, y$ with $|x, y|<delta$:
                $$
                |f(x)-f(y)| = |f(x)-g_epsilon/3(x) + g_epsilon/3(x) - g_epsilon/3(u) + g_epsilon/3(u) - f(u)|\
                leq |f(x)-g_epsilon/3(x)| + |g_epsilon/3(x) - g_epsilon/3(u)| + |g_epsilon/3(u) - f(u)|\
                <3cdot fracepsilon3
                $$






                share|cite|improve this answer












                Your idea is great. But you can't compare $f(u)$ and $g_epsilon/2(x)$ that easily, so you need to include one more term. Also, you have to use your $delta$ somehow, and as part of that specify what property you want it to fulfill. At the moment, you've just picked an arbitrary $delta$ and not used it.



                Take a $delta$ such that for any $x, y$ with $|x-y|<delta$ we have $|g_epsilon/3(x)-g_epsilon/3(y)|<fracepsilon3$. This way we get, for any $x, y$ with $|x, y|<delta$:
                $$
                |f(x)-f(y)| = |f(x)-g_epsilon/3(x) + g_epsilon/3(x) - g_epsilon/3(u) + g_epsilon/3(u) - f(u)|\
                leq |f(x)-g_epsilon/3(x)| + |g_epsilon/3(x) - g_epsilon/3(u)| + |g_epsilon/3(u) - f(u)|\
                <3cdot fracepsilon3
                $$







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Aug 27 at 13:43









                Arthur

                101k795176




                101k795176




















                    up vote
                    3
                    down vote













                    One term missing.
                    $$
                    |f(x)- f(y)| leqslant |f(x) - g_varepsilon/3(x)| + |g_varepsilon/3(x) - g_varepsilon/3(y)|+|g_varepsilon/3(y) - f(y)|.
                    $$






                    share|cite|improve this answer


















                    • 1




                      But then you only get $frac3epsilon2$. Need to pick a different $g$.
                      – Arthur
                      Aug 27 at 13:43










                    • @Arthur Thanks! I did not notice this.
                      – xbh
                      Aug 27 at 13:43














                    up vote
                    3
                    down vote













                    One term missing.
                    $$
                    |f(x)- f(y)| leqslant |f(x) - g_varepsilon/3(x)| + |g_varepsilon/3(x) - g_varepsilon/3(y)|+|g_varepsilon/3(y) - f(y)|.
                    $$






                    share|cite|improve this answer


















                    • 1




                      But then you only get $frac3epsilon2$. Need to pick a different $g$.
                      – Arthur
                      Aug 27 at 13:43










                    • @Arthur Thanks! I did not notice this.
                      – xbh
                      Aug 27 at 13:43












                    up vote
                    3
                    down vote










                    up vote
                    3
                    down vote









                    One term missing.
                    $$
                    |f(x)- f(y)| leqslant |f(x) - g_varepsilon/3(x)| + |g_varepsilon/3(x) - g_varepsilon/3(y)|+|g_varepsilon/3(y) - f(y)|.
                    $$






                    share|cite|improve this answer














                    One term missing.
                    $$
                    |f(x)- f(y)| leqslant |f(x) - g_varepsilon/3(x)| + |g_varepsilon/3(x) - g_varepsilon/3(y)|+|g_varepsilon/3(y) - f(y)|.
                    $$







                    share|cite|improve this answer














                    share|cite|improve this answer



                    share|cite|improve this answer








                    edited Aug 27 at 13:44

























                    answered Aug 27 at 13:42









                    xbh

                    3,062219




                    3,062219







                    • 1




                      But then you only get $frac3epsilon2$. Need to pick a different $g$.
                      – Arthur
                      Aug 27 at 13:43










                    • @Arthur Thanks! I did not notice this.
                      – xbh
                      Aug 27 at 13:43












                    • 1




                      But then you only get $frac3epsilon2$. Need to pick a different $g$.
                      – Arthur
                      Aug 27 at 13:43










                    • @Arthur Thanks! I did not notice this.
                      – xbh
                      Aug 27 at 13:43







                    1




                    1




                    But then you only get $frac3epsilon2$. Need to pick a different $g$.
                    – Arthur
                    Aug 27 at 13:43




                    But then you only get $frac3epsilon2$. Need to pick a different $g$.
                    – Arthur
                    Aug 27 at 13:43












                    @Arthur Thanks! I did not notice this.
                    – xbh
                    Aug 27 at 13:43




                    @Arthur Thanks! I did not notice this.
                    – xbh
                    Aug 27 at 13:43

















                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2896191%2fto-show-f-is-unifromly-continuous-if-fx-g-epsilonx-epsilon%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    這個網誌中的熱門文章

                    tkz-euclide: tkzDrawCircle[R] not working

                    How to combine Bézier curves to a surface?

                    1st Magritte Awards