Please solve RD Sharma class 12 Chapter Functions exercise 2.1 question 1 sub question (ii) maths textbook solution.
The example for a function which is not one-one but onto.
One-one function means every element in the domain has a distinct image in the co-domain. If one-one is given for any function., then
Where, domain of
Onto function defined as every element in the co-domain has at least one pre image in the domain of function.
Here, we need to give an example of a function for a not one-one but onto function.
Let the function, given by
Since different elements have same image 1,
is not one-one.
Let, such that
Here,y is a natural number and for every y there is a value of x which is a natural number.
Hence,f is onto.
So, the function , given by is not one-one but onto.