Is it necessary that either $f(x) leq 0$ for all $x$, or, $f(x) geq 0$ for all $x$ [duplicate]












0












$begingroup$



This question already has an answer here:




  • Properties of a continuous map $f : mathbb{R}^2rightarrow mathbb{R}$ with only finitely many zeroes

    1 answer




Let $f : mathbb{R}^2 to mathbb{R}$ be a continuous map such that $f(x) = 0$ for only finitely
many values of $x$. Is it necessary that either $f(x) leq 0$ for all $x$, or, $f(x) geq 0$ for all $x$



I don't think its necessary because if $f(x,y)=x$ then $f$ is continous and it takes both positive and negative values.










share|cite|improve this question









$endgroup$



marked as duplicate by Community Dec 22 '18 at 7:55


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • $begingroup$
    how many pairs $(x,y)$ make your proposed function equal to $0$?
    $endgroup$
    – Mark S.
    Dec 22 '18 at 3:02






  • 2




    $begingroup$
    Your example $f(x,y)=x$ has infinitely many zeros -- $f(0,k)=0$ for any real $k.$
    $endgroup$
    – coffeemath
    Dec 22 '18 at 3:02










  • $begingroup$
    What does $f(x)$ mean if $f$ has domain $mathbb{R}^2$? Is $x$ a point in the plane?
    $endgroup$
    – Randall
    Dec 22 '18 at 3:15












  • $begingroup$
    @coffeemath, I see. Thanks
    $endgroup$
    – user408906
    Dec 22 '18 at 4:47
















0












$begingroup$



This question already has an answer here:




  • Properties of a continuous map $f : mathbb{R}^2rightarrow mathbb{R}$ with only finitely many zeroes

    1 answer




Let $f : mathbb{R}^2 to mathbb{R}$ be a continuous map such that $f(x) = 0$ for only finitely
many values of $x$. Is it necessary that either $f(x) leq 0$ for all $x$, or, $f(x) geq 0$ for all $x$



I don't think its necessary because if $f(x,y)=x$ then $f$ is continous and it takes both positive and negative values.










share|cite|improve this question









$endgroup$



marked as duplicate by Community Dec 22 '18 at 7:55


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















  • $begingroup$
    how many pairs $(x,y)$ make your proposed function equal to $0$?
    $endgroup$
    – Mark S.
    Dec 22 '18 at 3:02






  • 2




    $begingroup$
    Your example $f(x,y)=x$ has infinitely many zeros -- $f(0,k)=0$ for any real $k.$
    $endgroup$
    – coffeemath
    Dec 22 '18 at 3:02










  • $begingroup$
    What does $f(x)$ mean if $f$ has domain $mathbb{R}^2$? Is $x$ a point in the plane?
    $endgroup$
    – Randall
    Dec 22 '18 at 3:15












  • $begingroup$
    @coffeemath, I see. Thanks
    $endgroup$
    – user408906
    Dec 22 '18 at 4:47














0












0








0


0



$begingroup$



This question already has an answer here:




  • Properties of a continuous map $f : mathbb{R}^2rightarrow mathbb{R}$ with only finitely many zeroes

    1 answer




Let $f : mathbb{R}^2 to mathbb{R}$ be a continuous map such that $f(x) = 0$ for only finitely
many values of $x$. Is it necessary that either $f(x) leq 0$ for all $x$, or, $f(x) geq 0$ for all $x$



I don't think its necessary because if $f(x,y)=x$ then $f$ is continous and it takes both positive and negative values.










share|cite|improve this question









$endgroup$





This question already has an answer here:




  • Properties of a continuous map $f : mathbb{R}^2rightarrow mathbb{R}$ with only finitely many zeroes

    1 answer




Let $f : mathbb{R}^2 to mathbb{R}$ be a continuous map such that $f(x) = 0$ for only finitely
many values of $x$. Is it necessary that either $f(x) leq 0$ for all $x$, or, $f(x) geq 0$ for all $x$



I don't think its necessary because if $f(x,y)=x$ then $f$ is continous and it takes both positive and negative values.





This question already has an answer here:




  • Properties of a continuous map $f : mathbb{R}^2rightarrow mathbb{R}$ with only finitely many zeroes

    1 answer








real-analysis metric-spaces






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Dec 22 '18 at 2:56







user408906











marked as duplicate by Community Dec 22 '18 at 7:55


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by Community Dec 22 '18 at 7:55


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • $begingroup$
    how many pairs $(x,y)$ make your proposed function equal to $0$?
    $endgroup$
    – Mark S.
    Dec 22 '18 at 3:02






  • 2




    $begingroup$
    Your example $f(x,y)=x$ has infinitely many zeros -- $f(0,k)=0$ for any real $k.$
    $endgroup$
    – coffeemath
    Dec 22 '18 at 3:02










  • $begingroup$
    What does $f(x)$ mean if $f$ has domain $mathbb{R}^2$? Is $x$ a point in the plane?
    $endgroup$
    – Randall
    Dec 22 '18 at 3:15












  • $begingroup$
    @coffeemath, I see. Thanks
    $endgroup$
    – user408906
    Dec 22 '18 at 4:47


















  • $begingroup$
    how many pairs $(x,y)$ make your proposed function equal to $0$?
    $endgroup$
    – Mark S.
    Dec 22 '18 at 3:02






  • 2




    $begingroup$
    Your example $f(x,y)=x$ has infinitely many zeros -- $f(0,k)=0$ for any real $k.$
    $endgroup$
    – coffeemath
    Dec 22 '18 at 3:02










  • $begingroup$
    What does $f(x)$ mean if $f$ has domain $mathbb{R}^2$? Is $x$ a point in the plane?
    $endgroup$
    – Randall
    Dec 22 '18 at 3:15












  • $begingroup$
    @coffeemath, I see. Thanks
    $endgroup$
    – user408906
    Dec 22 '18 at 4:47
















$begingroup$
how many pairs $(x,y)$ make your proposed function equal to $0$?
$endgroup$
– Mark S.
Dec 22 '18 at 3:02




$begingroup$
how many pairs $(x,y)$ make your proposed function equal to $0$?
$endgroup$
– Mark S.
Dec 22 '18 at 3:02




2




2




$begingroup$
Your example $f(x,y)=x$ has infinitely many zeros -- $f(0,k)=0$ for any real $k.$
$endgroup$
– coffeemath
Dec 22 '18 at 3:02




$begingroup$
Your example $f(x,y)=x$ has infinitely many zeros -- $f(0,k)=0$ for any real $k.$
$endgroup$
– coffeemath
Dec 22 '18 at 3:02












$begingroup$
What does $f(x)$ mean if $f$ has domain $mathbb{R}^2$? Is $x$ a point in the plane?
$endgroup$
– Randall
Dec 22 '18 at 3:15






$begingroup$
What does $f(x)$ mean if $f$ has domain $mathbb{R}^2$? Is $x$ a point in the plane?
$endgroup$
– Randall
Dec 22 '18 at 3:15














$begingroup$
@coffeemath, I see. Thanks
$endgroup$
– user408906
Dec 22 '18 at 4:47




$begingroup$
@coffeemath, I see. Thanks
$endgroup$
– user408906
Dec 22 '18 at 4:47










2 Answers
2






active

oldest

votes


















4












$begingroup$

Yes, this statement is true. And one idea could be to prove it by contradiction.



So, assume that $f(mathbf{x})=0$ only for finitely many $mathbf{x}inmathbb{R}^2$, and yet it's not true that either $f(mathbf{x})le0$ for all $mathbf{x}inmathbb{R}^2$ or $f(mathbf{x})ge0$ for all $mathbf{x}inmathbb{R}^2$. The last part means that there exist at least one $mathbf{x}_1inmathbb{R}^2$ such that $f(mathbf{x}_1)<0$ and at least one $mathbf{x}_2inmathbb{R}^2$ such that $f(mathbf{x}_2)>0$. Now the key idea is that there are infinitely many paths connecting the points $mathbf{x}_1$ and $mathbf{x}_2$ in the plane, and since $f$ is continuous, there exist points at which $f$ is zero on each such path.



For example, let's say $f(-1,0)<0$ and $f(1,0)>0$. Consider $f$ restricted to the arcs of parabolas $y=a(x^2-1)$, $-1le xle1$, for all $a>0$. All these arcs connects these two points, and at the same time they don't have any common points other than the endpoints. Since $f$ is continuous along each arc and goes from being negative to being positive, $f$ is equal to zero at least once on each of them.






share|cite|improve this answer









$endgroup$









  • 1




    $begingroup$
    do you mean that considering over those distinct paths we can apply intermediate value theorem of real variable to get infinitely many paths? I can imagine it how it works but how do I write it properly?
    $endgroup$
    – user408906
    Dec 22 '18 at 4:49










  • $begingroup$
    @Suraj Yes, that's exactly what I mean.
    $endgroup$
    – zipirovich
    Dec 22 '18 at 13:49










  • $begingroup$
    I like this argument.
    $endgroup$
    – Randall
    Dec 22 '18 at 14:53



















3












$begingroup$

Given two points $A$ and $B$ in the plane, consider the family of all circular arcs including both points. Each such arc is the locus of $X$ such that $angle AXB = theta$ for some fixed $theta$ (as a signed angle), so they don't overlap at all.



There are infinitely many such arcs. If $f$ is continuous and $f(A)$ and $f(B)$ have opposite signs, then each arc must contain a point $X$ at which $f(X)=0$. As such, there are infinitely many points at which $f$ is zero.



There it is - the contrapositive of your statement. If a continuous function from $mathbb{R}^2$ to $mathbb{R}$ takes both positive and negative values, then it has infinitely many zeros. Done.






share|cite|improve this answer









$endgroup$



















    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    4












    $begingroup$

    Yes, this statement is true. And one idea could be to prove it by contradiction.



    So, assume that $f(mathbf{x})=0$ only for finitely many $mathbf{x}inmathbb{R}^2$, and yet it's not true that either $f(mathbf{x})le0$ for all $mathbf{x}inmathbb{R}^2$ or $f(mathbf{x})ge0$ for all $mathbf{x}inmathbb{R}^2$. The last part means that there exist at least one $mathbf{x}_1inmathbb{R}^2$ such that $f(mathbf{x}_1)<0$ and at least one $mathbf{x}_2inmathbb{R}^2$ such that $f(mathbf{x}_2)>0$. Now the key idea is that there are infinitely many paths connecting the points $mathbf{x}_1$ and $mathbf{x}_2$ in the plane, and since $f$ is continuous, there exist points at which $f$ is zero on each such path.



    For example, let's say $f(-1,0)<0$ and $f(1,0)>0$. Consider $f$ restricted to the arcs of parabolas $y=a(x^2-1)$, $-1le xle1$, for all $a>0$. All these arcs connects these two points, and at the same time they don't have any common points other than the endpoints. Since $f$ is continuous along each arc and goes from being negative to being positive, $f$ is equal to zero at least once on each of them.






    share|cite|improve this answer









    $endgroup$









    • 1




      $begingroup$
      do you mean that considering over those distinct paths we can apply intermediate value theorem of real variable to get infinitely many paths? I can imagine it how it works but how do I write it properly?
      $endgroup$
      – user408906
      Dec 22 '18 at 4:49










    • $begingroup$
      @Suraj Yes, that's exactly what I mean.
      $endgroup$
      – zipirovich
      Dec 22 '18 at 13:49










    • $begingroup$
      I like this argument.
      $endgroup$
      – Randall
      Dec 22 '18 at 14:53
















    4












    $begingroup$

    Yes, this statement is true. And one idea could be to prove it by contradiction.



    So, assume that $f(mathbf{x})=0$ only for finitely many $mathbf{x}inmathbb{R}^2$, and yet it's not true that either $f(mathbf{x})le0$ for all $mathbf{x}inmathbb{R}^2$ or $f(mathbf{x})ge0$ for all $mathbf{x}inmathbb{R}^2$. The last part means that there exist at least one $mathbf{x}_1inmathbb{R}^2$ such that $f(mathbf{x}_1)<0$ and at least one $mathbf{x}_2inmathbb{R}^2$ such that $f(mathbf{x}_2)>0$. Now the key idea is that there are infinitely many paths connecting the points $mathbf{x}_1$ and $mathbf{x}_2$ in the plane, and since $f$ is continuous, there exist points at which $f$ is zero on each such path.



    For example, let's say $f(-1,0)<0$ and $f(1,0)>0$. Consider $f$ restricted to the arcs of parabolas $y=a(x^2-1)$, $-1le xle1$, for all $a>0$. All these arcs connects these two points, and at the same time they don't have any common points other than the endpoints. Since $f$ is continuous along each arc and goes from being negative to being positive, $f$ is equal to zero at least once on each of them.






    share|cite|improve this answer









    $endgroup$









    • 1




      $begingroup$
      do you mean that considering over those distinct paths we can apply intermediate value theorem of real variable to get infinitely many paths? I can imagine it how it works but how do I write it properly?
      $endgroup$
      – user408906
      Dec 22 '18 at 4:49










    • $begingroup$
      @Suraj Yes, that's exactly what I mean.
      $endgroup$
      – zipirovich
      Dec 22 '18 at 13:49










    • $begingroup$
      I like this argument.
      $endgroup$
      – Randall
      Dec 22 '18 at 14:53














    4












    4








    4





    $begingroup$

    Yes, this statement is true. And one idea could be to prove it by contradiction.



    So, assume that $f(mathbf{x})=0$ only for finitely many $mathbf{x}inmathbb{R}^2$, and yet it's not true that either $f(mathbf{x})le0$ for all $mathbf{x}inmathbb{R}^2$ or $f(mathbf{x})ge0$ for all $mathbf{x}inmathbb{R}^2$. The last part means that there exist at least one $mathbf{x}_1inmathbb{R}^2$ such that $f(mathbf{x}_1)<0$ and at least one $mathbf{x}_2inmathbb{R}^2$ such that $f(mathbf{x}_2)>0$. Now the key idea is that there are infinitely many paths connecting the points $mathbf{x}_1$ and $mathbf{x}_2$ in the plane, and since $f$ is continuous, there exist points at which $f$ is zero on each such path.



    For example, let's say $f(-1,0)<0$ and $f(1,0)>0$. Consider $f$ restricted to the arcs of parabolas $y=a(x^2-1)$, $-1le xle1$, for all $a>0$. All these arcs connects these two points, and at the same time they don't have any common points other than the endpoints. Since $f$ is continuous along each arc and goes from being negative to being positive, $f$ is equal to zero at least once on each of them.






    share|cite|improve this answer









    $endgroup$



    Yes, this statement is true. And one idea could be to prove it by contradiction.



    So, assume that $f(mathbf{x})=0$ only for finitely many $mathbf{x}inmathbb{R}^2$, and yet it's not true that either $f(mathbf{x})le0$ for all $mathbf{x}inmathbb{R}^2$ or $f(mathbf{x})ge0$ for all $mathbf{x}inmathbb{R}^2$. The last part means that there exist at least one $mathbf{x}_1inmathbb{R}^2$ such that $f(mathbf{x}_1)<0$ and at least one $mathbf{x}_2inmathbb{R}^2$ such that $f(mathbf{x}_2)>0$. Now the key idea is that there are infinitely many paths connecting the points $mathbf{x}_1$ and $mathbf{x}_2$ in the plane, and since $f$ is continuous, there exist points at which $f$ is zero on each such path.



    For example, let's say $f(-1,0)<0$ and $f(1,0)>0$. Consider $f$ restricted to the arcs of parabolas $y=a(x^2-1)$, $-1le xle1$, for all $a>0$. All these arcs connects these two points, and at the same time they don't have any common points other than the endpoints. Since $f$ is continuous along each arc and goes from being negative to being positive, $f$ is equal to zero at least once on each of them.







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Dec 22 '18 at 3:37









    zipirovichzipirovich

    11.4k11731




    11.4k11731








    • 1




      $begingroup$
      do you mean that considering over those distinct paths we can apply intermediate value theorem of real variable to get infinitely many paths? I can imagine it how it works but how do I write it properly?
      $endgroup$
      – user408906
      Dec 22 '18 at 4:49










    • $begingroup$
      @Suraj Yes, that's exactly what I mean.
      $endgroup$
      – zipirovich
      Dec 22 '18 at 13:49










    • $begingroup$
      I like this argument.
      $endgroup$
      – Randall
      Dec 22 '18 at 14:53














    • 1




      $begingroup$
      do you mean that considering over those distinct paths we can apply intermediate value theorem of real variable to get infinitely many paths? I can imagine it how it works but how do I write it properly?
      $endgroup$
      – user408906
      Dec 22 '18 at 4:49










    • $begingroup$
      @Suraj Yes, that's exactly what I mean.
      $endgroup$
      – zipirovich
      Dec 22 '18 at 13:49










    • $begingroup$
      I like this argument.
      $endgroup$
      – Randall
      Dec 22 '18 at 14:53








    1




    1




    $begingroup$
    do you mean that considering over those distinct paths we can apply intermediate value theorem of real variable to get infinitely many paths? I can imagine it how it works but how do I write it properly?
    $endgroup$
    – user408906
    Dec 22 '18 at 4:49




    $begingroup$
    do you mean that considering over those distinct paths we can apply intermediate value theorem of real variable to get infinitely many paths? I can imagine it how it works but how do I write it properly?
    $endgroup$
    – user408906
    Dec 22 '18 at 4:49












    $begingroup$
    @Suraj Yes, that's exactly what I mean.
    $endgroup$
    – zipirovich
    Dec 22 '18 at 13:49




    $begingroup$
    @Suraj Yes, that's exactly what I mean.
    $endgroup$
    – zipirovich
    Dec 22 '18 at 13:49












    $begingroup$
    I like this argument.
    $endgroup$
    – Randall
    Dec 22 '18 at 14:53




    $begingroup$
    I like this argument.
    $endgroup$
    – Randall
    Dec 22 '18 at 14:53











    3












    $begingroup$

    Given two points $A$ and $B$ in the plane, consider the family of all circular arcs including both points. Each such arc is the locus of $X$ such that $angle AXB = theta$ for some fixed $theta$ (as a signed angle), so they don't overlap at all.



    There are infinitely many such arcs. If $f$ is continuous and $f(A)$ and $f(B)$ have opposite signs, then each arc must contain a point $X$ at which $f(X)=0$. As such, there are infinitely many points at which $f$ is zero.



    There it is - the contrapositive of your statement. If a continuous function from $mathbb{R}^2$ to $mathbb{R}$ takes both positive and negative values, then it has infinitely many zeros. Done.






    share|cite|improve this answer









    $endgroup$


















      3












      $begingroup$

      Given two points $A$ and $B$ in the plane, consider the family of all circular arcs including both points. Each such arc is the locus of $X$ such that $angle AXB = theta$ for some fixed $theta$ (as a signed angle), so they don't overlap at all.



      There are infinitely many such arcs. If $f$ is continuous and $f(A)$ and $f(B)$ have opposite signs, then each arc must contain a point $X$ at which $f(X)=0$. As such, there are infinitely many points at which $f$ is zero.



      There it is - the contrapositive of your statement. If a continuous function from $mathbb{R}^2$ to $mathbb{R}$ takes both positive and negative values, then it has infinitely many zeros. Done.






      share|cite|improve this answer









      $endgroup$
















        3












        3








        3





        $begingroup$

        Given two points $A$ and $B$ in the plane, consider the family of all circular arcs including both points. Each such arc is the locus of $X$ such that $angle AXB = theta$ for some fixed $theta$ (as a signed angle), so they don't overlap at all.



        There are infinitely many such arcs. If $f$ is continuous and $f(A)$ and $f(B)$ have opposite signs, then each arc must contain a point $X$ at which $f(X)=0$. As such, there are infinitely many points at which $f$ is zero.



        There it is - the contrapositive of your statement. If a continuous function from $mathbb{R}^2$ to $mathbb{R}$ takes both positive and negative values, then it has infinitely many zeros. Done.






        share|cite|improve this answer









        $endgroup$



        Given two points $A$ and $B$ in the plane, consider the family of all circular arcs including both points. Each such arc is the locus of $X$ such that $angle AXB = theta$ for some fixed $theta$ (as a signed angle), so they don't overlap at all.



        There are infinitely many such arcs. If $f$ is continuous and $f(A)$ and $f(B)$ have opposite signs, then each arc must contain a point $X$ at which $f(X)=0$. As such, there are infinitely many points at which $f$ is zero.



        There it is - the contrapositive of your statement. If a continuous function from $mathbb{R}^2$ to $mathbb{R}$ takes both positive and negative values, then it has infinitely many zeros. Done.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Dec 22 '18 at 3:37









        jmerryjmerry

        16.8k11633




        16.8k11633















            Popular posts from this blog

            Bundesstraße 106

            Verónica Boquete

            Ida-Boy-Ed-Garten