Inclusion and exclusion principle; inversion formulae Thm 10.1. Let S be an N-set; E i ’s, i=1..r, be subsets of S. For any subset M of [r], define N(M)

Slides:



Advertisements
Similar presentations
Equivalence Relations
Advertisements

Chap6 Relations Def 1: Let A and B be sets. A binary relation from A
Basic Properties of Relations
8.4 Closures of Relations. Intro Consider the following example (telephone line, bus route,…) abc d Is R, defined above on the set A={a, b, c, d}, transitive?
Math 344 Winter 07 Group Theory Part 3: Quotient Groups
Groups TS.Nguyễn Viết Đông.
Algebraic Structures: Group Theory II
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.
CSE115/ENGR160 Discrete Mathematics 04/17/12
CSE115/ENGR160 Discrete Mathematics 04/24/12 Ming-Hsuan Yang UC Merced 1.
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:
Copyright © Zeph Grunschlag, Counting Techniques Zeph Grunschlag.
ENM 207 Lecture 5. FACTORIAL NOTATION The product of positive integers from 1 to n is denoted by the special symbol n! and read “n factorial”. n!=1.2.3….(n-2).(n-1).n.
More Counting Lecture 16: Nov 9 A B …… f. Counting Rule: Bijection If f is a bijection from A to B, then |A| = |B| A B …… f.
Equivalence Relations: Selected Exercises
Chapter 8 The principle of Inclusion and Exclusion Yen-Liang Chen Dept of Information Management National Central University.
1 Section 1.8 Functions. 2 Loose Definition Mapping of each element of one set onto some element of another set –each element of 1st set must map to something,
1 Section 7.1 Relations and their properties. 2 Binary relation A binary relation is a set of ordered pairs that expresses a relationship between elements.
Relations Chapter 9.
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.
Basic Counting Lecture 12: Oct 28. This Lecture We will study some basic rules for counting. Sum rule, product rule, generalized product rule Permutations,
Basic Counting. This Lecture We will study some basic rules for counting. Sum rule, product rule, generalized product rule Permutations, combinations.
APPLICATIONS OF MODERN ALGEBRA: BURNSIDE’S LEMMA Anisha Dhalla 1.
Binomial Coefficients, Inclusion-exclusion principle
Chapter 9. Chapter Summary Relations and Their Properties n-ary Relations and Their Applications (not currently included in overheads) Representing Relations.
1 Lecture 4 (part 2) Combinatorics Reading: Epp Chp 6.
4.1.2 Pigeonhole principle:Strong Form  Theorem 4.2: Let q 1,q 2,…,q n be positive integers. If q 1 +q 2 +…+q n -n+1 objects are put into n boxes, then.
Math 3121 Abstract Algebra I Lecture 9 Finish Section 10 Section 11.
Chap. 5 Relations and Functions. Cartesian Product For sets A, B the Cartesian product, or cross product, of A and B is denoted by A ╳ B and equals {(a,
ENGG 2040C: Probability Models and Applications Andrej Bogdanov Spring Axioms of Probability part two.
Example Prove that: “IF 3n + 2 is odd, then n is odd” Proof by Contradiction: -p = 3n + 2 is odd, q = n is odd. -Assume that ~(p  q) is true OR -(p 
Chapter 9 Functions Let A and B be nonempty sets. A function f from A to B, written f: A  B is a relation from A to B with the property that every element.
Sets Define sets in 2 ways  Enumeration  Set comprehension (predicate on membership), e.g., {n | n  N   k  k  N  n = 10  k  0  n  50} the set.
April 14, 2015Applied Discrete Mathematics Week 10: Equivalence Relations 1 Properties of Relations Definition: A relation R on a set A is called transitive.
Discrete Mathematics Relation.
The Pigeonhole Principle. The pigeonhole principle Suppose a flock of pigeons fly into a set of pigeonholes to roost If there are more pigeons than pigeonholes,
Cardinality with Applications to Computability Lecture 33 Section 7.5 Wed, Apr 12, 2006.
Relation. Combining Relations Because relations from A to B are subsets of A x B, two relations from A to B can be combined in any way two sets can be.
Unit II Discrete Structures Relations and Functions SE (Comp.Engg.)
Math 3121 Abstract Algebra I Lecture 11 Finish Section 13 Section 14.
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.
Discrete Mathematics, 1st Edition Kevin Ferland Chapter 6 Basic Counting 1.
Review 2 Basic Definitions Set - Collection of objects, usually denoted by capital letter Member, element - Object in a set, usually denoted by lower.
Functions (Mappings). Definitions A function (or mapping)  from a set A to a set B is a rule that assigns to each element a of A exactly one element.
Math 3121 Abstract Algebra I
Part I: Theory Ver Chapter 2: Axioms of Probability.
1 CS 140 Discrete Mathematics Combinatorics And Review Notes.
Andrej Bogdanov ENGG 2430A: Probability and Statistics for Engineers Spring Axioms of Probability.
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)
Math 3121 Abstract Algebra I Lecture 14 Sections
Linear Algebra Chapter 2 Matrices.
6.3.2 Cyclic groups §1.Order of an element §Definition 13: Let G be a group with an identity element e. We say that a is of order n if a n =e, and for.
1 Chapter 2 Pigeonhole Principle. 2 Summary Pigeonhole principle –simple form Pigeonhole principle –strong form Ramsey’s theorem.
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 
SECTION 2 BINARY OPERATIONS Definition: A binary operation  on a set S is a function mapping S X S into S. For each (a, b)  S X S, we will denote the.
1 Set Theory Second Part. 2 Disjoint Set let A and B be a set. the two sets are called disjoint if their intersection is an empty set. Intersection of.
Binary Relations Definition: A binary relation R from a set A to a set B is a subset R ⊆ A × B. Example: Let A = { 0, 1,2 } and B = {a,b} {( 0, a), (
Prepared By Meri Dedania (AITS) Discrete Mathematics by Meri Dedania Assistant Professor MCA department Atmiya Institute of Technology & Science Yogidham.
Permutations & Combinations: Selected Exercises. Copyright © Peter Cappello2 Preliminaries Denote the # of arrangements of some k elements of a set of.
COUNTING Discrete Math Team KS MATEMATIKA DISKRIT (DISCRETE MATHEMATICS ) 1.
Section 9.1. Section Summary Relations and Functions Properties of Relations Reflexive Relations Symmetric and Antisymmetric Relations Transitive Relations.
Relations Chapter 9 Copyright © McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
Unit-III Algebraic Structures
Group.
Relations Chapter 9.
Groups and Applications
Basic Counting.
Relations and Digraphs
I. Finite Field Algebra.
The principle of inclusion and exclusion; inversion formulae
Presentation transcript:

Inclusion and exclusion principle; inversion formulae Thm Let S be an N-set; E i ’s, i=1..r, be subsets of S. For any subset M of [r], define N(M) = |  i  M E i | and for j=0..r, define N j =  |M|=j N(M). Then the number of elements of S not in any E i is N-N 1 +N 2 -N 3 +…+(-1) r N r. (*) Pf: If x is in S and not in any E i, then x contributes 1 to (*). If x is in S and in exactly k of E i, then the contribution to (*) is

p2. Eg Let d n denote the number of permutations  of 1, 2,…, n such that  (i)  i. Let E i be the subset of those permutations  with  (i)=i. By Thm 10.1 we have:

p3. Eg. Consider a set Z with n blue points and m red points. How many k-subsets of Z consist of red points only?

p4.

p5.

Eg. (The Euler function)

p7.

p8.

 d | n  d’ | d f(d, d’) =  d’ | n  d | n/d’ f(dd’, d’) Example: Take n= d d’

Example: Count the number of N n of circular sequences of 0’s and 1’s, where two sequences obtained by a rotation are considered the same. Sol: Let M(d) be the number of circular sequences of length d that are not periodic. Then N n =  d|n M(d). Why? Observe that 2 n =  d|n dM(d). By Thm 10.4, nM(n) =  d|n μ(d) 2 n/d. Why? So, M(d) = (1/d)  d’|d μ(d’) 2 d/d’. Thus, N n =  d|n M(d) =  d|n M(d) =  d|n (1/d)  d’|d μ(d’) 2 d/d’ =  d|n (1/d)  d’|d μ(d/d’) 2 d’ =  d’|n  d|n/d’ (1/dd’) μ(d) 2 d’ =  d’|n 2 d’ /d’  d| n/d’ μ(d)/d =  d’|n 2 d’ /d’  (n/d’)/(n/d’) = (1/n)  d’|n 2 d’  (n/d’)

Example: How many ways can we seat N couples around a circular table so that no husband will sit on either side of his wife? Sol: Let A r be the number of ways that there are r couples sitting together. Treat the r couples as a unit, then it turns out to arrange 2N - r units at a circle. So A r = 2 r (2N-r-1)!. By Thm 10.1, there are  r=0..N (-1) r C(N, r) A r ways to seat N couples around a circular table so that no couple sit together.

Example: (Menage Probleme, by Lucas 1891) How many ways can we seat N couples at a circular table so that men and women are in alternate places and no couple sit next to each other? Sol: Call the ladies 1 to N and the corresponding men also 1 to N. Assume the women have been seated at alternate places. Let A r be the ways to seat r husband incorrectly. Consider a circular sequence of 2N positions. Put a 1 in position 2i-1 if husband i is sitting to the right of his wife; put a 1 in position 2i if husband i is sitting to the left of his wife. Put zeroes in the remaining positions. A r is the number of 0-1 circular sequences with exactly r 1’s without two adjacent. Is 0110, possible?

Let A’ r be the number of sequences starting with a 1 (followed by a 0). By considering 10 as one symbol, we must choose r-1 positions out of 2N-r-1 positions i-1 2i 0 1 To count the number A’’ r of sequences starting with a 0, place the 0 at the end, and then it amounts to choosing r out 2N-r places. A r = A’ r + A’’ r = C(2N-r-1, r-1) + C(2N-r, r) = 2N/(2N-r) C(2N-r, r). By Thm 10.1, the number of ways to seat the men is  r=0..N (-1) r (N-r)! (2N/(2N-r) ) C(2N-r, r).

p15. Ex: N=3, r=

Definition (Group): A group is a set G, together with binary operation * on G, such that (1) * is associative, (2) There is an identity element e in G such that e * x = x * e for all x in G, (3) For each a in G, there is an element a’ in G such that a * a’ = a’ * a = e. Definition (Group action): Let X be a set and G a group. An action of G on X is a map * : G  X  X such that (1) ex = x for all x in X, (2) (gh)(x) = g(hx) for all x in X and all g, h in G. Under these conditions, X is a G-set.

Definition : Let X be a G-set. Let x  X and g  G. Define X g = {x  X : gx = x} and G x ={g  G: gx = x}. Thm: Let X be a G-set. Then G x is a subgroup of G for each x  X. Proof: (1) e  G x, since ex=x. (2) If g  G x, then gx = x and thus x=g -1 x, which implies g -1  G x. (3) If g, h  G x, then gx=hx=x. Thus (gh)(x) = g(h(x))= g(x) = x, which implies gh  G x. Therefore G x is a subgroup of G.

Thm: Let X be a G-set. For a, b  X, let a~b if and only if there exists g  G such that ga = b. Then ~ is an equivalence relation on X. Proof: (1) For each x  X, we have ex=x, so x~x. –reflexive. (2) If a~b, then ga = b for some g  G. So b=g -1 a and b~a. –symmetric. (3) If a~b and b~c, then ga = b and hb = c for some g, h  G. So hga = hb = c and a~c. –transitive. Def: (Orbits) Let X be a G-set. Each cell in the equivalence classes for the relation “~” is an orbit in X under G. If x  X, the cell containing x is the orbit of x. Let this cell be Gx.

Thm: Let X be a G-set and let x  X. Then |Gx| = (G: G x )=|G|/| G x |. Proof: Want to define a 1-1 map from Gx to the left cosets of G x. Let a  Gx. Then there exists g  G such that gx=a. Define the map f(a) to be the left coset gG x of G x. If there is another h  G such that hx=a, then hx=gx. So g -1 hx=g -1 gx, i.e., g -1 hx=x, which implies g -1 h  G x. Thus h  gG x and hG x = gG x. So f is well defined. Suppose a, b  Gx and f(a)=f(b). Then there exist g, h  G such that gx=a and hx=b and f(a)=gG x =f(b)=hG x, which implies g=hg’ for some g’  G x. So a=gx=hg’x=hx=b. Thus f is 1-1. Let gG x be a left coset. Then if gx=x’, we have gG x = f (x’). Thus f maps Gx onto the collection of the left cosets of G x. Gx: the cell containing x. G x ={g  G: gx = x}.

Thm 10.5: (Burnside) Let G be a finite group and X a finite G-set. Then the number of orbits in X under G is equal to 1/|G|  g  G |X g |. Proof: Consider all pairs (g, x) where gx=x, and let N be the number of such pairs. For each g  G, it contributes |X g | pairs. Thus N =  g  G |X g |. For each x, there are |G x | pairs. Thus N=  x  X |G x |. By the previous Thm, |Gx|=(G : G x ) =|G|/| G x |. Then N=  x  X |G|/| Gx| = |G|  x  X 1/| Gx|. 1/| Gx| has the same value for all x in the same orbit. Thus N=|G| (number of orbits in X under G), i.e., (number of orbits in X under G) = 1/|G| N= 1/|G|  g  G |X g |. Gx: the cell containing x. G x ={g  G: gx = x}. X g = {x  X : gx = x}