Show that the function given by for all , is neither one-one nor onto.
Functions · Question 11 of 51
Show that the function f : R R given by f(x) = x for all x R , is neither one-one nor onto.
Solution:
Key idea: To show a function is not one-one, find two different inputs with the same image. To show it is not onto, find an element of the co-domain that is never an image. The cosine function repeats every and its values stay between and .
Step 1 — Find two inputs with the same image. Since cosine repeats after , the numbers and should give the same value.
The different inputs and have the same image, so is not one-one.
Step 2 — Find the range of . For every real the cosine lies between and , and it takes every value in that interval.
Step 3 — Compare the range with the co-domain. The co-domain is all of , but the range is only . For example, but has no solution, so 2 has no pre-image and is not onto.
Therefore, from to is neither one-one nor onto.
