Question
The function $f: N \rightarrow N$ is defined by $f(n)=\left\{\begin{array}{ll}\frac{n+1}{2}, & \text { if } n \text { is odd } \\ \frac{n}{2}, & \text { if } n \text { is even }\end{array}\right.$
The function $f$ is

Answer

Given, $f(x)=\left\{\begin{array}{cl}\frac{n+1}{2}, & \text { if } n \text { is odd } \\ \frac{n}{2}, & \text { if } n \text { is even }\end{array}\right.$
Now, $f(1)=\frac{1+1}{2}=1, f(2)=\frac{2}{2}=1$
$\Rightarrow f(1)=f(2)$ but $1 \neq 2 \therefore f$ is not one-one.
But $f$ is onto $(\because$ range of $f$ is $N$.)

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free

Similar questions

If $A=\left[\begin{array}{ccc}2 & \lambda & -3 \\ 0 & 2 & 5 \\ 1 & 1 & 3\end{array}\right]$, then $A^{-1}$ exists only if
If P and q are the order and degree of the differention $\text{y}\frac{\text{dy}}{\text{dx}}+\text{x}^{3}\frac{\text{d}^{2}\text{y}}{\text{dx}^{3}}+\text{xy}=\cos\text{x}$ then: 
  1. $\text{p}<\text{q}$ 
  2. $\text{p}=\text{q}$
  3. $\text{p}>\text{q}$
  4. None of these. 
The Polygon Law of Vector Addition is simply an extension of ____________?
  1. Parallelogram Law of Vector Addition
  2. Triangular Law of Vector Addition
  3. Both A and B
  4. None of the above
Choose the correct answer from the given four options.
Projection vector of $\vec{\text{a}}$ on $\vec{\text{b}}$ is:
  1. $\bigg(\frac{\vec{\text{a}}\cdot\vec{\text{b}}}{|\vec{\text{b}}|^2}\bigg)\vec{\text{b}}$
  2. $\frac{\vec{\text{a}}\cdot\vec{\text{b}}}{|\vec{\text{b}}|}$
  3. $\frac{\vec{\text{a}}\cdot\vec{\text{b}}}{|\vec{\text{a}}|}$
  4. $\bigg(\frac{\vec{\text{a}}\cdot\vec{\text{b}}}{|\vec{\text{a}}|^2}\bigg)\vec{\text{b}}$
If $\text{f(x)}=\begin{cases}\frac{1-\sin\text{x}}{(\pi-2\text{x}^2)}\times\frac{\log\sin\text{x}}{\log(1+\pi^2-4\pi\text{x}+4\text{x}^2)},&\text{x}\neq\frac{\pi}{2}\\\text{k},&\text{x}=\frac{\pi}{2}\end{cases}$ is continuous at $\text{x}=\frac{\pi}{2},$ then k =
  1. $-\frac{1}{16}$
  2. $-\frac{1}{32}$
  3. $-\frac{1}{64}$
  4. $-\frac{1}{28}$
The number of commutative binary operation that can be defined on a set of 2 elements is:
  1. 8
  2. 6
  3. 4
  4. 2
The number of solutions of the system of equations
2x + y − z = 7
x − 3y + 2z = 1
x + 4y − 3z = 5
  1. 3
  2. 2
  3. 1
  4. 0
The solution set of the inequation $3 x+5 y<7$ is
If $\text{A}=\begin{bmatrix}\text{i}&0\\0&\text{i}\end{bmatrix},\text{n}\in\text{N},$ then $A^{4n}$ equals$:$
Choose the correct answers from the given four options: If $x = t^2, y = t^3,$ then $\frac{\text{d}^2\text{y}}{\text{dx}^2}$ is: