1

If $f$ is a continuous function from $\mathbb R^2 \rightarrow \mathbb R$ such that $f(x)=0$ for only finitely many values of $x\in\mathbb R^2$. Can we conclude that $f(x)\leq 0$ or $f(x)\geq 0$ for all $x$?

Learnmore
  • 31,675
  • 10
  • 110
  • 250

2 Answers2

4

Yes, since otherwise there would be two points $x_1, x_2 \in \mathbb{R}^2$ with $f(x_1) < 0 < f(x_2)$. These can be joined by a smooth (or piecewise linear) path $\gamma$ which does not pass through the zeros. This contradicts the intermediate value theorem for $f$ restricted to $\gamma$.

Lukas Geyer
  • 18,654
3

The set $f^{-1} \{0\}$ is finite and so $\mathbb{R}^2 \setminus f^{-1} \{0\}$ is connected. Hence $f(\mathbb{R}^2 \setminus f^{-1} \{0\} ) $ is connected, and so must lie completely in either $(-\infty,0)$ or $(0,\infty)$.

Note: This is true if $f^{-1} \{0\}$ is countable., see Arcwise connected part of $\mathbb R^2$.

copper.hat
  • 178,207