From the passage associated with this problem, the set Tp is defined for an odd prime p as:
Tp={A=(acba):a,b,c∈{0,1,2,…,p−1}}
1. Total Number of Matrices in Tp
Each of the elements a,b,c can independently take any of the p values in {0,1,2,…,p−1}. Therefore, the total number of matrices in Tp is:
∣Tp∣=p×p×p=p3
2. Condition for det(A) to be Divisible by p
The determinant of matrix A is given by:
det(A)=a2−bc
The condition that det(A) is divisible by p is equivalent to:
a2−bc≡0(modp)⟹a2≡bc(modp)
We count the number of triples (a,b,c) satisfying this congruence:
-
Case 1: a=0
Here, a2=0, so we must have:
bc≡0(modp)
Since p is a prime number, this means either b≡0(modp) or c≡0(modp):
- If b=0, c can be any of the p elements in {0,1,…,p−1} (p solutions).
- If b=0 (p−1 choices), then c must be 0 (1 choice).
Thus, the number of pairs (b,c) when a=0 is:
p+(p−1)=2p−1
-
Case 2: a=0
There are p−1 possible choices for a∈{1,2,…,p−1}.
For each fixed value of a, a2≡0(modp).
We need:
bc≡a2(modp)
Since a2≡0(modp), neither b nor c can be 0.
For any non-zero choice of b∈{1,2,…,p−1} (p−1 choices), there exists a unique multiplicative inverse b−1(modp). Hence, c is uniquely determined modulo p as:
c≡a2b−1(modp)
Therefore, for each of the p−1 choices of a, there are p−1 choices for b, and c is uniquely determined.
The number of triples in this case is:
(p−1)×(p−1)=(p−1)2
3. Total Number of Matrices with det(A) Divisible by p
Adding the results from both cases:
Ndivisible=(2p−1)+(p−1)2=2p−1+p2−2p+1=p2
4. Number of Matrices with det(A) Not Divisible by p
The number of matrices in Tp such that det(A) is not divisible by p is:
N=∣Tp∣−Ndivisible=p3−p2
This corresponds to Option D.