Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2015/discrete-mathematics-continuous-mathematics-and-probability-resit/1/b/i/solution

Since , the image of a function is contained in . Both endpoints occur, at and . By continuity and the intermediate value theorem applied on , every intermediate value occurs too. Hence
It is not surjective onto because, for example, is not attained. It is not injective because although .

New to topics? Read the docs here!