15-251 Great Theoretical Ideas in Computer Science for Some.

Slides:



Advertisements
Similar presentations
Functions Reading: Epp Chp 7.1, 7.2, 7.4
Advertisements

Math 3121 Abstract Algebra I Lecture 8 Sections 9 and 10.
1 Lect. 12: Number Theory. Contents Prime and Relative Prime Numbers Modular Arithmetic Fermat’s and Euler’s Theorem Extended Euclid’s Algorithm.
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.
Discrete Mathematics Lecture 5 Alexander Bukharovich New York University.
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.
Group THeory Bingo You must write the slide number on the clue to get credit.
Binary Operations.
Permutations and Inverses. Definition Let A be a set. If f : A  A is a 1-1 correspondence then f is called a permutation of A. Notation: S(A): the set.
How do we start this proof? (a) Assume A n is a subgroup of S n. (b)  (c) Assume o(S n ) = n! (d) Nonempty:
Lecture 3.2: Public Key Cryptography II CS 436/636/736 Spring 2012 Nitesh Saxena.
1 Set Theory. 2 Set Properties Commutative Laws: Associative Laws: Distributive Laws:
1 Set Theory. Notation S={a, b, c} refers to the set whose elements are a, b and c. a  S means “a is an element of set S”. d  S means “d is not an element.
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.
Great Theoretical Ideas in Computer Science.
Cycle Notation. Cycle notation  Compute:  Alternative notation: (1 3)(2 5)( ) = (1 5)(3 4)
Math 3121 Abstract Algebra I Lecture 3 Sections 2-4: Binary Operations, Definition of Group.
Finite Groups & Subgroups. Order of a group Definition: The number of elements of a group (finite or infinite) is called its order. Notation: We will.
By: Hector L Contreras SSGT / USMC
Numbers, Operations, and Quantitative Reasoning.
Gems of Algebra: The secret life of the symmetric group
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.
Permutation Groups Part 1. Definition A permutation of a set A is a function from A to A that is both one to one and onto.
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesFunctions.
Math 3121 Abstract Algebra I Lecture 9 Finish Section 10 Section 11.
Great Theoretical Ideas in Computer Science.
Chapter 5: Permutation Groups  Definitions and Notations  Cycle Notation  Properties of Permutations.
Boolean Algebra and Computer Logic Mathematical Structures for Computer Science Chapter 7.1 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesBoolean Algebra.
Math 344 Winter 07 Group Theory Part 2: Subgroups and Isomorphism
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.
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.
CSNB 143 Discrete Mathematical Structures
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)
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
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.
 Example: [Z m ;+,*] is a field iff m is a prime number  [a] -1 =?  If GCD(a,n)=1,then there exist k and s, s.t. ak+ns=1, where k, s  Z.  ns=1-ak.
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 
Great Theoretical Ideas in Computer Science.
Boolean Algebra and Computer Logic Mathematical Structures for Computer Science Chapter 7 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesBoolean Algebra.
Discrete Mathematics CS 2610 August 31, Agenda Set Theory Set Builder Notation Universal Set Power Set and Cardinality Set Operations Set Identities.
Multiplicative Group The multiplicative group of Z n includes every a, 0
Group A set G is called a group if it satisfies the following axioms. G 1 G is closed under a binary operation. G 2 The operation is associative. G 3 There.
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.
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 Lecture 6 Midterm back over+Section 7.
Set Theory.
Relations, Functions, and Matrices
PRODUCTS OF GROUPS If F and H are groups then their product F x H is the group defined as follows: Example If F = H = {0,1} with + mod 2.
Unit-III Algebraic Structures
CS480 Cryptography and Information Security
Great Theoretical Ideas in Computer Science
Groups and Applications
Great Theoretical Ideas In Computer Science
(1)The equation ax=b has a unique solution in G.
Number Theory and Modular Arithmetic
Great Theoretical Ideas in Computer Science
Great Theoretical Ideas in Computer Science
Discrete Mathematics CS 2610
I. Finite Field Algebra.
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
Presentation transcript:

Great Theoretical Ideas in Computer Science for Some

Group Theory II Lecture 19 (March 25, 2008)

The 15 Puzzle ?

Permutations A permutation of a set X is a bijection  : X  X  =means  (1)=2,  (2)=3, …,  (5)=5 Notation: We denote the set of all permutations of X = {1,2,…,n} by S n |S n | =n!

Define the operation “  ” on S n to mean the composition of two permutations As shorthand, we will write  as  Composition To compute , first apply  and then  :  (i) =  (  (i)) = = This permutation “fixes 2”

3. (Inverses) For every a  S there is b  S such that: Groups A group G is a pair (S,  ), where S is a set and  is a binary operation on S such that: 1.  is associative 2. (Identity) There exists an element e  S such that: e  a = a  e = a, for all a  S a  b = b  a = e If  is commutative, then G is called a commutative group

(S n,  ) is a Group Is  associative on S n ? YES! Is there an identity?YES: The identity function Does every element have an inverse?YES! … n = Is the group commutative?No!

Cycles Let i 1, i 2, …, i r be distinct integers between 1 and n. Define (i 1 i 2 … i r ) to be the permutation  that fixes the remaining n-r integers and for which:  (i 1 )= i 2,  (i 2 )= i 3, …,  (i r-1 )= i r,  (i r )= i 1 ( ) = ( ) =

Examples (1 5 2)(2 4 3) = (1 2 3)(4 5) = Two cycles are disjoint if every x moved by one is fixed by the other

(i 1 i 2 … i r ) is called a cycle or an r-cycle

Express  as the product of disjoint cycles  = Follow 1 Follow 2 = (1 6 3) Theorem: Every permutation can be uniquely factored into the product of disjoint cycles (2 4)(5)(7 8 9)

Express  as the product of disjoint cycles  = = ( )(2 3)(4)

Definition: A transposition is a 2-cycle Express ( ) as the product of transpositions (no necessarily disjoint): ( ) = (1 6)(1 5)(1 4)(1 3)(1 2) Theorem: Every permutation can be factored as the product of transpositions Is it unique? (1 3)(1 2) =(1 2 3) (1 3)(4 2)(1 2)(1 4) =(1 2 3) No! But the parity is unique!

There are many ways to factor a permutation into transpositions But, every factorization into transpositions has the same parity of the number of transpositions Definition: A permutation is even if it can be factored into an even number of transpositions A permutation is odd if it can be factored into an odd number of transpositions

Examples = (1) is an even permutation = (1 2 3) = (1 3)(1 2) is an even permutation = (1 3) is an odd permutation

Generators A set T  S is said to generate the group G = (S,  ) if every element of S can be expressed as a finite product of elements in T The set T = { (x y) | (x y) is a transposition in S n } generates S n

The 15 Puzzle ?

Let’s Start Simpler ?

Notation: We will read the numbers in this order: and we will ignore the blank

Reachable Permutations = (1) = (1 3)(1 2) = (1 2)(1 3) They are all even!!!

? No, because is an odd permutation

The 15 Puzzle ? Similarly, it is possible to prove that only even permutations are possible in the 15 puzzle

Definition: The order of an element a of G is the smallest positive integer n such that a n = e What is the order of an r-cycle? (1 2 3)(1 2 3)(1 2 3) =(1) r

Subgroups Let G = (S,  ) be a group. A non-empty subset H of G is a subgroup of G if: 1. s  H  s -1  H 2. s,t  H  s  t  H Theorem: If H is a subgroup of G, then e (the identity of G) is in H Proof: Let h  H Then h -1  H Therefore e = h  h -1  H

Examples Is { (1) } a subgroup of S n ?Yes Is { (1), (1 2 3) } a subgroup of S 3 ? No because (1 2 3) 2 is not in it Is { 0, 3 } a subgroup of Z 6 ?Yes

Lagrange’s Theorem If H is a subgroup of G then |H| divides |G| For t  G, look at the set Ht = { ht | h  H} Fact 1: if a,b  G, then Ha and Hb are either identical or disjoint Proof: Proof of Fact 1: Let x  Ha  Hb. Then ha = x = kb where h,k  H So k -1 h = ba -1  H and (ba -1 ) -1 = ab -1  H Then Ha = Hb because: If x  Hb then x = jb (j  H)so x = jba -1 a  Ha If x  Ha then x = ja (j  H)so x = jab -1 b  Hb

Lagrange’s Theorem If H is a subgroup of G then |H| divides |G| For t  G, look at the set Ht = { ht | h  H} Fact 1: if a,b  G, then Ha and Hb are either identical or disjoint Proof: Fact 2: if a  G, then |Ha| = |H| Proof of Fact 2: The function f(s) = sa is a bijection from H to Ha From Fact 1 and Fact 2, we see that G can be partitioned into sets of size |H|

For p prime, what are all the subgroups of Z p ? By Lagrange’s Theorem, the order of any subgroup of Z p must divide p. Therefore, the only subgroups must have size 1 or p: {0} and Z p are the only subgroups of Z p

Z 2 =  (1)(1 2) (1) (1 2) (1) S 2 =

Are S 3 and Z 6 Isomorphic? (1 2)(1 3) (2 3)(1) (1 2 3) (1 3 2) (1) (1 2) (1 3) (2 3) (1 2 3) (1 3 2) (1) (1 2) (1 3) (2 3) (1 2 3) (1 2)(1 3)(2 3)(1 2 3) (1 3 2) (1) (1 2 3) (1 3 2) (1 3) (2 3) (1 3 2) (1 2 3) (2 3) (1 2) (1 2 3) (1 3 2) (1 2) (1 3)(1 2 3) (1 3 2) (2 3) (1 3) (1 2) (1 3) (2 3) (1 2) S3S3

Permutations Notation Compositions Cycles Transpositions Group Theory Subgroups LaGrange’s Theorem Isomorphisms Here’s What You Need to Know…