1 / 5

Congruences (2/17)

Congruences (2/17). If m (the modulus ) is positive and if a and b are integers, then we say a is congruent to b mod m , writing a  b (mod m ) , provided that m | ( b – a ).

denis
Download Presentation

Congruences (2/17)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Congruences (2/17) • If m (the modulus) is positive and if a and b are integers, then we say a is congruent to b mod m, writing a b (mod m),provided that m | (b – a). • Again, this says that a and b have the same remainder r upon division by m, where 0 ≤ r < m, and of course a r(mod m) and b r(mod m). • Congruences “respect” addition, subtraction and multiplication, i.e., if a1 b1(mod m)and a2 b2(mod m), then (1) a1 a2 b1b2(mod m)(proof?), and (2) a1a2 b1b2 (mod m) (proof??)

  2. However, Watch Out for Division • Division (i.e. cancellation) may not work! • Example (2)(6)  (2)(8) (mod 4), but 6  8 (mod 4) • Guess what’s wrong here. • In regular integer (i.e., Diophantine) equations, you can cancel provided what? • So what will be the corresponding condition in congruences? Proof??

  3. Solving Linear Congruences • Suppose we have a congruence which contains a variable x which is linear in x. Then by adding, subtracting and multiplying, we can simplify this congruence to the form ax c (mod m) and we seek x. How do we find it? • By the solutions to a congruence of any kind, we shall mean solutions which are not congruent to each other (mod m), and in general we list them in their “smallest” form, i.e., so that they all satisfy 0 ≤ x0< m. • Hence a nice thing about congruences is that there are at most m solutions, i.e., we can do “guess and check” on a finite set!

  4. Some Examples • Simply using guess and check, find all solutions of the following linear congruencesax c (mod m) : • 3x 5 (mod 6) • 3x  9 (mod 6) • 5x  4 (mod 6) • 4x 12 (mod 8) • 12x  15 (mod 100) (Be more clever. Think even and odd.) • What patterns can we discern as to the number of solutions which occur? • Hint: It has to do with the GCD(a, m) and whether that number divides c.

  5. Assignment for Wednesday • Hand-in #2 is due. • Read Chapter 8 to the top of page 60.

More Related