Continuity at a point of a piecewise function











up vote
5
down vote

favorite
1












Let
$
f(x) = left{
begin{array}{lr}
frac{x}{3} & x ~textrm{is rational},\
x & x ~textrm{is irrational}.
end{array}
right.
$



Show that $f$ is continuous at $a in mathbb{R}$ if and only if $a=0$.



My initial approach is to use the sequential criterion with the use of density of rational numbers but I wasn't successful. Any help is much appreciated.










share|cite|improve this question




























    up vote
    5
    down vote

    favorite
    1












    Let
    $
    f(x) = left{
    begin{array}{lr}
    frac{x}{3} & x ~textrm{is rational},\
    x & x ~textrm{is irrational}.
    end{array}
    right.
    $



    Show that $f$ is continuous at $a in mathbb{R}$ if and only if $a=0$.



    My initial approach is to use the sequential criterion with the use of density of rational numbers but I wasn't successful. Any help is much appreciated.










    share|cite|improve this question


























      up vote
      5
      down vote

      favorite
      1









      up vote
      5
      down vote

      favorite
      1






      1





      Let
      $
      f(x) = left{
      begin{array}{lr}
      frac{x}{3} & x ~textrm{is rational},\
      x & x ~textrm{is irrational}.
      end{array}
      right.
      $



      Show that $f$ is continuous at $a in mathbb{R}$ if and only if $a=0$.



      My initial approach is to use the sequential criterion with the use of density of rational numbers but I wasn't successful. Any help is much appreciated.










      share|cite|improve this question















      Let
      $
      f(x) = left{
      begin{array}{lr}
      frac{x}{3} & x ~textrm{is rational},\
      x & x ~textrm{is irrational}.
      end{array}
      right.
      $



      Show that $f$ is continuous at $a in mathbb{R}$ if and only if $a=0$.



      My initial approach is to use the sequential criterion with the use of density of rational numbers but I wasn't successful. Any help is much appreciated.







      calculus real-analysis analysis functions continuity






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 15 at 0:05









      Rebellos

      11.7k21040




      11.7k21040










      asked Nov 14 at 23:50







      user615914





























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote













          Let $x in mathbb R$, $x$ constant. If $(rho_n)$ be a sequence of rational numbers with $$lim rho_n = x Rightarrow lim f(rho_n) = lim rho_n/3 = x/3$$
          If $(a_n)$ is a sequence of irrational numbers with
          $$lim a_n = x Rightarrow lim f(a_n) = lim a_n = x$$
          then, it is
          $$lim f(rho_n)neqlim f(a_n) Leftrightarrow x neq 0$$
          Thus, $f$ is not continuous at $mathbb R setminus {0}$.



          We will now show that $f$ is continuous at $0$. It is $f(0) =0$. For all $|x| < 1$, we have :
          $$|f(x) - f(0)| = |f(x)| leq max{|x|,|x|/3} = |x|$$
          thus $lim_{xto 0} f(x) = f(0)$ which means that $f$ is continuous at $0$.






          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%2f2998985%2fcontinuity-at-a-point-of-a-piecewise-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








            up vote
            2
            down vote













            Let $x in mathbb R$, $x$ constant. If $(rho_n)$ be a sequence of rational numbers with $$lim rho_n = x Rightarrow lim f(rho_n) = lim rho_n/3 = x/3$$
            If $(a_n)$ is a sequence of irrational numbers with
            $$lim a_n = x Rightarrow lim f(a_n) = lim a_n = x$$
            then, it is
            $$lim f(rho_n)neqlim f(a_n) Leftrightarrow x neq 0$$
            Thus, $f$ is not continuous at $mathbb R setminus {0}$.



            We will now show that $f$ is continuous at $0$. It is $f(0) =0$. For all $|x| < 1$, we have :
            $$|f(x) - f(0)| = |f(x)| leq max{|x|,|x|/3} = |x|$$
            thus $lim_{xto 0} f(x) = f(0)$ which means that $f$ is continuous at $0$.






            share|cite|improve this answer

























              up vote
              2
              down vote













              Let $x in mathbb R$, $x$ constant. If $(rho_n)$ be a sequence of rational numbers with $$lim rho_n = x Rightarrow lim f(rho_n) = lim rho_n/3 = x/3$$
              If $(a_n)$ is a sequence of irrational numbers with
              $$lim a_n = x Rightarrow lim f(a_n) = lim a_n = x$$
              then, it is
              $$lim f(rho_n)neqlim f(a_n) Leftrightarrow x neq 0$$
              Thus, $f$ is not continuous at $mathbb R setminus {0}$.



              We will now show that $f$ is continuous at $0$. It is $f(0) =0$. For all $|x| < 1$, we have :
              $$|f(x) - f(0)| = |f(x)| leq max{|x|,|x|/3} = |x|$$
              thus $lim_{xto 0} f(x) = f(0)$ which means that $f$ is continuous at $0$.






              share|cite|improve this answer























                up vote
                2
                down vote










                up vote
                2
                down vote









                Let $x in mathbb R$, $x$ constant. If $(rho_n)$ be a sequence of rational numbers with $$lim rho_n = x Rightarrow lim f(rho_n) = lim rho_n/3 = x/3$$
                If $(a_n)$ is a sequence of irrational numbers with
                $$lim a_n = x Rightarrow lim f(a_n) = lim a_n = x$$
                then, it is
                $$lim f(rho_n)neqlim f(a_n) Leftrightarrow x neq 0$$
                Thus, $f$ is not continuous at $mathbb R setminus {0}$.



                We will now show that $f$ is continuous at $0$. It is $f(0) =0$. For all $|x| < 1$, we have :
                $$|f(x) - f(0)| = |f(x)| leq max{|x|,|x|/3} = |x|$$
                thus $lim_{xto 0} f(x) = f(0)$ which means that $f$ is continuous at $0$.






                share|cite|improve this answer












                Let $x in mathbb R$, $x$ constant. If $(rho_n)$ be a sequence of rational numbers with $$lim rho_n = x Rightarrow lim f(rho_n) = lim rho_n/3 = x/3$$
                If $(a_n)$ is a sequence of irrational numbers with
                $$lim a_n = x Rightarrow lim f(a_n) = lim a_n = x$$
                then, it is
                $$lim f(rho_n)neqlim f(a_n) Leftrightarrow x neq 0$$
                Thus, $f$ is not continuous at $mathbb R setminus {0}$.



                We will now show that $f$ is continuous at $0$. It is $f(0) =0$. For all $|x| < 1$, we have :
                $$|f(x) - f(0)| = |f(x)| leq max{|x|,|x|/3} = |x|$$
                thus $lim_{xto 0} f(x) = f(0)$ which means that $f$ is continuous at $0$.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Nov 15 at 0:05









                Rebellos

                11.7k21040




                11.7k21040






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2998985%2fcontinuity-at-a-point-of-a-piecewise-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

                    Probability when a professor distributes a quiz and homework assignment to a class of n students.

                    Aardman Animations

                    Are they similar matrix