High School Solve Ax ≡ B mod C w/ Bezout's Identity

  • Thread starter Thread starter TMO
  • Start date Start date
  • Tags Tags
    Turning
Click For Summary
SUMMARY

The discussion focuses on solving the modular equation ax ≡ b mod c using Bezout's Identity and the extended Euclidean algorithm. It is established that if gcd(a, c) divides b, the equation can be transformed by dividing all terms by gcd(a, b) to yield a' x ≡ b' mod c' where gcd(a', b') = 1. This transformation allows for the application of the extended Euclidean algorithm to find integer solutions.

PREREQUISITES
  • Understanding of modular arithmetic
  • Familiarity with Bezout's Identity
  • Knowledge of the extended Euclidean algorithm
  • Concept of greatest common divisor (gcd)
NEXT STEPS
  • Study the properties of modular arithmetic in depth
  • Learn the steps of the extended Euclidean algorithm
  • Explore applications of Bezout's Identity in number theory
  • Practice solving linear congruences with various examples
USEFUL FOR

Mathematicians, computer scientists, and students studying number theory or cryptography who need to solve linear congruences and understand modular equations.

TMO
Messages
45
Reaction score
1
This is a very obvious question, but I am having trouble concentrating. Let ax ≡ b mod c and let gcd(a, c) | b. How do I convert this equation into Bezout's identity so that I can use the extended Euclidean algorithm?
 
Physics news on Phys.org
TMO said:
This is a very obvious question, but I am having trouble concentrating. Let ax ≡ b mod c and let gcd(a, c) | b. How do I convert this equation into Bezout's identity so that I can use the extended Euclidean algorithm?
You can divide by ##\operatorname{gcd}(a,b)## all three numbers to get ##a'x \equiv b' \operatorname{mod} c'## with now ##\operatorname{gcd}(a',b')=1## and use the Euclidean division to find ##1=na'+mb'##.

But somehow I'm not sure whether you meant this or something else.
 

Similar threads

Replies
1
Views
4K
Replies
5
Views
2K
  • · Replies 18 ·
Replies
18
Views
2K
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 13 ·
Replies
13
Views
7K
  • · Replies 125 ·
5
Replies
125
Views
20K
  • · Replies 2 ·
Replies
2
Views
2K