Counting invertible matrices of 2x2 provided Zn

In summary, the forum member is struggling to count all the invertible 2x2 matrices in the finite field Z32. They have attempted to use a strategy of calculating all possible matrices and subtracting those with a determinant of zero. They have also researched the topic and attempted to use a program, but are unsure if their results are correct. They have found information on the General Linear Group, but are unfamiliar with group theory. They are also unsure if it is possible to count the matrices without using a computer. The correct answer is estimated to be (3/8)*32^4.
  • #1
bsc.j.j.w
3
0
Dear forum members,

I have a small problem counting all the invertible matrices of the size 2x2 providing [itex]\mathbb{Z}_{n}[/itex]. This problem was difficult for me so I decided to go on counting how many invertible 2x2 matrices there are for [itex]n=32[/itex]. My strategy to solve the problem was first by calculating all possible matrices and then subtracting all the matrices for which the deteminant is equal to zero.

Given matrix [itex]\begin{pmatrix}a_{1,1} & a_{1,2} \\ a_{2,1} & a_{2,2}\end{pmatrix}[/itex] in [itex]\mathbb{Z}_{32}[/itex], there are [itex]32^4[/itex] possible matrices.

The cases in which the determinant is equal to zero are:

If [itex]a_{1,1} = 0, a_{1,2} = 0, a_{2,1}=0, a_{2,2}=0[/itex], which is eqaul to one case.

If there are three elements equal to zero and one not, the possibilities of that are [itex]{4 choose 3} \cdot 32[/itex].

If there are two elements equal to zero, provided they are not diagonally of each other ([itex](a_{1,1} = 0 \vee a_{2,2} = 0) \wedge (a_{1,2} = 0 \vee a_{2,1} = 0)[/itex]), the number of possibilities of that are [itex]({4 \choose 2} - 2) \cdot 32^2[/itex].

Now how can I continue to calculate the other number of possibilities? I am not sure how can I count the possibilities when [itex]a_{1,1} \cdot a_{2,2} = a_{1,2} \cdot a_{2,1}[/itex].

I have already searched the forum, there was I think one similar case (see: showthread.php?t=470215), but there [itex]r[/itex] is a prime and I don't actually get how they suddenly got to that formula, furtheremore the comments suggest that the question is ill-formulated.

Furthermore I have made a small program capable of finding the solution of all non-invertible matrices for this question, however strangely it came up with the answer 7600, which is too low I think, but correct me if I'm wrong. It's written in JAVA.

Thank you for your responses!

PS: I cannot post links, so I post a partial link, the begin section should be equal to the link of this forum. If anyone would like to see the program, the pastebin code is 01uKfAKF.
 
Physics news on Phys.org
  • #2
I have another clue. I found that this has something to do with General Linear Group, however I am unfamiliar with group theory. Even though the lack of understanding of group theory, I came across the explanation of how to count invertible matrices.

There are accordingly to Wikipedia [itex](q^n-1)(q^n-q)...[/itex] invertible matrices. However I do not understand one small thing, how come there are exactly q possibilities in which the second column can be linearly dependent of the previous column? I understand that the first column cannot be zero, hence the -1.

PS: I'm definately sure my program is somehow wrong :(, as [itex]32^4 - 7600[/itex] is way off the answer I got from apply the formula from the wikipedia page.
 
  • #3
There's another problem with your example. The wiki article is about matrices over finite fields. Z32 isn't a field. You can't generally divide in it. For example, 2x=1 has no solution, so you can't divide by 2.
 
  • #4
So, if I continue with my reasoning as with my first post, how should I continue? And is this countable without using computer programs?

The answer should be (3/8)*32^4.
 
Last edited:
  • #5
bsc.j.j.w said:
So, if I continue with my reasoning as with my first post, how should I continue? And is this countable without using computer programs?

The answer should be (3/8)*32^4.

I don't know offhand. Are you sure you are counting them right with a computer? The matrix [[2,0],[0,1]] is not invertible in Z32, even though it has a nonzero determinant.
 

FAQ: Counting invertible matrices of 2x2 provided Zn

How do you define an invertible matrix of 2x2?

An invertible matrix of 2x2 is a square matrix with a determinant that is not equal to zero. This means that the matrix is non-singular and has a unique inverse.

2. What is the significance of counting invertible matrices of 2x2?

Counting invertible matrices of 2x2 can help us understand the properties and behavior of matrices, which are essential in many areas of mathematics and science. Additionally, counting these matrices can provide insights into the structure of a given set of matrices.

3. How do you count the number of invertible matrices of 2x2 in a given set?

The number of invertible matrices of 2x2 in a given set can be counted using the formula n^2 - (n-1)^2, where n is the order of the set. For example, if the set is Zn, the formula becomes n^2 - (n-1)^2 = n^2 - (n^2 - 2n + 1) = 2n - 1.

4. Can you explain the concept of Zn in relation to counting invertible matrices of 2x2?

Zn refers to the set of integers modulo n, which is a set of numbers from 0 to n-1. In the context of counting invertible matrices of 2x2, Zn represents the number of possible values for the entries of the matrix. For example, if n=3, the entries of the matrix can only be 0, 1, or 2, resulting in 3^2 = 9 possible matrices.

5. What are some real-world applications of counting invertible matrices of 2x2?

Counting invertible matrices of 2x2 can be applied in various fields such as coding theory, cryptography, and linear algebra. In coding theory, invertible matrices are used to encode and decode information. In cryptography, they are used to create secure encryption methods. In linear algebra, invertible matrices are used to solve systems of linear equations and to find the inverse of a given matrix.

Back
Top