QlarIITy

MathematicsJEE Main 2026 · 5 AprilSingle correct

If f:N→Zf : \mathbb{N} \to \mathbb{Z} is defined byf(n)=∣n−1−5−2n23(2k+1)2k+1−3n33k(2k+1)3k(k+2)+1∣\begin{aligned} &f(n) \\[4pt] &= \begin{vmatrix} n & -1 & -5 \\ -2n^2 & 3(2k + 1) & 2k + 1 \\ -3n^3 & 3k(2k + 1) & 3k(k + 2) + 1 \end{vmatrix} \end{aligned}, k∈Nk \in \mathbb{N}, and ∑n=1kf(n)=98\sum_{n=1}^{k} f(n) = 98, then kk is equal to :

  1. Option A: 33
  2. Option B: 44
  3. Option C: 55
  4. Option D: 66
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. When only one column of a determinant depends on nn, the sum over nn goes inside that column.

Concept refresher. A determinant is linear in each column: if only the first column depends on nn, then

∑n=1k∣anpqbnrscntu∣=∣∑anpq∑bnrs∑cntu∣\sum_{n=1}^{k} \begin{vmatrix} a_n & p & q \\ b_n & r & s \\ c_n & t & u \end{vmatrix} = \begin{vmatrix} \sum a_n & p & q \\ \sum b_n & r & s \\ \sum c_n & t & u \end{vmatrix}

The sums used are ∑n=1kn=k(k+1)2\sum_{n=1}^{k} n = \frac{k(k + 1)}{2}, ∑n=1kn2=k(k+1)(2k+1)6\sum_{n=1}^{k} n^2 = \frac{k(k + 1)(2k + 1)}{6} and ∑n=1kn3=(k(k+1)2)2\sum_{n=1}^{k} n^3 = \left(\frac{k(k + 1)}{2}\right)^2.

Approach. Sum the first column over nn, take out its common factor, simplify the determinant with column operations, and solve the resulting equation in kk.

  1. Step 1: Sum the first column

    The second and third columns contain only kk, so the sum of the determinants is one determinant with the first column summed. Write S=k(k+1)2S = \frac{k(k + 1)}{2}; then ∑n=S\sum n = S, −2∑n2=−2(2k+1)3S-2\sum n^2 = -\frac{2(2k + 1)}{3}S and −3∑n3=−3S2-3\sum n^3 = -3S^2. Taking SS out of the first column:

    ∑n=1kf(n)=S∣1−1−5−2(2k+1)33(2k+1)2k+1−3k(k+1)23k(2k+1)3k(k+2)+1∣\begin{aligned} &\sum_{n=1}^{k} f(n) \\[4pt] &= S\begin{vmatrix} 1 & -1 & -5 \\ -\frac{2(2k + 1)}{3} & 3(2k + 1) & 2k + 1 \\ -\frac{3k(k + 1)}{2} & 3k(2k + 1) & 3k(k + 2) + 1 \end{vmatrix} \end{aligned}
  2. Step 2: Clear the first row

    The operations C2→C2+C1C_2 \to C_2 + C_1 and C3→C3+5C1C_3 \to C_3 + 5C_1 keep the value and make the first row 1,0,01, 0, 0. The second row becomes (2k+1)(−23,73,−73)(2k + 1)\left(-\frac{2}{3}, \frac{7}{3}, -\frac{7}{3}\right), and the third row's last two entries become

    3k(2k+1)−3k(k+1)2=9k2+3k23k2+6k+1−15k(k+1)2=−9k2−3k+22\begin{aligned} &3k(2k + 1) - \frac{3k(k + 1)}{2} = \frac{9k^2 + 3k}{2} \\[4pt] &3k^2 + 6k + 1 - \frac{15k(k + 1)}{2} \\[4pt] &= \frac{-9k^2 - 3k + 2}{2} \end{aligned}
  3. Step 3: Expand along the first row

    Only the leading 11 contributes, so the determinant is the 2×22 \times 2 minor. Taking 7(2k+1)3\frac{7(2k + 1)}{3} out of its first row leaves

    ∣1−19k2+3k2−9k2−3k+22∣=−9k2−3k+2+9k2+3k2=1\begin{aligned} &\begin{vmatrix} 1 & -1 \\ \frac{9k^2 + 3k}{2} & \frac{-9k^2 - 3k + 2}{2} \end{vmatrix} \\[4pt] &= \frac{-9k^2 - 3k + 2 + 9k^2 + 3k}{2} = 1 \end{aligned}

    so the determinant equals 7(2k+1)3\frac{7(2k + 1)}{3}.

  4. Step 4: Solve for k

    Multiplying by SS gives the sum, and setting it equal to 9898 fixes kk:

    ∑n=1kf(n)=7k(k+1)(2k+1)6=98k(k+1)(2k+1)=84=3⋅4⋅7\begin{aligned} \sum_{n=1}^{k} f(n) &= \frac{7k(k + 1)(2k + 1)}{6} = 98 \\[4pt] k(k + 1)(2k + 1) &= 84 = 3 \cdot 4 \cdot 7 \end{aligned}

    The left side increases with kk, so k=3k = 3 is the only natural number that works.

Answer. (A) 33

Sanity check. For k=1k = 1 the formula gives 7⋅1⋅2⋅36=7\frac{7 \cdot 1 \cdot 2 \cdot 3}{6} = 7, and directly

f(1)=∣1−1−5−293−3910∣=63−11−45=7f(1) = \begin{vmatrix} 1 & -1 & -5 \\ -2 & 9 & 3 \\ -3 & 9 & 10 \end{vmatrix} = 63 - 11 - 45 = 7

so the summed form agrees with a direct expansion.

Smart method. Once the sum is known to be a fixed multiple of ∑n2\sum n^2, test the options: ∑n=1kn2\sum_{n=1}^{k} n^2 is 14,30,55,9114, 30, 55, 91 for k=3,4,5,6k = 3, 4, 5, 6, and 98=7⋅1498 = 7 \cdot 14 matches only k=3k = 3. The factor 77 comes from the case k=1k = 1, where f(1)=7f(1) = 7; this test is safe only after the column-sum argument shows the sum has the form c∑n2c\sum n^2.

Why the other options are wrong

  • (B) Taking k=4k = 4 gives 7⋅4⋅5⋅96=210\frac{7 \cdot 4 \cdot 5 \cdot 9}{6} = 210, not 9898; the sum grows with kk, so only one kk gives 9898.
  • (C) Taking k=5k = 5 gives 7⋅5⋅6⋅116=385\frac{7 \cdot 5 \cdot 6 \cdot 11}{6} = 385, far above 9898.
  • (D) Taking k=6k = 6 gives 7⋅6⋅7⋅136=637\frac{7 \cdot 6 \cdot 7 \cdot 13}{6} = 637, far above 9898.

Key takeaway

The trap. Expanding each f(n)f(n) as a cubic in nn and summing term by term, which is long and error-prone.

How toppers think. They look for the column or row that carries the summation index before expanding anything.

Remember. ∑n=1kn2=k(k+1)(2k+1)6\sum_{n=1}^{k} n^2 = \frac{k(k + 1)(2k + 1)}{6} and ∑n=1kn3=(k(k+1)2)2\sum_{n=1}^{k} n^3 = \left(\frac{k(k + 1)}{2}\right)^2.

More on Evaluation & Properties