Let $f(0) > 0$, $f(1) < 0$. Prove that $f(x) = 0$ for some $x$ under the assumption that there exists a continuous function $g$ such that $f + g$ is non decreasing.
A hint for this problem says the following: bisect the interval $[0,1]$ choosing the right interval of the mid point if there's $x$ in the right interval for which $f(y)\ge 0$. Otherwise choose the left interval. As such you will form $[a_n, b_n]=I_n$ such that $a_n, b_n \rightarrow c$. It turns out $c$ is our desired point. The hint goes further and states that, 'notice that for all $n$, there's $y_n \in [a_n, c]$ such that $f(y_n)\ge 0$'. Here's where I am confused. (I tried very hard to prove it but I couldn't) I do not want a proof of this statement (if it exists). I am just looking for a sanity check. Could the $[a_n, c]$ actually be $[a_n,b_n]$? Was it just a typo?
Let $n_m$ be the (possibly finite) subsequence so that the $[a_{n_m},b_{n_m}]$ are the left intervals. See that $f(y) < 0$ for all $y \in [b_{n_m}, b_{n_{m-1}}]$. In this way, it must be the case that $f(y) < 0$ for all $y \in \bigcup_m [b_{n_m}, b_{n_{m-1}}]$. And $(c,1] \subseteq \bigcup_m [b_{n_m}, b_{n_{m-1}}]$.