Let the matrix be (acbd) where each entry comes from the set S={2,3,6,9}.
A 2×2 matrix is singular when its determinant is zero, i.e. when
det(acbd)=ad−bc=0⟺ad=bc.
Thus we must count the ordered quadruples (a,b,c,d)∈S4 satisfying ad=bc.
Step 1 - List every possible ordered pair from S together with its product p=xy.
Because order matters, (x,y) and (y,x) are counted separately.
(x,y)(2,2)(2,3),(3,2)(3,3)(2,6),(6,2)(2,9),(3,6),(6,3),(9,2)(3,9),(9,3)(6,6)(6,9),(9,6)(9,9)p=xy469121827365481
Denote by np the number of ordered pairs (x,y) whose product equals p.
From the table we obtain
n4=1,n6=2,n9=1,n12=2,n18=4,n27=2,n36=1,n54=2,n81=1.
Step 2 - Form the matrix.
For a fixed product p, we can pick (a,d) in np ways and independently pick (b,c) in another np ways, giving np2 matrices with determinant zero corresponding to that product.
Step 3 - Add over all possible products:
Number of singular matrices=∑pnp2
=12+22+12+22+42+22+12+22+12
=1+4+1+4+16+4+1+4+1
=36.
Hence, the total number of singular 2×2 matrices whose elements are chosen from {2,3,6,9} is 36.