MCQ
Let a function $f: N \rightarrow N$ be defined by

$f ( n )=\left[\begin{array}{ll}2 n , \,\,\, \,\,\,\,\,\,n =2,4,6,8, \ldots . \\ n -1,\,\,\,  n =3,7,11,15, \ldots . \\ \frac{ n +1}{2}, \,\,\, \,\,\,n =1,5,9,13, \ldots \ldots\end{array}\right.$

then, $f$ is

  • A
    one-one but not onto
  • B
    onto but not one-one
  • C
    neither one-one nor onto
  • one-one and onto

Answer

Correct option: D.
one-one and onto
d
$f ( x )=\left\{\begin{array}{ccc}4 R ;  n =2 R \\ 4 R -2  ;  n =4 R -1 \\ 2 R -1  ;  n =4 R -3\end{array}\right.$

$(R \in N)$

$Note$ that for any element, it will fall into exactly. one of these sets.

$\{y: y=4 R ; y \in N\}$

$\{y: y=4 R-2 ; y \in N\}$

$\{ y : y =2 R -1 ; y \in N \}$

Corresponding to that $y$, we will get exactly one value of $n$.

Thus, $f$ is one - one and onto.

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

For any positive integer $n$, let $S_n:(0, \infty) \rightarrow R$ be defined by

$S_n(x)=\sum_{k=1}^n \cot ^{-1}\left(\frac{1+k(k+1) x^2}{x}\right)$

where for any $x \in R , \cot ^{-1} x \in(0, \pi)$ and $\tan ^{-1}(x) \in\left(-\frac{\pi}{2}, \frac{\pi}{2}\right)$. Then which of the following

statements is (are) $TRUE$?

$(A)$ $S _{10}( x )=\frac{\pi}{2}-\tan ^{-1}\left(\frac{1+11 x ^2}{10 x }\right)$, for all $x >0$

$(B)$ $\lim _{n \rightarrow \infty} \cot \left(S_n(x)\right)=x$, for all $x>0$

$(C)$ The equation $S_3(x)=\frac{\pi}{4}$ has a root in $(0, \infty)$

$(D)$ $\tan \left( S _{ n }( x )\right) \leq \frac{1}{2}$, for all $n \geq 1$ and $x >0$

A function $f: R \rightarrow R$ is defined by:
$f(x)=\left\{\begin{array}{cc}e^{-2 x}, & x<\ln \frac{1}{2} \\ 4, & \ln \frac{1}{2} \leq x \leq 0 \\ e^{-2 x}, & x>0\end{array}\right.$
Which of the following statements is true about the function at the point $x=\ln \frac{1}{2}$ ?
Function $f(x) = 2x^3 - 9x^2 + 12x + 29$ is monotonically decreasing when:
If the lines $\frac{x-1}{-3}=\frac{y-2}{2 k}=\frac{z-3}{2}$ and $\frac{x-1}{3 k}=\frac{y-1}{1}=\frac{z-6}{-5}$ are perpendicular to each other then $k =$ ?
The value of the definite integral $\int\limits_2^3 {\,\,\left[ {\sqrt {2x - \sqrt {5(4x - 5)} }  + \sqrt {2x + \sqrt {5(4x - 5)} } } \right]} \,dx$ $=$
If $\text{f(x)}=\begin{cases}\frac{\sin(\cos\text{x})-\cos\text{x}}{(\pi-2\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 is equal to:
Let $f : R \rightarrow R$ be continuous function satisfying $f ( x )+ f ( x + k )= n$, for all $x \in R$ where $k >0$ and $n$is a positive integer. If $I _{1}=\int\limits_{0}^{4 n k} f ( x ) dx$ and $I _{2}=\int\limits_{- k }^{3 k } f ( x ) dx$, then
The solution of $\frac{{dy}}{{dx}} + \sqrt {\,\left( {\frac{{1 - {y^2}}}{{1 - {x^2}}}} \right)} \, = \,0$ is
The area of the region  

$A=\left\{(x, y):|\cos x-\sin x| \leq y \leq \sin x, 0 \leq x \leq \frac{\pi}{2}\right\}$

If $ ABCDEF$  is a regular hexagon and $\overrightarrow {AB} + \overrightarrow {AC} + \overrightarrow {AD} + \overrightarrow {AE} + \overrightarrow {AF} = \lambda \,\overrightarrow {AD} ,$ then $\lambda = $