1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

2x2 matrix with factor group elements

  1. Aug 27, 2014 #1
    We fix some [itex]N=1,2,3,\ldots,[/itex] and define the factor group [itex]\mathbb{Z}_N[/itex] as [itex]\mathbb{Z}/N\mathbb{Z}[/itex], and denote the elements [itex]x+N\mathbb{Z}[/itex] as [itex][x][/itex], where [itex]x\in\mathbb{Z}[/itex]. My question is that how do you solve [itex][x_1][/itex] and [itex][x_2][/itex] out of

    \lbrack y_1\rbrack \\ \lbrack y_2\rbrack \\
    = \left(\begin{array}{cc}
    \lbrack a_{11}\rbrack & \lbrack a_{12}\rbrack \\
    \lbrack a_{21}\rbrack & \lbrack a_{22}\rbrack \\
    \lbrack x_1\rbrack \\ \lbrack x_2\rbrack \\

    when [itex][y_1],[y_2],[a_{11}],[a_{12}],[a_{21}],[a_{22}]\in\mathbb{Z}_N[/itex] are known constants.

    First edit:

    To clarify what I mean by "a solution", I'll show a one for the 1x1 case, where we seek to solve [itex][y]=[a][x][/itex].

    If [itex][a]=0[/itex] and [itex][y]\neq 0[/itex], then there are no solutions.

    If [itex][a]=0[/itex] and [itex][y]=0[/itex], then all [itex][x]\in\mathbb{Z}_N[/itex] are solutions, and the number of different solutions is [itex]N[/itex].

    If [itex][a]\neq 0[/itex], we choose representatives [itex]a,y\in\mathbb{Z}[/itex] such that [itex]0<a<N[/itex] and [itex]0\leq y<N[/itex].

    If [itex]\textrm{gcd}(a,N)[/itex] does not divide [itex]y[/itex], then there are no solutions.

    If [itex]\textrm{gcd}(a,N)[/itex] divides [itex]y[/itex], then a solution exists, and the number of different solutions [itex][x]\in\mathbb{Z}_N[/itex] is [itex]\textrm{gcd}(a,N)[/itex]. So the solution is unique only if [itex]\textrm{gcd}(a,N)=1[/itex].

    Above we interpret that if [itex]y=0[/itex], then [itex]\textrm{gcd}(a,N)[/itex] divides [itex]y[/itex].

    The whole thing is surprisingly complicated, considering how simple the formula [itex][y]=[a][x][/itex] looks. So I would be expecting something similar, but more complicated for the 2x2 case. The greatest common divisor of [itex]a_{11}a_{22} - a_{12}a_{21}[/itex] with something is probably related to the solution?

    Of course the problem is not really to write down an algorithm that would "solve" the problem, because that would be trivial. We could write a program that goes through all the [itex]N^2[/itex] possibilities for [itex]([x_1],[x_2])[/itex], and checks which one of them work. I'm seeking something reasonably analytic.

    Second edit:

    I think I already realized how the problem gets solved, and I probably spent more time describing the problem than solving it, which is peculiar of course... I haven't solved the whole thing yet fully though.
    Last edited: Aug 27, 2014
  2. jcsd
  3. Aug 28, 2014 #2

    Stephen Tashi

    User Avatar
    Science Advisor

    Giving the problem a technical name, I'd called it "solving simultaneous linear equations in a finite field".

    A useful digression would be to ask: What's the rellation between the solutions to to simultaneous linear Diophantine equations and the soluitons to linear equations in a finite field?
  4. Sep 4, 2014 #3
    What? Original poster didn’t say N must be prime. One can solve linear systems over rings with zero divisors (Ī mean ℤN for composite N), but it is a theory different from linear algebra over a field. Even solving one linear equation is a non-trivial problem since we, in general, can’t divide.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook