2x2 matrix with factor group elements

  • Context: Graduate 
  • Thread starter Thread starter jostpuur
  • Start date Start date
  • Tags Tags
    Elements Group Matrix
Click For Summary
SUMMARY

This discussion focuses on solving simultaneous linear equations in the context of the factor group \(\mathbb{Z}_N\), defined as \(\mathbb{Z}/N\mathbb{Z}\). The original poster explores the conditions under which solutions exist for the equation \([y] = [a][x]\) and extends this to a 2x2 matrix case. Key findings include the necessity of the greatest common divisor (gcd) of coefficients and constants, which determines the existence and uniqueness of solutions. The discussion highlights the complexity of solving linear equations over finite fields, particularly when \(N\) is composite.

PREREQUISITES
  • Understanding of factor groups, specifically \(\mathbb{Z}_N\)
  • Knowledge of linear algebra concepts, particularly simultaneous equations
  • Familiarity with greatest common divisor (gcd) and its implications in modular arithmetic
  • Basic understanding of finite fields and their properties
NEXT STEPS
  • Study the properties of linear equations in finite fields, focusing on \(\mathbb{Z}_N\)
  • Learn about the application of gcd in solving linear Diophantine equations
  • Explore algorithms for solving simultaneous linear equations in modular arithmetic
  • Investigate the differences between linear algebra over fields and rings with zero divisors
USEFUL FOR

Mathematicians, computer scientists, and students studying algebra, particularly those interested in modular arithmetic and linear algebra applications in finite fields.

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

<br /> \left(\begin{array}{c}<br /> \lbrack y_1\rbrack \\ \lbrack y_2\rbrack \\<br /> \end{array}\right)<br /> = \left(\begin{array}{cc}<br /> \lbrack a_{11}\rbrack &amp; \lbrack a_{12}\rbrack \\<br /> \lbrack a_{21}\rbrack &amp; \lbrack a_{22}\rbrack \\<br /> \end{array}\right)<br /> \left(\begin{array}{c}<br /> \lbrack x_1\rbrack \\ \lbrack x_2\rbrack \\<br /> \end{array}\right)<br />

when [y_1],[y_2],[a_{11}],[a_{12}],[a_{21}],[a_{22}]\in\mathbb{Z}_N 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 [y]=[a][x].

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

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

If [a]\neq 0, we choose representatives a,y\in\mathbb{Z} such that 0&lt;a&lt;N and 0\leq y&lt;N.

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

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

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

The whole thing is surprisingly complicated, considering how simple the formula [y]=[a][x] looks. So I would be expecting something similar, but more complicated for the 2x2 case. The greatest common divisor of a_{11}a_{22} - a_{12}a_{21} 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 N^2 possibilities for ([x_1],[x_2]), 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:
Physics news on Phys.org
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?
 
Stephen Tashi said:
Giving the problem a technical name, I'd called it "solving simultaneous linear equations in a finite field".

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.
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 34 ·
2
Replies
34
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K