Finding the Inverse of a Modular Matrix

  • Thread starter Thread starter roam
  • Start date Start date
  • Tags Tags
    Inverse Matrix
Click For Summary
SUMMARY

The discussion focuses on finding the inverse of a modular matrix, specifically for the values of \( p = 3 \) and \( p = 7 \) with \( a = 10 \). The inverse matrices are derived using the formula \( M^{-1}_{a,p}=\frac{1}{1-(p-1)(10 \bmod\ p)} \begin{bmatrix} 1&-(a \bmod\ p)\\ -(p-1)& 1 \end{bmatrix} \). For \( p = 3 \), the inverse is \( M^{-1}_{10,3}=\begin{bmatrix} 1&2\\ 1& 1 \end{bmatrix} \), and for \( p = 7 \), it is \( M^{-1}_{10,7}=\begin{bmatrix} 5&6\\ 5& 5 \end{bmatrix} \). The calculations confirm the correctness of these inverses.

PREREQUISITES
  • Understanding of modular arithmetic
  • Familiarity with matrix operations and inverses
  • Knowledge of determinants in linear algebra
  • Basic skills in evaluating modular expressions
NEXT STEPS
  • Study the properties of modular inverses in number theory
  • Learn about determinants and their role in matrix inversion
  • Explore applications of modular matrices in cryptography
  • Investigate the use of software tools like MATLAB for matrix computations
USEFUL FOR

Students in linear algebra, mathematicians working with modular systems, and anyone interested in computational methods for matrix inversion.

roam
Messages
1,265
Reaction score
12

Homework Statement



[PLAIN]http://img844.imageshack.us/img844/2975/31668142.gif

The Attempt at a Solution



I know the inverse would be of the form:

[tex]M^{-1}_{a,p}=\frac{1}{1-(p-1)(10 \bmod\ p)} \begin{bmatrix} 1&-(a \bmod\ p)\\ -(p-1)& 1 \end{bmatrix}[/tex]

Where [tex]1-(p-1)(10 \bmod\ p)[/tex] is the determinant. Whatever this equals to, I must find its inverse.

But how does one evaluate [tex]10 \bmod\ p[/tex] and [tex](p-1)[/tex] when [tex]p \in \{ 3,7 \}[/tex]? Do we take '10 mod 7' or '10 mod 3'? :confused: I appreciate if anyone could show me that.
 
Last edited by a moderator:
Physics news on Phys.org
I believe you are supposed to compute two inverses, for p = 3 and for p = 7 (with a = 10 in both cases).
 
losiu99 said:
I believe you are supposed to compute two inverses, for p = 3 and for p = 7 (with a = 10 in both cases).

Are you sure? Because the question apparently asks for one inverse...

But in the case we need 2 inverses

10 mod 3 = 1 & (p-1)=2
10 mod 7 = 3 & (p-1)=6

The inverses will be

[tex]M^{-1}_{10,3}=1^{-1} \begin{bmatrix} 1&-1\\ -2& 1 \end{bmatrix}[/tex]

[tex]M^{-1}_{10,7}=3^{-1} \begin{bmatrix} 1&-3\\ -6& 1 \end{bmatrix}[/tex]

Inverse of 1 is 1, and the inverse of 3 is 5 [since (3.5) mod 7 = 1]. When the arithmetic is done modulo 3 and modulo 7 respectively the inverse matrices are:

[tex]M^{-1}_{10,3}=\begin{bmatrix} 1&2\\ 1& 1 \end{bmatrix}[/tex]

[tex]M^{-1}_{10,3}=\begin{bmatrix} 5.1&5.4\\ 5.1& 5.1 \end{bmatrix}[/tex][tex]=\begin{bmatrix} 5&6\\ 5& 5 \end{bmatrix}[/tex]

Is this correct then?
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K