Presentation is loading. Please wait.

Presentation is loading. Please wait.

Congruence and Sets Discrete Structures (CS 173) Madhusudan Parthasarathy, University of Illinois Dali - “The Persistence of Memory” 1.

Similar presentations


Presentation on theme: "Congruence and Sets Discrete Structures (CS 173) Madhusudan Parthasarathy, University of Illinois Dali - “The Persistence of Memory” 1."— Presentation transcript:

1 Congruence and Sets Discrete Structures (CS 173) Madhusudan Parthasarathy, University of Illinois Dali - “The Persistence of Memory” 1

2 Review of Last Class 2

3 Goals of this lecture 3

4 Applications of congruence bitwise operations error checking computing 2D coordinates in images encryption telling time etc. 4

5 Congruence mod k 5

6 Examples of congruent mod k 6 overhead

7 7

8 8

9 9

10 Modulus addition proof 10 overhead

11 11

12 Modulus multiplication proof 12 overhead

13 Equivalence classes with modulus 13

14 Modulus arithmetic 14 overhead

15 RSA Key Generation 15

16 Rationals 16

17 Reals 17

18 Another congruence proof 18 overhead

19 Sets Topics: lists, set builders, tuples vs. sets, equivalence, cardinality, subsets and supersets 19 overhead

20 Things to remember Concept of congruence mod k, it’s definition in terms of divide, and equivalence classes – Many applications in CS The key to modular arithmetic is keeping numbers small Concept of sets and set equivalence 20

21 Thank you Next week: sets and relations 21


Download ppt "Congruence and Sets Discrete Structures (CS 173) Madhusudan Parthasarathy, University of Illinois Dali - “The Persistence of Memory” 1."

Similar presentations


Ads by Google