Question
Assertion (A): A function $f : N \rightarrow N$ be defined by $f(n)=\left\{\begin{array}{ll}\frac{n}{2} & \text { if } n \text { is even } \\ \frac{(n+1)}{2} & \text { if } n \text { is odd }\end{array}\right.$ for all $n \in N$; is one-one
Reason (R): A function $f: A \rightarrow B$ is said to be injective if $a \neq b$ then $f(a) \neq f(b)$.
Reason (R): A function $f: A \rightarrow B$ is said to be injective if $a \neq b$ then $f(a) \neq f(b)$.