$f:[0,1] times [0,1] → mathbb R$ is continuous. Prove that $g(x) = max{f(x,y) : y in [0,1]}$ is defined and...











up vote
2
down vote

favorite













Let $f:[0,1] times [0,1] → mathbb R$ be a continuous function. Prove that $$g(x) = max{f(x,y) : y in [0,1]}$$ makes sense (in that the maximum exists) and is continuous.




I said that for each $x$, we can consider $A_x = {x} times [0,1] subset text{dom } f $. $A_x$ is compact, and since $max$, which is acting on a continuous function $f$, is itself continuous,we know that (a) $g$ is continuous, and (b) the image $g(A_x)$ is compact, which means it attains a maximum and minimum. Therefore the maximum exists for each $x$, and by (a) $g$ is continuous.



Edit: It seems that the fact that $A_x$ isn't fixed makes the proof fail. What would a working proof look like?










share|cite|improve this question
























  • No, this reasoning is not entirely valid since $A$ is not a fixed compact set (it varies with $x$ ; you should denote it by $A(x)$ or $A_x$). So your argument does show that $g$ is well-defined but not that $g$ is continuous.
    – Ewan Delanoy
    Nov 14 at 11:01












  • @EwanDelanoy Fixed the notation. What part of the proof does $A$'s non-constancy cause to fail?
    – Tiwa Aina
    Nov 14 at 11:03










  • I already answered that in my former comment : it's the part that says that $g$ is continuous. $g$ is not defined on $A_x$, it is defined on $[0,1]$. $f$ is defined on all of $[0,1]^2$, and also by restriction on $A_x$. Note that $f$ is a two-variables function while $g$ is a one-variable function.
    – Ewan Delanoy
    Nov 14 at 12:10








  • 2




    Uniform continuity of $f$ can be shown to imply continuity of $g$.
    – random
    Nov 14 at 12:34










  • This question is relevant (math.stackexchange.com/questions/2740283/…). You can show that the family ${f_x}$ is equicontinuous (using uniform continuity of $f$), and note $g$ is the supremum of ${f_x}$
    – user25959
    Nov 14 at 14:52















up vote
2
down vote

favorite













Let $f:[0,1] times [0,1] → mathbb R$ be a continuous function. Prove that $$g(x) = max{f(x,y) : y in [0,1]}$$ makes sense (in that the maximum exists) and is continuous.




I said that for each $x$, we can consider $A_x = {x} times [0,1] subset text{dom } f $. $A_x$ is compact, and since $max$, which is acting on a continuous function $f$, is itself continuous,we know that (a) $g$ is continuous, and (b) the image $g(A_x)$ is compact, which means it attains a maximum and minimum. Therefore the maximum exists for each $x$, and by (a) $g$ is continuous.



Edit: It seems that the fact that $A_x$ isn't fixed makes the proof fail. What would a working proof look like?










share|cite|improve this question
























  • No, this reasoning is not entirely valid since $A$ is not a fixed compact set (it varies with $x$ ; you should denote it by $A(x)$ or $A_x$). So your argument does show that $g$ is well-defined but not that $g$ is continuous.
    – Ewan Delanoy
    Nov 14 at 11:01












  • @EwanDelanoy Fixed the notation. What part of the proof does $A$'s non-constancy cause to fail?
    – Tiwa Aina
    Nov 14 at 11:03










  • I already answered that in my former comment : it's the part that says that $g$ is continuous. $g$ is not defined on $A_x$, it is defined on $[0,1]$. $f$ is defined on all of $[0,1]^2$, and also by restriction on $A_x$. Note that $f$ is a two-variables function while $g$ is a one-variable function.
    – Ewan Delanoy
    Nov 14 at 12:10








  • 2




    Uniform continuity of $f$ can be shown to imply continuity of $g$.
    – random
    Nov 14 at 12:34










  • This question is relevant (math.stackexchange.com/questions/2740283/…). You can show that the family ${f_x}$ is equicontinuous (using uniform continuity of $f$), and note $g$ is the supremum of ${f_x}$
    – user25959
    Nov 14 at 14:52













up vote
2
down vote

favorite









up vote
2
down vote

favorite












Let $f:[0,1] times [0,1] → mathbb R$ be a continuous function. Prove that $$g(x) = max{f(x,y) : y in [0,1]}$$ makes sense (in that the maximum exists) and is continuous.




I said that for each $x$, we can consider $A_x = {x} times [0,1] subset text{dom } f $. $A_x$ is compact, and since $max$, which is acting on a continuous function $f$, is itself continuous,we know that (a) $g$ is continuous, and (b) the image $g(A_x)$ is compact, which means it attains a maximum and minimum. Therefore the maximum exists for each $x$, and by (a) $g$ is continuous.



Edit: It seems that the fact that $A_x$ isn't fixed makes the proof fail. What would a working proof look like?










share|cite|improve this question
















Let $f:[0,1] times [0,1] → mathbb R$ be a continuous function. Prove that $$g(x) = max{f(x,y) : y in [0,1]}$$ makes sense (in that the maximum exists) and is continuous.




I said that for each $x$, we can consider $A_x = {x} times [0,1] subset text{dom } f $. $A_x$ is compact, and since $max$, which is acting on a continuous function $f$, is itself continuous,we know that (a) $g$ is continuous, and (b) the image $g(A_x)$ is compact, which means it attains a maximum and minimum. Therefore the maximum exists for each $x$, and by (a) $g$ is continuous.



Edit: It seems that the fact that $A_x$ isn't fixed makes the proof fail. What would a working proof look like?







real-analysis proof-verification continuity






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 14 at 14:48

























asked Nov 14 at 10:57









Tiwa Aina

2,671320




2,671320












  • No, this reasoning is not entirely valid since $A$ is not a fixed compact set (it varies with $x$ ; you should denote it by $A(x)$ or $A_x$). So your argument does show that $g$ is well-defined but not that $g$ is continuous.
    – Ewan Delanoy
    Nov 14 at 11:01












  • @EwanDelanoy Fixed the notation. What part of the proof does $A$'s non-constancy cause to fail?
    – Tiwa Aina
    Nov 14 at 11:03










  • I already answered that in my former comment : it's the part that says that $g$ is continuous. $g$ is not defined on $A_x$, it is defined on $[0,1]$. $f$ is defined on all of $[0,1]^2$, and also by restriction on $A_x$. Note that $f$ is a two-variables function while $g$ is a one-variable function.
    – Ewan Delanoy
    Nov 14 at 12:10








  • 2




    Uniform continuity of $f$ can be shown to imply continuity of $g$.
    – random
    Nov 14 at 12:34










  • This question is relevant (math.stackexchange.com/questions/2740283/…). You can show that the family ${f_x}$ is equicontinuous (using uniform continuity of $f$), and note $g$ is the supremum of ${f_x}$
    – user25959
    Nov 14 at 14:52


















  • No, this reasoning is not entirely valid since $A$ is not a fixed compact set (it varies with $x$ ; you should denote it by $A(x)$ or $A_x$). So your argument does show that $g$ is well-defined but not that $g$ is continuous.
    – Ewan Delanoy
    Nov 14 at 11:01












  • @EwanDelanoy Fixed the notation. What part of the proof does $A$'s non-constancy cause to fail?
    – Tiwa Aina
    Nov 14 at 11:03










  • I already answered that in my former comment : it's the part that says that $g$ is continuous. $g$ is not defined on $A_x$, it is defined on $[0,1]$. $f$ is defined on all of $[0,1]^2$, and also by restriction on $A_x$. Note that $f$ is a two-variables function while $g$ is a one-variable function.
    – Ewan Delanoy
    Nov 14 at 12:10








  • 2




    Uniform continuity of $f$ can be shown to imply continuity of $g$.
    – random
    Nov 14 at 12:34










  • This question is relevant (math.stackexchange.com/questions/2740283/…). You can show that the family ${f_x}$ is equicontinuous (using uniform continuity of $f$), and note $g$ is the supremum of ${f_x}$
    – user25959
    Nov 14 at 14:52
















No, this reasoning is not entirely valid since $A$ is not a fixed compact set (it varies with $x$ ; you should denote it by $A(x)$ or $A_x$). So your argument does show that $g$ is well-defined but not that $g$ is continuous.
– Ewan Delanoy
Nov 14 at 11:01






No, this reasoning is not entirely valid since $A$ is not a fixed compact set (it varies with $x$ ; you should denote it by $A(x)$ or $A_x$). So your argument does show that $g$ is well-defined but not that $g$ is continuous.
– Ewan Delanoy
Nov 14 at 11:01














@EwanDelanoy Fixed the notation. What part of the proof does $A$'s non-constancy cause to fail?
– Tiwa Aina
Nov 14 at 11:03




@EwanDelanoy Fixed the notation. What part of the proof does $A$'s non-constancy cause to fail?
– Tiwa Aina
Nov 14 at 11:03












I already answered that in my former comment : it's the part that says that $g$ is continuous. $g$ is not defined on $A_x$, it is defined on $[0,1]$. $f$ is defined on all of $[0,1]^2$, and also by restriction on $A_x$. Note that $f$ is a two-variables function while $g$ is a one-variable function.
– Ewan Delanoy
Nov 14 at 12:10






I already answered that in my former comment : it's the part that says that $g$ is continuous. $g$ is not defined on $A_x$, it is defined on $[0,1]$. $f$ is defined on all of $[0,1]^2$, and also by restriction on $A_x$. Note that $f$ is a two-variables function while $g$ is a one-variable function.
– Ewan Delanoy
Nov 14 at 12:10






2




2




Uniform continuity of $f$ can be shown to imply continuity of $g$.
– random
Nov 14 at 12:34




Uniform continuity of $f$ can be shown to imply continuity of $g$.
– random
Nov 14 at 12:34












This question is relevant (math.stackexchange.com/questions/2740283/…). You can show that the family ${f_x}$ is equicontinuous (using uniform continuity of $f$), and note $g$ is the supremum of ${f_x}$
– user25959
Nov 14 at 14:52




This question is relevant (math.stackexchange.com/questions/2740283/…). You can show that the family ${f_x}$ is equicontinuous (using uniform continuity of $f$), and note $g$ is the supremum of ${f_x}$
– user25959
Nov 14 at 14:52










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










The continuity with respect to $y$ is irrelevant as long as the functions $xmapsto f(x,y)$ are equicontinuous with respect to $y$: Given $x_0$ and an $epsilon>0$, there is a $delta>0$ such that $$|x-x_0|<deltaqquadRightarrowqquad|f(x,y)-f(x_0,y)|<epsilonquadforall y .tag{1}$$



Let an $x_0in[0,1]$ and an $epsilon>0$ be given. Choose a $delta>0$ such that $(1)$ holds. If $|x-x_0|<delta$ then
$$f(x,y)leq f(x_0,y)+epsilon leq g(x_0)+epsilon qquadforall y .$$
It follows that $g(x)leq g(x_0)+epsilon$. Similarly
$$f(x_0,y)leq f(x,y)+epsilonleq g(x)+epsilonquadforall y ,$$
and therefore $g(x_0)leq g(x)+epsilon$. In all we have proven that $|x-x_0|<delta$ implies $|g(x)-g(x_0)|leqepsilon$, as required.






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: 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%2f2998125%2ff0-1-times-0-1-%25e2%2586%2592-mathbb-r-is-continuous-prove-that-gx-max-fx-y%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    The continuity with respect to $y$ is irrelevant as long as the functions $xmapsto f(x,y)$ are equicontinuous with respect to $y$: Given $x_0$ and an $epsilon>0$, there is a $delta>0$ such that $$|x-x_0|<deltaqquadRightarrowqquad|f(x,y)-f(x_0,y)|<epsilonquadforall y .tag{1}$$



    Let an $x_0in[0,1]$ and an $epsilon>0$ be given. Choose a $delta>0$ such that $(1)$ holds. If $|x-x_0|<delta$ then
    $$f(x,y)leq f(x_0,y)+epsilon leq g(x_0)+epsilon qquadforall y .$$
    It follows that $g(x)leq g(x_0)+epsilon$. Similarly
    $$f(x_0,y)leq f(x,y)+epsilonleq g(x)+epsilonquadforall y ,$$
    and therefore $g(x_0)leq g(x)+epsilon$. In all we have proven that $|x-x_0|<delta$ implies $|g(x)-g(x_0)|leqepsilon$, as required.






    share|cite|improve this answer

























      up vote
      1
      down vote



      accepted










      The continuity with respect to $y$ is irrelevant as long as the functions $xmapsto f(x,y)$ are equicontinuous with respect to $y$: Given $x_0$ and an $epsilon>0$, there is a $delta>0$ such that $$|x-x_0|<deltaqquadRightarrowqquad|f(x,y)-f(x_0,y)|<epsilonquadforall y .tag{1}$$



      Let an $x_0in[0,1]$ and an $epsilon>0$ be given. Choose a $delta>0$ such that $(1)$ holds. If $|x-x_0|<delta$ then
      $$f(x,y)leq f(x_0,y)+epsilon leq g(x_0)+epsilon qquadforall y .$$
      It follows that $g(x)leq g(x_0)+epsilon$. Similarly
      $$f(x_0,y)leq f(x,y)+epsilonleq g(x)+epsilonquadforall y ,$$
      and therefore $g(x_0)leq g(x)+epsilon$. In all we have proven that $|x-x_0|<delta$ implies $|g(x)-g(x_0)|leqepsilon$, as required.






      share|cite|improve this answer























        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        The continuity with respect to $y$ is irrelevant as long as the functions $xmapsto f(x,y)$ are equicontinuous with respect to $y$: Given $x_0$ and an $epsilon>0$, there is a $delta>0$ such that $$|x-x_0|<deltaqquadRightarrowqquad|f(x,y)-f(x_0,y)|<epsilonquadforall y .tag{1}$$



        Let an $x_0in[0,1]$ and an $epsilon>0$ be given. Choose a $delta>0$ such that $(1)$ holds. If $|x-x_0|<delta$ then
        $$f(x,y)leq f(x_0,y)+epsilon leq g(x_0)+epsilon qquadforall y .$$
        It follows that $g(x)leq g(x_0)+epsilon$. Similarly
        $$f(x_0,y)leq f(x,y)+epsilonleq g(x)+epsilonquadforall y ,$$
        and therefore $g(x_0)leq g(x)+epsilon$. In all we have proven that $|x-x_0|<delta$ implies $|g(x)-g(x_0)|leqepsilon$, as required.






        share|cite|improve this answer












        The continuity with respect to $y$ is irrelevant as long as the functions $xmapsto f(x,y)$ are equicontinuous with respect to $y$: Given $x_0$ and an $epsilon>0$, there is a $delta>0$ such that $$|x-x_0|<deltaqquadRightarrowqquad|f(x,y)-f(x_0,y)|<epsilonquadforall y .tag{1}$$



        Let an $x_0in[0,1]$ and an $epsilon>0$ be given. Choose a $delta>0$ such that $(1)$ holds. If $|x-x_0|<delta$ then
        $$f(x,y)leq f(x_0,y)+epsilon leq g(x_0)+epsilon qquadforall y .$$
        It follows that $g(x)leq g(x_0)+epsilon$. Similarly
        $$f(x_0,y)leq f(x,y)+epsilonleq g(x)+epsilonquadforall y ,$$
        and therefore $g(x_0)leq g(x)+epsilon$. In all we have proven that $|x-x_0|<delta$ implies $|g(x)-g(x_0)|leqepsilon$, as required.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Nov 14 at 16:07









        Christian Blatter

        170k7111324




        170k7111324






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2998125%2ff0-1-times-0-1-%25e2%2586%2592-mathbb-r-is-continuous-prove-that-gx-max-fx-y%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

            Brian Clough

            Cáceres