“Switching” of a continuous 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, g: [0,1] rightarrow mathbbR$ be continuous functions and consider the continuous function $h(x) = maxf(x), g(x)$. Suppose that at $0$, $f$ is "active" and at $1$, $g$ is active. That is $h(0) = f(0) neq g(0)$, and similarly at $x = 1$. Is it true that there must exist some point $t in [0,1]$ such that $h$ "switches" from $f$ to $g$? If not I think this should violate continuity but I don't see exactly how.







share|cite|improve this question























    up vote
    0
    down vote

    favorite












    Let $f, g: [0,1] rightarrow mathbbR$ be continuous functions and consider the continuous function $h(x) = maxf(x), g(x)$. Suppose that at $0$, $f$ is "active" and at $1$, $g$ is active. That is $h(0) = f(0) neq g(0)$, and similarly at $x = 1$. Is it true that there must exist some point $t in [0,1]$ such that $h$ "switches" from $f$ to $g$? If not I think this should violate continuity but I don't see exactly how.







    share|cite|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Let $f, g: [0,1] rightarrow mathbbR$ be continuous functions and consider the continuous function $h(x) = maxf(x), g(x)$. Suppose that at $0$, $f$ is "active" and at $1$, $g$ is active. That is $h(0) = f(0) neq g(0)$, and similarly at $x = 1$. Is it true that there must exist some point $t in [0,1]$ such that $h$ "switches" from $f$ to $g$? If not I think this should violate continuity but I don't see exactly how.







      share|cite|improve this question











      Let $f, g: [0,1] rightarrow mathbbR$ be continuous functions and consider the continuous function $h(x) = maxf(x), g(x)$. Suppose that at $0$, $f$ is "active" and at $1$, $g$ is active. That is $h(0) = f(0) neq g(0)$, and similarly at $x = 1$. Is it true that there must exist some point $t in [0,1]$ such that $h$ "switches" from $f$ to $g$? If not I think this should violate continuity but I don't see exactly how.









      share|cite|improve this question










      share|cite|improve this question




      share|cite|improve this question









      asked Aug 6 at 19:59









      user395788

      284




      284




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          Consider $u=g-f$. $u$ takes a negative value at $0$, a positive one at $1$, and is continuous, so...






          share|cite|improve this answer





















          • Damn, I figured there was probably a standard trick to show this easily. Thanks.
            – user395788
            Aug 6 at 20:03










          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%2f2874262%2fswitching-of-a-continuous-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
          1
          down vote



          accepted










          Consider $u=g-f$. $u$ takes a negative value at $0$, a positive one at $1$, and is continuous, so...






          share|cite|improve this answer





















          • Damn, I figured there was probably a standard trick to show this easily. Thanks.
            – user395788
            Aug 6 at 20:03














          up vote
          1
          down vote



          accepted










          Consider $u=g-f$. $u$ takes a negative value at $0$, a positive one at $1$, and is continuous, so...






          share|cite|improve this answer





















          • Damn, I figured there was probably a standard trick to show this easily. Thanks.
            – user395788
            Aug 6 at 20:03












          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          Consider $u=g-f$. $u$ takes a negative value at $0$, a positive one at $1$, and is continuous, so...






          share|cite|improve this answer













          Consider $u=g-f$. $u$ takes a negative value at $0$, a positive one at $1$, and is continuous, so...







          share|cite|improve this answer













          share|cite|improve this answer



          share|cite|improve this answer











          answered Aug 6 at 20:01









          Nicolas FRANCOIS

          3,2501415




          3,2501415











          • Damn, I figured there was probably a standard trick to show this easily. Thanks.
            – user395788
            Aug 6 at 20:03
















          • Damn, I figured there was probably a standard trick to show this easily. Thanks.
            – user395788
            Aug 6 at 20:03















          Damn, I figured there was probably a standard trick to show this easily. Thanks.
          – user395788
          Aug 6 at 20:03




          Damn, I figured there was probably a standard trick to show this easily. Thanks.
          – user395788
          Aug 6 at 20:03












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2874262%2fswitching-of-a-continuous-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?

          Relationship between determinant of matrix and determinant of adjoint?

          Color the edges and diagonals of a regular polygon