mathematical background
play

Mathematical Background Chester Rebeiro March 7, 2017 Modular - PowerPoint PPT Presentation

Mathematical Background Chester Rebeiro March 7, 2017 Modular Arithmetic Division Theorem Let n be a positive integer Let a be any integer a / n leaves a quotient q and remainder r such that a = qn + r 0 r < n ; q = a / n


  1. Mathematical Background Chester Rebeiro March 7, 2017

  2. Modular Arithmetic

  3. Division Theorem ◮ Let n be a positive integer ◮ Let a be any integer ◮ a / n leaves a quotient q and remainder r such that a = qn + r 0 ≤ r < n ; q = ⌊ a / n ⌋ ◮ a is congruent to b modulo m , if a / m leaves a remainder b ◮ we write this as a ≡ b mod m

  4. Division Theorem ◮ Let n be a positive integer ◮ Let a be any integer ◮ a / n leaves a quotient q and remainder r such that a = qn + r 0 ≤ r < n ; q = ⌊ a / n ⌋ ◮ a is congruent to b modulo m , if a / m leaves a remainder b ◮ we write this as a ≡ b mod m ◮ Examples ◮ 13 ≡ 3 mod 5

  5. Division Theorem ◮ Let n be a positive integer ◮ Let a be any integer ◮ a / n leaves a quotient q and remainder r such that a = qn + r 0 ≤ r < n ; q = ⌊ a / n ⌋ ◮ a is congruent to b modulo m , if a / m leaves a remainder b ◮ we write this as a ≡ b mod m ◮ Examples ◮ 13 ≡ 3 mod 5 ◮ 7 ≡ 1 mod 3

  6. Division Theorem ◮ Let n be a positive integer ◮ Let a be any integer ◮ a / n leaves a quotient q and remainder r such that a = qn + r 0 ≤ r < n ; q = ⌊ a / n ⌋ ◮ a is congruent to b modulo m , if a / m leaves a remainder b ◮ we write this as a ≡ b mod m ◮ Examples ◮ 13 ≡ 3 mod 5 ◮ 7 ≡ 1 mod 3 ◮ 23 ≡ − 1 mod 12

  7. Division Theorem ◮ Let n be a positive integer ◮ Let a be any integer ◮ a / n leaves a quotient q and remainder r such that a = qn + r 0 ≤ r < n ; q = ⌊ a / n ⌋ ◮ a is congruent to b modulo m , if a / m leaves a remainder b ◮ we write this as a ≡ b mod m ◮ Examples ◮ 13 ≡ 3 mod 5 ◮ 7 ≡ 1 mod 3 ◮ 23 ≡ − 1 mod 12 ◮ 20 ≡ 0 mod 10

  8. Division Theorem ◮ Let n be a positive integer ◮ Let a be any integer ◮ a / n leaves a quotient q and remainder r such that a = qn + r 0 ≤ r < n ; q = ⌊ a / n ⌋ ◮ a is congruent to b modulo m , if a / m leaves a remainder b ◮ we write this as a ≡ b mod m ◮ Examples ◮ 13 ≡ 3 mod 5 ◮ 7 ≡ 1 mod 3 ◮ 23 ≡ − 1 mod 12 ◮ 20 ≡ 0 mod 10 ◮ If b = 0, we say m divides a . This is denoted m | a

  9. Equivalent Statements All these statments are equivalent ◮ a ≡ b mod m ◮ For some constant k , a = b + km ◮ m | ( a − b ) ◮ When divided by m , a and b leave the same remainder

  10. Equivalence Relations Congruence mod m is an equivalence relation on intergers ◮ Reflexivity : any integer is congruent to itself mod m ◮ Symmetry : a ≡ b ( mod m ) implies that b ≡ a ( mod m ). ◮ Transitivity : a ≡ b ( mod m ) and b ≡ a ( mod m ) implies that a ≡ c ( mod m )

  11. Residue Class It consists of all integers that leave the same remainder when divided by m ◮ The residue classes mod 4 are [0] 4 = { ..., − 16 , − 12 , − 8 , − 4 , 0 , 4 , 8 , 12 , 16 , ... } [1] 4 = { ..., − 15 , − 11 , − 7 , − 3 , 1 , 5 , 9 , 13 , 17 , ... } [2] 4 = { ..., − 14 , − 10 , − 6 , − 2 , 2 , 6 , 10 , 14 , 18 , ... } [3] 4 = { ..., − 13 , − 9 , − 5 , − 1 , 3 , 7 , 11 , 15 , 19 , ... } ◮ The complete residue class mod 4 has one ‘representative’ from each set [0] 4 , [1] 4 , [2] 4 , [3] 4 . This is denoted Z / mZ . ◮ Complete residue Classes for mod 4 : { 0 , 1 , 2 , 3 }

  12. Theorem If a ≡ b ( mod m ) and c ≡ d ( mod m ) then ◮ − a ≡ − b ( mod m ) ◮ a + c ≡ b + d ( mod m ) ◮ ac ≡ bd ( mod m )

  13. Problems to Solve ◮ Prove that 2 32 + 1 is divisible by 641 ◮ Prove that if the sum of all digits in a number is divisible by 9, then the number itself is divisible by 9.

  14. GCD ◮ GCD of two integers is the largest positive integer that divides both numbers without a remainder ◮ Examples ◮ gcd (8 , 12) = 4 ◮ gcd (24 , 18) = 6 ◮ gcd (5 , 8) = 1 ◮ If gcd ( a , b ) = 1 and a ≥ 1 and b ≥ 2, then a and b are said to be relatively prime

  15. Euler-Toient Function ◮ φ ( n ) ◮ Counts the number of integers less than or equal to n that are relatively prime to n ◮ φ (1) = 1 ◮ example : φ (9) = 6

  16. Euler-Toient Function ◮ φ ( n ) ◮ Counts the number of integers less than or equal to n that are relatively prime to n ◮ φ (1) = 1 ◮ example : φ (9) = 6 . . . verify !! ◮ example2 : φ (26) =?

  17. Euler-Toient Function ◮ φ ( n ) ◮ Counts the number of integers less than or equal to n that are relatively prime to n ◮ φ (1) = 1 ◮ example : φ (9) = 6 . . . verify !! ◮ example2 : φ (26) =? . . . 12 ◮ If p is prime, then φ ( p ) = p − 1

  18. Properties of φ ◮ If m and n are relatively prime then φ ( m × n ) = φ ( m ) × φ ( n ) ◮ φ (77) = φ (7 × 11) = 6 × 10 = 60 ◮ φ (1896) = φ (3 × 8 × 79) = 2 × 4 × 78 = 624

  19. More Properties If p is a prime number then, ◮ φ ( p a ) = p a − p a − 1 ◮ Evident for a = 1 ◮ For a > 1, out of the elements 1, 2, · · · p a , the elements p , 2 p , 3 p · · · p a − 2 p are not coprime to p a

  20. More Properties If p is a prime number then, ◮ φ ( p a ) = p a − p a − 1 ◮ Evident for a = 1 ◮ For a > 1, out of the elements 1, 2, · · · p a , the elements p , 2 p , 3 p · · · p a − 2 p are not coprime to p a ◮ φ ( p a ) = p a − p a − 1 = p a (1 − 1 / p )

  21. contd.. 2 · · · p a k ◮ Suppose n = p a 1 1 p a 2 k , where p 1 , p 2 , . . . , p k are primes then ◮ φ ( n ) = φ ( p a 1 1 ) φ ( p a 2 2 ) · · · φ ( p a k k ) = n (1 − 1 / p 1 )(1 − 1 / p 2 ) · · · (1 − 1 / p k )

  22. contd.. 2 · · · p a k ◮ Suppose n = p a 1 1 p a 2 k , where p 1 , p 2 , . . . , p k are primes then ◮ φ ( n ) = φ ( p a 1 1 ) φ ( p a 2 2 ) · · · φ ( p a k k ) = n (1 − 1 / p 1 )(1 − 1 / p 2 ) · · · (1 − 1 / p k ) ◮ eg. Find φ (60)?

  23. Prove that... For n > 2, prove that φ ( n ) is even.

  24. Fermat’s Little Theorem ◮ If gcd ( a , m ) = 1, then a φ ( m ) ≡ 1 mod m ◮ Find the remainder when 72 1001 is divided by 31 ◮ 72 ≡ 10 mod 31, therefore 72 1001 ≡ 10 1001 mod 31 ◮ Now from Fermat’s Little Theorem, 10 30 ≡ 1 mod 31 ◮ Raising both sides to the power of 33, 10 990 ≡ 1 mod 31 ◮ Thus, 10 1001 = 10 990 10 8 10 2 10 = 1(10 2 ) 4 10 2 10 by Fermat’s little theorem using 7 ≡ 10 2 mod 31 = 1(7) 4 7 ∗ 10 using 7 4 = (7 2 ) 2 = 49 2 . 7 . 10 = ( − 13) 2 . 7 . 10 using 49 ≡ − 13 mod 31 = (14) . 7 . 10 using − 13 = 14 mod 31 = 98 . 10 = 5 . 10 = 19 mod 31

  25. Finite Fields ´ Evariste Galois (October 25, 1811 - May 31, 1832)

  26. Groups, Abelian Groups, and Monoids ◮ Consider a set S and a binary function ∗ that maps S × S → S ie. for every ( a , b ) ∈ S × S , ∗ (( a , b )) ∈ S . This is denoted as a ∗ b .

  27. Groups, Abelian Groups, and Monoids ◮ Consider a set S and a binary function ∗ that maps S × S → S ie. for every ( a , b ) ∈ S × S , ∗ (( a , b )) ∈ S . This is denoted as a ∗ b . ◮ Now consider a subset H of S

  28. Groups, Abelian Groups, and Monoids ◮ Consider a set S and a binary function ∗ that maps S × S → S ie. for every ( a , b ) ∈ S × S , ∗ (( a , b )) ∈ S . This is denoted as a ∗ b . ◮ Now consider a subset H of S ◮ � H , ∗� forms a group if the following properties are satisfied:

  29. Groups, Abelian Groups, and Monoids ◮ Consider a set S and a binary function ∗ that maps S × S → S ie. for every ( a , b ) ∈ S × S , ∗ (( a , b )) ∈ S . This is denoted as a ∗ b . ◮ Now consider a subset H of S ◮ � H , ∗� forms a group if the following properties are satisfied: ◮ Closure : If a , b ∈ H then a ∗ b ∈ H

  30. Groups, Abelian Groups, and Monoids ◮ Consider a set S and a binary function ∗ that maps S × S → S ie. for every ( a , b ) ∈ S × S , ∗ (( a , b )) ∈ S . This is denoted as a ∗ b . ◮ Now consider a subset H of S ◮ � H , ∗� forms a group if the following properties are satisfied: ◮ Closure : If a , b ∈ H then a ∗ b ∈ H ◮ Associativity : If a , b , c ∈ H , then ( a ∗ b ) ∗ c = a ∗ ( b ∗ c )

  31. Groups, Abelian Groups, and Monoids ◮ Consider a set S and a binary function ∗ that maps S × S → S ie. for every ( a , b ) ∈ S × S , ∗ (( a , b )) ∈ S . This is denoted as a ∗ b . ◮ Now consider a subset H of S ◮ � H , ∗� forms a group if the following properties are satisfied: ◮ Closure : If a , b ∈ H then a ∗ b ∈ H ◮ Associativity : If a , b , c ∈ H , then ( a ∗ b ) ∗ c = a ∗ ( b ∗ c ) ◮ Identity : There exists a unique element e such that for all a ∈ H , a ∗ e = e ∗ a = a

  32. Groups, Abelian Groups, and Monoids ◮ Consider a set S and a binary function ∗ that maps S × S → S ie. for every ( a , b ) ∈ S × S , ∗ (( a , b )) ∈ S . This is denoted as a ∗ b . ◮ Now consider a subset H of S ◮ � H , ∗� forms a group if the following properties are satisfied: ◮ Closure : If a , b ∈ H then a ∗ b ∈ H ◮ Associativity : If a , b , c ∈ H , then ( a ∗ b ) ∗ c = a ∗ ( b ∗ c ) ◮ Identity : There exists a unique element e such that for all a ∈ H , a ∗ e = e ∗ a = a For each a ∈ H , there exists and a − 1 ∈ H such that ◮ Inverse : a ∗ a − 1 = e

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend