$f$ is T periodic and $f(x) + f'(x) ge 0 Rightarrow f(x) ge 0$












3












$begingroup$



Let $f: Bbb R to Bbb R$ be a function such that $f'(x)$ exists and is continuous over $Bbb R$. Moreover, let there be a $T > 0$ such that $f(x + T) = f(x)$ for all $x in Bbb R$ and let $f(x) + f'(x)ge 0$ for all $x in Bbb R$.



Show that $f(x) ge 0$ for all $x in Bbb R$.




My attempt:
$f(x) ge 0 iff f(x) ge f'(x) - f'(x) iff f(x) + f'(x) ge f'(x)$.



Thus, it is enoguh to show that $0 ge f'(x)$.



$iff 0 ge lim_{hto0}frac{f(x + h) - f(x)}{h}$



I do not know how to proceed from here. I know that $f'$ also has a periodicity of T but I do not know how to use that here.



Am I on the right track? How can I use the periodicity of $f$ to solve the problem?










share|cite|improve this question











$endgroup$

















    3












    $begingroup$



    Let $f: Bbb R to Bbb R$ be a function such that $f'(x)$ exists and is continuous over $Bbb R$. Moreover, let there be a $T > 0$ such that $f(x + T) = f(x)$ for all $x in Bbb R$ and let $f(x) + f'(x)ge 0$ for all $x in Bbb R$.



    Show that $f(x) ge 0$ for all $x in Bbb R$.




    My attempt:
    $f(x) ge 0 iff f(x) ge f'(x) - f'(x) iff f(x) + f'(x) ge f'(x)$.



    Thus, it is enoguh to show that $0 ge f'(x)$.



    $iff 0 ge lim_{hto0}frac{f(x + h) - f(x)}{h}$



    I do not know how to proceed from here. I know that $f'$ also has a periodicity of T but I do not know how to use that here.



    Am I on the right track? How can I use the periodicity of $f$ to solve the problem?










    share|cite|improve this question











    $endgroup$















      3












      3








      3


      1



      $begingroup$



      Let $f: Bbb R to Bbb R$ be a function such that $f'(x)$ exists and is continuous over $Bbb R$. Moreover, let there be a $T > 0$ such that $f(x + T) = f(x)$ for all $x in Bbb R$ and let $f(x) + f'(x)ge 0$ for all $x in Bbb R$.



      Show that $f(x) ge 0$ for all $x in Bbb R$.




      My attempt:
      $f(x) ge 0 iff f(x) ge f'(x) - f'(x) iff f(x) + f'(x) ge f'(x)$.



      Thus, it is enoguh to show that $0 ge f'(x)$.



      $iff 0 ge lim_{hto0}frac{f(x + h) - f(x)}{h}$



      I do not know how to proceed from here. I know that $f'$ also has a periodicity of T but I do not know how to use that here.



      Am I on the right track? How can I use the periodicity of $f$ to solve the problem?










      share|cite|improve this question











      $endgroup$





      Let $f: Bbb R to Bbb R$ be a function such that $f'(x)$ exists and is continuous over $Bbb R$. Moreover, let there be a $T > 0$ such that $f(x + T) = f(x)$ for all $x in Bbb R$ and let $f(x) + f'(x)ge 0$ for all $x in Bbb R$.



      Show that $f(x) ge 0$ for all $x in Bbb R$.




      My attempt:
      $f(x) ge 0 iff f(x) ge f'(x) - f'(x) iff f(x) + f'(x) ge f'(x)$.



      Thus, it is enoguh to show that $0 ge f'(x)$.



      $iff 0 ge lim_{hto0}frac{f(x + h) - f(x)}{h}$



      I do not know how to proceed from here. I know that $f'$ also has a periodicity of T but I do not know how to use that here.



      Am I on the right track? How can I use the periodicity of $f$ to solve the problem?







      real-analysis inequality periodic-functions






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 30 '18 at 13:33









      Martin Sleziak

      44.7k9117272




      44.7k9117272










      asked Nov 30 '18 at 12:13









      TravisTravis

      14110




      14110






















          7 Answers
          7






          active

          oldest

          votes


















          2












          $begingroup$

          suppose $f(x)$ is negative for all values of $x$. Periodicity tells us that there must be solutions to $f'(x)=0$ and for such $x$ we would then have $f(x)+f'(x)=f(x)<0$.



          Suppose that $f(x)$ is negative for some values of $x$ but not all. Let $a,b$ be zeroes of $f(x)$ such that $a<x<bimplies f(x)<0$. Specifically, let $x_0$ be some value for which $f(x_0)<0$ and let $a$ be the greatest upper bound of ${x,:,x<x_0,;&,;f(x)≥0}$ and $b$ defined similarly on the other side. Since $f(a)=0=f(b)$ there is some $c$ with $a<c<b$ and $f'(c)=0$. But for that value we must have $$f(c)+f'(c)=f(c)<0$$ contrary to assumption.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Nice application of Rolle's Theorem.
            $endgroup$
            – GNUSupporter 8964民主女神 地下教會
            Nov 30 '18 at 12:30





















          6












          $begingroup$

          Let $g(x)=mathrm e^xf(x)$, then $g'(x)=mathrm e^x(f'(x)+f(x))geqslant0$ hence: $$(1) textit{The function $g$ is nondecreasing.}$$
          Since $f$ is continuous and periodic, $f$ is bounded, say $|f(x)|leqslant C$ for every $x$, hence $|g(x)|leqslant Cmathrm e^xto0$ when $xto-infty$, that is: $$(2) textit{The function $g$ has limit $0$ at $-infty$.}$$
          Properties (1) and (2) of $g$ imply together that $ggeqslant0$ everywhere, hence $fgeqslant0$ everywhere.





          Examples: Consider $$f(x)=c,mathrm e^{wcos(ux+v)},$$ for every $cgeqslant0$, $une0$, $|uw|leqslant1$ and $v$, then $f$ has period $2pi/|u|$ and, for every $x$, $$f'(x)+f(x)=(1-wusin(ux+v)),f(x)geqslant0.$$
          For example, if $c=w=u=1$, $v=0$, one gets the function $f$:



          $qquadqquadqquad$enter image description here



          ...And the function $f'+f$:



          $qquadqquadqquad$enter image description here






          share|cite|improve this answer











          $endgroup$





















            5












            $begingroup$

            We don't even need that $f'(x)$ is continuous! It is enough to show that $f(x) ge 0$ on $[0,T]$, because of periodicity. Since $[0,T]$ is compact, $f$ has a minimum on $[0,T]$. Let $x_0 in [0,T]$ be such that $f(x_0)$ is minimal. If $x_0 =0$ or $x_0 =T$, then $f(x_0)$ is also minimal in $[-T,2T]$, because of periodicity.



            A necessary condition for a minimum is that $f'(x_0) =0$. (And it is also valid in the case $x_0 =0$ or $x_0 =T$, because of the above remark.) Thus we get $f(x_0) = f(x_0)+f'(x_0) ge 0$. This shows that $f(x) ge 0$ everywhere.






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              You do need $f'(x)$ continuous when you say "a necessary condition for a minimum is that $f'(x_0)=0$".
              $endgroup$
              – francescop21
              Nov 30 '18 at 13:41






            • 1




              $begingroup$
              That is not true! For example, if $x_0$ is a minimum, then we have $f(x_0) le f(x)$ for $|x-x_0| le delta$. Thus $f'(x_0) =lim_{h downarrow 0} (f(x_0+h)-f(x_0))/h le 0$. On the other hand $f'(x_0) =lim_{h downarrow 0} (f(x_0-h)-f(x_0))(-h) ge 0$. Thus $f'(x_0)=0$. In this (almost trivial) proof I haven't used coninuity of $f'$ and we don't need it!
              $endgroup$
              – p4sch
              Nov 30 '18 at 13:44












            • $begingroup$
              Yeah, I was thinking about $f(x)=|x|$, but in that case $f'(0)$ doesn't even exist.
              $endgroup$
              – francescop21
              Dec 1 '18 at 10:21





















            4












            $begingroup$

            Since $f$ is periodic, it has maximum and minimum. Choose the period $[a,b]$, such that $f(a)=f(b)=M$, where $M$ is the maximum.



            It can be seen that, there is a point $f(c)=m$, where $m$ is the minimum. c is golbal minimum, and thus local minimum, so:



            $$f'(c)=0$$



            from your condition.



            $$f+f'ge 0$$



            we see



            $$f(c)ge 0$$. Since $f(c)$ is the minimum, we are done!






            share|cite|improve this answer











            $endgroup$





















              3












              $begingroup$

              Consider such $f(x)$ to be non-constant. There must be a global minimum within each period, say at $x=x_0$. Since $f(x)$ is differentiable and continuous, $f'(x_0) = 0$. Hence
              $$f(x) ge f(x_0) = f(x_0)+f'(x_0) ge 0$$






              share|cite|improve this answer









              $endgroup$





















                2












                $begingroup$

                Say a period is $[a,a+T]$. Since $f$ is continuous, it attains a minimum on that interval, say at $c$. (If you have $c = a$, then change the period to $[a - T/2,a + T/2]$ so that $c$ becomes an interior point.)



                We must have $f'(c) = 0$ there, so $f(c) geq 0$. So the minimum value of $f$ is nonnegative.






                share|cite|improve this answer









                $endgroup$





















                  -2












                  $begingroup$

                  $ f ne 0$



                  $f(x)=0 Rightarrow f'(x) ge 0$, hence $f$ can cross the X-axis at most once. periodicity means that it cannot cross at all.



                  if $f$ is non-positive then $f' ge 0$ so $f$ is monotone increasing. again this contradicts periodicity






                  share|cite|improve this answer











                  $endgroup$













                  • $begingroup$
                    Why is this downvoted? This answer is essentially saying if $f(x)<0$ somewhere, then $f(x)$ is strictly increasing there, contradicting the fact that $f(x)$ is periodic.
                    $endgroup$
                    – peterwhy
                    Nov 23 '14 at 16:48











                  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',
                  autoActivateHeartbeat: false,
                  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%2f3020024%2ff-is-t-periodic-and-fx-fx-ge-0-rightarrow-fx-ge-0%23new-answer', 'question_page');
                  }
                  );

                  Post as a guest















                  Required, but never shown

























                  7 Answers
                  7






                  active

                  oldest

                  votes








                  7 Answers
                  7






                  active

                  oldest

                  votes









                  active

                  oldest

                  votes






                  active

                  oldest

                  votes









                  2












                  $begingroup$

                  suppose $f(x)$ is negative for all values of $x$. Periodicity tells us that there must be solutions to $f'(x)=0$ and for such $x$ we would then have $f(x)+f'(x)=f(x)<0$.



                  Suppose that $f(x)$ is negative for some values of $x$ but not all. Let $a,b$ be zeroes of $f(x)$ such that $a<x<bimplies f(x)<0$. Specifically, let $x_0$ be some value for which $f(x_0)<0$ and let $a$ be the greatest upper bound of ${x,:,x<x_0,;&,;f(x)≥0}$ and $b$ defined similarly on the other side. Since $f(a)=0=f(b)$ there is some $c$ with $a<c<b$ and $f'(c)=0$. But for that value we must have $$f(c)+f'(c)=f(c)<0$$ contrary to assumption.






                  share|cite|improve this answer









                  $endgroup$













                  • $begingroup$
                    Nice application of Rolle's Theorem.
                    $endgroup$
                    – GNUSupporter 8964民主女神 地下教會
                    Nov 30 '18 at 12:30


















                  2












                  $begingroup$

                  suppose $f(x)$ is negative for all values of $x$. Periodicity tells us that there must be solutions to $f'(x)=0$ and for such $x$ we would then have $f(x)+f'(x)=f(x)<0$.



                  Suppose that $f(x)$ is negative for some values of $x$ but not all. Let $a,b$ be zeroes of $f(x)$ such that $a<x<bimplies f(x)<0$. Specifically, let $x_0$ be some value for which $f(x_0)<0$ and let $a$ be the greatest upper bound of ${x,:,x<x_0,;&,;f(x)≥0}$ and $b$ defined similarly on the other side. Since $f(a)=0=f(b)$ there is some $c$ with $a<c<b$ and $f'(c)=0$. But for that value we must have $$f(c)+f'(c)=f(c)<0$$ contrary to assumption.






                  share|cite|improve this answer









                  $endgroup$













                  • $begingroup$
                    Nice application of Rolle's Theorem.
                    $endgroup$
                    – GNUSupporter 8964民主女神 地下教會
                    Nov 30 '18 at 12:30
















                  2












                  2








                  2





                  $begingroup$

                  suppose $f(x)$ is negative for all values of $x$. Periodicity tells us that there must be solutions to $f'(x)=0$ and for such $x$ we would then have $f(x)+f'(x)=f(x)<0$.



                  Suppose that $f(x)$ is negative for some values of $x$ but not all. Let $a,b$ be zeroes of $f(x)$ such that $a<x<bimplies f(x)<0$. Specifically, let $x_0$ be some value for which $f(x_0)<0$ and let $a$ be the greatest upper bound of ${x,:,x<x_0,;&,;f(x)≥0}$ and $b$ defined similarly on the other side. Since $f(a)=0=f(b)$ there is some $c$ with $a<c<b$ and $f'(c)=0$. But for that value we must have $$f(c)+f'(c)=f(c)<0$$ contrary to assumption.






                  share|cite|improve this answer









                  $endgroup$



                  suppose $f(x)$ is negative for all values of $x$. Periodicity tells us that there must be solutions to $f'(x)=0$ and for such $x$ we would then have $f(x)+f'(x)=f(x)<0$.



                  Suppose that $f(x)$ is negative for some values of $x$ but not all. Let $a,b$ be zeroes of $f(x)$ such that $a<x<bimplies f(x)<0$. Specifically, let $x_0$ be some value for which $f(x_0)<0$ and let $a$ be the greatest upper bound of ${x,:,x<x_0,;&,;f(x)≥0}$ and $b$ defined similarly on the other side. Since $f(a)=0=f(b)$ there is some $c$ with $a<c<b$ and $f'(c)=0$. But for that value we must have $$f(c)+f'(c)=f(c)<0$$ contrary to assumption.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Nov 30 '18 at 12:24









                  lulululu

                  39.7k24778




                  39.7k24778












                  • $begingroup$
                    Nice application of Rolle's Theorem.
                    $endgroup$
                    – GNUSupporter 8964民主女神 地下教會
                    Nov 30 '18 at 12:30




















                  • $begingroup$
                    Nice application of Rolle's Theorem.
                    $endgroup$
                    – GNUSupporter 8964民主女神 地下教會
                    Nov 30 '18 at 12:30


















                  $begingroup$
                  Nice application of Rolle's Theorem.
                  $endgroup$
                  – GNUSupporter 8964民主女神 地下教會
                  Nov 30 '18 at 12:30






                  $begingroup$
                  Nice application of Rolle's Theorem.
                  $endgroup$
                  – GNUSupporter 8964民主女神 地下教會
                  Nov 30 '18 at 12:30













                  6












                  $begingroup$

                  Let $g(x)=mathrm e^xf(x)$, then $g'(x)=mathrm e^x(f'(x)+f(x))geqslant0$ hence: $$(1) textit{The function $g$ is nondecreasing.}$$
                  Since $f$ is continuous and periodic, $f$ is bounded, say $|f(x)|leqslant C$ for every $x$, hence $|g(x)|leqslant Cmathrm e^xto0$ when $xto-infty$, that is: $$(2) textit{The function $g$ has limit $0$ at $-infty$.}$$
                  Properties (1) and (2) of $g$ imply together that $ggeqslant0$ everywhere, hence $fgeqslant0$ everywhere.





                  Examples: Consider $$f(x)=c,mathrm e^{wcos(ux+v)},$$ for every $cgeqslant0$, $une0$, $|uw|leqslant1$ and $v$, then $f$ has period $2pi/|u|$ and, for every $x$, $$f'(x)+f(x)=(1-wusin(ux+v)),f(x)geqslant0.$$
                  For example, if $c=w=u=1$, $v=0$, one gets the function $f$:



                  $qquadqquadqquad$enter image description here



                  ...And the function $f'+f$:



                  $qquadqquadqquad$enter image description here






                  share|cite|improve this answer











                  $endgroup$


















                    6












                    $begingroup$

                    Let $g(x)=mathrm e^xf(x)$, then $g'(x)=mathrm e^x(f'(x)+f(x))geqslant0$ hence: $$(1) textit{The function $g$ is nondecreasing.}$$
                    Since $f$ is continuous and periodic, $f$ is bounded, say $|f(x)|leqslant C$ for every $x$, hence $|g(x)|leqslant Cmathrm e^xto0$ when $xto-infty$, that is: $$(2) textit{The function $g$ has limit $0$ at $-infty$.}$$
                    Properties (1) and (2) of $g$ imply together that $ggeqslant0$ everywhere, hence $fgeqslant0$ everywhere.





                    Examples: Consider $$f(x)=c,mathrm e^{wcos(ux+v)},$$ for every $cgeqslant0$, $une0$, $|uw|leqslant1$ and $v$, then $f$ has period $2pi/|u|$ and, for every $x$, $$f'(x)+f(x)=(1-wusin(ux+v)),f(x)geqslant0.$$
                    For example, if $c=w=u=1$, $v=0$, one gets the function $f$:



                    $qquadqquadqquad$enter image description here



                    ...And the function $f'+f$:



                    $qquadqquadqquad$enter image description here






                    share|cite|improve this answer











                    $endgroup$
















                      6












                      6








                      6





                      $begingroup$

                      Let $g(x)=mathrm e^xf(x)$, then $g'(x)=mathrm e^x(f'(x)+f(x))geqslant0$ hence: $$(1) textit{The function $g$ is nondecreasing.}$$
                      Since $f$ is continuous and periodic, $f$ is bounded, say $|f(x)|leqslant C$ for every $x$, hence $|g(x)|leqslant Cmathrm e^xto0$ when $xto-infty$, that is: $$(2) textit{The function $g$ has limit $0$ at $-infty$.}$$
                      Properties (1) and (2) of $g$ imply together that $ggeqslant0$ everywhere, hence $fgeqslant0$ everywhere.





                      Examples: Consider $$f(x)=c,mathrm e^{wcos(ux+v)},$$ for every $cgeqslant0$, $une0$, $|uw|leqslant1$ and $v$, then $f$ has period $2pi/|u|$ and, for every $x$, $$f'(x)+f(x)=(1-wusin(ux+v)),f(x)geqslant0.$$
                      For example, if $c=w=u=1$, $v=0$, one gets the function $f$:



                      $qquadqquadqquad$enter image description here



                      ...And the function $f'+f$:



                      $qquadqquadqquad$enter image description here






                      share|cite|improve this answer











                      $endgroup$



                      Let $g(x)=mathrm e^xf(x)$, then $g'(x)=mathrm e^x(f'(x)+f(x))geqslant0$ hence: $$(1) textit{The function $g$ is nondecreasing.}$$
                      Since $f$ is continuous and periodic, $f$ is bounded, say $|f(x)|leqslant C$ for every $x$, hence $|g(x)|leqslant Cmathrm e^xto0$ when $xto-infty$, that is: $$(2) textit{The function $g$ has limit $0$ at $-infty$.}$$
                      Properties (1) and (2) of $g$ imply together that $ggeqslant0$ everywhere, hence $fgeqslant0$ everywhere.





                      Examples: Consider $$f(x)=c,mathrm e^{wcos(ux+v)},$$ for every $cgeqslant0$, $une0$, $|uw|leqslant1$ and $v$, then $f$ has period $2pi/|u|$ and, for every $x$, $$f'(x)+f(x)=(1-wusin(ux+v)),f(x)geqslant0.$$
                      For example, if $c=w=u=1$, $v=0$, one gets the function $f$:



                      $qquadqquadqquad$enter image description here



                      ...And the function $f'+f$:



                      $qquadqquadqquad$enter image description here







                      share|cite|improve this answer














                      share|cite|improve this answer



                      share|cite|improve this answer








                      edited Nov 23 '14 at 16:21

























                      answered Nov 23 '14 at 15:52









                      DidDid

                      247k23222458




                      247k23222458























                          5












                          $begingroup$

                          We don't even need that $f'(x)$ is continuous! It is enough to show that $f(x) ge 0$ on $[0,T]$, because of periodicity. Since $[0,T]$ is compact, $f$ has a minimum on $[0,T]$. Let $x_0 in [0,T]$ be such that $f(x_0)$ is minimal. If $x_0 =0$ or $x_0 =T$, then $f(x_0)$ is also minimal in $[-T,2T]$, because of periodicity.



                          A necessary condition for a minimum is that $f'(x_0) =0$. (And it is also valid in the case $x_0 =0$ or $x_0 =T$, because of the above remark.) Thus we get $f(x_0) = f(x_0)+f'(x_0) ge 0$. This shows that $f(x) ge 0$ everywhere.






                          share|cite|improve this answer









                          $endgroup$













                          • $begingroup$
                            You do need $f'(x)$ continuous when you say "a necessary condition for a minimum is that $f'(x_0)=0$".
                            $endgroup$
                            – francescop21
                            Nov 30 '18 at 13:41






                          • 1




                            $begingroup$
                            That is not true! For example, if $x_0$ is a minimum, then we have $f(x_0) le f(x)$ for $|x-x_0| le delta$. Thus $f'(x_0) =lim_{h downarrow 0} (f(x_0+h)-f(x_0))/h le 0$. On the other hand $f'(x_0) =lim_{h downarrow 0} (f(x_0-h)-f(x_0))(-h) ge 0$. Thus $f'(x_0)=0$. In this (almost trivial) proof I haven't used coninuity of $f'$ and we don't need it!
                            $endgroup$
                            – p4sch
                            Nov 30 '18 at 13:44












                          • $begingroup$
                            Yeah, I was thinking about $f(x)=|x|$, but in that case $f'(0)$ doesn't even exist.
                            $endgroup$
                            – francescop21
                            Dec 1 '18 at 10:21


















                          5












                          $begingroup$

                          We don't even need that $f'(x)$ is continuous! It is enough to show that $f(x) ge 0$ on $[0,T]$, because of periodicity. Since $[0,T]$ is compact, $f$ has a minimum on $[0,T]$. Let $x_0 in [0,T]$ be such that $f(x_0)$ is minimal. If $x_0 =0$ or $x_0 =T$, then $f(x_0)$ is also minimal in $[-T,2T]$, because of periodicity.



                          A necessary condition for a minimum is that $f'(x_0) =0$. (And it is also valid in the case $x_0 =0$ or $x_0 =T$, because of the above remark.) Thus we get $f(x_0) = f(x_0)+f'(x_0) ge 0$. This shows that $f(x) ge 0$ everywhere.






                          share|cite|improve this answer









                          $endgroup$













                          • $begingroup$
                            You do need $f'(x)$ continuous when you say "a necessary condition for a minimum is that $f'(x_0)=0$".
                            $endgroup$
                            – francescop21
                            Nov 30 '18 at 13:41






                          • 1




                            $begingroup$
                            That is not true! For example, if $x_0$ is a minimum, then we have $f(x_0) le f(x)$ for $|x-x_0| le delta$. Thus $f'(x_0) =lim_{h downarrow 0} (f(x_0+h)-f(x_0))/h le 0$. On the other hand $f'(x_0) =lim_{h downarrow 0} (f(x_0-h)-f(x_0))(-h) ge 0$. Thus $f'(x_0)=0$. In this (almost trivial) proof I haven't used coninuity of $f'$ and we don't need it!
                            $endgroup$
                            – p4sch
                            Nov 30 '18 at 13:44












                          • $begingroup$
                            Yeah, I was thinking about $f(x)=|x|$, but in that case $f'(0)$ doesn't even exist.
                            $endgroup$
                            – francescop21
                            Dec 1 '18 at 10:21
















                          5












                          5








                          5





                          $begingroup$

                          We don't even need that $f'(x)$ is continuous! It is enough to show that $f(x) ge 0$ on $[0,T]$, because of periodicity. Since $[0,T]$ is compact, $f$ has a minimum on $[0,T]$. Let $x_0 in [0,T]$ be such that $f(x_0)$ is minimal. If $x_0 =0$ or $x_0 =T$, then $f(x_0)$ is also minimal in $[-T,2T]$, because of periodicity.



                          A necessary condition for a minimum is that $f'(x_0) =0$. (And it is also valid in the case $x_0 =0$ or $x_0 =T$, because of the above remark.) Thus we get $f(x_0) = f(x_0)+f'(x_0) ge 0$. This shows that $f(x) ge 0$ everywhere.






                          share|cite|improve this answer









                          $endgroup$



                          We don't even need that $f'(x)$ is continuous! It is enough to show that $f(x) ge 0$ on $[0,T]$, because of periodicity. Since $[0,T]$ is compact, $f$ has a minimum on $[0,T]$. Let $x_0 in [0,T]$ be such that $f(x_0)$ is minimal. If $x_0 =0$ or $x_0 =T$, then $f(x_0)$ is also minimal in $[-T,2T]$, because of periodicity.



                          A necessary condition for a minimum is that $f'(x_0) =0$. (And it is also valid in the case $x_0 =0$ or $x_0 =T$, because of the above remark.) Thus we get $f(x_0) = f(x_0)+f'(x_0) ge 0$. This shows that $f(x) ge 0$ everywhere.







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered Nov 30 '18 at 12:29









                          p4schp4sch

                          4,995217




                          4,995217












                          • $begingroup$
                            You do need $f'(x)$ continuous when you say "a necessary condition for a minimum is that $f'(x_0)=0$".
                            $endgroup$
                            – francescop21
                            Nov 30 '18 at 13:41






                          • 1




                            $begingroup$
                            That is not true! For example, if $x_0$ is a minimum, then we have $f(x_0) le f(x)$ for $|x-x_0| le delta$. Thus $f'(x_0) =lim_{h downarrow 0} (f(x_0+h)-f(x_0))/h le 0$. On the other hand $f'(x_0) =lim_{h downarrow 0} (f(x_0-h)-f(x_0))(-h) ge 0$. Thus $f'(x_0)=0$. In this (almost trivial) proof I haven't used coninuity of $f'$ and we don't need it!
                            $endgroup$
                            – p4sch
                            Nov 30 '18 at 13:44












                          • $begingroup$
                            Yeah, I was thinking about $f(x)=|x|$, but in that case $f'(0)$ doesn't even exist.
                            $endgroup$
                            – francescop21
                            Dec 1 '18 at 10:21




















                          • $begingroup$
                            You do need $f'(x)$ continuous when you say "a necessary condition for a minimum is that $f'(x_0)=0$".
                            $endgroup$
                            – francescop21
                            Nov 30 '18 at 13:41






                          • 1




                            $begingroup$
                            That is not true! For example, if $x_0$ is a minimum, then we have $f(x_0) le f(x)$ for $|x-x_0| le delta$. Thus $f'(x_0) =lim_{h downarrow 0} (f(x_0+h)-f(x_0))/h le 0$. On the other hand $f'(x_0) =lim_{h downarrow 0} (f(x_0-h)-f(x_0))(-h) ge 0$. Thus $f'(x_0)=0$. In this (almost trivial) proof I haven't used coninuity of $f'$ and we don't need it!
                            $endgroup$
                            – p4sch
                            Nov 30 '18 at 13:44












                          • $begingroup$
                            Yeah, I was thinking about $f(x)=|x|$, but in that case $f'(0)$ doesn't even exist.
                            $endgroup$
                            – francescop21
                            Dec 1 '18 at 10:21


















                          $begingroup$
                          You do need $f'(x)$ continuous when you say "a necessary condition for a minimum is that $f'(x_0)=0$".
                          $endgroup$
                          – francescop21
                          Nov 30 '18 at 13:41




                          $begingroup$
                          You do need $f'(x)$ continuous when you say "a necessary condition for a minimum is that $f'(x_0)=0$".
                          $endgroup$
                          – francescop21
                          Nov 30 '18 at 13:41




                          1




                          1




                          $begingroup$
                          That is not true! For example, if $x_0$ is a minimum, then we have $f(x_0) le f(x)$ for $|x-x_0| le delta$. Thus $f'(x_0) =lim_{h downarrow 0} (f(x_0+h)-f(x_0))/h le 0$. On the other hand $f'(x_0) =lim_{h downarrow 0} (f(x_0-h)-f(x_0))(-h) ge 0$. Thus $f'(x_0)=0$. In this (almost trivial) proof I haven't used coninuity of $f'$ and we don't need it!
                          $endgroup$
                          – p4sch
                          Nov 30 '18 at 13:44






                          $begingroup$
                          That is not true! For example, if $x_0$ is a minimum, then we have $f(x_0) le f(x)$ for $|x-x_0| le delta$. Thus $f'(x_0) =lim_{h downarrow 0} (f(x_0+h)-f(x_0))/h le 0$. On the other hand $f'(x_0) =lim_{h downarrow 0} (f(x_0-h)-f(x_0))(-h) ge 0$. Thus $f'(x_0)=0$. In this (almost trivial) proof I haven't used coninuity of $f'$ and we don't need it!
                          $endgroup$
                          – p4sch
                          Nov 30 '18 at 13:44














                          $begingroup$
                          Yeah, I was thinking about $f(x)=|x|$, but in that case $f'(0)$ doesn't even exist.
                          $endgroup$
                          – francescop21
                          Dec 1 '18 at 10:21






                          $begingroup$
                          Yeah, I was thinking about $f(x)=|x|$, but in that case $f'(0)$ doesn't even exist.
                          $endgroup$
                          – francescop21
                          Dec 1 '18 at 10:21













                          4












                          $begingroup$

                          Since $f$ is periodic, it has maximum and minimum. Choose the period $[a,b]$, such that $f(a)=f(b)=M$, where $M$ is the maximum.



                          It can be seen that, there is a point $f(c)=m$, where $m$ is the minimum. c is golbal minimum, and thus local minimum, so:



                          $$f'(c)=0$$



                          from your condition.



                          $$f+f'ge 0$$



                          we see



                          $$f(c)ge 0$$. Since $f(c)$ is the minimum, we are done!






                          share|cite|improve this answer











                          $endgroup$


















                            4












                            $begingroup$

                            Since $f$ is periodic, it has maximum and minimum. Choose the period $[a,b]$, such that $f(a)=f(b)=M$, where $M$ is the maximum.



                            It can be seen that, there is a point $f(c)=m$, where $m$ is the minimum. c is golbal minimum, and thus local minimum, so:



                            $$f'(c)=0$$



                            from your condition.



                            $$f+f'ge 0$$



                            we see



                            $$f(c)ge 0$$. Since $f(c)$ is the minimum, we are done!






                            share|cite|improve this answer











                            $endgroup$
















                              4












                              4








                              4





                              $begingroup$

                              Since $f$ is periodic, it has maximum and minimum. Choose the period $[a,b]$, such that $f(a)=f(b)=M$, where $M$ is the maximum.



                              It can be seen that, there is a point $f(c)=m$, where $m$ is the minimum. c is golbal minimum, and thus local minimum, so:



                              $$f'(c)=0$$



                              from your condition.



                              $$f+f'ge 0$$



                              we see



                              $$f(c)ge 0$$. Since $f(c)$ is the minimum, we are done!






                              share|cite|improve this answer











                              $endgroup$



                              Since $f$ is periodic, it has maximum and minimum. Choose the period $[a,b]$, such that $f(a)=f(b)=M$, where $M$ is the maximum.



                              It can be seen that, there is a point $f(c)=m$, where $m$ is the minimum. c is golbal minimum, and thus local minimum, so:



                              $$f'(c)=0$$



                              from your condition.



                              $$f+f'ge 0$$



                              we see



                              $$f(c)ge 0$$. Since $f(c)$ is the minimum, we are done!







                              share|cite|improve this answer














                              share|cite|improve this answer



                              share|cite|improve this answer








                              edited Nov 23 '14 at 14:49

























                              answered Nov 23 '14 at 14:32









                              Robert FanRobert Fan

                              571213




                              571213























                                  3












                                  $begingroup$

                                  Consider such $f(x)$ to be non-constant. There must be a global minimum within each period, say at $x=x_0$. Since $f(x)$ is differentiable and continuous, $f'(x_0) = 0$. Hence
                                  $$f(x) ge f(x_0) = f(x_0)+f'(x_0) ge 0$$






                                  share|cite|improve this answer









                                  $endgroup$


















                                    3












                                    $begingroup$

                                    Consider such $f(x)$ to be non-constant. There must be a global minimum within each period, say at $x=x_0$. Since $f(x)$ is differentiable and continuous, $f'(x_0) = 0$. Hence
                                    $$f(x) ge f(x_0) = f(x_0)+f'(x_0) ge 0$$






                                    share|cite|improve this answer









                                    $endgroup$
















                                      3












                                      3








                                      3





                                      $begingroup$

                                      Consider such $f(x)$ to be non-constant. There must be a global minimum within each period, say at $x=x_0$. Since $f(x)$ is differentiable and continuous, $f'(x_0) = 0$. Hence
                                      $$f(x) ge f(x_0) = f(x_0)+f'(x_0) ge 0$$






                                      share|cite|improve this answer









                                      $endgroup$



                                      Consider such $f(x)$ to be non-constant. There must be a global minimum within each period, say at $x=x_0$. Since $f(x)$ is differentiable and continuous, $f'(x_0) = 0$. Hence
                                      $$f(x) ge f(x_0) = f(x_0)+f'(x_0) ge 0$$







                                      share|cite|improve this answer












                                      share|cite|improve this answer



                                      share|cite|improve this answer










                                      answered Nov 23 '14 at 14:47









                                      peterwhypeterwhy

                                      12k21228




                                      12k21228























                                          2












                                          $begingroup$

                                          Say a period is $[a,a+T]$. Since $f$ is continuous, it attains a minimum on that interval, say at $c$. (If you have $c = a$, then change the period to $[a - T/2,a + T/2]$ so that $c$ becomes an interior point.)



                                          We must have $f'(c) = 0$ there, so $f(c) geq 0$. So the minimum value of $f$ is nonnegative.






                                          share|cite|improve this answer









                                          $endgroup$


















                                            2












                                            $begingroup$

                                            Say a period is $[a,a+T]$. Since $f$ is continuous, it attains a minimum on that interval, say at $c$. (If you have $c = a$, then change the period to $[a - T/2,a + T/2]$ so that $c$ becomes an interior point.)



                                            We must have $f'(c) = 0$ there, so $f(c) geq 0$. So the minimum value of $f$ is nonnegative.






                                            share|cite|improve this answer









                                            $endgroup$
















                                              2












                                              2








                                              2





                                              $begingroup$

                                              Say a period is $[a,a+T]$. Since $f$ is continuous, it attains a minimum on that interval, say at $c$. (If you have $c = a$, then change the period to $[a - T/2,a + T/2]$ so that $c$ becomes an interior point.)



                                              We must have $f'(c) = 0$ there, so $f(c) geq 0$. So the minimum value of $f$ is nonnegative.






                                              share|cite|improve this answer









                                              $endgroup$



                                              Say a period is $[a,a+T]$. Since $f$ is continuous, it attains a minimum on that interval, say at $c$. (If you have $c = a$, then change the period to $[a - T/2,a + T/2]$ so that $c$ becomes an interior point.)



                                              We must have $f'(c) = 0$ there, so $f(c) geq 0$. So the minimum value of $f$ is nonnegative.







                                              share|cite|improve this answer












                                              share|cite|improve this answer



                                              share|cite|improve this answer










                                              answered Nov 23 '14 at 14:45









                                              MikeMike

                                              211




                                              211























                                                  -2












                                                  $begingroup$

                                                  $ f ne 0$



                                                  $f(x)=0 Rightarrow f'(x) ge 0$, hence $f$ can cross the X-axis at most once. periodicity means that it cannot cross at all.



                                                  if $f$ is non-positive then $f' ge 0$ so $f$ is monotone increasing. again this contradicts periodicity






                                                  share|cite|improve this answer











                                                  $endgroup$













                                                  • $begingroup$
                                                    Why is this downvoted? This answer is essentially saying if $f(x)<0$ somewhere, then $f(x)$ is strictly increasing there, contradicting the fact that $f(x)$ is periodic.
                                                    $endgroup$
                                                    – peterwhy
                                                    Nov 23 '14 at 16:48
















                                                  -2












                                                  $begingroup$

                                                  $ f ne 0$



                                                  $f(x)=0 Rightarrow f'(x) ge 0$, hence $f$ can cross the X-axis at most once. periodicity means that it cannot cross at all.



                                                  if $f$ is non-positive then $f' ge 0$ so $f$ is monotone increasing. again this contradicts periodicity






                                                  share|cite|improve this answer











                                                  $endgroup$













                                                  • $begingroup$
                                                    Why is this downvoted? This answer is essentially saying if $f(x)<0$ somewhere, then $f(x)$ is strictly increasing there, contradicting the fact that $f(x)$ is periodic.
                                                    $endgroup$
                                                    – peterwhy
                                                    Nov 23 '14 at 16:48














                                                  -2












                                                  -2








                                                  -2





                                                  $begingroup$

                                                  $ f ne 0$



                                                  $f(x)=0 Rightarrow f'(x) ge 0$, hence $f$ can cross the X-axis at most once. periodicity means that it cannot cross at all.



                                                  if $f$ is non-positive then $f' ge 0$ so $f$ is monotone increasing. again this contradicts periodicity






                                                  share|cite|improve this answer











                                                  $endgroup$



                                                  $ f ne 0$



                                                  $f(x)=0 Rightarrow f'(x) ge 0$, hence $f$ can cross the X-axis at most once. periodicity means that it cannot cross at all.



                                                  if $f$ is non-positive then $f' ge 0$ so $f$ is monotone increasing. again this contradicts periodicity







                                                  share|cite|improve this answer














                                                  share|cite|improve this answer



                                                  share|cite|improve this answer








                                                  edited Nov 23 '14 at 15:06

























                                                  answered Nov 23 '14 at 15:00









                                                  David HoldenDavid Holden

                                                  14.7k21224




                                                  14.7k21224












                                                  • $begingroup$
                                                    Why is this downvoted? This answer is essentially saying if $f(x)<0$ somewhere, then $f(x)$ is strictly increasing there, contradicting the fact that $f(x)$ is periodic.
                                                    $endgroup$
                                                    – peterwhy
                                                    Nov 23 '14 at 16:48


















                                                  • $begingroup$
                                                    Why is this downvoted? This answer is essentially saying if $f(x)<0$ somewhere, then $f(x)$ is strictly increasing there, contradicting the fact that $f(x)$ is periodic.
                                                    $endgroup$
                                                    – peterwhy
                                                    Nov 23 '14 at 16:48
















                                                  $begingroup$
                                                  Why is this downvoted? This answer is essentially saying if $f(x)<0$ somewhere, then $f(x)$ is strictly increasing there, contradicting the fact that $f(x)$ is periodic.
                                                  $endgroup$
                                                  – peterwhy
                                                  Nov 23 '14 at 16:48




                                                  $begingroup$
                                                  Why is this downvoted? This answer is essentially saying if $f(x)<0$ somewhere, then $f(x)$ is strictly increasing there, contradicting the fact that $f(x)$ is periodic.
                                                  $endgroup$
                                                  – peterwhy
                                                  Nov 23 '14 at 16:48


















                                                  draft saved

                                                  draft discarded




















































                                                  Thanks for contributing an answer to Mathematics Stack Exchange!


                                                  • Please be sure to answer the question. Provide details and share your research!

                                                  But avoid



                                                  • Asking for help, clarification, or responding to other answers.

                                                  • Making statements based on opinion; back them up with references or personal experience.


                                                  Use MathJax to format equations. MathJax reference.


                                                  To learn more, see our tips on writing great answers.




                                                  draft saved


                                                  draft discarded














                                                  StackExchange.ready(
                                                  function () {
                                                  StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3020024%2ff-is-t-periodic-and-fx-fx-ge-0-rightarrow-fx-ge-0%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

                                                  Plaza Victoria

                                                  In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                                                  How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...