Let $f$ be a continuous function on the compact interval $I$. Suppose that for each $x$ $\in I$, there exists a $y$ $\in I$ such that, $$|f(y)| \leq \frac{1}{2}|f(x)|$$
Then show that there exists a point $\eta$ $\in I$ such that $f(\eta) = 0$. I am also given a hint which says- Note that $f^2$ is continous on $I$(why?)
Attempt: I squared both the sides of the given eqn. to get $$f(x)^2\geq4f(y)^2$$ but I don’t see how this tells me that $f^2$ is continous on $I$ let alone how to use this to solve the question. Can someone please provide the solution.
Edit : I see that since $f$ is continous $f^2$ will always be continous, but I still don’t see how that helps mo solve the problem.
Attempt:
$f^2(y) \le (1/4)f^2(x).$
$f$ continuous on compactum $I$ implies $f^2$ continuous on $I$.
$f^2 \ge 0$ attains its minimum on $I$, i e. there is a $x_m$ \in $I$ s.t.
$f^2(y)\ge f^2(x_m)$, $y \in I$ .
By assumption there is a $y \in I$ s.t.
$0\le f^2(y) \le (1/4) f^2(x_m) \le (1/4)f^2(y)$.
$\Rightarrow$ $f^2(y)=0=f^2(x_m)$.
Hence $f(y)=0$, for a $y \in I$.