ExamBro
ExamBro
KCET · Maths · Functions

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

  1. A injective but not surjective
  2. B neither injective nor surjective
  3. C surjective but not injective
  4. D bijective
Verified Solution

Answer & Solution

Correct Answer

(C) surjective but not injective

Step-by-step Solution

Detailed explanation

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.