Modulos with regards to Congruence

  • MHB
  • Thread starter shamieh
  • Start date
In summary, the problem asks to solve the congruence equation $34x \equiv 77 \text{ (mod 89)}$ and the solution can be found using the extended Euclidean algorithm and the multiplicative inverse of 34 mod 89, which is 55. The solution is $x \equiv 52 \text{ (mod 89)}$.
  • #1
shamieh
539
0
Can someone explain to me what exactly is taking place on Section 4.4 Problem 6b) in the reversing part of the problem? I understand the first part - that's easy, but I have no idea what is going on in the reversing part of the problem. Thanks in advance.

Here is a link instead of me typing tediously:
The problem reads:
Solve $34x ≡ 77 (mod 89)$
http://www.cs.ucsb.edu/~omer/cs40/hw4_solutions.pdf
 
Physics news on Phys.org
  • #2
shamieh said:
Can someone explain to me what exactly is taking place on Section 4.4 Problem 6b) in the reversing part of the problem? I understand the first part - that's easy, but I have no idea what is going on in the reversing part of the problem. Thanks in advance.

Here is a link instead of me typing tediously:
The problem reads:
Solve $34x ≡ 77 (mod 89)$
http://www.cs.ucsb.edu/~omer/cs40/hw4_solutions.pdf

A congruence equation of the type...

$\displaystyle n\ x \equiv m\ \text{mod}\ p\ (1)$

... is solved as follows... indicating with $n^{-1}$ the multiplicative inverse of n mod p [if it exists...], You have...

$\displaystyle n\ n^{-1} x = x \equiv m\ n^{-1}\ \text{mod}\ p\ (2)$

You can find $n^{-1}\ \text{mod}\ p$ applying, for example, the extended Euclidean algorithm [see Modular multiplicative inverse - Wikipedia, the free encyclopedia ]... in Your case is n = 34, m = 77 and p = 89, so that is $34^{-1}\ \text{mod}\ 89 = 55$ and the solution is $\displaystyle x \equiv 77 \cdot 55\ \text{mod}\ 89 = 52$ ...

Kind regards

$\chi$ $\sigma$
 
Last edited:

FAQ: Modulos with regards to Congruence

What is a modulo in relation to congruence?

A modulo, also known as a modulus, is a mathematical operation that calculates the remainder after dividing one number by another. In congruence, it is used to determine if two numbers have the same remainder when divided by a third number.

How is the modulo operation used in congruence proofs?

The modulo operation is used in congruence proofs to show that two numbers are congruent (have the same remainder) when divided by a specific number. This can be helpful in solving equations and proving mathematical theorems.

Can any number be used as the modulus in congruence?

Yes, any positive integer can be used as the modulus in congruence. However, it is most commonly used with prime numbers, as they have unique properties that make them useful in number theory.

How does the concept of congruence relate to modular arithmetic?

Congruence and modular arithmetic are closely related. Modular arithmetic is a system of arithmetic that deals with congruence classes (sets of numbers that have the same remainder when divided by a given number). The modulo operation is an essential part of modular arithmetic.

What are some real-life applications of congruence and modulo?

Congruence and modulo have various applications in fields such as cryptography, computer science, and engineering. For example, they are used in encryption algorithms to ensure the security of data. They are also used in computer graphics to create repeating patterns and in electrical engineering to calculate phase differences in AC circuits.

Back
Top