SlideShare a Scribd company logo
Properties of
Congruences
If a =b mod m, a EZb mod n, and m and n are relatively prime, then
a -b mod mn. (See Property 5 of divisibility in 51.2.)
Proposition 1.3.1. The elements of Z/nsZ which have multiplicative
inverses are those which are relativelyprime to m, i.e., the numbers a for
which there exists b with ab z 1 mod m are precisely those a for
which g.c.d.(a, m) = 1. In addition, if g.c.d.(a,nt) = 1, then such an inverse
b can be found in 0(log3m) bit operations.
Proof. First, if d = g.c.d.(a,m) were greater than 1, we could not have
ab -1 mod m for any b, because that would irrlply that d divides ah - 1
and hence divides 1. Conversely, if g.c.d.(a,rn) = 1, then by Property 2
above we may suppose that a < m. Then, by Proposition 1.2.2, there exist
integers u and v that can be found in 0(log"7n) bit operations for which
ua +vm = 1. Choosing b = u, we see that m(1- UCL= 1 - ab, as desired.
Remark. If g.c.d.(a, m) = 1, then by rlcgabive powers a-n mod rn we
mean the n-th power of the inverse residue class, i.e., it is represented by
the n-th power of any integer b for which ah = 1 mod m.
Example 1. Find 160-' mod 841, i.e., the inverse of 160 modulo 841.
which g.c.d.(a, m) = 1. In addition, if g.c.d.(a,nt) = 1, then such an inverse
b can be found in 0(log3m) bit operations.
Proof. First, if d = g.c.d.(a,m) were greater than 1, we could not have
ab -1 mod m for any b, because that would irrlply that d divides ah - 1
and hence divides 1. Conversely, if g.c.d.(a,rn) = 1, then by Property 2
above we may suppose that a < m. Then, by Proposition 1.2.2, there exist
integers u and v that can be found in 0(log"7n) bit operations for which
ua +vm = 1. Choosing b = u, we see that m(1- UCL= 1 - ab, as desired.
Remark. If g.c.d.(a, m) = 1, then by rlcgabive powers a-n mod rn we
mean the n-th power of the inverse residue class, i.e., it is represented by
the n-th power of any integer b for which ah = 1 mod m.
Example 1. Find 160-' mod 841, i.e., the inverse of 160 modulo 841.
Solution. By Exercise 6(c) of the last section, the answer is 205.
Corollary 1. If p is a prime number, then every nonzero residue class
has a multiplicative inverse which can be found in U(log") bit operations.
If p is prime, then every nonzero residue class has a multiplicative
inverse which can be found in 𝑂(log! 𝑝) bit operations.
Suppose we want to solve a linear congruence 𝑎𝑥 ≡ 𝑏 𝑚𝑜𝑑 𝑚, where
without loss of generality, we may assume that 0 ≤ 𝑎, 𝑏 < 𝑚. First,
if gcd 𝑎, 𝑚 = 1, then there is a solution 𝑥" which can be found in
𝑂(log! 𝑚) bit operations, and all solutions are of the form 𝑥 = 𝑥" + 𝑚𝑛
for n an integer. Next, suppose that d = gcd 𝑎, 𝑚 . There exists a
solution if and only if 𝑑|𝑏, and in that case our congruence is
equivalent (in the sense of having the same solutions) to the
congruence 𝑎′𝑥 ≡ 𝑏′ 𝑚𝑜𝑑 𝑚′ : where 𝑎!
=
"
#
, 𝑏!
=
$
#
, 𝑚!
=
%
#
.
Now suppose that d = gcd 𝑎, 𝑚 . We need to prove that There
exists a solution if and only if 𝑑|𝑏, and in that case our
congruence is equivalent to the congruence 𝑎′𝑥 ≡ 𝑏′ 𝑚𝑜𝑑 𝑚′ :
where 𝑎!
=
"
#
, 𝑏!
=
$
#
, 𝑚!
=
%
#
.
Systems of congruence
Systems of congruence

More Related Content

What's hot

Physical Chemistry Homework Help
Physical Chemistry Homework HelpPhysical Chemistry Homework Help
Physical Chemistry Homework Help
Edu Assignment Help
 
Limits
LimitsLimits
Limits
sarcia
 
Limits And Derivative
Limits And DerivativeLimits And Derivative
Limits And Derivative
Ashams kurian
 
Heuristics for counterexamples to the Agrawal Conjecture
Heuristics for counterexamples to the Agrawal ConjectureHeuristics for counterexamples to the Agrawal Conjecture
Heuristics for counterexamples to the Agrawal Conjecture
Amshuman Hegde
 
Limit and continuity (2)
Limit and continuity (2)Limit and continuity (2)
Limit and continuity (2)
Digvijaysinh Gohil
 
Convergence methods for approximated reciprocal and reciprocal-square-root
Convergence methods for approximated reciprocal and reciprocal-square-rootConvergence methods for approximated reciprocal and reciprocal-square-root
Convergence methods for approximated reciprocal and reciprocal-square-root
Keigo Nitadori
 
Optimization
OptimizationOptimization
Optimization
Springer
 
Lesson 5: Continuity
Lesson 5: ContinuityLesson 5: Continuity
Lesson 5: Continuity
Matthew Leingang
 
Limits
LimitsLimits
Limits
admercano101
 
A210106
A210106A210106
Pertemuan 3
Pertemuan 3Pertemuan 3
Pertemuan 3
Aswar Amiruddin
 
Polytopes inside polytopes
Polytopes inside polytopesPolytopes inside polytopes
Polytopes inside polytopes
Pantelis Sopasakis
 
Lemh1a1
Lemh1a1Lemh1a1
Roll's theorem
Roll's theoremRoll's theorem
Roll's theorem
Md. Mizanur Rahaman
 
Joint variation
Joint variationJoint variation
Joint variation
MartinGeraldine
 
Limits BY ATC
Limits BY ATCLimits BY ATC
Exam 3 Math 189
Exam 3 Math 189Exam 3 Math 189
Exam 3 Math 189
Tyler Murphy
 
Sol3
Sol3Sol3

What's hot (18)

Physical Chemistry Homework Help
Physical Chemistry Homework HelpPhysical Chemistry Homework Help
Physical Chemistry Homework Help
 
Limits
LimitsLimits
Limits
 
Limits And Derivative
Limits And DerivativeLimits And Derivative
Limits And Derivative
 
Heuristics for counterexamples to the Agrawal Conjecture
Heuristics for counterexamples to the Agrawal ConjectureHeuristics for counterexamples to the Agrawal Conjecture
Heuristics for counterexamples to the Agrawal Conjecture
 
Limit and continuity (2)
Limit and continuity (2)Limit and continuity (2)
Limit and continuity (2)
 
Convergence methods for approximated reciprocal and reciprocal-square-root
Convergence methods for approximated reciprocal and reciprocal-square-rootConvergence methods for approximated reciprocal and reciprocal-square-root
Convergence methods for approximated reciprocal and reciprocal-square-root
 
Optimization
OptimizationOptimization
Optimization
 
Lesson 5: Continuity
Lesson 5: ContinuityLesson 5: Continuity
Lesson 5: Continuity
 
Limits
LimitsLimits
Limits
 
A210106
A210106A210106
A210106
 
Pertemuan 3
Pertemuan 3Pertemuan 3
Pertemuan 3
 
Polytopes inside polytopes
Polytopes inside polytopesPolytopes inside polytopes
Polytopes inside polytopes
 
Lemh1a1
Lemh1a1Lemh1a1
Lemh1a1
 
Roll's theorem
Roll's theoremRoll's theorem
Roll's theorem
 
Joint variation
Joint variationJoint variation
Joint variation
 
Limits BY ATC
Limits BY ATCLimits BY ATC
Limits BY ATC
 
Exam 3 Math 189
Exam 3 Math 189Exam 3 Math 189
Exam 3 Math 189
 
Sol3
Sol3Sol3
Sol3
 

Similar to Systems of congruence

UNIT III.pptx
UNIT III.pptxUNIT III.pptx
UNIT III.pptx
UmeshReddy49
 
Algebraic Number Theory
Algebraic Number Theory Algebraic Number Theory
Algebraic Number Theory
RajalakshmiRajalaksh5
 
Algebraic Number Theory
Algebraic Number Theory Algebraic Number Theory
Algebraic Number Theory
AHELENSHOBANA
 
Ch4.pdf
Ch4.pdfCh4.pdf
Ch4.pdf
SnehSinha6
 
Solving Linear Equations Over p-Adic Integers
Solving Linear Equations Over p-Adic IntegersSolving Linear Equations Over p-Adic Integers
Solving Linear Equations Over p-Adic Integers
Joseph Molina
 
Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...
Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...
Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...
Aladdinew
 
Probability theory
Probability theoryProbability theory
Probability theory
warwickmorsesociety
 
DAA - UNIT 4 - Engineering.pptx
DAA - UNIT 4 - Engineering.pptxDAA - UNIT 4 - Engineering.pptx
DAA - UNIT 4 - Engineering.pptx
vaishnavi339314
 
Proof of Beal's conjecture
Proof of Beal's conjecture Proof of Beal's conjecture
Proof of Beal's conjecture
nikos mantzakouras
 
Number theory
Number theoryNumber theory
Number theory
manikanta361
 
Programming Exam Help
Programming Exam Help Programming Exam Help
Programming Exam Help
Programming Exam Help
 
Complex analysis notes
Complex analysis notesComplex analysis notes
Complex analysis notes
Prakash Dabhi
 
1609 probability function p on subspace of s
1609 probability function p on subspace of s1609 probability function p on subspace of s
1609 probability function p on subspace of s
Dr Fereidoun Dejahang
 
Daa chapter8
Daa chapter8Daa chapter8
Daa chapter8
B.Kirron Reddi
 
Number theory
Number theoryNumber theory
Number theory
dhivyakesavan3
 
Topic
TopicTopic
Math Assignment Help
Math Assignment HelpMath Assignment Help
Math Assignment Help
Math Homework Solver
 
Number theory
Number theoryNumber theory
Number theory
cherrymer molina
 
GTR final project
GTR final projectGTR final project
GTR final project
ChemistMikeLam
 
Ch08
Ch08Ch08

Similar to Systems of congruence (20)

UNIT III.pptx
UNIT III.pptxUNIT III.pptx
UNIT III.pptx
 
Algebraic Number Theory
Algebraic Number Theory Algebraic Number Theory
Algebraic Number Theory
 
Algebraic Number Theory
Algebraic Number Theory Algebraic Number Theory
Algebraic Number Theory
 
Ch4.pdf
Ch4.pdfCh4.pdf
Ch4.pdf
 
Solving Linear Equations Over p-Adic Integers
Solving Linear Equations Over p-Adic IntegersSolving Linear Equations Over p-Adic Integers
Solving Linear Equations Over p-Adic Integers
 
Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...
Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...
Solutions Manual for An Introduction To Abstract Algebra With Notes To The Fu...
 
Probability theory
Probability theoryProbability theory
Probability theory
 
DAA - UNIT 4 - Engineering.pptx
DAA - UNIT 4 - Engineering.pptxDAA - UNIT 4 - Engineering.pptx
DAA - UNIT 4 - Engineering.pptx
 
Proof of Beal's conjecture
Proof of Beal's conjecture Proof of Beal's conjecture
Proof of Beal's conjecture
 
Number theory
Number theoryNumber theory
Number theory
 
Programming Exam Help
Programming Exam Help Programming Exam Help
Programming Exam Help
 
Complex analysis notes
Complex analysis notesComplex analysis notes
Complex analysis notes
 
1609 probability function p on subspace of s
1609 probability function p on subspace of s1609 probability function p on subspace of s
1609 probability function p on subspace of s
 
Daa chapter8
Daa chapter8Daa chapter8
Daa chapter8
 
Number theory
Number theoryNumber theory
Number theory
 
Topic
TopicTopic
Topic
 
Math Assignment Help
Math Assignment HelpMath Assignment Help
Math Assignment Help
 
Number theory
Number theoryNumber theory
Number theory
 
GTR final project
GTR final projectGTR final project
GTR final project
 
Ch08
Ch08Ch08
Ch08
 

More from SreejaRamesh2

Syllabus for semester 3: complementary course in maths
Syllabus for semester 3: complementary course in mathsSyllabus for semester 3: complementary course in maths
Syllabus for semester 3: complementary course in maths
SreejaRamesh2
 
Pg s2 11.08.2021 d5 filters
Pg s2 11.08.2021 d5 filtersPg s2 11.08.2021 d5 filters
Pg s2 11.08.2021 d5 filters
SreejaRamesh2
 
Pg s2 30.07.2021 _d1
Pg s2 30.07.2021 _d1Pg s2 30.07.2021 _d1
Pg s2 30.07.2021 _d1
SreejaRamesh2
 
questions on matrices part1
 questions on matrices part1 questions on matrices part1
questions on matrices part1
SreejaRamesh2
 
Prove this proposition:
Prove this proposition: Prove this proposition:
Prove this proposition:
SreejaRamesh2
 
Silver-Pohlig-Hellman Algorithm
Silver-Pohlig-Hellman AlgorithmSilver-Pohlig-Hellman Algorithm
Silver-Pohlig-Hellman Algorithm
SreejaRamesh2
 
Closed sets in metric spaces
Closed sets in metric spacesClosed sets in metric spaces
Closed sets in metric spaces
SreejaRamesh2
 
Continuity- solved problems set 1
Continuity- solved problems set 1Continuity- solved problems set 1
Continuity- solved problems set 1
SreejaRamesh2
 
Roots of Unity & Quadratic residues
Roots of Unity & Quadratic residuesRoots of Unity & Quadratic residues
Roots of Unity & Quadratic residues
SreejaRamesh2
 
finite fields of prime power order
finite fields of prime power orderfinite fields of prime power order
finite fields of prime power order
SreejaRamesh2
 
generator of a finite field exists
generator of a finite field existsgenerator of a finite field exists
generator of a finite field exists
SreejaRamesh2
 
probability of generators
probability  of generatorsprobability  of generators
probability of generators
SreejaRamesh2
 
Topologies on the Set of Real Numbers
Topologies on the Set of Real NumbersTopologies on the Set of Real Numbers
Topologies on the Set of Real Numbers
SreejaRamesh2
 
Echelon form of a matrix
Echelon form of a matrixEchelon form of a matrix
Echelon form of a matrix
SreejaRamesh2
 
python- Variables and data types
python- Variables and data typespython- Variables and data types
python- Variables and data types
SreejaRamesh2
 
python- print function and arithmetic expressions
python- print function and arithmetic expressionspython- print function and arithmetic expressions
python- print function and arithmetic expressions
SreejaRamesh2
 
Basic Topology- Syllabus
Basic Topology- SyllabusBasic Topology- Syllabus
Basic Topology- Syllabus
SreejaRamesh2
 
Elementary Transformations of Matrices
Elementary Transformations of MatricesElementary Transformations of Matrices
Elementary Transformations of Matrices
SreejaRamesh2
 
Rank of a matrix:::Definition
Rank of a matrix:::DefinitionRank of a matrix:::Definition
Rank of a matrix:::Definition
SreejaRamesh2
 
Lagrange's Equation:: Solved Problems Set1
Lagrange's Equation:: Solved Problems Set1Lagrange's Equation:: Solved Problems Set1
Lagrange's Equation:: Solved Problems Set1
SreejaRamesh2
 

More from SreejaRamesh2 (20)

Syllabus for semester 3: complementary course in maths
Syllabus for semester 3: complementary course in mathsSyllabus for semester 3: complementary course in maths
Syllabus for semester 3: complementary course in maths
 
Pg s2 11.08.2021 d5 filters
Pg s2 11.08.2021 d5 filtersPg s2 11.08.2021 d5 filters
Pg s2 11.08.2021 d5 filters
 
Pg s2 30.07.2021 _d1
Pg s2 30.07.2021 _d1Pg s2 30.07.2021 _d1
Pg s2 30.07.2021 _d1
 
questions on matrices part1
 questions on matrices part1 questions on matrices part1
questions on matrices part1
 
Prove this proposition:
Prove this proposition: Prove this proposition:
Prove this proposition:
 
Silver-Pohlig-Hellman Algorithm
Silver-Pohlig-Hellman AlgorithmSilver-Pohlig-Hellman Algorithm
Silver-Pohlig-Hellman Algorithm
 
Closed sets in metric spaces
Closed sets in metric spacesClosed sets in metric spaces
Closed sets in metric spaces
 
Continuity- solved problems set 1
Continuity- solved problems set 1Continuity- solved problems set 1
Continuity- solved problems set 1
 
Roots of Unity & Quadratic residues
Roots of Unity & Quadratic residuesRoots of Unity & Quadratic residues
Roots of Unity & Quadratic residues
 
finite fields of prime power order
finite fields of prime power orderfinite fields of prime power order
finite fields of prime power order
 
generator of a finite field exists
generator of a finite field existsgenerator of a finite field exists
generator of a finite field exists
 
probability of generators
probability  of generatorsprobability  of generators
probability of generators
 
Topologies on the Set of Real Numbers
Topologies on the Set of Real NumbersTopologies on the Set of Real Numbers
Topologies on the Set of Real Numbers
 
Echelon form of a matrix
Echelon form of a matrixEchelon form of a matrix
Echelon form of a matrix
 
python- Variables and data types
python- Variables and data typespython- Variables and data types
python- Variables and data types
 
python- print function and arithmetic expressions
python- print function and arithmetic expressionspython- print function and arithmetic expressions
python- print function and arithmetic expressions
 
Basic Topology- Syllabus
Basic Topology- SyllabusBasic Topology- Syllabus
Basic Topology- Syllabus
 
Elementary Transformations of Matrices
Elementary Transformations of MatricesElementary Transformations of Matrices
Elementary Transformations of Matrices
 
Rank of a matrix:::Definition
Rank of a matrix:::DefinitionRank of a matrix:::Definition
Rank of a matrix:::Definition
 
Lagrange's Equation:: Solved Problems Set1
Lagrange's Equation:: Solved Problems Set1Lagrange's Equation:: Solved Problems Set1
Lagrange's Equation:: Solved Problems Set1
 

Recently uploaded

Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
Kavitha Krishnan
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 

Recently uploaded (20)

Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 

Systems of congruence

  • 2. If a =b mod m, a EZb mod n, and m and n are relatively prime, then a -b mod mn. (See Property 5 of divisibility in 51.2.) Proposition 1.3.1. The elements of Z/nsZ which have multiplicative inverses are those which are relativelyprime to m, i.e., the numbers a for which there exists b with ab z 1 mod m are precisely those a for which g.c.d.(a, m) = 1. In addition, if g.c.d.(a,nt) = 1, then such an inverse b can be found in 0(log3m) bit operations. Proof. First, if d = g.c.d.(a,m) were greater than 1, we could not have ab -1 mod m for any b, because that would irrlply that d divides ah - 1 and hence divides 1. Conversely, if g.c.d.(a,rn) = 1, then by Property 2 above we may suppose that a < m. Then, by Proposition 1.2.2, there exist integers u and v that can be found in 0(log"7n) bit operations for which ua +vm = 1. Choosing b = u, we see that m(1- UCL= 1 - ab, as desired. Remark. If g.c.d.(a, m) = 1, then by rlcgabive powers a-n mod rn we mean the n-th power of the inverse residue class, i.e., it is represented by the n-th power of any integer b for which ah = 1 mod m. Example 1. Find 160-' mod 841, i.e., the inverse of 160 modulo 841.
  • 3. which g.c.d.(a, m) = 1. In addition, if g.c.d.(a,nt) = 1, then such an inverse b can be found in 0(log3m) bit operations. Proof. First, if d = g.c.d.(a,m) were greater than 1, we could not have ab -1 mod m for any b, because that would irrlply that d divides ah - 1 and hence divides 1. Conversely, if g.c.d.(a,rn) = 1, then by Property 2 above we may suppose that a < m. Then, by Proposition 1.2.2, there exist integers u and v that can be found in 0(log"7n) bit operations for which ua +vm = 1. Choosing b = u, we see that m(1- UCL= 1 - ab, as desired. Remark. If g.c.d.(a, m) = 1, then by rlcgabive powers a-n mod rn we mean the n-th power of the inverse residue class, i.e., it is represented by the n-th power of any integer b for which ah = 1 mod m. Example 1. Find 160-' mod 841, i.e., the inverse of 160 modulo 841. Solution. By Exercise 6(c) of the last section, the answer is 205. Corollary 1. If p is a prime number, then every nonzero residue class has a multiplicative inverse which can be found in U(log") bit operations.
  • 4.
  • 5. If p is prime, then every nonzero residue class has a multiplicative inverse which can be found in 𝑂(log! 𝑝) bit operations.
  • 6. Suppose we want to solve a linear congruence 𝑎𝑥 ≡ 𝑏 𝑚𝑜𝑑 𝑚, where without loss of generality, we may assume that 0 ≤ 𝑎, 𝑏 < 𝑚. First, if gcd 𝑎, 𝑚 = 1, then there is a solution 𝑥" which can be found in 𝑂(log! 𝑚) bit operations, and all solutions are of the form 𝑥 = 𝑥" + 𝑚𝑛 for n an integer. Next, suppose that d = gcd 𝑎, 𝑚 . There exists a solution if and only if 𝑑|𝑏, and in that case our congruence is equivalent (in the sense of having the same solutions) to the congruence 𝑎′𝑥 ≡ 𝑏′ 𝑚𝑜𝑑 𝑚′ : where 𝑎! = " # , 𝑏! = $ # , 𝑚! = % # .
  • 7.
  • 8. Now suppose that d = gcd 𝑎, 𝑚 . We need to prove that There exists a solution if and only if 𝑑|𝑏, and in that case our congruence is equivalent to the congruence 𝑎′𝑥 ≡ 𝑏′ 𝑚𝑜𝑑 𝑚′ : where 𝑎! = " # , 𝑏! = $ # , 𝑚! = % # .