I am stuck on the following problem :
Let $\,f \colon \Bbb R^2 \to \Bbb R $ be continuous map such that $\,f(x)=0\,$ for only finitely many values of $x$. Then which of the following options is correct?
either $f(x)\le 0 \forall x \,\text{or}\, f(x) \ge 0 \forall x$
the map $f$ is one-to-one
the map $\,f$ is onto
none of the above
My Attempt: Since $\,f(x)=0\,$ for only finitely many values of $x$, $\exists x_1=(a_1,b_1),x_2=(a_2,b_2) \in \Bbb R^2$ such that $f(x_1)=0=f(x_2)$ whereas $x_1 \neq x_2$. So, $f\,$ is not one-to-one. Also,it is a many-to-one mapping and so can not be onto. I am confused about options 1 and 4.
Can someone point me in the right direction with some explanation? Thanks and regards to all.