QlarIITy

MathematicsJEE Main 2023 · 25 JanuarySingle correct

The number of functionsf:{1,2,3,4}→{a∈Z:∣a∣≤8}f : \{1, 2, 3, 4\} \to \{a \in \mathbb{Z} : |a| \leq 8\}satisfyingf(n)+1nf(n+1)=1,∀n∈{1,2,3}f(n) + \frac{1}{n}f(n + 1) = 1, \forall n \in \{1, 2, 3\}is

  1. Option A: 3
  2. Option B: 4
  3. Option C: 1
  4. Option D: 2
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 recurrence makes the whole function depend on its first value, so counting functions means counting first values.

Concept refresher. A relation that links f(n+1)f(n + 1) to f(n)f(n) determines every value from the first one, so the function is fixed by

f(1)=tf(1) = t

and the conditions become conditions on tt.

Picture the situation. The relation f(n)+1nf(n+1)=1f(n) + \dfrac{1}{n}f(n + 1) = 1 gives f(n+1)=n(1−f(n))f(n + 1) = n(1 - f(n)). With t=f(1)t = f(1), an integer, this gives f(2)=1−tf(2) = 1 - t, f(3)=2(1−f(2))=2tf(3) = 2(1 - f(2)) = 2t and f(4)=3(1−f(3))=3−6tf(4) = 3(1 - f(3)) = 3 - 6t. All four values must lie between −8-8 and 8.

Approach. Write the four values in terms of the first and impose the bound on each.

  1. Step 1: The bounds

    The condition ∣2t∣≤8|2t| \leq 8 gives ∣t∣≤4|t| \leq 4, and ∣3−6t∣≤8|3 - 6t| \leq 8 gives −56≤t≤116-\dfrac{5}{6} \leq t \leq \dfrac{11}{6}.

  2. Step 2: The count

    The integers in that range are t=0t = 0 and t=1t = 1, and for both of them f(1)f(1) and f(2)f(2) are also within the bound. So there are 2 functions.

Answer. (D) 2

Sanity check. The two functions have the values 0,1,0,30, 1, 0, 3 and 1,0,2,−31, 0, 2, -3 at 1, 2, 3, 4, and each satisfies all three relations.

Why the other options are wrong

  • (A) The value 3 would need a third integer between −56-\dfrac{5}{6} and 116\dfrac{11}{6}; only 0 and 1 lie there.
  • (B) The value 4 ignores the bound on f(4)f(4), which is the strongest condition.
  • (C) The value 1 misses one of the two admissible first values, 0 and 1.

Key takeaway

The trap. The last value grows fastest and gives the tightest bound.

How toppers think. They list the resulting functions to confirm the count.

Remember. f(4)=3−6f(1)f(4) = 3 - 6f(1)

More on Functional Equations