1

Find the number of $2\times2$ reversible matrices $A$ whose elements range in $\Bbb Z/3\Bbb Z$ such that $A^{50}\equiv I_2\pmod3$.

I used python to find the answer.

Here is the result: $$\begin{bmatrix} -1 & -1 \\ 0 & 1 \\ \end{bmatrix} \begin{bmatrix} -1 & 0 \\ -1 & 1 \\ \end{bmatrix} \begin{bmatrix} -1 & 0 \\ 0 & -1 \\ \end{bmatrix} \begin{bmatrix} -1 & 0 \\ 0 & 1 \\ \end{bmatrix} \begin{bmatrix} -1 & 0 \\ 1 & 1 \\ \end{bmatrix} \begin{bmatrix} -1 & 1 \\ 0 & 1 \\ \end{bmatrix} \begin{bmatrix} 0 & -1 \\ -1 & 0 \\ \end{bmatrix} \begin{bmatrix} 0 & 1 \\ 1 & 0 \\ \end{bmatrix} \begin{bmatrix} 1 & -1 \\ 0 & -1 \\ \end{bmatrix} \begin{bmatrix} 1 & 0 \\ -1 & -1 \\ \end{bmatrix} \begin{bmatrix} 1 & 0 \\ 0 & -1 \\ \end{bmatrix} \begin{bmatrix} 1 & 0 \\ 0 & 1 \\ \end{bmatrix} \begin{bmatrix} 1 & 0 \\ 1 & -1 \\ \end{bmatrix} \begin{bmatrix} 1 & 1 \\ 0 & -1 \\ \end{bmatrix}$$ How do we solve this by hand? (Group theory may or may not be relevant)

youthdoo
  • 1,139
  • the tittle and the post are saying two different things do you mean $A^5$ of $A^{50}$ ? – bml64 Dec 16 '23 at 11:43
  • 1
    The group of reversible matrices over $\Bbb{Z}/3\Bbb{Z}$ has order $(3^2-1)(3^2-3)=48$. And $\gcd(48,50)=2$, so $A^{50}=I_2$ if and only if $A^2=I_2$. This leaves a bit more manageable question. Probably even for python. For example, the characteristic polynomial needs to be one $x^2-1$, $(x-1)^2$, $(x+1)^2$. Of these only the first is at all taxing to list. – Jyrki Lahtonen Dec 16 '23 at 11:51
  • That was supposed to be a hint. Can you do it now? – Jyrki Lahtonen Dec 16 '23 at 11:56
  • @marilou64 Yes. I found and corrected that just a few seconds after submission. It should be correct now. – youthdoo Dec 16 '23 at 12:04
  • @JyrkiLahtonen Thanks. – youthdoo Dec 16 '23 at 12:04
  • @JyrkiLahtonen How did you find the order of $\text{GL}_2(\mathbb Z/3\mathbb Z)$? It looks like some cool combinatorial formula..! I am a beginner and interested to learn; can you link some resource where I can read more about this? – Nothing special Dec 16 '23 at 16:22
  • 1
    See here. That's a frequent question on our site :-) – Jyrki Lahtonen Dec 16 '23 at 20:19

2 Answers2

4

Fleshing out the hint in the comments. This is mostly linear algebra.

A starting point is the observation that $G=GL_2(K), K=\Bbb{Z}/3\Bbb{Z}$, is a group of order $48$. Therefore every element $A\in G$ satisfies the equation $A^{48}=1_G=I_2$. Consequently, you are asking for a list of elements $A\in G$ satisfying $A^2=I_2$.

Linear algebra tells us that the eigenvalues (necessarily in $K$ or its quadratic extension field as we are dealing with 2x2 matrices) of such a matrix $A$ can only be $\pm1$. We deal with the resulting three cases separately, but I begin by showing that $A$ is necessarily diagonalizable. Namely, the identity $$ \vec{x}=\frac12(I_2+A)\vec{x}+\frac12(I_2-A)\vec{x} $$ makes sense for every (column) vector $\vec{x}\in K^2$ because we can divide by $2$. Furthermore, the two vectors on the right hand side are eigenvectors of $A$ belonging to $\lambda=\pm1$ respectively. Hence every vector is a linear combination of eigenvectors, and the first claim follows from this (you may have known this piece already).

On with the cases:

  1. If $\lambda=+1$ is a double eigenvalue, then diagonalizability forces $A=I_2$.
  2. Similarly, if $\lambda=-1$ is a double eigenvalue, then we must have $A=-I_2$.
  3. If both $\pm1$ are eigenvalues, then we know that the characteristic polynomial of $A$ is $\chi_A(x)=(x-1)(x+1)$. For $2\times2$-matrices we have the useful formula $$\chi_A(x)=\det(xI_2-A)=x^2-tr(A)x+\det A.$$ This means that the trace (=the sum of diagonal entries) of $A$ must vanish, and that the determinant must be equal to $-1$. What's more, these necessary conditions are also sufficient, as any matrix satisfying them shares the characteristic polynomial. So all you need to is to list the matrices with zero trace and determinant $-1$. In particular, the diagonal must be either $(0,0)$, $(1,-1)$ or $(-1,1)$, and the determinant then constrains the off-diagonal entries in a way that makes writing down the list by hand rather straight forward.
Jyrki Lahtonen
  • 133,153
1

HINT:

Any $n\times n$ matrix $A$ satisfies an equation of degree $n$ ( its characteristic equation) : $P(A)=0$. If it satisfies another equation $Q(A)=0$, then $D(A)=0$, where $D = \gcd(P,Q)$. But note that $D$ is of degree $\le n$ and divides $Q$.

Now, $x^{50}-1$ has only one factor of degree $\le 2$, $x^2-1$. Reduce to $A^2-1=0$, a problem that was seen before

orangeskid
  • 53,909