Chinese Remainder Theorem Example
When solving a linear congruence with a large moduli it is sometimes useful to reduce the linear congruence to a system of linear congruences with smaller moduli.
(1) Proposition (Chinese Remainder Theorem) Suppose
...,
are pairwise relatively prime positive integers.
Then the system of congruences
has a unique solution modulo
(2) Example (Chinese Remainder Theorem) Solve the linear system of congruences
Solution. Since
and
we find integers
and
such that
We find
and
since
Therefore, we use
![chinese remainder theorem example _gr_16.gif]](pages/chinese-remainder-theorem-example/Images/chinese-remainder-theorem-example_gr_16.gif)
![chinese remainder theorem example _gr_17.gif]](pages/chinese-remainder-theorem-example/Images/chinese-remainder-theorem-example_gr_17.gif) Therefore,
is the solution to the systems of congruence equations.
(3) Example (Chinese Remainder Theorem) Solve the linear system of congruences
Solution. We find
and we use a table to construct the solution.
![chinese remainder theorem example _gr_22.gif]](pages/chinese-remainder-theorem-example/Images/chinese-remainder-theorem-example_gr_22.gif)
So the solution is
(4) Example (Chinese Remainder Theorem) Solve the linear system of congruences
Solution. We find
and we use a table to construct the solution.
![chinese remainder theorem example _gr_27.gif]](pages/chinese-remainder-theorem-example/Images/chinese-remainder-theorem-example_gr_27.gif)
So the solution is
(5) Example (Chinese Remainder Theorem) Solve the linear system of congruences
Solution. We find
and we use a table to construct the solution.
![chinese remainder theorem example _gr_32.gif]](pages/chinese-remainder-theorem-example/Images/chinese-remainder-theorem-example_gr_32.gif)
So the solution is
(6) Example (Chinese Remainder Theorem) Solve the linear system of congruences
Solution. We find
and we use a table to construct the solution.
![chinese remainder theorem example _gr_37.gif]](pages/chinese-remainder-theorem-example/Images/chinese-remainder-theorem-example_gr_37.gif)
So the solution is
(7) Proposition (Chinese Remainder Theorem) Suppose
...,
are relatively prime positive integers and that
for each
Then the system of congruences
has a unique solution modulo
(8) Example (Chinese Remainder Theorem) Solve the linear systems of congruences
Solution. We find
and we use a table to construct the solution.
![chinese remainder theorem example _gr_49.gif]](pages/chinese-remainder-theorem-example/Images/chinese-remainder-theorem-example_gr_49.gif) The solution is
Linear Congruence Reduction.
Let
be the unique factorization of
Then the linear congruence
has the same set of solutions as the system of simultaneous congruences
![chinese remainder theorem example _gr_55.gif]](pages/chinese-remainder-theorem-example/Images/chinese-remainder-theorem-example_gr_55.gif)
As consequence of the fundamental theorem of arithmetic,
if and only if
for each
This follows easily since, for some integer
![chinese remainder theorem example _gr_60.gif]](pages/chinese-remainder-theorem-example/Images/chinese-remainder-theorem-example_gr_60.gif)
for each
Hence,
if and only if all of the congruences
![chinese remainder theorem example _gr_63.gif]](pages/chinese-remainder-theorem-example/Images/chinese-remainder-theorem-example_gr_63.gif)
also hold.
It follows that
![chinese remainder theorem example _gr_64.gif]](pages/chinese-remainder-theorem-example/Images/chinese-remainder-theorem-example_gr_64.gif)
has the same set of solutions as the system of simultaneous congruences
.
(9) Example (Chinese Remainder Theorem) Solve the linear congruence
![chinese remainder theorem example _gr_67.gif]](pages/chinese-remainder-theorem-example/Images/chinese-remainder-theorem-example_gr_67.gif)
Solution. Since
this congruence may be replaced by the system
![chinese remainder theorem example _gr_69.gif]](pages/chinese-remainder-theorem-example/Images/chinese-remainder-theorem-example_gr_69.gif)
We find
and we use a table to construct the solution.
![chinese remainder theorem example _gr_71.gif]](pages/chinese-remainder-theorem-example/Images/chinese-remainder-theorem-example_gr_71.gif) The solution is
(10) Example (Linear Congruence Reduction) Solve the congruence
Solution.
Since
this congruence may be replaced by the system
![chinese remainder theorem example _gr_76.gif]](pages/chinese-remainder-theorem-example/Images/chinese-remainder-theorem-example_gr_76.gif)
We find
and we use a table to construct the solution.
![chinese remainder theorem example _gr_78.gif]](pages/chinese-remainder-theorem-example/Images/chinese-remainder-theorem-example_gr_78.gif) The solution is
A Beginner's Guide to Constructing the Universe: Mathematical Archetypes of N...
 List Price: $18.95 Buy New: $10.45 You Save: $8.50 (45%) New (37) Used (28) from $8.49The Universe May Be a Mystery,But It's No SecretMichael Schneider leads us on a spectacular, lavishly illustrated journey along the numbers one through ten to explore the mathematical principles made visible (more)
|
Bayesian Computation with R (Use R)
 List Price: $49.95 Buy New: $33.51 You Save: $16.44 (33%) New (32) Used (8) from $33.51There has been a dramatic growth in the development and application of Bayesian inferential methods. Some of this growth is due to the availability of powerful simulation-based algorithms to summarize (more)
|
e: The Story of a Number
 List Price: $19.95 Buy New: $8.23 You Save: $11.72 (59%) New (42) Used (32) Collectible (1) from $3.25The interest earned on a bank account, the arrangement of seeds in a sunflower, and the shape of the Gateway Arch in St. Louis are all intimately connected with the mysterious number e. In this informal (more)
|
Prime Obsession: Bernhard Riemann and the Greatest Unsolved Problem in Mathem...
 List Price: $16.00 Buy New: $8.91 You Save: $7.09 (44%) New (35) Used (15) from $7.49In 1859, Bernhard Riemann, a little-known thirty-two year old mathematician, made a hypothesis while presenting a paper to the Berlin Academy titled ?On the Number of Prime Numbers Less Than a Given Quantity.? (more)
|
Euler's Gem: The Polyhedron Formula and the Birth of Topology
 List Price: $27.95 Buy New: $17.00 You Save: $10.95 (39%) New (27) Used (3) from $14.99Leonhard Euler's polyhedron formula describes the structure of many objects--from soccer balls and gemstones to Buckminster Fuller's buildings and giant all-carbon molecules. Yet Euler's formula is so (more)
|
Dr. Euler's Fabulous Formula: Cures Many Mathematical Ills
 List Price: $29.95 Buy New: $17.98 You Save: $11.97 (40%) New (36) Used (10) from $17.98I used to think math was no fun'Cause I couldn't see how it was doneNow Euler's my heroFor I now see why zeroEquals e[pi] i+1--Paul Nahin, electrical engineer In the mid-eighteenth century, Swiss-born (more)
|
The Fabulous Fibonacci Numbers
 List Price: $28.98 Buy New: $15.00 You Save: $13.98 (48%) New (35) Used (11) Collectible (1) from $14.50The most ubiquitous, and perhaps the most intriguing, number pattern in mathematics is the Fibonacci sequence. In this simple pattern beginning with two ones, each succeeding number is the sum of the two (more)
|
Killer Poker By the Numbers: Mathematical Edge for Winning Play (Killer Poker)
 List Price: $14.95 Buy New: $7.69 You Save: $7.26 (49%) New (35) Used (13) from $7.69Killer Poker By the Numbers: Mathematical Edge for Winning Play (Killer Poker) (more)
|
Sacred Number: The Secret Quality of Quantities (Wooden Books)
 List Price: $12.00 Buy New: $5.59 You Save: $6.41 (53%) New (30) Used (13) from $5.59Numbers permeate every aspect of our lives; very little happens without a basic ability to manipulate the simple whole numbers we all take for granted. Beautifully illustrated with old engravings as well (more)
|
The Music of the Primes: Searching to Solve the Greatest Mystery in Mathematics
 List Price: $13.95 Buy Used: $0.98 You Save: $12.97 (93%) New (28) Used (29) from $0.98In 1859, German mathematician Bernhard Riemann presented a paper to the Berlin Academy that would forever change the history of mathematics. The subject was the mystery of prime numbers. At the heart of (more)
|
Cite this as: Chinese Remainder Theorem Example Published by Library of Math -- Online math organized by subject into topics.
Written by Smith, David A.
http://www.libraryofmath.com/chinese-remainder-theorem-example.html
|