Search any question & find its solution
Question:
Answered & Verified by Expert
On the set of integers $Z$, define $f: Z \rightarrow Z$ as $f(n)=\left\{\begin{array}{ll}\frac{\mathrm{n}}{2}, & \mathrm{n} \text { is even } \\ 0, & \mathrm{n} \text { is odd }\end{array}\right.$ then $f$ is
Options:
Solution:
2259 Upvotes
Verified Answer
The correct answer is:
surjective but not injective
Given, $f(n)= \begin{cases}\frac{n}{2}, & n \text { is even } \\ 0, & n \text { is odd }\end{cases}$
Here, we see that for every odd values of $z$, it will give zero. It means that it is a many one function.
For every even values of $z$, we will get a set of integers $(-\infty, \infty)$. So, it is onto. Hence, it is surjective but not injective.
Here, we see that for every odd values of $z$, it will give zero. It means that it is a many one function.
For every even values of $z$, we will get a set of integers $(-\infty, \infty)$. So, it is onto. Hence, it is surjective but not injective.
Looking for more such questions to practice?
Download the MARKS App - The ultimate prep app for IIT JEE & NEET with chapter-wise PYQs, revision notes, formula sheets, custom tests & much more.