QlarIITy

MathematicsJEE Main 2026 · 22 JanuarySingle correct

Let nn be the number obtained on rolling a fair die. If the probability that the systemx−ny+z=6x+(n−2)y+(n+1)z=8(n−1)y+z=1\begin{aligned} x - ny + z &= 6 \\ x + (n - 2)y + (n + 1)z &= 8 \\ (n - 1)y + z &= 1 \end{aligned}has a unique solution is k6\frac{k}{6}, then the sum of kk and all possible values of nn is :

  1. Option A: 2222
  2. Option B: 2020
  3. Option C: 2424
  4. Option D: 2121
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 square linear system has a unique solution exactly when its coefficient determinant is not zero.

Concept refresher. A system of three linear equations in three unknowns, AX=BAX = B, has a unique solution exactly when

det⁡A≠0\det A \neq 0

where AA is the matrix of coefficients. For a fair die every face 1,2,…,61, 2, \ldots, 6 has probability 16\frac{1}{6}, so an event made of mm faces has probability m6\frac{m}{6}.

Approach. Find the determinant of the coefficients as a function of nn, list the faces where it is not zero, then read off kk and add.

  1. Step 1: Write the coefficient determinant

    The coefficients of xx, yy, zz in the three equations give

    Δ(n)=∣1−n11n−2n+10n−11∣\Delta(n) = \begin{vmatrix} 1 & -n & 1 \\ 1 & n - 2 & n + 1 \\ 0 & n - 1 & 1 \end{vmatrix}
  2. Step 2: Expand along the first column

    Only the first two entries of the first column are non-zero:

    Δ(n)=[(n−2)−(n+1)(n−1)]−[−n−(n−1)]=−n2+3n−2=−(n−1)(n−2)\begin{aligned} \Delta(n) &= \left[(n - 2) - (n + 1)(n - 1)\right] \\[4pt] &- \left[-n - (n - 1)\right] \\[4pt] &= -n^2 + 3n - 2 \\[4pt] &= -(n - 1)(n - 2) \end{aligned}
  3. Step 3: Find the good faces

    A unique solution needs Δ(n)≠0\Delta(n) \neq 0, that is, n≠1n \neq 1 and n≠2n \neq 2. So the good faces are n=3,4,5,6n = 3, 4, 5, 6 and

    P=46=k6  ⟹  k=4P = \frac{4}{6} = \frac{k}{6} \implies k = 4
  4. Step 4: Add k and the values of n

    The question asks for kk plus every face that gives a unique solution, so the sum is

    k+(3+4+5+6)=4+18=22k + (3 + 4 + 5 + 6) = 4 + 18 = 22

Answer. (A) 2222

Sanity check. At n=1n = 1 the third equation reads z=1z = 1 and the first two become x−y+z=6x - y + z = 6 and x−y+2z=8x - y + 2z = 8, which fix z=2z = 2: a clash, so n=1n = 1 indeed gives no unique solution. At n=3n = 3, Δ=−2≠0\Delta = -2 \neq 0.

Why the other options are wrong

  • (B) Using the faces that fail, n=1,2n = 1, 2, gives the probability 26\frac{2}{6} and k=2k = 2, so 2+18=202 + 18 = 20; the question asks for a unique solution, which has probability 46\frac{4}{6}.
  • (C) A slip that makes the determinant vanish only at n=2n = 2 gives k=5k = 5 and 5+(21−2)=245 + (21 - 2) = 24; but Δ(1)=0\Delta(1) = 0 as well, so only four faces work.
  • (D) 21=1+2+3+4+5+621 = 1 + 2 + 3 + 4 + 5 + 6 is the sum of all faces; it keeps n=1,2n = 1, 2, where Δ=0\Delta = 0, and leaves out kk.

Key takeaway

The trap. Counting the faces that fail instead of those that work, or leaving kk out of the final sum.

How toppers think. They factorise the determinant in nn so that the bad faces can be read at a glance.

Remember. Unique solution   ⟺  det⁡A≠0\iff \det A \neq 0; when det⁡A=0\det A = 0 the system has none or infinitely many.

More on System of Linear Equations