QlarIITy

MathematicsJEE Main 2022 · 27 JulySingle correct

Let f,g:N−{1}→Nf, g : \mathbb{N} - \{1\} \to \mathbb{N} be functions defined by f(a)=αf(a) = \alpha, where α\alpha is the maximum of the powers of those primes pp such that pαp^\alpha divides aa, and g(a)=a+1g(a) = a + 1, for all a∈N−{1}a \in \mathbb{N} - \{1\}. Then, the function f+gf + g is

  1. Option A: one-one but not onto
  2. Option B: onto but not one-one
  3. Option C: both one-one and onto
  4. Option D: neither one-one nor onto
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. A sum of a one-one function and another function need not be one-one.

Concept refresher. A function f:A→Bf : A \to B is one-one when

f(x1)=f(x2)f(x_1) = f(x_2)

forces x1=x2x_1 = x_2, and onto when its range is the whole of BB.

Picture the situation. For a≥2a \geq 2, f(a)f(a) is the largest power to which a prime divides aa; for example f(4)=2f(4) = 2, f(5)=1f(5) = 1 and f(12)=2f(12) = 2. The sum is (f+g)(a)=f(a)+a+1(f + g)(a) = f(a) + a + 1. Since f(a)≥1f(a) \geq 1 and a≥2a \geq 2, every value is at least 4.

Approach. Find two inputs with the same value and a natural number that is never a value.

  1. Step 1: Not one-one

    For a=4=22a = 4 = 2^2 the value is 2+5=72 + 5 = 7, and for a=5a = 5 it is 1+6=71 + 6 = 7. Two inputs give 7, so f+gf + g is not one-one.

  2. Step 2: Not onto

    Every value is at least 1+3=41 + 3 = 4, so the natural numbers 1, 2 and 3 are never reached, and f+gf + g is not onto.

Answer. (D) neither one-one nor onto

Sanity check. The first values are 4, 5, 7, 7, 8 for a=2,3,4,5,6a = 2, 3, 4, 5, 6, which shows the repeat and that 6 is skipped as well.

Why the other options are wrong

  • (A) It is not one-one, since a=4a = 4 and a=5a = 5 both give 7.
  • (B) It is not onto, since no value is below 4.
  • (C) It fails both tests: the value 7 is repeated, and 1, 2, 3 are missed.

Key takeaway

The trap. The smallest possible value of a function shows at once which numbers are missed.

How toppers think. They tabulate the first few values before reasoning.

Remember. (f+g)(4)=(f+g)(5)=7(f + g)(4) = (f + g)(5) = 7

More on Types of Functions