QlarIITy

MathematicsJEE Main 2026 · 4 AprilSingle correct

LetS={A=[abcd]:a,b,c,d∈{0,1,2,3,4}and A2−4A+3I=0}\begin{aligned} &S = \left\{A = \begin{bmatrix} a & b \\ c & d \end{bmatrix} :\right. \\[4pt] &a, b, c, d \in \{0, 1, 2, 3, 4\} \\[4pt] &\text{and } A^2 - 4A + 3I = 0\} \end{aligned}be a set of 2×22 \times 2 matrices. Then the number of matrices in SS, for which the sum of the diagonal elements is equal to 44, is :

  1. Option A: 2020
  2. Option B: 1717
  3. Option C: 2121
  4. Option D: 1919
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. For a 2×22 \times 2 matrix the Cayley–Hamilton relation turns a quadratic matrix equation into conditions on the trace and the determinant.

Concept refresher. Every 2×22 \times 2 matrix AA satisfies its characteristic equation (the Cayley–Hamilton theorem):

A2−(tr⁡A)A+(det⁡A)I=0A^2 - (\operatorname{tr} A)A + (\det A)I = 0

where tr⁡A=a+d\operatorname{tr} A = a + d is the sum of the diagonal entries and det⁡A=ad−bc\det A = ad - bc.

Picture the situation. The diagonal entries aa and dd add to 44, so (a,d)(a, d) is one of (0,4)(0, 4), (1,3)(1, 3), (2,2)(2, 2), (3,1)(3, 1), (4,0)(4, 0); for each one we count the off-diagonal pairs (b,c)(b, c) from {0,1,2,3,4}\{0, 1, 2, 3, 4\}.

Approach. Compare the given relation with the Cayley–Hamilton relation for trace 44 to get a condition on det⁡A\det A, then count the entries diagonal by diagonal.

  1. Step 1: Reduce the relation

    With tr⁡A=4\operatorname{tr} A = 4 the Cayley–Hamilton relation reads A2−4A+(det⁡A)I=0A^2 - 4A + (\det A)I = 0. Subtracting it from the given relation:

    (3−det⁡A)I=0det⁡A=3\begin{aligned} (3 - \det A)I &= 0 \\[4pt] \det A &= 3 \end{aligned}

    Conversely, every trace-44 matrix with det⁡A=3\det A = 3 satisfies the relation, so the condition is exactly ad−bc=3ad - bc = 3.

  2. Step 2: Fix the diagonal

    For each diagonal pair the product bcbc must equal ad−3ad - 3:

    (0,4),(4,0):bc=−3(1,3),(3,1):bc=0(2,2):bc=1\begin{aligned} (0, 4), (4, 0) &: bc = -3 \\[4pt] (1, 3), (3, 1) &: bc = 0 \\[4pt] (2, 2) &: bc = 1 \end{aligned}

    A product of two entries from {0,…,4}\{0, \ldots, 4\} cannot be negative, so (0,4)(0, 4) and (4,0)(4, 0) give nothing.

  3. Step 3: Count the off-diagonal pairs

    The pairs with bc=0bc = 0 have b=0b = 0 or c=0c = 0: 5+5−1=95 + 5 - 1 = 9 pairs, since (0,0)(0, 0) lies in both groups. The only pair with bc=1bc = 1 is (1,1)(1, 1). Adding over the diagonals:

    9+1+9=199 + 1 + 9 = 19

Answer. (D) 1919

Sanity check. Check one matrix: A=[1403]A = \begin{bmatrix} 1 & 4 \\ 0 & 3 \end{bmatrix} has A2=[11609]A^2 = \begin{bmatrix} 1 & 16 \\ 0 & 9 \end{bmatrix}, and A2−4A+3I=[0000]A^2 - 4A + 3I = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}, as it should.

Why the other options are wrong

  • (A) Adding the scalar matrix 2I2I, which has trace 44, to the 1919 gives 2020; but (2I)2−4(2I)+3I=−I≠0(2I)^2 - 4(2I) + 3I = -I \neq 0, so 2I2I is not in SS.
  • (B) Counting the pairs with bc=0bc = 0 as 4+4=84 + 4 = 8 leaves out b=c=0b = c = 0 and gives 8+1+8=178 + 1 + 8 = 17; the pairs are 5+5−1=95 + 5 - 1 = 9 for each of the two diagonals.
  • (C) Counting the pairs with bc=0bc = 0 as 5+5=105 + 5 = 10 counts b=c=0b = c = 0 twice and gives 10+1+10=2110 + 1 + 10 = 21; the correct count is 5+5−1=95 + 5 - 1 = 9.

Key takeaway

The trap. Counting the pairs with bc=0bc = 0 as ten, which counts b=c=0b = c = 0 twice.

How toppers think. They reduce a matrix condition to numbers first and only then start counting entries.

Remember. A2−(a+d)A+(ad−bc)I=0A^2 - (a + d)A + (ad - bc)I = 0 for every 2×22 \times 2 matrix.

More on Matrix Operations