Test Index

Relations and Functions Get it on Google PlayDownload on the App Store CBSE Board Videos

© examsnet.com
Question : 23 of 24
Marks: +1, -0
The function f:N→Nf : \mathbb{N} \to \mathbb{N} is defined by f(n)={n+12,if n is oddn2,if n is evenf(n) = \begin{cases} \dfrac{n + 1}{2}, & \text{if } n \text{ is odd} \\ \dfrac{n}{2}, & \text{if } n \text{ is even} \end{cases}
The function ff is:
[CBSE 2021 Term 1]
Solution:  
Explanation:
One-one: f(1)=1+12=1f(1) = \dfrac{1 + 1}{2} = 1 and f(2)=22=1f(2) = \dfrac{2}{2} = 1. Two different inputs have the same image, so ff is not one-one.
Onto: take any m∈Nm \in \mathbb{N}. Then 2m2m is even and f(2m)=2m2=mf(2m) = \dfrac{2m}{2} = m. Every natural number has a pre-image, so ff is onto.
Hence ff is onto but not one-one.
Answer:
Option C (onto but not one-one)
© examsnet.com
Advertisements
Go to Question: