Proving that if $c$ is a local maximum, then $f^primeprime(c) leq 0$

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











up vote
3
down vote

favorite
1












Suppose $a, b in mathbbR$ with $a < b$. Suppose $f, f^prime, f^prime prime$ exist on $(a,b)$. Prove that if $f$ has a local maximum at $c in (a,b)$, then $f^primeprime(c) leq 0$.



I can see why this is true because if $f^primeprime(c) geq 0$, the function $f$ would be concave up and a point to the right of $c$ would be a local maximum, but I'm struggling to write a rigorous proof.



I know that since $c$ is a local max of $f$, we know that $f^prime(c) = 0$. Then
$f^prime(c) = lim_xto c fracf(x) - f(c)x - c = 0$. I also know that $f^primeprime(c) = lim_x to c fracf^prime(x) - f^prime(c)x - c = lim_x to cfracf^prime(x)x - c$ but I don't know how to continue.







share|cite|improve this question
















  • 1




    Note that a function that is concave up at $x=c$ isn't necessarily larger to the right of $c$: consider $f(x) = 1/x$ for some $c>0$.
    – Greg Martin
    Aug 8 at 18:51










  • Consider the sup of all zeros of $f'$ which are $<c$. If this number is $c$, than show that $f$ is constant on a left neighborhood of $c$. Else $f'$ is increasing (not necessarily in a strict way) on the left of $c$, starting with the sup. With the same argument decreasing on the other side. So $f''$ is $ge 0$, respectively $le 0$ left, resp. right from $c$. Being continuous...
    – dan_fulea
    Aug 8 at 18:55














up vote
3
down vote

favorite
1












Suppose $a, b in mathbbR$ with $a < b$. Suppose $f, f^prime, f^prime prime$ exist on $(a,b)$. Prove that if $f$ has a local maximum at $c in (a,b)$, then $f^primeprime(c) leq 0$.



I can see why this is true because if $f^primeprime(c) geq 0$, the function $f$ would be concave up and a point to the right of $c$ would be a local maximum, but I'm struggling to write a rigorous proof.



I know that since $c$ is a local max of $f$, we know that $f^prime(c) = 0$. Then
$f^prime(c) = lim_xto c fracf(x) - f(c)x - c = 0$. I also know that $f^primeprime(c) = lim_x to c fracf^prime(x) - f^prime(c)x - c = lim_x to cfracf^prime(x)x - c$ but I don't know how to continue.







share|cite|improve this question
















  • 1




    Note that a function that is concave up at $x=c$ isn't necessarily larger to the right of $c$: consider $f(x) = 1/x$ for some $c>0$.
    – Greg Martin
    Aug 8 at 18:51










  • Consider the sup of all zeros of $f'$ which are $<c$. If this number is $c$, than show that $f$ is constant on a left neighborhood of $c$. Else $f'$ is increasing (not necessarily in a strict way) on the left of $c$, starting with the sup. With the same argument decreasing on the other side. So $f''$ is $ge 0$, respectively $le 0$ left, resp. right from $c$. Being continuous...
    – dan_fulea
    Aug 8 at 18:55












up vote
3
down vote

favorite
1









up vote
3
down vote

favorite
1






1





Suppose $a, b in mathbbR$ with $a < b$. Suppose $f, f^prime, f^prime prime$ exist on $(a,b)$. Prove that if $f$ has a local maximum at $c in (a,b)$, then $f^primeprime(c) leq 0$.



I can see why this is true because if $f^primeprime(c) geq 0$, the function $f$ would be concave up and a point to the right of $c$ would be a local maximum, but I'm struggling to write a rigorous proof.



I know that since $c$ is a local max of $f$, we know that $f^prime(c) = 0$. Then
$f^prime(c) = lim_xto c fracf(x) - f(c)x - c = 0$. I also know that $f^primeprime(c) = lim_x to c fracf^prime(x) - f^prime(c)x - c = lim_x to cfracf^prime(x)x - c$ but I don't know how to continue.







share|cite|improve this question












Suppose $a, b in mathbbR$ with $a < b$. Suppose $f, f^prime, f^prime prime$ exist on $(a,b)$. Prove that if $f$ has a local maximum at $c in (a,b)$, then $f^primeprime(c) leq 0$.



I can see why this is true because if $f^primeprime(c) geq 0$, the function $f$ would be concave up and a point to the right of $c$ would be a local maximum, but I'm struggling to write a rigorous proof.



I know that since $c$ is a local max of $f$, we know that $f^prime(c) = 0$. Then
$f^prime(c) = lim_xto c fracf(x) - f(c)x - c = 0$. I also know that $f^primeprime(c) = lim_x to c fracf^prime(x) - f^prime(c)x - c = lim_x to cfracf^prime(x)x - c$ but I don't know how to continue.









share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Aug 8 at 18:46









user100000000000000

381313




381313







  • 1




    Note that a function that is concave up at $x=c$ isn't necessarily larger to the right of $c$: consider $f(x) = 1/x$ for some $c>0$.
    – Greg Martin
    Aug 8 at 18:51










  • Consider the sup of all zeros of $f'$ which are $<c$. If this number is $c$, than show that $f$ is constant on a left neighborhood of $c$. Else $f'$ is increasing (not necessarily in a strict way) on the left of $c$, starting with the sup. With the same argument decreasing on the other side. So $f''$ is $ge 0$, respectively $le 0$ left, resp. right from $c$. Being continuous...
    – dan_fulea
    Aug 8 at 18:55












  • 1




    Note that a function that is concave up at $x=c$ isn't necessarily larger to the right of $c$: consider $f(x) = 1/x$ for some $c>0$.
    – Greg Martin
    Aug 8 at 18:51










  • Consider the sup of all zeros of $f'$ which are $<c$. If this number is $c$, than show that $f$ is constant on a left neighborhood of $c$. Else $f'$ is increasing (not necessarily in a strict way) on the left of $c$, starting with the sup. With the same argument decreasing on the other side. So $f''$ is $ge 0$, respectively $le 0$ left, resp. right from $c$. Being continuous...
    – dan_fulea
    Aug 8 at 18:55







1




1




Note that a function that is concave up at $x=c$ isn't necessarily larger to the right of $c$: consider $f(x) = 1/x$ for some $c>0$.
– Greg Martin
Aug 8 at 18:51




Note that a function that is concave up at $x=c$ isn't necessarily larger to the right of $c$: consider $f(x) = 1/x$ for some $c>0$.
– Greg Martin
Aug 8 at 18:51












Consider the sup of all zeros of $f'$ which are $<c$. If this number is $c$, than show that $f$ is constant on a left neighborhood of $c$. Else $f'$ is increasing (not necessarily in a strict way) on the left of $c$, starting with the sup. With the same argument decreasing on the other side. So $f''$ is $ge 0$, respectively $le 0$ left, resp. right from $c$. Being continuous...
– dan_fulea
Aug 8 at 18:55




Consider the sup of all zeros of $f'$ which are $<c$. If this number is $c$, than show that $f$ is constant on a left neighborhood of $c$. Else $f'$ is increasing (not necessarily in a strict way) on the left of $c$, starting with the sup. With the same argument decreasing on the other side. So $f''$ is $ge 0$, respectively $le 0$ left, resp. right from $c$. Being continuous...
– dan_fulea
Aug 8 at 18:55










2 Answers
2






active

oldest

votes

















up vote
0
down vote



accepted










I assume $f"$ is continous. Suppose $f"(c)> 0$. Since $f'(c) =0$, There exists an interval $I$ such that $f'(x) >f'(c) =0$ for $x$ in $I, x>c$.This implies that $f$ strictly increases on $[c, x]. $ Contradiction.






share|cite|improve this answer





























    up vote
    1
    down vote













    We can show this using Taylor`s expansion aswell. We can take the first order taylor expansion around $x_0$ with Lagrange's remainder :
    $$f(x)=f(x_0)+f'(x_0)(x-x_0)+frac f''(c_x)(x-x_0)^2 2$$ for some $c_xin(x_0,x)$ or $(x,x_0) $ and $x_0in(a,b)$.



    Since $c$ is a local maximum, we have $f'(c)=0$:



    $$f(x)=f(c)+frac f''(c_x)(x-x_0)^2 2$$
    Since $frac (x-x_0)^2 2geq 0$, The sign of $f''(c_x)$ determines if we have a maximum or a minimum.






    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%2f2876434%2fproving-that-if-c-is-a-local-maximum-then-f-prime-primec-leq-0%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
      0
      down vote



      accepted










      I assume $f"$ is continous. Suppose $f"(c)> 0$. Since $f'(c) =0$, There exists an interval $I$ such that $f'(x) >f'(c) =0$ for $x$ in $I, x>c$.This implies that $f$ strictly increases on $[c, x]. $ Contradiction.






      share|cite|improve this answer


























        up vote
        0
        down vote



        accepted










        I assume $f"$ is continous. Suppose $f"(c)> 0$. Since $f'(c) =0$, There exists an interval $I$ such that $f'(x) >f'(c) =0$ for $x$ in $I, x>c$.This implies that $f$ strictly increases on $[c, x]. $ Contradiction.






        share|cite|improve this answer
























          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          I assume $f"$ is continous. Suppose $f"(c)> 0$. Since $f'(c) =0$, There exists an interval $I$ such that $f'(x) >f'(c) =0$ for $x$ in $I, x>c$.This implies that $f$ strictly increases on $[c, x]. $ Contradiction.






          share|cite|improve this answer














          I assume $f"$ is continous. Suppose $f"(c)> 0$. Since $f'(c) =0$, There exists an interval $I$ such that $f'(x) >f'(c) =0$ for $x$ in $I, x>c$.This implies that $f$ strictly increases on $[c, x]. $ Contradiction.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Aug 8 at 19:12

























          answered Aug 8 at 19:07









          Tsemo Aristide

          51.5k11243




          51.5k11243




















              up vote
              1
              down vote













              We can show this using Taylor`s expansion aswell. We can take the first order taylor expansion around $x_0$ with Lagrange's remainder :
              $$f(x)=f(x_0)+f'(x_0)(x-x_0)+frac f''(c_x)(x-x_0)^2 2$$ for some $c_xin(x_0,x)$ or $(x,x_0) $ and $x_0in(a,b)$.



              Since $c$ is a local maximum, we have $f'(c)=0$:



              $$f(x)=f(c)+frac f''(c_x)(x-x_0)^2 2$$
              Since $frac (x-x_0)^2 2geq 0$, The sign of $f''(c_x)$ determines if we have a maximum or a minimum.






              share|cite|improve this answer
























                up vote
                1
                down vote













                We can show this using Taylor`s expansion aswell. We can take the first order taylor expansion around $x_0$ with Lagrange's remainder :
                $$f(x)=f(x_0)+f'(x_0)(x-x_0)+frac f''(c_x)(x-x_0)^2 2$$ for some $c_xin(x_0,x)$ or $(x,x_0) $ and $x_0in(a,b)$.



                Since $c$ is a local maximum, we have $f'(c)=0$:



                $$f(x)=f(c)+frac f''(c_x)(x-x_0)^2 2$$
                Since $frac (x-x_0)^2 2geq 0$, The sign of $f''(c_x)$ determines if we have a maximum or a minimum.






                share|cite|improve this answer






















                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  We can show this using Taylor`s expansion aswell. We can take the first order taylor expansion around $x_0$ with Lagrange's remainder :
                  $$f(x)=f(x_0)+f'(x_0)(x-x_0)+frac f''(c_x)(x-x_0)^2 2$$ for some $c_xin(x_0,x)$ or $(x,x_0) $ and $x_0in(a,b)$.



                  Since $c$ is a local maximum, we have $f'(c)=0$:



                  $$f(x)=f(c)+frac f''(c_x)(x-x_0)^2 2$$
                  Since $frac (x-x_0)^2 2geq 0$, The sign of $f''(c_x)$ determines if we have a maximum or a minimum.






                  share|cite|improve this answer












                  We can show this using Taylor`s expansion aswell. We can take the first order taylor expansion around $x_0$ with Lagrange's remainder :
                  $$f(x)=f(x_0)+f'(x_0)(x-x_0)+frac f''(c_x)(x-x_0)^2 2$$ for some $c_xin(x_0,x)$ or $(x,x_0) $ and $x_0in(a,b)$.



                  Since $c$ is a local maximum, we have $f'(c)=0$:



                  $$f(x)=f(c)+frac f''(c_x)(x-x_0)^2 2$$
                  Since $frac (x-x_0)^2 2geq 0$, The sign of $f''(c_x)$ determines if we have a maximum or a minimum.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Aug 8 at 19:54









                  Sar

                  45910




                  45910






















                       

                      draft saved


                      draft discarded


























                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2876434%2fproving-that-if-c-is-a-local-maximum-then-f-prime-primec-leq-0%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?