JEE MainMathematicsFunctionsMCQ+4 / −1
The function ; defined by the highest prime factor of , is :
- Aone-one only
- Bneither one-one nor onto
- Conto only
- Dboth one-one and onto
View written solutionFree
Correct answer: B
-
Understand the function
The function is
\mathbb{N}\setminus\{1\} \to \mathbb{N},$$ defined by $$f(n)=\text{highest prime factor of } n.$$ So for each natural number $n>1$, $f(n)$ is the largest prime dividing $n$. -
Check whether the function is one-one (injective)
A function is one-one if different inputs always give different outputs.
Let us test some values:
Since but the function is not one-one.
-
Check whether the function is onto (surjective)
A function is onto if every element of the codomain is attained as an output.
Now, what values can take?
Since is the highest prime factor of , the output is always a prime number.
Hence the range of is contained in the set of primes:
But the codomain is all of , which contains composite numbers and also .
For example:
- There is no such that .
- There is no such that .
- There is no such that .
Therefore, is not onto .
-
Conclusion
The function is:
- not one-one
- not onto
Therefore the correct option is
More from Functions
- Let and be defined as and . Then, the domain of…2024 · MCQ
- If , then range…2024 · MCQ
- If the domain of the function is , then is equal to :2024 · MCQ
- Let and let denote the power set of . If the number of functions such that …2024 · Numerical
- If the domain of the function is , then the value of is equal to2024 · MCQ
- If and , where , then is equal to2024 · MCQ
- Let …2023 · MCQ
- Let be a function such that . Then is equal to2023 · MCQ