Algebraic Structures: Group Theory

Slides:



Advertisements
Similar presentations
Rotating a Square in Space
Advertisements

1 Lect. 12: Number Theory. Contents Prime and Relative Prime Numbers Modular Arithmetic Fermat’s and Euler’s Theorem Extended Euclid’s Algorithm.
Chapter 4 – Finite Fields. Introduction will now introduce finite fields of increasing importance in cryptography –AES, Elliptic Curve, IDEA, Public Key.
1.  We have studied groups, which is an algebraic structure equipped with one binary operation. Now we shall study rings which is an algebraic structure.
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.
M. Khalily Dermany Islamic Azad University.  finite number of element  important in number theory, algebraic geometry, Galois theory, cryptography,
Great Theoretical Ideas in Computer Science.
1 Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown Chapter 4 – Finite Fields.
By: Hector L Contreras SSGT / USMC
Great Theoretical Ideas in Computer Science.
Monoids, Groups, Rings, Fields
Great Theoretical Ideas in Computer Science.
Great Theoretical Ideas in Computer Science for Some.
Information Security Lab. Dept. of Computer Engineering 87/121 PART I Symmetric Ciphers CHAPTER 4 Finite Fields 4.1 Groups, Rings, and Fields 4.2 Modular.
Math 344 Winter 07 Group Theory Part 1: Basic definitions and Theorems.
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.
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.
A Prime Example CS Lecture 20 A positive integer p  2 is prime if the only positive integers that divide p are 1 and p itself. Positive integers.
Chapter 7 Algebraic Structures
The Relation Induced by a Partition
Math 3121 Abstract Algebra I
Assignment 4 is due! Assignment 5 is out and is due in two weeks!
Discrete Math II Howon Kim
Modular Arithmetic and the RSA Cryptosystem
B504/I538: Introduction to Cryptography
Relations, Functions, and Matrices
Unit-III Algebraic Structures
Great Theoretical Ideas in Computer Science
CS480 Cryptography and Information Security
Topic 12: Number Theory Basics (2)
Great Theoretical Ideas in Computer Science
Advanced Algorithms Analysis and Design
Prelude to Public-Key Cryptography
Advanced Algorithms Analysis and Design
Lecture 3.2: Public Key Cryptography II
Great Theoretical Ideas In Computer Science
Quick reviews / corrections
B.Sc. III Year Mr. Shrimangale G.W.
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.
刘振 上海交通大学 计算机科学与工程系 电信群楼3-509
Modular Arithmetic and the RSA Cryptosystem
Great Theoretical Ideas in Computer Science
Lecture 3.1: Public Key Cryptography I
Great Theoretical Ideas in Computer Science
B.Sc. III Year Mr. Shrimangale G.W.
Patrick Lee 12 July 2003 (updated on 13 July 2003)
Cryptography Lecture 17.
Cryptography Lecture 20.
Cryptography Lecture 19.
296.3:Algorithms in the Real World
Lecture 3 Strings and Things (Section 1.1)
Presentation transcript:

Algebraic Structures: Group Theory Great Theoretical Ideas In Computer Science Victor Adamchik Danny Sleator CS 15-251 Spring 2010 Lecture 16 Mar. 16, 2010 Carnegie Mellon University Algebraic Structures: Group Theory

Today we are going to study the abstract properties of binary operations Groups Subgroups Rings Fields

Rotating a Square in Space Imagine we can pick up the square, rotate it in any way we want, and then put it back on the white frame

In how many different ways can we put the square back on the frame?

Symmetries of the Square YSQ = { R0, R90, R180, R270, F|, F—, F , F }

Composition Define the operation “” to mean “first do one symmetry, and then do the next” For example, R90  R180 means “first rotate 90˚ clockwise and then 180˚” = R270 F|  R90 means “first flip horizontally and then rotate 90˚” = F Question: if a,b  YSQ, does a  b  YSQ? Yes!

R0 R90 R180 R270 F| F— F F R0 R0 R90 R180 R270 F| F— F F R90 R90 R180 R270 R0 F F F| F— R180 R180 R270 R0 R90 F— F| F F R270 R270 R0 R90 R180 F F F— F| F| F| F F— F R0 R180 R90 R270 F— F— F F| F R180 R0 R270 R90 F F F— F F| R270 R90 R0 R180 F F F| F F— R90 R270 R180 R0

How many symmetries for n-sided body? R0, R1, R2, …, Rn-1 F0, F1, F2, …, Fn-1 Ri Rj = Ri+j Ri Fj = Fj-i Fj Ri = Fj+i Fi Fj = Rj-i

Some Formalism If S is a set, S  S is: the set of all (ordered) pairs of elements of S S  S = { (a,b) | a  S and b  S } If S has n elements, how many elements does S  S have? n2 Formally,  is a function from YSQ  YSQ to YSQ  : YSQ  YSQ → YSQ As shorthand, we write (a,b) as “a  b”

Binary Operations “” is called a binary operation on YSQ Definition: A binary operation on a set S is a function: S  S → S Example: The function f:    →  defined by f(x,y) = xy + y is a binary operation on 

Associativity A binary operation  on a set S is associative if: for all a,b,cS, (a  b)  c = a  (b  c) Examples: Is f:    →  defined by f(x,y) = x y + y associative? NO! (a b + b) c + c = a (b c + c) + (b c + c)? Is the operation  on the set of symmetries of the square associative? YES!

Commutativity A binary operation  on a set S is commutative if For all a,bS, a  b = b  a Is the operation  on the set of symmetries of the square commutative? R90  F| ≠ F|  R90 NO!

Identities R0 is like a null motion YES! Is this true: a  YSQ, a  R0 = R0  a = a? R0 is called the identity of  on YSQ In general, for any binary operation  on a set S, an element e  S such that for all a  S, e  a = a  e = a is called an identity of  on S

Inverses Definition: The inverse of an element a  YSQ is an element b such that: a  b = b  a = R0 Examples: R90 inverse: R270 R180 inverse: R180 F| inverse: F|

Every element in YSQ has a unique inverse

R0 R90 R180 R270 F| F— F F R0 R0 R90 R180 R270 F| F— F F R90 R90 R180 R270 R0 F F F| F— R180 R180 R270 R0 R90 F— F| F F R270 R270 R0 R90 R180 F F F— F| F| F| F F— F R0 R180 R90 R270 F— F— F F| F R180 R0 R270 R90 F F F— F F| R270 R90 R0 R180 F F F| F F— R90 R270 R180 R0

3. (Inverses) For every a  S there is b  S such that: Group 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 3. (Inverses) For every a  S there is b  S such that: a  b = b  a = e

Commutative or “Abelian” Groups If G = (S,) and  is commutative, then G is called a commutative group remember, “commutative” means a  b = b  a for all a, b in S

To check “group-ness” Given (S,) Check “closure” for (S,) (i.e, for any a, b in S, check a  b also in S). Check that associativity holds. Check there is a identity Check every element has an inverse

Some examples…

Does every element have an inverse? Examples Is (,+) a group? YES! Is  closed under +? YES! Is + associative on ? Is there an identity? YES: 0 Does every element have an inverse? NO! (,+) is NOT a group

Does every element have an inverse? Examples Is (Z,+) a group? YES! Is Z closed under +? Is + associative on Z? YES! Is there an identity? YES: 0 Does every element have an inverse? YES! (Z,+) is a group

Is + associative on Odds? Does every element have an inverse? Examples Is (Odds,+) a group? Is Odds closed under +? NO! Is + associative on Odds? YES! Is there an identity? NO! Does every element have an inverse? YES! (Odds,+) is NOT a group

Does every element have an inverse? Examples Is (YSQ, ) a group? Is YSQ closed under ? YES! Is  associative on YSQ? YES! Is there an identity? YES: R0 Does every element have an inverse? YES! (YSQ, ) is a group the “dihedral” group D4

Examples (Zn, +n) is a group Is (Zn,+n) a group? (Zn is the set of integers modulo n) Is Zn closed under +n? YES! Is +n associative on Zn? YES! Is there an identity? YES: 0 Does every element have an inverse? YES! (Zn, +n) is a group

Examples (Zn, *n) is NOT a group Is (Zn, *n) a group? (Zn is the set of integers modulo n) Is *n associative on Zn? YES! Is there an identity? YES: 1 Does every element have an inverse? NO! (Zn, *n) is NOT a group

Examples (Zn*, *n) is a group Is (Zn*, *n) a group? (Zn* is the set of integers modulo n that are relatively prime to n) Is *n associative on Zn* ? YES! Is there an identity? YES: 1 Does every element have an inverse? YES! (Zn*, *n) is a group

Permutation Group A permutation of a nonempty set S is a bijection f:S->S. A set of all permutations of S is a group with respect to composition. This group is called the symmetric group. When S={1,2,…,n}, the group is denoted Sn. An element of Sn is represented by two-row form

Permutation Group Composition: (read from right to left) Composition of functions is associative. The inverse element is obtained by reading the bottom row first

Permutation Group Theorem. If n>2, then Sn is non-commutative.

Some properties of groups…

Identity Is Unique Theorem: A group has exactly one identity element Proof: Suppose e and f are both identities of G=(S,) Then f = e  f = e We denote this identity by “e”

Inverses Are Unique Theorem: Every element in a group has a unique inverse Proof: Suppose b and c are both inverses of a Then b = b  e = b  (a  c) = (b  a)  c = c

Orders and generators

Order of a group A group G=(S,) is finite if S is a finite set Define |G| = |S| to be the order of the group (i.e. the number of elements in the group) What is the group with the least number of elements? G = ({e},) where e  e = e Theorem. The order of Sn is n!.

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 Question: Does {R90} generate YSQ? NO! Question: Does {F|, R90} generate YSQ? YES! An element g  S is called a generator of G=(S,) if the set {g} generates G Does YSQ have a generator? NO!

Generators For (Zn,+) Any a  Zn such that GCD(a,n)=1 generates (Zn,+) Claim: If GCD(a,n) =1, then the numbers a, 2a, …, (n-1)a, na are all distinct modulo n Proof (by contradiction): Suppose xa = ya (mod n) for x,y  {1,…,n} and x ≠ y Then n | a(x-y) Since GCD(a,n) = 1, then n | (x-y), which cannot happen

If G = (S,), we use an denote (a  a  …  a) Order of an element If G = (S,), we use an denote (a  a  …  a) n times Definition: The order of an element a of G is the smallest positive integer n such that an = e What is the order of F| in YSQ? 2 What is the order of R90 in YSQ? 4 The order of an element can be infinite! (if such n does not exist) Example: The order of 1 in the group (Z,+) is infinite

Remember order of a group G = size of the group G order of an element g = (smallest n>0 s.t. gn = e)

Orders Consider the permutation

Orders Theorem: If G is a finite group, then for all g in G, order(g) is finite. Proof: Consider g, gg, ggg = g3, g4, … Since G is finite, gj = gk for some j < k Multiplying both sides by (gj)-1, we obtain e = gk-j

Remember order of a group G = size of the group G order of an element g = (smallest n>0 s.t. gn = e) g is a generator if order(g) = order(G)

For x in (Zn, +n), what is order(x)? Orders What is order(Zn, +n)? n For x in (Zn, +n), what is order(x)? order(x) = n/GCD(x,n) Proof. Let order(x)=m. This means m x=0(mod n), or m x = q n Let d = gcd(x,n), x = x1 d, n = n1 d. where gcd(x1,n1)=1 n1x = n1x1d = nx1 = 0 (mod n), Thus, m  n1 mx=qn mx1d=qn1d  mx1=qn1  n1|mx1n1|m Thus, m  n1. We conclude, m = n1 = n/d

Orders order(Zn*, *n)? (n) For x in (Zn*, *n), what is order(x)? At most (n) Euler’s theorem: x(n) =1 (mod n)

Orders Theorem: Let x be an element of G. The order of x divides the order of G Corollary: If p is prime, ap-1 = 1 (mod p) (remember, this is Fermat’s Little Theorem) G = (Zp*, *), order(G) = p-1

Subgroups

Subgroups Suppose G = (S,) is a group. If T  S, and if H = (T, ) is also a group, then H is called a subgroup of G.

Is (Odds, +) a subgroup of (Z,+) ? Examples (Z, +) is a group (Evens, +) is a subgroup. Is (Odds, +) a subgroup of (Z,+) ? No! (Odds,+) is not a group!

Examples (Zn, +n) is a group and if k | n, Is ({0, k, 2k, 3k, …, (n/k-1)k}, +n) subgroup of (Zn,+n) ? Is (Zk, +k) a subgroup of (Zn, +n)? Is (Zk, +n) a subgroup of (Zn, +n)? Only if k is a divisor of n. No! it doesn’t even have the same operation No! (Zk, +n) is not a group! (not closed)

Subgroup facts (identity) If e is the identity in G = (S,), what is the identity in H = (T,)? e Proof: Clearly, e satisfies e  a = a  e = a for all a in T. But we saw there is a unique such element in any group.

Subgroup facts (inverse) If b is a’s inverse in G = (S,), what is a’s inverse in H = (T,)? b Proof: Let a-1 is the inverse of a in G and let c is the inverse of a in H Then, c  a = a  c = e by previous slide Moreover, we proved that a-1 is the unique. Thus, c  a = e  c = a-1

Lagrange’s Theorem If G is a finite group, and H is a subgroup then the order of H divides the order of G. In symbols, |H| divides |G|.

Lagrange’s Theorem Corollary: If x in G, then order(x) divides |G|. Proof of Corollary: Consider the set Tx = (x, x2, x3, …) H = (Tx, ) is a group. (check!) Hence it is a subgroup of G = (S, ). Order(H) = order(x). (check!)

On to other algebraic definitions

Rings We often define more than one operation on a set For example, in Zn we can do both addition and multiplication modulo n A ring is a set together with two operations

1. (R,+) is a commutative group 3. The distributive laws hold in R: Definition: A ring R is a set together with two binary operations + and ×, satisfying the following properties: 1. (R,+) is a commutative group Minimal requirements from “product” 2. × is associative 3. The distributive laws hold in R: (a + b) × c = (a × c) + (b × c) c × (a + b) = (c × a) + (c × b)

Examples: Is (Z, +, *) a ring? Yes. Is (Z, +, min) a ring? No (Z,+) is commutative group Yes. * is associative + distributes over * Is (Z, +, min) a ring? (Z,+) is commutative group No min is associative but + does not distribute over min min(1+3,2)  min(1,2) + min(3,2)

(Set of mxn Z-valued matrices, +, *)? Examples: (Set of mxn Z-valued matrices, +, *)? It is commutative group with respect to + Yes. * is associative + distributes over * (Set of polynomials with real coefficients,+,*)? It is commutative group with respect to + Yes. * is associative + distributes over *

Ring Unit Ring Commutative Ring Division Ring Field (mult. identity) Commutative Ring (mult. is commutative) Division Ring (mult. identity, mult. inverse) Field (mult. identity, mult. inverse, mult. is commutative)

Fields A field F is a set together with two binary operations + and ×, satisfying the following properties: 1. (F,+) is a commutative group 2. (F-{0},×) is a commutative group 3. The distributive law holds in F: (a + b) × c = (a × c) + (b × c)

Examples: Is (Z, +, *) a field? How about (R, +, *)? No. (Z,*) not a group How about (R, +, *)? Yes. How about (Zn, +n, *n)? Only when n is prime. (Zn, *n) is a group only for prime n.

In The End… Why should I care about any of this? Groups, Rings and Fields are examples of the principle of abstraction: the particulars of the objects are abstracted into a few simple properties If you prove results from some group, check if the results carry over to any group

Basic Facts: Inverses Are Unique Here’s What You Need to Know… Groups Binary Operation Identity and Inverses Basic Facts: Inverses Are Unique Generators Order of element, group Subgroups Lagrange’s theorem Rings and Fields Definitions Here’s What You Need to Know…