JEE Challenger
More from Matrices

Number of Invertible Matrices over Finite Field

The number of A\text{A} in Tp\text{T}_\text{p} such that det⁡(A)\det(\text{A}) is not divisible by p\text{p} is

Options

A

2p22p^2

B

p3−5pp^3 - 5p

C

p3−3pp^3 - 3p

D

p3−p2p^3 - p^2

Correct

Step-by-Step Solution

From the passage associated with this problem, the set TpT_p is defined for an odd prime pp as:

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

1. Total Number of Matrices in TpT_p

Each of the elements a,b,ca, b, c can independently take any of the pp values in {0,1,2,…,p−1}\{0, 1, 2, \dots, p-1\}. Therefore, the total number of matrices in TpT_p is:
∣Tp∣=p×p×p=p3|T_p| = p \times p \times p = p^3

2. Condition for det⁡(A)\det(A) to be Divisible by pp

The determinant of matrix AA is given by:
det⁡(A)=a2−bc\det(A) = a^2 - bc
The condition that det⁡(A)\det(A) is divisible by pp is equivalent to:
a2−bc≡0(modp)  ⟹  a2≡bc(modp)a^2 - bc \equiv 0 \pmod p \implies a^2 \equiv bc \pmod p

We count the number of triples (a,b,c)(a, b, c) satisfying this congruence:

  • Case 1: a=0a = 0
    Here, a2=0a^2 = 0, so we must have:
    bc≡0(modp)bc \equiv 0 \pmod p
    Since pp is a prime number, this means either b≡0(modp)b \equiv 0 \pmod p or c≡0(modp)c \equiv 0 \pmod p:

    • If b=0b = 0, cc can be any of the pp elements in {0,1,…,p−1}\{0, 1, \dots, p-1\} (pp solutions).
    • If b≠0b \neq 0 (p−1p - 1 choices), then cc must be 00 (11 choice).

    Thus, the number of pairs (b,c)(b, c) when a=0a = 0 is:
    p+(p−1)=2p−1p + (p - 1) = 2p - 1

  • Case 2: a≠0a \neq 0
    There are p−1p - 1 possible choices for a∈{1,2,…,p−1}a \in \{1, 2, \dots, p-1\}.
    For each fixed value of aa, a2≢0(modp)a^2 \not\equiv 0 \pmod p.
    We need:
    bc≡a2(modp)bc \equiv a^2 \pmod p
    Since a2≢0(modp)a^2 \not\equiv 0 \pmod p, neither bb nor cc can be 00.
    For any non-zero choice of b∈{1,2,…,p−1}b \in \{1, 2, \dots, p-1\} (p−1p - 1 choices), there exists a unique multiplicative inverse b−1(modp)b^{-1} \pmod p. Hence, cc is uniquely determined modulo pp as:
    c≡a2b−1(modp)c \equiv a^2 b^{-1} \pmod p
    Therefore, for each of the p−1p - 1 choices of aa, there are p−1p - 1 choices for bb, and cc is uniquely determined.
    The number of triples in this case is:
    (p−1)×(p−1)=(p−1)2(p - 1) \times (p - 1) = (p - 1)^2

3. Total Number of Matrices with det⁡(A)\det(A) Divisible by pp

Adding the results from both cases:
Ndivisible=(2p−1)+(p−1)2=2p−1+p2−2p+1=p2N_{\text{divisible}} = (2p - 1) + (p - 1)^2 = 2p - 1 + p^2 - 2p + 1 = p^2

4. Number of Matrices with det⁡(A)\det(A) Not Divisible by pp

The number of matrices in TpT_p such that det⁡(A)\det(A) is not divisible by pp is:
N=∣Tp∣−Ndivisible=p3−p2N = |T_p| - N_{\text{divisible}} = p^3 - p^2

This corresponds to Option D.