A function from the set of natural numbers to integers is defined by f(n)= cases n-1…

MATHEMATICS · Single correct · CBSE · Mathematics · Relations and Functions · Relations and Functions

Problem

A function ff from the set of natural numbers to integers is defined by f(n)={n−12,when n is odd,−n2,when n is even.f(n)=\begin{cases}\frac{n-1}{2},&\text{when }n\text{ is odd},\\-\frac{n}{2},&\text{when }n\text{ is even}.\end{cases} It is (a) One-one but not onto (b) Onto but not one-one (c) One-one and onto both (d) Neither one-one nor onto

Related theory

Browse the problem library