Finding the point of differentiability of a real valued function.

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











up vote
0
down vote

favorite












Let $f:(0,2)rightarrow mathbbR$ be defined by



$f(x)=x^2 $ if $xin (0,2)cap mathbbQ$ and



$f(x)=2x-1 $ if $xin (0,2)- mathbbQ$



Check for the points of differentiability of $f$ and evaluate the derivative at those points.



My attempt: I know that this function $f$ is only in continuous only at the point $x=1$. But I am not sure how to check the differentiability at the point $x=1$. Any suggestions are welcome.







share|cite|improve this question























    up vote
    0
    down vote

    favorite












    Let $f:(0,2)rightarrow mathbbR$ be defined by



    $f(x)=x^2 $ if $xin (0,2)cap mathbbQ$ and



    $f(x)=2x-1 $ if $xin (0,2)- mathbbQ$



    Check for the points of differentiability of $f$ and evaluate the derivative at those points.



    My attempt: I know that this function $f$ is only in continuous only at the point $x=1$. But I am not sure how to check the differentiability at the point $x=1$. Any suggestions are welcome.







    share|cite|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Let $f:(0,2)rightarrow mathbbR$ be defined by



      $f(x)=x^2 $ if $xin (0,2)cap mathbbQ$ and



      $f(x)=2x-1 $ if $xin (0,2)- mathbbQ$



      Check for the points of differentiability of $f$ and evaluate the derivative at those points.



      My attempt: I know that this function $f$ is only in continuous only at the point $x=1$. But I am not sure how to check the differentiability at the point $x=1$. Any suggestions are welcome.







      share|cite|improve this question











      Let $f:(0,2)rightarrow mathbbR$ be defined by



      $f(x)=x^2 $ if $xin (0,2)cap mathbbQ$ and



      $f(x)=2x-1 $ if $xin (0,2)- mathbbQ$



      Check for the points of differentiability of $f$ and evaluate the derivative at those points.



      My attempt: I know that this function $f$ is only in continuous only at the point $x=1$. But I am not sure how to check the differentiability at the point $x=1$. Any suggestions are welcome.









      share|cite|improve this question










      share|cite|improve this question




      share|cite|improve this question









      asked Jul 23 at 8:29









      Babai

      2,50021539




      2,50021539




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote













          Your function isn't continues on $(0,2)$ unless in $x=1$. For differentiability in this point by definition
          $$f'(1)=lim_xto1dfracf(x)-f(1)x-1=
          begincases
          lim_xto1dfracx^2-1x-1=2&xinmathbbQ\
          lim_xto1dfrac2x-1-1x-1=2&xnotinmathbbQ
          endcases
          $$
          so the function is continues and differentiable in $x=1$.






          share|cite|improve this answer























          • When u compute the right-hand limit, why are considering $x'$s only rational numbers? $x$ can also be an irrational number. But I guess in any case the limit will be 2. Is not it?
            – Babai
            Jul 23 at 8:50











          • @Babai Fixed. !
            – Nosrati
            Jul 23 at 11:16










          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%2f2860124%2ffinding-the-point-of-differentiability-of-a-real-valued-function%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          2
          down vote













          Your function isn't continues on $(0,2)$ unless in $x=1$. For differentiability in this point by definition
          $$f'(1)=lim_xto1dfracf(x)-f(1)x-1=
          begincases
          lim_xto1dfracx^2-1x-1=2&xinmathbbQ\
          lim_xto1dfrac2x-1-1x-1=2&xnotinmathbbQ
          endcases
          $$
          so the function is continues and differentiable in $x=1$.






          share|cite|improve this answer























          • When u compute the right-hand limit, why are considering $x'$s only rational numbers? $x$ can also be an irrational number. But I guess in any case the limit will be 2. Is not it?
            – Babai
            Jul 23 at 8:50











          • @Babai Fixed. !
            – Nosrati
            Jul 23 at 11:16














          up vote
          2
          down vote













          Your function isn't continues on $(0,2)$ unless in $x=1$. For differentiability in this point by definition
          $$f'(1)=lim_xto1dfracf(x)-f(1)x-1=
          begincases
          lim_xto1dfracx^2-1x-1=2&xinmathbbQ\
          lim_xto1dfrac2x-1-1x-1=2&xnotinmathbbQ
          endcases
          $$
          so the function is continues and differentiable in $x=1$.






          share|cite|improve this answer























          • When u compute the right-hand limit, why are considering $x'$s only rational numbers? $x$ can also be an irrational number. But I guess in any case the limit will be 2. Is not it?
            – Babai
            Jul 23 at 8:50











          • @Babai Fixed. !
            – Nosrati
            Jul 23 at 11:16












          up vote
          2
          down vote










          up vote
          2
          down vote









          Your function isn't continues on $(0,2)$ unless in $x=1$. For differentiability in this point by definition
          $$f'(1)=lim_xto1dfracf(x)-f(1)x-1=
          begincases
          lim_xto1dfracx^2-1x-1=2&xinmathbbQ\
          lim_xto1dfrac2x-1-1x-1=2&xnotinmathbbQ
          endcases
          $$
          so the function is continues and differentiable in $x=1$.






          share|cite|improve this answer















          Your function isn't continues on $(0,2)$ unless in $x=1$. For differentiability in this point by definition
          $$f'(1)=lim_xto1dfracf(x)-f(1)x-1=
          begincases
          lim_xto1dfracx^2-1x-1=2&xinmathbbQ\
          lim_xto1dfrac2x-1-1x-1=2&xnotinmathbbQ
          endcases
          $$
          so the function is continues and differentiable in $x=1$.







          share|cite|improve this answer















          share|cite|improve this answer



          share|cite|improve this answer








          edited Jul 23 at 11:16


























          answered Jul 23 at 8:37









          Nosrati

          19.4k41544




          19.4k41544











          • When u compute the right-hand limit, why are considering $x'$s only rational numbers? $x$ can also be an irrational number. But I guess in any case the limit will be 2. Is not it?
            – Babai
            Jul 23 at 8:50











          • @Babai Fixed. !
            – Nosrati
            Jul 23 at 11:16
















          • When u compute the right-hand limit, why are considering $x'$s only rational numbers? $x$ can also be an irrational number. But I guess in any case the limit will be 2. Is not it?
            – Babai
            Jul 23 at 8:50











          • @Babai Fixed. !
            – Nosrati
            Jul 23 at 11:16















          When u compute the right-hand limit, why are considering $x'$s only rational numbers? $x$ can also be an irrational number. But I guess in any case the limit will be 2. Is not it?
          – Babai
          Jul 23 at 8:50





          When u compute the right-hand limit, why are considering $x'$s only rational numbers? $x$ can also be an irrational number. But I guess in any case the limit will be 2. Is not it?
          – Babai
          Jul 23 at 8:50













          @Babai Fixed. !
          – Nosrati
          Jul 23 at 11:16




          @Babai Fixed. !
          – Nosrati
          Jul 23 at 11:16












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2860124%2ffinding-the-point-of-differentiability-of-a-real-valued-function%23new-answer', 'question_page');

          );

          Post as a guest













































































          Comments

          Popular posts from this blog

          What is the equation of a 3D cone with generalised tilt?

          Color the edges and diagonals of a regular polygon

          Relationship between determinant of matrix and determinant of adjoint?