QlarIITy

MathematicsJEE Main 2023 · 24 JanuarySingle correct

Let f(x)f(x) be a function such thatf(x+y)=f(x)⋅f(y)f(x + y) = f(x) \cdot f(y)for all x,y∈Nx, y \in N. If f(1)=3f(1) = 3 and ∑k=1nf(k)=3279\sum_{k=1}^{n}f(k) = 3279, then the value of nn is

  1. Option A: 6
  2. Option B: 8
  3. Option C: 7
  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. A function that turns sums into products takes the values of a geometric progression on the natural numbers.

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

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

so its values form a geometric progression.

Picture the situation. Putting y=1y = 1 gives f(x+1)=3f(x)f(x + 1) = 3f(x), so the values f(1),f(2),f(3),…f(1), f(2), f(3), \ldots are 3,9,27,…3, 9, 27, \ldots The sum of the first nn of them is a geometric progression with first term 3 and ratio 3.

Approach. Write the values as powers of 3, sum the progression, and solve for nn.

  1. Step 1: The values

    From f(x+1)=f(x)f(1)=3f(x)f(x + 1) = f(x)f(1) = 3f(x) and f(1)=3f(1) = 3, each value is three times the one before, so f(k)=3kf(k) = 3^k.

  2. Step 2: The sum

    The sum of 3+32+…+3n3 + 3^2 + \ldots + 3^n is 3(3n−1)2\dfrac{3(3^n - 1)}{2}. Setting it equal to 3279 gives 3n−1=21863^n - 1 = 2186, so 3n=2187=373^n = 2187 = 3^7 and n=7n = 7.

Answer. (C) 7

Sanity check. Adding directly:

3+9+27+81+243+729+2187=3279\begin{aligned} &3 + 9 + 27 + 81 + 243 + 729 + 2187 \\[4pt] &= 3279 \end{aligned}

Why the other options are wrong

  • (A) For n=6n = 6 the sum is 3(729−1)2=1092\dfrac{3(729 - 1)}{2} = 1092, which is too small.
  • (B) For n=8n = 8 the sum is 3(6561−1)2=9840\dfrac{3(6561 - 1)}{2} = 9840, which is too large.
  • (D) For n=9n = 9 the sum would be far above 3279, since 39=196833^9 = 19683 alone exceeds it.

Key takeaway

The trap. The sum starts at the first power, since the function is defined on the natural numbers.

How toppers think. They recognise 2187 as a power of 3 at once.

Remember. f(k)=3kf(k) = 3^k

More on Functional Equations