JEE Mains · Maths · STD 12 - 1. relation and function
Let \(N\) be the set of natural numbers and two functions \(f\) and \(g\) be defined as \(f\), \(g : N \to N\) such that \(f\left( n \right) = \left\{ \begin{gathered}
\frac{{n + 1}}{2}\,\,\,\,\,\,\,\,\,\,\,{\text{if n is odd}} \hfill \\
\frac{n}{2}\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,{\text{if n is even}} \hfill \\
\end{gathered} \right.\) and \(g(n) = n - (-1)^n\). Then \(fog\) is
- A onto but not one-one.
- B one-one but not onto.
- C both one-one and onto.
- D neither one-one nor onto.
Answer & Solution
Correct Answer
(A) onto but not one-one.
Step-by-step Solution
Detailed explanation
\(\left. \begin{array}{l} f\left( {g\left( 1 \right)} \right) = 1\\ f\left( {g\left( 2 \right)} \right) = 1 \end{array} \right\}\) Many one \(f\left( {g\left( {2k} \right)} \right) = k\) \(f\left( {g\left( {2k + 1} \right)} \right) = k + 1\) \(\therefore \) Onto
See the Complete Solution
Get step-by-step explanations for this and 2.5 Lakh+ more JEE, NEET & CET questions.
- Unlock all solutions
- Practice the full chapter
- Track accuracy across PYQs
4.8 rated on Google Play · 14,000+ reviews
More questions from Maths
- A circle passes through \((-2, 4)\) and touches the \(y-\) axis at \((0, 2).\) Which one of the following equations can represent a diameter of this circle ?JEE Mains 2016 Hard
- Let \( X=\{x\in\mathbb{N}:1\le x\le19\} \) and for some \( a, b\in\mathbb{R}, Y=\{ax+b:x\in X\}. \) If the mean and variance of the elements of Y are 30 and 750, respectively, then the sum of all possible values of b isJEE Mains 2026 Medium
- If the system of linear equations \(x - 2y + kz = 1\) ; \(2x + y + z = 2\) ; \(3x - y - kz = 3\) Has a solution \((x, y, z) \ne 0\), then \((x, y)\) lies on the straight line whose equation isJEE Mains 2019 Hard
- \(ABC\) is a triangular park with \(AB = AC = 100\) \(metres\). A vertical tower is situated at the mid-point of \(BC\). If the angles of elevation of the top of the tower at \(A\) and \(B\) are \({\cot ^{ - 1}}\left( {3\sqrt 2 } \right)\) and \(\cos e{c^{ - 1}}\left( {2\sqrt 2 } \right)\) respectively, then the height of the tower (in metres) isJEE Mains 2019 Hard
- Let \(f ^1( x )=\frac{3 x +2}{2 x +3}, x \in R -\left\{\frac{-3}{2}\right\}\) For \(n \geq 2\), define \(f ^{ n }( x )= f ^1 0 f ^{ n -1}( x )\). If \(f ^5( x )=\frac{ ax + b }{ bx + a }, \operatorname{gcd}( a , b )=1\), then \(a + b\) is equal to \(............\).JEE Mains 2023 Hard
- If the shortest distance between the lines \(\vec{r}_{1}=\alpha \hat{i}+2 \hat{j}+2 \hat{k}+\lambda(\hat{i}-2 \hat{j}+2 \hat{k}), \lambda \in R, \alpha>0\) and \(\vec{r}_{2}=-4 \hat{i}-\hat{k}+\mu(3 \hat{i}-2 \hat{j}-2 \hat{k}), \mu \in R\) is \(9\), then \(\alpha\) is equal to \(.....\)JEE Mains 2021 Medium
More PYQs from JEE Mains
- Let a circle \(C\) in complex plane pass tltrough the points \(z _{1}=3+4 i , z _{2}=4+3 i\) and \(z _{3}=5 i\). If \(z \left(\neq z _{1}\right)\) is a point on \(C\) such that the line through \(z\) and \(z _{1}\) is perpendicular to the line through \(z _{2}\) and \(z _{3}\), then \(\arg ( z )\) is equal toJEE Mains 2022 Hard
- The region represented by \(\{z=x+i y \in C:|z|-\operatorname{Re}(z) \leq 1\}\) is also given by the inequalityJEE Mains 2020 Hard
- The number of solutions of the equation \(\sin x=\) \(\cos ^{2} x\) in the interval \((0,10)\) isJEE Mains 2022 Medium
- If the system of linear equations \(2 x-3 y=\gamma+5\) ; \(\alpha x+5 y=\beta+1\), where \(\alpha, \beta, \gamma \in R\) has infinitely many solutions, then the value of \(|9 \alpha+3 \beta+5 \gamma|\) is equal toJEE Mains 2022 Medium
- The equation of the curve passing through the origin and satisfying the differential equation \(\left( {1 + {x^2}} \right)\,\frac{{dy}}{{dx}} + 2xy = 4{x^2}\) isJEE Mains 2013 Hard
- An integer is chosen at random from the integers \(\{1,2,3, \ldots \ldots . .50\}\). The probability that the chosen integer is a multiple of atleast one of \(4,6\) and \(7\) isJEE Mains 2024 Medium