The principle of inclusion and exclusion; inversion formulae

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

Counting. Counting in Algorithms How many comparisons are needed to sort n numbers? How many steps to compute the GCD of two numbers ? How many steps.
10.4 Complex Vector Spaces.
Applications of Inclusion-Exclusion: Selected Exercises.
THE WELL ORDERING PROPERTY Definition: Let B be a set of integers. An integer m is called a least element of B if m is an element of B, and for every x.
Chapter 4 Euclidean Vector Spaces
8.3 Inverse Linear Transformations
8.2 Kernel And Range.
7.6 Applications of Inclusion/Exclusion Problem: Find the number of elements in a set that have none of n properties P1, P2,.. Pn.
1.5 Elementary Matrices and a Method for Finding
Counting Chapter 6 With Question/Answer Animations.
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
12.1 Systems of Linear Equations: Substitution and Elimination.
CSE115/ENGR160 Discrete Mathematics 04/17/12
1 Combinatorial Dominance Analysis The Knapsack Problem Keywords: Combinatorial Dominance (CD) Domination number/ratio (domn, domr) Knapsack (KP) Incremental.
Elementary Linear Algebra Anton & Rorres, 9 th Edition Lecture Set – 08 Chapter 8: Linear Transformations.
Mathematics1 Mathematics 1 Applied Informatics Štefan BEREŽNÝ.
INDR 262 INTRODUCTION TO OPTIMIZATION METHODS LINEAR ALGEBRA INDR 262 Metin Türkay 1.
CHAPTER FIVE Orthogonality Why orthogonal? Least square problem Accuracy of Numerical computation.
ME 1202: Linear Algebra & Ordinary Differential Equations (ODEs)
Numbers, Operations, and Quantitative Reasoning.
Basic Counting. This Lecture We will study some basic rules for counting. Sum rule, product rule, generalized product rule Permutations, combinations.
Elementary Linear Algebra Anton & Rorres, 9th Edition
Binomial Coefficients, Inclusion-exclusion principle
Chapter 3 – Set Theory  .
Chapter 6 With Question/Answer Animations 1. Chapter Summary The Basics of Counting The Pigeonhole Principle Permutations and Combinations Binomial Coefficients.
Matrices CHAPTER 8.1 ~ 8.8. Ch _2 Contents  8.1 Matrix Algebra 8.1 Matrix Algebra  8.2 Systems of Linear Algebra Equations 8.2 Systems of Linear.
Chap. 6 Linear Transformations
Chapter 7 Advance Counting Techniques. Content Recurrence relations Generating function The principle of inclusion-exclusion.
1 Binomial Coefficients CS 202 Epp, section ??? Aaron Bloomfield.
Chapter 1 SETS, FUNCTIONs, ELEMENTARY LOGIC & BOOLEAN ALGEBRAs BY: MISS FARAH ADIBAH ADNAN IMK.
1 Chapter 3 – Subspaces of R n and Their Dimension Outline 3.1 Image and Kernel of a Linear Transformation 3.2 Subspaces of R n ; Bases and Linear Independence.
Elementary Linear Algebra Anton & Rorres, 9 th Edition Lecture Set – 02 Chapter 2: Determinants.
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,
Chapter 4 Euclidean n-Space Linear Transformations from to Properties of Linear Transformations to Linear Transformations and Polynomials.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
1 Discrete and Combinatorial Mathematics R. P. Grimaldi, 5 th edition, 2004 Chapter 5 Relations and Functions.
Chapter 1 Systems of Linear Equations Linear Algebra.
FUNCTIONS COSC-1321 Discrete Structures 1. Function. Definition Let X and Y be sets. A function f from X to Y is a relation from X to Y with the property.
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.
Section 6.4. Powers of Binomial Expressions Definition: A binomial expression is the sum of two terms, such as x + y. (More generally, these terms can.
Binomial Coefficients and Identities
Divisibility and Modular Arithmetic
Matrices, Vectors, Determinants.
Math for CS Fourier Transform
Combinatorics. What is Combinatorics? Wide ranging field involving the study of discrete objects.
The Relation Induced by a Partition
CHAPTER 3 SETS, BOOLEAN ALGEBRA & LOGIC CIRCUITS
Relations, Functions, and Matrices
7.7 Determinants. Cramer’s Rule
Linear Equations in Linear Algebra
Chapter 3 The Real Numbers.
What is Probability? Quantification of uncertainty.
Chapter 2 Sets and Functions.
9. Counting and Probability 1 Summary
Chapter 3 The Real Numbers.
Systems of First Order Linear Equations
Quantum Two.
Lecture 03: Linear Algebra
GROUPS & THEIR REPRESENTATIONS: a card shuffling approach
Polyhedron Here, we derive a representation of polyhedron and see the properties of the generators. We also see how to identify the generators. The results.
Polyhedron Here, we derive a representation of polyhedron and see the properties of the generators. We also see how to identify the generators. The results.
Linear Equations in Linear Algebra
Basic Counting.
Basic Counting Lecture 9: Nov 5, 6.
Sequences and the Binomial Theorem
Inclusion-Exclusion Principle
I.4 Polyhedral Theory.
DETERMINANT MATH 80 - Linear Algebra.
Presentation transcript:

The principle of inclusion and exclusion; inversion formulae Speaker: 藍國元 Date: 2005.11.28

Outline An overview of principle of inclusion-exclusion Applications of PIE Möbius Inversion formula Applications of MIF

Overview of PIE

Overview of PIE 1 1

Overview of PIE 1 1 2 1

Overview of PIE 1 1 1

Overview of PIE

Overview of PIE 1 2 1 2 1 3 2 1 1 1 2 1

Overview of PIE 1 2 1 2 1 3 2 1 1 1 2 1

Overview of PIE 1 1 1 1 1 1 1

Principle of Inclusion-Exclusion Notations: S: a set of N-elements E1,E2,…,Er: not necessarily distinct subsets of S N(M): # of elements of S in for Nj

Principle of Inclusion-Exclusion Theorem 1 (PIE) Proof: Case1. and is in none of contributes 1 to left-hand side and right-hand side. Case2. and is in exactly k of the sets contributes 0 to left-hand. The contribution of to right-hand side equals

Principle of Inclusion-Exclusion Theorem (Purest form of PIE) Let be an n-set. Let be the 2n-dimensional vector space (over some field K) of all functions . Let be the linear transformation defined by Then exists and is given by

Principle of Inclusion-Exclusion Combinatorial situation involving previous Theorem : given set : properties set : subset of : # of objects in that have exactly the properties in : # of objects in that have at least the properties in

Principle of Inclusion-Exclusion Combinatorial situation involving previous Theorem Then we have By previous Theorem In particular,

Principle of Inclusion-Exclusion Dual form We can reformulate the PIE by interchanging with , with , and so on. : # of objects in that have at most the properties in Then we have

Applications of PIE Application 1: Derangements How many permutations have no fixed points? i.e. Sol: Let We have By PIE,

Applications of PIE Application 1: Derangements Since , is a good approximation of From it is not difficult to derive

Applications of PIE Application 2: Surjections Give X be an n-set and Y be a k-set. How many surjection of X to Y? Sol: Let We have By PIE,

Applications of PIE Application 2: Surjections Note that if k > n then if k = n then Note that where S(n,k) is the Stirling number of second kind.

Applications of PIE Application 3: Show that Combinatorial proof: Let be an n-set of blue balls be an m-set of red balls. How many k-subsets consist of red balls only? The answer is trivially the right-hand side. The left-hand side is letting S be all the k-subset of X∪Y and Ei those k-subset that contain bi and then PIE gives the left-hand side.

Applications of PIE Application 3: Show that Algebra proof: We use the expansion: The coefficient of in is The coefficient of in is The coefficient of in is

Applications of PIE Application 4: Euler function Let be a positive integer and be the number of integers k with such that Show that Proof: Let We have By PIE,

Theorem 2 [Gauss] Let with . Then Proof: Let Since Since every integer from 1 to n belongs only one , we have Since d runs all positive divisor of n, we have

Example We show that We have

Möbius Inversion formula Definition Let with . The Möbius function, denoted by is 1, if n =1 0, if , if Note that satisfies is called squarefree.

Möbius Inversion formula Theorem 3 Let with . 1, if n =1 0, otherwise Proof: There is nothing to show when n=1. If , then

Möbius Inversion formula Remarks Using the Möbius function, we can reformulate as

Möbius Inversion formula Definition An arithmetic function is a function whose domain is the set of positive integers. Example

Möbius Inversion formula Theorem 4 (Möbius Inversion Formula) Let be arithmetic functions. Then if and only if

Möbius Inversion formula Theorem 4 (Möbius Inversion Formula) the inner sum is 0 unless Proof:

Möbius Inversion formula Theorem 4 (Möbius Inversion Formula) Proof: the inner sum is 0 unless

Applications of MIF The Möbius Inversion Formula can be used to obtain nontrivial identities among arithmetic functions from trivial identities among arithmetic functions.

Applications of MIF Example 1 Let with and let for all such n. We have By MIF, we obtain the nontrivial identity or , equivalently

Applications of MIF Example 2 Let with and let . We have By MIF, we obtain the nontrivial identity

Applications of MIF Example 3 Let with and let . We have By MIF, we obtain the nontrivial identity

-END-