Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2015/ia/paper-1/11d/i/solution

The intermediate value theorem says that if is a continuous function, then every value between and is attained at some point of .
Endpoint values are already attained. Suppose and define . It is nonempty and bounded above, so exists. Continuity at ensures that contains points to the right of , and continuity at ensures that no point sufficiently close to belongs to . Hence .
By the definition of the supremum, there are points of approaching . If , continuity would exclude all such nearby points from , a contradiction. If , continuity would put some point to the right of in , again a contradiction. Therefore . When , apply this argument to . This proves the intermediate value theorem in all cases.

New to topics? Read the docs here!