QlarIITy

MathematicsJEE Main 2020 · 2 SeptemberSingle correct

Let f:R→Rf : R \to R be a function which satisfies f(x+y)=f(x)+f(y),∀x,y∈Rf(x + y) = f(x) + f(y), \forall x, y \in R. If f(1)=2f(1) = 2 andg(n)=∑k=1(n−1)f(k),n∈Ng(n) = \sum_{k=1}^{(n-1)}f(k), n \in Nthen the value of nn, for which g(n)=20g(n) = 20, is

  1. Option A: 5
  2. Option B: 20
  3. Option C: 4
  4. Option D: 9
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. The sum of an additive function over consecutive integers is an arithmetic progression.

Concept refresher. A function on the natural numbers with f(m+n)=f(m)+f(n)f(m + n) = f(m) + f(n) satisfies

f(n)=nf(1)f(n) = nf(1)

Picture the situation. For natural numbers f(k)=kf(1)=2kf(k) = kf(1) = 2k. The sum g(n)g(n) runs over k=1k = 1 to n−1n - 1, so it is twice the sum of the first n−1n - 1 natural numbers.

Approach. Write the sum in closed form and solve for the number.

  1. Step 1: The sum

    The first n−1n - 1 natural numbers add to (n−1)n2\dfrac{(n - 1)n}{2}, and doubling this gives g(n)=n(n−1)g(n) = n(n - 1).

  2. Step 2: The number

    Setting n(n−1)=20n(n - 1) = 20 gives n2−n−20=0n^2 - n - 20 = 0, that is (n−5)(n+4)=0(n - 5)(n + 4) = 0, so the natural number is n=5n = 5.

Answer. (A) 5

Sanity check. Check:

g(5)=f(1)+f(2)+f(3)+f(4)=2+4+6+8=20\begin{aligned} &g(5) \\[4pt] &= f(1) + f(2) + f(3) + f(4) \\[4pt] &= 2 + 4 + 6 + 8 = 20 \end{aligned}

Why the other options are wrong

  • (B) The value 20 is the given total g(n)g(n), not nn.
  • (C) The value 4 is the last index of the sum; for n=4n = 4 the sum is only 2+4+6=122 + 4 + 6 = 12.
  • (D) For n=9n = 9 the sum would be 9×8=729 \times 8 = 72, far above 20.

Key takeaway

The trap. The upper limit of the sum is one less than the number asked for.

How toppers think. They check the result by adding the few terms directly.

Remember. g(n)=n(n−1)g(n) = n(n - 1)

More on Functional Equations