Great Theoretical Ideas In Computer Science

Slides:



Advertisements
Similar presentations
Vector Spaces A set V is called a vector space over a set K denoted V(K) if is an Abelian group, is a field, and For every element vV and K there exists.
Advertisements

Mathematics of Cryptography Part II: Algebraic Structures
Chapter 4 Finite Fields. Introduction of increasing importance in cryptography –AES, Elliptic Curve, IDEA, Public Key concern operations on “numbers”
Chapter 4 – Finite Fields. Introduction will now introduce finite fields of increasing importance in cryptography –AES, Elliptic Curve, IDEA, Public Key.
Section 11 Direct Products and Finitely Generated Abelian Groups One purpose of this section is to show a way to use known groups as building blocks to.
Math 3121 Abstract Algebra I
Groups TS.Nguyễn Viết Đông.
Algebraic Structures: Group Theory II
Algebraic Structures DEFINITIONS: PROPERTIES OF BINARY OPERATIONS Let S be a set and let  denote a binary operation on S. (Here  does not necessarily.
1.  Detailed Study of groups is a fundamental concept in the study of abstract algebra. To define the notion of groups,we require the concept of binary.
Congruence Classes Z n = {[0] n, [1] n, [2] n, …, [n - 1] n } = the set of congruence classes modulo n.
Slide 10-1 Copyright © 2005 Pearson Education, Inc. SEVENTH EDITION and EXPANDED SEVENTH EDITION.
Section 4.1 Finite Permutation Groups Permutation of a Set Let A be the set { 1, 2, …, n }. A permutation on A is a function f : A  A that is both one-to-one.
WHOLE NUMBERS; INTEGERS Whole numbers: Z 0,+ = the natural numbers  {0}. Integers:
Great Theoretical Ideas in Computer Science.
Math 3121 Abstract Algebra I Lecture 3 Sections 2-4: Binary Operations, Definition of Group.
Numbers, Operations, and Quantitative Reasoning.
Lagrange's Theorem. The most important single theorem in group theory. It helps answer: –How large is the symmetry group of a volleyball? A soccer ball?
6.3 Permutation groups and cyclic groups  Example: Consider the equilateral triangle with vertices 1 , 2 , and 3. Let l 1, l 2, and l 3 be the angle bisectors.
Groups Definition A group  G,  is a set G, closed under a binary operation , such that the following axioms are satisfied: 1)Associativity of  :
Math 3121 Abstract Algebra I Lecture 9 Finish Section 10 Section 11.
Great Theoretical Ideas in Computer Science for Some.
Chapter 5: Permutation Groups  Definitions and Notations  Cycle Notation  Properties of Permutations.
UNIT - 2.  A binary operation on a set combines two elements of the set to produce another element of the set. a*b  G,  a, b  G e.g. +, -, ,  are.
Great Theoretical Ideas in Computer Science for Some.
Modular Arithmetic and the RSA Cryptosystem Great Theoretical Ideas In Computer Science John LaffertyCS Fall 2005 Lecture 9Sept 27, 2005Carnegie.
Great Theoretical Ideas in Computer Science.
Great Theoretical Ideas In Computer Science Anupam GuptaCS Fall 2006 Lecture 15Oct 17, 2006Carnegie Mellon University Algebraic Structures: Groups,
CS Lecture 14 Powerful Tools     !. Build your toolbox of abstract structures and concepts. Know the capacities and limits of each tool.
SECTION 9 Orbits, Cycles, and the Alternating Groups Given a set A, a relation in A is defined by : For a, b  A, let a  b if and only if b =  n (a)
SECTION 8 Groups of Permutations Definition A permutation of a set A is a function  ϕ : A  A that is both one to one and onto. If  and  are both permutations.
SECTION 10 Cosets and the Theorem of Lagrange Theorem Let H be a subgroup of G. Let the relation  L be defined on G by a  L b if and only if a -1 b 
Chapter 13 Mathematic Structures 13.1 Modular Arithmetic Definition 1 (modulo). Let a be an integer and m be a positive integer. We denoted by a mod m.
Great Theoretical Ideas in Computer Science.
Great Theoretical Ideas In Computer Science COMPSCI 102 Fall 2010 Lecture 16October 27, 2010Duke University Modular Arithmetic and the RSA Cryptosystem.
Great Theoretical Ideas in Computer Science.
Divisibility and Modular Arithmetic
Properties of Groups Proposition 1: Let (G,  ) be a group. i.The inverse element of any element of G is unique. Remark: In view of i., we may use the.
Chapter 4 With Question/Answer Animations 1. Chapter Motivation Number theory is the part of mathematics devoted to the study of the integers and their.
Great Theoretical Ideas in Computer Science.
Modular Arithmetic and the RSA Cryptosystem Great Theoretical Ideas In Computer Science Steven RudichCS Spring 2005 Lecture 8Feb 3, 2005Carnegie.
Prepared By Meri Dedania (AITS) Discrete Mathematics by Meri Dedania Assistant Professor MCA department Atmiya Institute of Technology & Science Yogidham.
Math 3121 Abstract Algebra I
Assignment 4 is due! Assignment 5 is out and is due in two weeks!
Modular Arithmetic and the RSA Cryptosystem
Unit-III Algebraic Structures
CS480 Cryptography and Information Security
Topic 12: Number Theory Basics (2)
Great Theoretical Ideas in Computer Science
Advanced Algorithms Analysis and Design
Number Theory and Modular Arithmetic
Great Theoretical Ideas in Computer Science
Math 344 Winter 07 Group Theory Part 1: Basic definitions and Theorems
Cryptography Lecture 21.
Modular Arithmetic and the RSA Cryptosystem
Great Theoretical Ideas in Computer Science
Direct Proof and Counterexample III
Great Theoretical Ideas in Computer Science
Section 10.1 Groups.
B.Sc. III Year Mr. Shrimangale G.W.
I. Finite Field Algebra.
Lecture 43 Section 10.1 Wed, Apr 6, 2005
Section 10.2 Finite Mathematical Systems
Algebraic Structures: Group Theory
Theorem 6. 6: Let [G;] be a group and let a and b be elements of G
Counting Elements of Disjoint Sets: The Addition Rule
Section 9.1 Groups.
Finite Mathematical Systems
Presentation transcript:

Great Theoretical Ideas In Computer Science Powerful Tools     ! Lecture 14 CS 15-251

Build your toolbox of abstract structures and concepts Build your toolbox of abstract structures and concepts. Know the capacities and limits of each tool.

Today’s Lecture: groups

Inverse, Closure Associativity Inverse Identity What makes this calculation possible are abstract properties of integers and addition. Closure: the sum of two integers is an integer Associativity: (x + y) + z = x + (y + z) Identity: there is an integer 0 such that x, 0 + x = x + 0 = x Inverse: x  an integer –x s.t. x + (-x) = (-x) + x = 0

closure, identity, associativity, inverse integers / addition naturals / addition odd integers / addition even integers / addition rationals / addition reals / addition complex numbers / addition all four not inverse not closure, not identity

Definition of a Group Let S be a non-empty set. Let  be a binary operator on S. (S,) is called a group if it has these properties: closure: associativity: identity: inverse:

Commutativity A group (S,) is commutative if A commutative group is also called an Abelian group.

integers / + naturals / + odd integers / + even integers / + rationals / + integers /  rationals /  rationals – {0} /  group not inverse not closure, not identity

0 1 0 0 1 1 1 0 is a group closure associativity identity: 0 inverse:

Cancellation Theorem: Proof: inverse, closure associativity inverse identity

Is this a group? Identity? 1 But 0 has no inverse!

group 1 2 1 1 2 2 2 1 group  1 2 3 1 1 2 3 2 2 0 2 3 3 2 1 Not: closure inverse

 1 2 3 4 1 1 2 3 4 2 2 4 1 3 3 3 1 4 2 4 4 3 2 1 group Notice that each row and column is a permutation of the elements.

Theorem: Each row and column of the multiplication table is a permutation of the group elements. Proof: Suppose not. By closure, if a row is not a permutation, it must have repeated elements. By cancelation:  b  c  a x x 

Conjecture: Sp is a group for prime p.  1 2 3 4 5 1 1 2 3 4 5 2 2 4 0 2 4 3 3 0 3 0 3 4 4 2 0 4 2 5 5 4 3 2 1 Not: closure inverse means that So  is not closed. Conjecture: Sp is a group for prime p.

 a-1 a 1 Theorem: Suppose (S,) has closure associativity identity cancelation And S is finite, Then (S,) is a group. Therefore, every a has an inverse, a-1, such that a  a-1 = 1. a-1 1  a Proof: This row is a permutation of the elements of S.

Cancelation modulo n Theorem: Proof: Corollary:

Theorem: with multiplication modulo n is a group. Proof: associativity. identity. closure: Let * denote multiplication modulo n. Suppose (a*b, n) > 1. Then there is a prime p such that p | n and p | a*b. p | a*b  p | ab-kn, for some k (note: ab is NOT modulo n)  p | ab (since p | n)  p | a or p | b (since p is prime)  (a,n)  p or (b,n)  p (a contradiction) cancelation:

A permutation  on [1. n] is a one-to-one function [1 A permutation  on [1..n] is a one-to-one function [1..n] mapping onto [1..n]. 1 1 2 2 3 3 4 4

Composition of permutations Let 1 and 2 be permutations on [1..n]. The composition of 1 and 2, written 1  2 is given by 1  2 (x) = 1 ( 2 (x) ) x 2 1 1  2 (x)

“2 composed with 1” Notice: Example: Composition of permutations is not always commutative.

An = set of all permutations on [1..n]  = permutation composition Theorem: (An , ) is a group Proof: closure a a-1 inverse a b c associativity identity

Subgroups Let (S,) be a group. Then H is a subgroup of S if H  S and (H,) is a group.

Example: (H,+) is a group.

Lagrange’s Theorem: If H is a subgroup of a finite group G, then the size of H divides the size of G. Example:

Proof of Lagrange’s Theorem (slide 1 of 3): Definition: Lemma: Proof: If aH were smaller it would mean but by cancelation,

Proof of Lagrange’s Theorem (slide 2 of 3): Definition: Lemma: Proof: Suppose Then Similarly

Proof of Lagrange’s Theorem (slide 3 of 3): Lemma: Proof: Every element in G appears in at least one of these. Thus, this list contains a finite list of distinct sets, all of size |H|, that partition G.

Example: