It is important to note that this theorem only applies to real functions, it would not apply to the rationals, as these do not satisfy the least upper bound axiom, they are not complete.
It is important to note that this theorem only applies to continuous real functions. It does not apply to the rationals, as these do not satisfy the least upper bound axiom; they are not complete.