System of equations using modulo

AI Thread Summary
The discussion focuses on finding the inverse of the matrix \begin{bmatrix} 6 & 17\\ 13 & 21 \end{bmatrix} mod 26 by solving a system of linear equations. The equations derived from the matrix lead to the challenge of dividing 13 mod 26 by 95, which is simplified to solving 17c = 13 mod 26 after reducing 95. The method involves finding the multiplicative inverse of 17 mod 26, leading to the Diophantine equation 17n - 26m = 1. Through the Euclidean algorithm, the solution yields n = 23 mod 26, confirming that 1/17 = 23 mod 26. Ultimately, this allows for the calculation of x, resulting in x = 13 mod 26.
Firestrider
Messages
104
Reaction score
0

Homework Statement


5) Determine the inverse of the matrix \begin{bmatrix}<br /> 6 &amp; 17\\ <br /> 13 &amp; 21<br /> \end{bmatrix} mod 26


Homework Equations



Solve for linear system of equations:
6a + 17c = 1 mod 26 6b + 17d = 0 mod 26
13a + 21c = 0 mod 26 13b + 21d = 1 mod 26

The Attempt at a Solution



6 * (13a + 21c) = 6 * (0 mod 26)
- 13 * (6a + 17c) = 13 * (1 mod 26)
--------------------------------------------
78a + 126c = 0 mod 26
- (78a + 221c = 13 mod 26)
--------------------------------------------
95c = 13 mod 26



This is where I'm stuck. How do you divide 13 mod 26 by 95?
 
Physics news on Phys.org
Well, first you reduce 95 mod 26: 26 divides into 95 3 times with remainder 17 so 95= 17 (mod 26). Now you want to solve 17c= 13 (mod 26). You want to multiply both sides by the multiplicative inverse of 17 (mod 26). That, of course, would be an integer n such that 17n= 1 (mod 26). And that says that 17n must be one more than a multiple of 26: 17n= 26m+ 1 for some integer m.

Write that as the Diophantine equation 17n- 26m= 1. 17 divides into 26 once with remainder 9: 26- 17= 9. 9 divides into 17 once with remainder 8: 17- 9= 8. And 8 divides into 9 once with remainder 1: 9- 8= 1. Replace the "8" in that last equation with 17- 9: 9- (17- 9)= 2(9)- 17= 1. Replace the "9" in that with 26- 17: 2(26- 17)- 17= 2(26)- 3(17)= 1.

That is, n= -3 and m= -2 will work: 17(-3)- 26(-2)= 2(26)- 3(17)= 1. And, of course, n= -3= 26- 3= 23 (mod 26).

As a check, 23(17)= 442= 391= 390+ 1= 15(26)+ 1= 1 (mod 26).

1/17= 23 (mod 26) so x= 13/17= 13(23)= 299= 11(26)+ 13= 13 (mod 26).
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...

Similar threads

Replies
13
Views
9K
Replies
7
Views
2K
Replies
15
Views
2K
Replies
3
Views
1K
Replies
3
Views
14K
Replies
22
Views
4K
Replies
4
Views
4K
Replies
3
Views
2K
Back
Top