Proof
Suppose without the loss of generality that \(f(a) < y < f(b)\). Consider \(F(x) = y - f(x)\). Then
We know \(F\) is continuous on \([a,b]\). Let \(I_1 = [a,b]\) and let \(x_1 = \frac{a+b}{2}\). If \(F(x_1) = 0\), then we’re done. Otherwise, set \(I_2\) as follows
Suppose now that \(I_k = [a_k, b_k]\) has been constructed for some \(k > 1\) such that \(F(a_k) > 0\) and \(F(b_k) < 0\). Let \(x_{k} = \frac{a_k+b_k}{2}\). If \(F(x_{k}) = 0\), then we’re done. Otherwise, set \(I_{k+1}\) as follows
We know that \(F(a_k) > 0\) and \(F(b_k) < 0\) so by construction we know that \(F(a_{k+1}) > 0\) and that \(F(b_{k+1}) < 0\). Observe now that
We also know that
which implies that
Thus by the Nested Interval Property, the intersection of all the closed intervals \(I_k\) is non-empty. Furthermore, the intersection contains one point so
Moreover, \(a_k \leq x_0 \leq b_k\) for all \(k\). Hence, \(a_k\) and \(b_k\) converge to \(x_0\). But recall that \(F\) is continuous. Therefore, by the Sequential Characterization of Continuity Theorem,
But \(F(a_k) > 0\) for all \(k\) so \(F(x_0) \geq 0\) and \(F(a_b) < 0\) for all \(k\) so \(F(x_0) \leq 0\). Hence, \(F(x_0) = 0 = y - f(x_0)\) and \(f(x_0) = y\) as desired. \(\ \blacksquare\)
References
- Lecture Notes by Professor Chun Kit Lai