Sign in
12thPass logo
New chatPYQ LibraryDoubtsRank report
Sign in to see Recents

Your guest activity stays on this device

Sign in to save progress →
Sign in

Functions question

2024 · 27 Jan · Shift 1 · Q50
Guest · filters and generic practice availableBrowsing as a guest · PYQ filters and generic practice are available. Sign in only for personalised features and saved progress.
  1. PYQ Library
  2. /JEE Main
  3. /Mathematics
  4. /Functions
  5. /2024 · 27 Jan · Shift 1 · Q50

Functions question

2024 · 27 Jan · Shift 1 · Q50

JEE MainMathematicsFunctionsMCQ+4 / −1
The function f:N−{1}→Nf: \mathbf{N}-\{1\} \rightarrow \mathbf{N}f:N−{1}→N; defined by f(n)=f(\mathrm{n})=f(n)= the highest prime factor of n\mathrm{n}n, is :
  1. A
    one-one only
  2. B
    neither one-one nor onto
  3. C
    onto only
  4. D
    both one-one and onto
View written solutionFree

Correct answer: B

  1. 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$.
  2. 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: f(2)=2f(2)=2f(2)=2 f(4)=2f(4)=2f(4)=2

    Since 2≠42 \neq 42=4 but f(2)=f(4)=2,f(2)=f(4)=2,f(2)=f(4)=2, the function is not one-one.

  3. Check whether the function is onto (surjective)

    A function is onto if every element of the codomain N\mathbb{N}N is attained as an output.

    Now, what values can f(n)f(n)f(n) take?

    Since f(n)f(n)f(n) is the highest prime factor of nnn, the output is always a prime number.

    Hence the range of fff is contained in the set of primes: Range(f)⊆{2,3,5,7,… }.\text{Range}(f) \subseteq \{2,3,5,7,\dots\}.Range(f)⊆{2,3,5,7,…}.

    But the codomain is all of N\mathbb{N}N, which contains composite numbers and also 111.

    For example:

    • There is no nnn such that f(n)=1f(n)=1f(n)=1.
    • There is no nnn such that f(n)=4f(n)=4f(n)=4.
    • There is no nnn such that f(n)=6f(n)=6f(n)=6.

    Therefore, fff is not onto N\mathbb{N}N.

  4. Conclusion

    The function is:

    • not one-one
    • not onto

    Therefore the correct option is B: neither one-one nor onto.\boxed{\text{B: neither one-one nor onto}}.B: neither one-one nor onto​.

PreviousNext

More from Functions

  • Let f:R−{2−1​}→R and g:R−{2−5​}→R be defined as f(x)=2x+12x+3​ and g(x)=2x+5∣x∣+1​. Then, the domain of…2024 · MCQ
  • If f(x)={2+2x,1−3x​,​−1≤x<00≤x≤3​;g(x)={−x,x,​−3≤x≤00<x≤1​, then range…2024 · MCQ
  • If the domain of the function f(x)=cos−1(42−∣x∣​)+{loge​(3−x)}−1 is [−α,β)−{γ}, then α+β+γ is equal to :2024 · MCQ
  • Let A={1,2,3,…,7} and let P(A) denote the power set of A. If the number of functions f:A→P(A) such that a∈f(a),∀a∈A…2024 · Numerical
  • If the domain of the function f(x)=loge​(4x2+x−32x+3​)+cos−1(x+22x−1​) is (α,β], then the value of 5β−4α is equal to2024 · MCQ
  • If f(x)=6x−44x+3​,xeq32​ and (f∘f)(x)=g(x), where g:R−{32​}→R−{32​}, then (gogog)(4) is equal to2024 · MCQ
  • Let f(x)=​1+sin2xsin2xsin2x​cos2x1+cos2xcos2x​sin2xsin2x1+sin2x​​,x∈[6π​,3π​]…2023 · MCQ
  • Let f:R−0,1→R be a function such that f(x)+f(1−x1​)=1+x. Then f(2) is equal to2023 · MCQ