Why is the graph of $y=(x^2+x-6)/(x-2)$ the same as the graph of $y=x+3$, and a continuous function?

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











up vote
2
down vote

favorite
1













Why is the graph of $y=(x^2+x-6)/(x-2)$ the same as the graph of $y=x+3$, and a continuous function?




I understand that this is because
$$
fracx^2+x-6x-2 = frac(x+3)(x-2)x-2 = x+3.
$$
But my problem with this is that in $(x-2)$, when $x=2$ the denominator will be $0$. So shouldn't there be a break here, because if $y=(x^2+x-6)/(x-2)$, then $y$ should then be undefined? So why can $y=(x^2+x-6)/(x-2)$ still be considered continuous and equal to $y=x+3$?



Please try to explain this simply. I'm still just beginning Khan Academy calculus. Thank you.







share|cite|improve this question






















  • $lim_xto 2fracx^2+x-6x-2=5$
    – rbird
    Aug 22 at 10:40










  • A graph says nothing. As you know, the two graphs should be the same everywhere $xne 2$; although the graphs are different at $x=2$, you won’t be able to see it because it is just a point. Well, this is not a mathematical explanation, but you should remember that plotting functions only gives you intuition but not proofs.
    – Szeto
    Aug 22 at 10:41














up vote
2
down vote

favorite
1













Why is the graph of $y=(x^2+x-6)/(x-2)$ the same as the graph of $y=x+3$, and a continuous function?




I understand that this is because
$$
fracx^2+x-6x-2 = frac(x+3)(x-2)x-2 = x+3.
$$
But my problem with this is that in $(x-2)$, when $x=2$ the denominator will be $0$. So shouldn't there be a break here, because if $y=(x^2+x-6)/(x-2)$, then $y$ should then be undefined? So why can $y=(x^2+x-6)/(x-2)$ still be considered continuous and equal to $y=x+3$?



Please try to explain this simply. I'm still just beginning Khan Academy calculus. Thank you.







share|cite|improve this question






















  • $lim_xto 2fracx^2+x-6x-2=5$
    – rbird
    Aug 22 at 10:40










  • A graph says nothing. As you know, the two graphs should be the same everywhere $xne 2$; although the graphs are different at $x=2$, you won’t be able to see it because it is just a point. Well, this is not a mathematical explanation, but you should remember that plotting functions only gives you intuition but not proofs.
    – Szeto
    Aug 22 at 10:41












up vote
2
down vote

favorite
1









up vote
2
down vote

favorite
1






1






Why is the graph of $y=(x^2+x-6)/(x-2)$ the same as the graph of $y=x+3$, and a continuous function?




I understand that this is because
$$
fracx^2+x-6x-2 = frac(x+3)(x-2)x-2 = x+3.
$$
But my problem with this is that in $(x-2)$, when $x=2$ the denominator will be $0$. So shouldn't there be a break here, because if $y=(x^2+x-6)/(x-2)$, then $y$ should then be undefined? So why can $y=(x^2+x-6)/(x-2)$ still be considered continuous and equal to $y=x+3$?



Please try to explain this simply. I'm still just beginning Khan Academy calculus. Thank you.







share|cite|improve this question















Why is the graph of $y=(x^2+x-6)/(x-2)$ the same as the graph of $y=x+3$, and a continuous function?




I understand that this is because
$$
fracx^2+x-6x-2 = frac(x+3)(x-2)x-2 = x+3.
$$
But my problem with this is that in $(x-2)$, when $x=2$ the denominator will be $0$. So shouldn't there be a break here, because if $y=(x^2+x-6)/(x-2)$, then $y$ should then be undefined? So why can $y=(x^2+x-6)/(x-2)$ still be considered continuous and equal to $y=x+3$?



Please try to explain this simply. I'm still just beginning Khan Academy calculus. Thank you.









share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Aug 22 at 10:37









Bill Wallis

2,2361826




2,2361826










asked Aug 22 at 10:34









Mathguy

1168




1168











  • $lim_xto 2fracx^2+x-6x-2=5$
    – rbird
    Aug 22 at 10:40










  • A graph says nothing. As you know, the two graphs should be the same everywhere $xne 2$; although the graphs are different at $x=2$, you won’t be able to see it because it is just a point. Well, this is not a mathematical explanation, but you should remember that plotting functions only gives you intuition but not proofs.
    – Szeto
    Aug 22 at 10:41
















  • $lim_xto 2fracx^2+x-6x-2=5$
    – rbird
    Aug 22 at 10:40










  • A graph says nothing. As you know, the two graphs should be the same everywhere $xne 2$; although the graphs are different at $x=2$, you won’t be able to see it because it is just a point. Well, this is not a mathematical explanation, but you should remember that plotting functions only gives you intuition but not proofs.
    – Szeto
    Aug 22 at 10:41















$lim_xto 2fracx^2+x-6x-2=5$
– rbird
Aug 22 at 10:40




$lim_xto 2fracx^2+x-6x-2=5$
– rbird
Aug 22 at 10:40












A graph says nothing. As you know, the two graphs should be the same everywhere $xne 2$; although the graphs are different at $x=2$, you won’t be able to see it because it is just a point. Well, this is not a mathematical explanation, but you should remember that plotting functions only gives you intuition but not proofs.
– Szeto
Aug 22 at 10:41




A graph says nothing. As you know, the two graphs should be the same everywhere $xne 2$; although the graphs are different at $x=2$, you won’t be able to see it because it is just a point. Well, this is not a mathematical explanation, but you should remember that plotting functions only gives you intuition but not proofs.
– Szeto
Aug 22 at 10:41










5 Answers
5






active

oldest

votes

















up vote
3
down vote



accepted










You're right that
$$
y = fracx^2+x-6x-2
$$
has a discontinuity at $x = 2$, so as it is, it isn't truly continuous. However, you've shown that this is equal to $y = x + 3$ for every $x neq 2$, and by looking at the graph of
$$
y = fracx^2+x-6x-2
$$
it makes sense that at $x = 2$, we should have $y = 5$ (when you come to learn about limits, this will make sense and can be proved formally). So, what we should actually do is write
$$
y = begincases
fracx^2+x-6x-2, & x neq 2,\
5, & x = 2.\
endcases
$$
Appending this value makes it continuous everywhere, and makes it identically equal to $y = x + 3$.






share|cite|improve this answer
















  • 1




    (+1) Probably a better answer than mine.
    – Sobi
    Aug 22 at 10:45

















up vote
3
down vote













Their graphs are not the same, nor is $f(x) = (x^2+x-6)/(x-2)$ continuous at $x=2$.



Indeed, as you say $f(x) = (x^2+x-6)/(x-2)$ is undefined at $x=2$ and therefore has a sort of a "puncture" at $x = 2$.



In particular, $f$ cannot be continuous at $x=2$, since the definition of continuity at a point requires the function to be defined at that point.






share|cite|improve this answer



























    up vote
    2
    down vote













    Function $xmapstofracx^2+x-6x-2=frac(x+3)(x-2)x-2$ is defined on $mathbb R-2$.



    Function $xmapsto x+3$ is defined on $mathbb R$.



    So the functions are not the same, but the second function restricted to set $mathbb R-2$ is the same as the first.



    The first function is continuous at any element of $mathbb R-2$ hence is a continuous function.



    We cannot say that it is continuous at $2$ because it is not defined there, but what we can say is that it can be extended to a continuous function on $mathbb R$ (which is the second function).



    For a related question that I posed myself see here.






    share|cite|improve this answer



























      up vote
      2
      down vote













      An answer for you after learning complex analysis in the future



      Let $f(z)=fracz^2-z+6z-2$ and $g(z)=z-3$.



      $f(z)$ has a domain of $mathbb Csetminus2$.



      $g(z)$ has a domain of $mathbb C$.



      Since $f(z)-g(z)=0$ for every $zinmathbb Csetminus2$, by the principle of analytic continuation, $g$ is the unique analytic continuation of $f$. This explains why the graphs look the same.






      share|cite|improve this answer



























        up vote
        2
        down vote













        To elaborate on rbird's answer, if you have a $0/0$ singularity, you can use L'Hopital's rule to find the solution:



        $$
        lim_xrightarrow c fracf(x)g(x)= lim_xrightarrow c fracf'(x)g'(x)
        $$



        and so



        $$
        lim_xrightarrow2 fracx^2 +x-6x-2 = lim_xrightarrow2frac2x+11
        $$



        which equals 5 QED






        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: 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%2f2890887%2fwhy-is-the-graph-of-y-x2x-6-x-2-the-same-as-the-graph-of-y-x3-and-a%23new-answer', 'question_page');

          );

          Post as a guest






























          5 Answers
          5






          active

          oldest

          votes








          5 Answers
          5






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          3
          down vote



          accepted










          You're right that
          $$
          y = fracx^2+x-6x-2
          $$
          has a discontinuity at $x = 2$, so as it is, it isn't truly continuous. However, you've shown that this is equal to $y = x + 3$ for every $x neq 2$, and by looking at the graph of
          $$
          y = fracx^2+x-6x-2
          $$
          it makes sense that at $x = 2$, we should have $y = 5$ (when you come to learn about limits, this will make sense and can be proved formally). So, what we should actually do is write
          $$
          y = begincases
          fracx^2+x-6x-2, & x neq 2,\
          5, & x = 2.\
          endcases
          $$
          Appending this value makes it continuous everywhere, and makes it identically equal to $y = x + 3$.






          share|cite|improve this answer
















          • 1




            (+1) Probably a better answer than mine.
            – Sobi
            Aug 22 at 10:45














          up vote
          3
          down vote



          accepted










          You're right that
          $$
          y = fracx^2+x-6x-2
          $$
          has a discontinuity at $x = 2$, so as it is, it isn't truly continuous. However, you've shown that this is equal to $y = x + 3$ for every $x neq 2$, and by looking at the graph of
          $$
          y = fracx^2+x-6x-2
          $$
          it makes sense that at $x = 2$, we should have $y = 5$ (when you come to learn about limits, this will make sense and can be proved formally). So, what we should actually do is write
          $$
          y = begincases
          fracx^2+x-6x-2, & x neq 2,\
          5, & x = 2.\
          endcases
          $$
          Appending this value makes it continuous everywhere, and makes it identically equal to $y = x + 3$.






          share|cite|improve this answer
















          • 1




            (+1) Probably a better answer than mine.
            – Sobi
            Aug 22 at 10:45












          up vote
          3
          down vote



          accepted







          up vote
          3
          down vote



          accepted






          You're right that
          $$
          y = fracx^2+x-6x-2
          $$
          has a discontinuity at $x = 2$, so as it is, it isn't truly continuous. However, you've shown that this is equal to $y = x + 3$ for every $x neq 2$, and by looking at the graph of
          $$
          y = fracx^2+x-6x-2
          $$
          it makes sense that at $x = 2$, we should have $y = 5$ (when you come to learn about limits, this will make sense and can be proved formally). So, what we should actually do is write
          $$
          y = begincases
          fracx^2+x-6x-2, & x neq 2,\
          5, & x = 2.\
          endcases
          $$
          Appending this value makes it continuous everywhere, and makes it identically equal to $y = x + 3$.






          share|cite|improve this answer












          You're right that
          $$
          y = fracx^2+x-6x-2
          $$
          has a discontinuity at $x = 2$, so as it is, it isn't truly continuous. However, you've shown that this is equal to $y = x + 3$ for every $x neq 2$, and by looking at the graph of
          $$
          y = fracx^2+x-6x-2
          $$
          it makes sense that at $x = 2$, we should have $y = 5$ (when you come to learn about limits, this will make sense and can be proved formally). So, what we should actually do is write
          $$
          y = begincases
          fracx^2+x-6x-2, & x neq 2,\
          5, & x = 2.\
          endcases
          $$
          Appending this value makes it continuous everywhere, and makes it identically equal to $y = x + 3$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Aug 22 at 10:42









          Bill Wallis

          2,2361826




          2,2361826







          • 1




            (+1) Probably a better answer than mine.
            – Sobi
            Aug 22 at 10:45












          • 1




            (+1) Probably a better answer than mine.
            – Sobi
            Aug 22 at 10:45







          1




          1




          (+1) Probably a better answer than mine.
          – Sobi
          Aug 22 at 10:45




          (+1) Probably a better answer than mine.
          – Sobi
          Aug 22 at 10:45










          up vote
          3
          down vote













          Their graphs are not the same, nor is $f(x) = (x^2+x-6)/(x-2)$ continuous at $x=2$.



          Indeed, as you say $f(x) = (x^2+x-6)/(x-2)$ is undefined at $x=2$ and therefore has a sort of a "puncture" at $x = 2$.



          In particular, $f$ cannot be continuous at $x=2$, since the definition of continuity at a point requires the function to be defined at that point.






          share|cite|improve this answer
























            up vote
            3
            down vote













            Their graphs are not the same, nor is $f(x) = (x^2+x-6)/(x-2)$ continuous at $x=2$.



            Indeed, as you say $f(x) = (x^2+x-6)/(x-2)$ is undefined at $x=2$ and therefore has a sort of a "puncture" at $x = 2$.



            In particular, $f$ cannot be continuous at $x=2$, since the definition of continuity at a point requires the function to be defined at that point.






            share|cite|improve this answer






















              up vote
              3
              down vote










              up vote
              3
              down vote









              Their graphs are not the same, nor is $f(x) = (x^2+x-6)/(x-2)$ continuous at $x=2$.



              Indeed, as you say $f(x) = (x^2+x-6)/(x-2)$ is undefined at $x=2$ and therefore has a sort of a "puncture" at $x = 2$.



              In particular, $f$ cannot be continuous at $x=2$, since the definition of continuity at a point requires the function to be defined at that point.






              share|cite|improve this answer












              Their graphs are not the same, nor is $f(x) = (x^2+x-6)/(x-2)$ continuous at $x=2$.



              Indeed, as you say $f(x) = (x^2+x-6)/(x-2)$ is undefined at $x=2$ and therefore has a sort of a "puncture" at $x = 2$.



              In particular, $f$ cannot be continuous at $x=2$, since the definition of continuity at a point requires the function to be defined at that point.







              share|cite|improve this answer












              share|cite|improve this answer



              share|cite|improve this answer










              answered Aug 22 at 10:42









              Sobi

              1,965313




              1,965313




















                  up vote
                  2
                  down vote













                  Function $xmapstofracx^2+x-6x-2=frac(x+3)(x-2)x-2$ is defined on $mathbb R-2$.



                  Function $xmapsto x+3$ is defined on $mathbb R$.



                  So the functions are not the same, but the second function restricted to set $mathbb R-2$ is the same as the first.



                  The first function is continuous at any element of $mathbb R-2$ hence is a continuous function.



                  We cannot say that it is continuous at $2$ because it is not defined there, but what we can say is that it can be extended to a continuous function on $mathbb R$ (which is the second function).



                  For a related question that I posed myself see here.






                  share|cite|improve this answer
























                    up vote
                    2
                    down vote













                    Function $xmapstofracx^2+x-6x-2=frac(x+3)(x-2)x-2$ is defined on $mathbb R-2$.



                    Function $xmapsto x+3$ is defined on $mathbb R$.



                    So the functions are not the same, but the second function restricted to set $mathbb R-2$ is the same as the first.



                    The first function is continuous at any element of $mathbb R-2$ hence is a continuous function.



                    We cannot say that it is continuous at $2$ because it is not defined there, but what we can say is that it can be extended to a continuous function on $mathbb R$ (which is the second function).



                    For a related question that I posed myself see here.






                    share|cite|improve this answer






















                      up vote
                      2
                      down vote










                      up vote
                      2
                      down vote









                      Function $xmapstofracx^2+x-6x-2=frac(x+3)(x-2)x-2$ is defined on $mathbb R-2$.



                      Function $xmapsto x+3$ is defined on $mathbb R$.



                      So the functions are not the same, but the second function restricted to set $mathbb R-2$ is the same as the first.



                      The first function is continuous at any element of $mathbb R-2$ hence is a continuous function.



                      We cannot say that it is continuous at $2$ because it is not defined there, but what we can say is that it can be extended to a continuous function on $mathbb R$ (which is the second function).



                      For a related question that I posed myself see here.






                      share|cite|improve this answer












                      Function $xmapstofracx^2+x-6x-2=frac(x+3)(x-2)x-2$ is defined on $mathbb R-2$.



                      Function $xmapsto x+3$ is defined on $mathbb R$.



                      So the functions are not the same, but the second function restricted to set $mathbb R-2$ is the same as the first.



                      The first function is continuous at any element of $mathbb R-2$ hence is a continuous function.



                      We cannot say that it is continuous at $2$ because it is not defined there, but what we can say is that it can be extended to a continuous function on $mathbb R$ (which is the second function).



                      For a related question that I posed myself see here.







                      share|cite|improve this answer












                      share|cite|improve this answer



                      share|cite|improve this answer










                      answered Aug 22 at 10:47









                      drhab

                      88.1k541120




                      88.1k541120




















                          up vote
                          2
                          down vote













                          An answer for you after learning complex analysis in the future



                          Let $f(z)=fracz^2-z+6z-2$ and $g(z)=z-3$.



                          $f(z)$ has a domain of $mathbb Csetminus2$.



                          $g(z)$ has a domain of $mathbb C$.



                          Since $f(z)-g(z)=0$ for every $zinmathbb Csetminus2$, by the principle of analytic continuation, $g$ is the unique analytic continuation of $f$. This explains why the graphs look the same.






                          share|cite|improve this answer
























                            up vote
                            2
                            down vote













                            An answer for you after learning complex analysis in the future



                            Let $f(z)=fracz^2-z+6z-2$ and $g(z)=z-3$.



                            $f(z)$ has a domain of $mathbb Csetminus2$.



                            $g(z)$ has a domain of $mathbb C$.



                            Since $f(z)-g(z)=0$ for every $zinmathbb Csetminus2$, by the principle of analytic continuation, $g$ is the unique analytic continuation of $f$. This explains why the graphs look the same.






                            share|cite|improve this answer






















                              up vote
                              2
                              down vote










                              up vote
                              2
                              down vote









                              An answer for you after learning complex analysis in the future



                              Let $f(z)=fracz^2-z+6z-2$ and $g(z)=z-3$.



                              $f(z)$ has a domain of $mathbb Csetminus2$.



                              $g(z)$ has a domain of $mathbb C$.



                              Since $f(z)-g(z)=0$ for every $zinmathbb Csetminus2$, by the principle of analytic continuation, $g$ is the unique analytic continuation of $f$. This explains why the graphs look the same.






                              share|cite|improve this answer












                              An answer for you after learning complex analysis in the future



                              Let $f(z)=fracz^2-z+6z-2$ and $g(z)=z-3$.



                              $f(z)$ has a domain of $mathbb Csetminus2$.



                              $g(z)$ has a domain of $mathbb C$.



                              Since $f(z)-g(z)=0$ for every $zinmathbb Csetminus2$, by the principle of analytic continuation, $g$ is the unique analytic continuation of $f$. This explains why the graphs look the same.







                              share|cite|improve this answer












                              share|cite|improve this answer



                              share|cite|improve this answer










                              answered Aug 22 at 10:49









                              Szeto

                              4,4531522




                              4,4531522




















                                  up vote
                                  2
                                  down vote













                                  To elaborate on rbird's answer, if you have a $0/0$ singularity, you can use L'Hopital's rule to find the solution:



                                  $$
                                  lim_xrightarrow c fracf(x)g(x)= lim_xrightarrow c fracf'(x)g'(x)
                                  $$



                                  and so



                                  $$
                                  lim_xrightarrow2 fracx^2 +x-6x-2 = lim_xrightarrow2frac2x+11
                                  $$



                                  which equals 5 QED






                                  share|cite|improve this answer


























                                    up vote
                                    2
                                    down vote













                                    To elaborate on rbird's answer, if you have a $0/0$ singularity, you can use L'Hopital's rule to find the solution:



                                    $$
                                    lim_xrightarrow c fracf(x)g(x)= lim_xrightarrow c fracf'(x)g'(x)
                                    $$



                                    and so



                                    $$
                                    lim_xrightarrow2 fracx^2 +x-6x-2 = lim_xrightarrow2frac2x+11
                                    $$



                                    which equals 5 QED






                                    share|cite|improve this answer
























                                      up vote
                                      2
                                      down vote










                                      up vote
                                      2
                                      down vote









                                      To elaborate on rbird's answer, if you have a $0/0$ singularity, you can use L'Hopital's rule to find the solution:



                                      $$
                                      lim_xrightarrow c fracf(x)g(x)= lim_xrightarrow c fracf'(x)g'(x)
                                      $$



                                      and so



                                      $$
                                      lim_xrightarrow2 fracx^2 +x-6x-2 = lim_xrightarrow2frac2x+11
                                      $$



                                      which equals 5 QED






                                      share|cite|improve this answer














                                      To elaborate on rbird's answer, if you have a $0/0$ singularity, you can use L'Hopital's rule to find the solution:



                                      $$
                                      lim_xrightarrow c fracf(x)g(x)= lim_xrightarrow c fracf'(x)g'(x)
                                      $$



                                      and so



                                      $$
                                      lim_xrightarrow2 fracx^2 +x-6x-2 = lim_xrightarrow2frac2x+11
                                      $$



                                      which equals 5 QED







                                      share|cite|improve this answer














                                      share|cite|improve this answer



                                      share|cite|improve this answer








                                      edited Aug 22 at 10:49

























                                      answered Aug 22 at 10:46









                                      user68150

                                      313




                                      313






















                                           

                                          draft saved


                                          draft discarded


























                                           


                                          draft saved


                                          draft discarded














                                          StackExchange.ready(
                                          function ()
                                          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2890887%2fwhy-is-the-graph-of-y-x2x-6-x-2-the-same-as-the-graph-of-y-x3-and-a%23new-answer', 'question_page');

                                          );

                                          Post as a guest













































































                                          這個網誌中的熱門文章

                                          How to combine Bézier curves to a surface?

                                          Mutual Information Always Non-negative

                                          Why am i infinitely getting the same tweet with the Twitter Search API?