Show that the function given by for all , is neither one-one nor onto.
Relations and Functions · Question 43 of 135
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: A function is one-one if different inputs always give different outputs, and onto if every element of the co-domain is an output. To show that a property fails, one counter-example is enough.
Step 1 — Show that is not one-one. We look for two different inputs with the same output. The cosine function repeats every , so we try and .
The two different elements 0 and of the domain have the same image 1. So is not one-one.
Step 2 — Find the range of . For every real , the value of lies between and 1.
So the range of is .
Step 3 — Show that is not onto. The co-domain is , which contains numbers outside . For example, 2 is in , but has no solution, so 2 has no pre-image. The range is not the whole co-domain , so is not onto.
Therefore, from to is neither one-one nor onto.
