JEE Challenger
More from Matrices

Number of Symmetric or Skew Symmetric Matrices with Determinant Divisible by Prime

Comprehension Passage

Let pp be an odd prime number and TpT_p be the following set of 2×22 \times 2 matrices :

Tp={A=abca:a,b,c∈{0,1,2,…,p−1}}T_p = \left\{ A = \begin{array}{cc} a & b \\ c & a \end{array} : a, b, c \in \{0, 1, 2, \dots, p-1\} \right\}

The number of AA in TpT_p such that AA is either symmetric or skew-symmetric or both, and det⁡(A)\det (A) divisible by pp is

Options

A

(p−1)2(p - 1)^2

B

2(p−1)2(p - 1)

C

(p−1)2+1(p - 1)^2 + 1

D

2p−12p - 1

Correct

Step-by-Step Solution

To find the number of matrices A∈TpA \in T_p such that AA is symmetric, skew-symmetric, or both, and det⁡(A)\det(A) is divisible by pp, we analyze the conditions step-by-step.

Given:

Tp={A=[abca]:a,b,c∈{0,1,2,…,p−1}}T_p = \left\{ A = \begin{bmatrix} a & b \\ c & a \end{bmatrix} : a, b, c \in \{0, 1, 2, \dots, p-1\} \right\}

The determinant of AA is:
det⁡(A)=a2−bc\det(A) = a^2 - bc


Step 1: Condition for Skew-Symmetry

A matrix AA is skew-symmetric if AT=−AA^T = -A.

[acba]=[−a−b−c−a]\begin{bmatrix} a & c \\ b & a \end{bmatrix} = \begin{bmatrix} -a & -b \\ -c & -a \end{bmatrix}

This requires:

  1. a=−a  ⟹  a=0a = -a \implies a = 0
  2. b=−c  ⟹  b+c=0b = -c \implies b + c = 0

Since b,c∈{0,1,2,…,p−1}b, c \in \{0, 1, 2, \dots, p-1\}, the non-negativity of entries implies b=0b = 0 and c=0c = 0.

Thus, the only skew-symmetric matrix in TpT_p is the zero matrix:

A=[0000]A = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}

For this matrix, det⁡(A)=0\det(A) = 0, which is divisible by pp. Note that this matrix is also symmetric (since b=c=0b = c = 0).


Step 2: Condition for Symmetry

A matrix AA is symmetric if AT=AA^T = A, which implies b=cb = c.

Substitute c=bc = b into the matrix and its determinant:

A=[abba],det⁡(A)=a2−b2=(a−b)(a+b)A = \begin{bmatrix} a & b \\ b & a \end{bmatrix}, \quad \det(A) = a^2 - b^2 = (a - b)(a + b)

We are given that det⁡(A)\det(A) is divisible by pp:
p∣(a−b)(a+b)p \mid (a - b)(a + b)

Since pp is an odd prime, by Euclid's lemma, pp must divide at least one of the factors:
p∣(a−b)orp∣(a+b)p \mid (a - b) \quad \text{or} \quad p \mid (a + b)


Step 3: Counting the Pairs (a,b)(a, b)

  1. Case 1: p∣(a−b)p \mid (a - b)
    Since a,b∈{0,1,2,…,p−1}a, b \in \{0, 1, 2, \dots, p-1\}, we have:
    −(p−1)≤a−b≤p−1-(p - 1) \le a - b \le p - 1
    The only multiple of pp in this range is 00. Thus:
    a−b=0  ⟹  a=ba - b = 0 \implies a = b
    Since aa can be any integer from 00 to p−1p - 1, there are pp such pairs:
    (0,0),(1,1),(2,2),…,(p−1,p−1)(0, 0), (1, 1), (2, 2), \dots, (p-1, p-1)

  2. Case 2: p∣(a+b)p \mid (a + b)
    Since a,b∈{0,1,2,…,p−1}a, b \in \{0, 1, 2, \dots, p-1\}, we have:
    0≤a+b≤2p−20 \le a + b \le 2p - 2
    The possible multiples of pp in this range are 00 and pp.

    • Subcase 2a: a+b=0  ⟹  a=0,b=0a + b = 0 \implies a = 0, b = 0. This gives the pair (0,0)(0, 0), which is already counted in Case 1.
    • Subcase 2b: a+b=pa + b = p.
      The possible pairs (a,b)(a, b) are:
      (1,p−1),(2,p−2),…,(p−1,1)(1, p-1), (2, p-2), \dots, (p-1, 1)
      There are p−1p - 1 such pairs.
  3. Check for Overlap between Case 1 and Subcase 2b:
    If a pair satisfies both a=ba = b and a+b=pa + b = p, then:
    2a=p2a = p
    Since pp is an odd prime, 2a=p2a = p has no integer solutions. Hence, the set of pairs where a=ba = b and the set where a+b=pa + b = p are completely disjoint.


Step 4: Total Count

The total number of symmetric matrices (which includes the single skew-symmetric matrix) is:
Total number of matrices=p+(p−1)=2p−1\text{Total number of matrices} = p + (p - 1) = 2p - 1

Thus, the correct option is D.