Principle of Inclusion-Exclusion Notes
|
|
- Justina Thornton
- 6 years ago
- Views:
Transcription
1 Principle of Inclusion-Exclusion Notes The Principle of Inclusion-Exclusion (often abbreviated PIE is the following general formula used for finding the cardinality of a union of finite sets. Theorem 0.1. Suppose A 1, A 2,..., A n are finite sets. Then A 1 A 2 A n = ( 1 J 1 A. (1 nonempty J {1,...,n} J In words, to count the number of elements in a finite union of finite sets, first sum the individual cardinalities of these sets, then subtract the cardinalities for each possible intersection of two of these sets, then add back the cardinalities for each possible intersection of three of these sets, the subtract the cardinalities for each possible intersection of four of these sets, and so on in alternating sign until you reach the last term ( 1 n A 1 A 2 A n. So, for instance, A 1 A 2 = A 1 + A 2 A 1 A 2, A 1 A 2 A = A 1 + A 2 + A A 1 A 2 A 1 A A 2 A + A 1 A 2 A, A 1 A 2 A A 4 = A 1 + A 2 + A + A 4 A 1 A 2 A 1 A A 1 A 4 A 2 A A 2 A 4 A A 4 + A 1 A 2 A + A 1 A 2 A 4 + A 1 A A 4 + A 2 A A 4 A 1 A 2 A A 4, etc. There is a nifty, purely combinatorial proof of PIE that uses the fact that for any nonempty finite set, the number of even subsets and the number of odd subsets it has are the same. While this can also be proven combinatorially, the quickest proof uses the binomial theorem. 1
2 Lemma 0.2. For any integer n > 0, k 0 ( n = ( n. 2k 2k + 1 k 0 Proof. Due to the binomial theorem, ( n ( n 0 = (1 1 n = (1 n ( 1 = ( 1 = =0 =0 k 0 The conclusion now follows. ( n ( n. 2k 2k + 1 k 0 Proof of Theorem 0.1. Let x be an arbitrary element of A 1 A 2 A n, and suppose that x is contained in exactly k of the A i. Then (1 counts x a total of k ( k ( 1 1 =1 times. Yet, based on the proof of Lemma 0.2, k ( k k ( [ k ( k k ( 1 1 = ( 1 = ( 1 =1 =1 =0 ( ] k = (0 1 = 1. 0 Therefore each element of A 1 A 2 A n is counted exactly once by formula (1, thus validating that formula. 1 Elementary Examples Example 1.1. How many integers between 1 and 900 are divisible by 2 or? Solution. Let A be the set of integers between 1 and 900 that are divisible by 2, and let B be the set of integers between 1 and 900 divisible by. Note that A B is the set of integers between 1 and 900 that are divisible by 6. Hence, the number of integers between 1 and 900 that are divisible by 2 or is given by A B = A + B A B = (900 2+(900 (900 6 = =
3 Example 1.2. At an art academy, there are 4 students taking ceramics, 7 students taking painting, and 29 students taking sculpture. There are 10 students in both ceramics and painting, in both painting and sculpture, in both ceramics and sculpture, and 2 taking all three courses. How many students are taking at least one course at the art academy? Solution. Let C, P, and S denote the sets of students taking ceramics, painting, and sculpture, respectively. We want to calculate C P S. We apply PIE: C P S = C + P + S C P C S P S + C P S = = 111. Example 1.. Of 2 people who save paper or bottles (or both for recycling, 0 save paper and 14 save bottles. How many save both? How many save only paper? How many save only bottles? Solution. Let A be the set of people who save paper and let B be the set of people who save bottles. We are given that A B = 2, A = 0, and B = 14. Hence, the number of people that save both is given by A B = A + B A B = = 12. The set of people who save only paper is A\B, the number of which is given by A\B = A A B = 0 12 = 18. Similarly, the number of people who save only bottles is B\A = B A B = = 2. Notice that these answers make sense. Certainly, if 2 people altogether recycle paper and bottles but only 0 save paper, the remaining 2 must recycle bottles exclusively. The same logic applies to the 18 people who only save paper.
4 2 Intermediate Examples Example 2.1. How many integers between 1 and 600 are divisible by none of,, or 7? Solution. Let A be the set of all integers between 1 and 600 divisible by, B the set of all integers between 1 and 600 divisible by, and C the set of all integers between 1 and 600 divisible by 7. By the PIE, the total is 600 A B C = 600 A B C + A B + A C + B C A B C Now A = 600 = 2100, B = 600 = 1260, and C = = 900. Note that any number in A B is divisible by both and, which happens precisely when that number is divisible by 1. Similarly, numbers in A C are precisely the numbers divisible by 21, and numbers in B C are precisely the numbers divisible by. Hence A B = = 420, A C = = 00, and B C = 600 = 180. Lastly, numbers in A B C are divisible by,, and 7, which occurs precisely when the number is divisible by 10. Hence A B C = = 60. The final answer is thus = Example 2.2. How many integers from 1 to 1,000,000 inclusive either perfect squares or perfect cubes? Solution. Let A be the set of perfect squares between 1 and 1,000,000 and let B be the set of perfect cubes between 1 and 1,000,000. By PIE, A B = A + B A B. We have A = 1,000,000 = 1000 and B = 1,000,000 = 100. Lastly, a number is in A B when it is both a perfect square and a perfect cube, which occurs precisely when that number is a perfect sixth power. So A B = 6 1,000,000 = 10. The final answer is thus =
5 Example 2.. How many five-card hands from a standard deck of cards contain at least one card in each suit? Solution. First note that there are ( 2 possible hands. Thus the answer will be ( 2 minus the number of five-card hands for which at least one suit is absent. Let C, D, H, and S be the sets of five-card hands containing no clubs, diamonds, hearts, and spades, respectively. Easily enough ( 9 C = D = H = S =. Note that that each possible intersection of 2 (or sets are also equinumerous. Specifically, the number of five-card hands omitting two particular suits is, and the number of five-card hands omitting three particular suits is ( 4 ( 26 2 ( 4 ( 1. Finally C D H S = since a hand cannot omit all of the suits! By PIE, the final answer is thus ( 2 C D H S = ( 2 Advanced Examples ( ( ( ( ( 4 ( 1 Example.1. How many solutions of the equation x 1 + x 2 + x + x 4 = 26 are there in integers between 1 and 9 inclusive? Solutions. The total number of positive integer solutions is simply ( 2. Thus the answer will be ( 2 minus the number of solutions where at least one of the x i is greater than 9. Let A 1, A 2, A, and A 4 be the sets of positive integer solutions to x 1 + x 2 + x + x 4 = 26 for which x 1 > 9, x 2 > 9, x > 9, and x 4 > 9, respectively. Recall that to calculate A 1, the number of positive integer solutions to x 1 + x 2 + x + x 4 = 26 with x 1 > 9, we can subtract 9 from x 1 so that we simply need the number of integer solutions to x 1 + x 2 + x + x 4 = 17..
6 This happens to be ( 16. Parallel logic shows that A2 = A = A 4 = ( 16 as well. Reiterating this logic also yields that the cardinality of the pairwise intersections are each ( 7. Observe that the intersection of three or more of these sets is empty, because if three of the x i is greater than 9, then x 1 + x 2 + x + x 4 > 27. The final answer is thus ( ( ( ( ( Example.2. The Hat-Check Problem. A total of n people walk into a party and give their hats to the hat-check guy. However, the hat-check guy completely loses track of which hats belong to which owners. When the party ends, he hands the hats back at random to their n owners. What is the probability that no one gets their own hat back? Solutions. The random hat assignments can be encoded by permutations of the integers from 1 through n where the th number of the permutation being k corresponds to the th person to the party getting back the k th person s hat. What we are interested in are permutations in which no number is in its original position. Such permutations are called derangements. (For example, 21 is a derangement of 1, 2, and, but 21 is not since the second number in the permutation is 2. We count all permutations, and subtract those which are not derangements. Recall that there are n! permutations of the integers from 1 through n. Now let us count the number of permutations of the integers from 1 through n where a particular i of them are fixed. There are ( n i choices for which i elements to fix. Once those i elements are fixed, we need only permute the remaining n i, which can be done in (n i! ways. Combining this fact with PIE gives the total number of derangements as n! ( n ( 1 i 1 i i=1 (n i! = ( n n! + 0 ( n ( 1 i (n i! i 6
7 = = ( n ( 1 i (n i! i ( 1 i n! i!(n i! (n i! = n! ( 1 i. i! The probability that no one gets their own hat back is thus the above summation divided by n!, which is simply n ( 1 i. Some of you may remember i! from calculus that x i is the Taylor series for e x. From this, we have that i! ( 1 lim i = e 1 = 1/e. Hence, for large n, the probability that no one gets i! n their own hat back is approximately 1/e Example.. How many surections are there from an n-element set onto an m-element set, assuming that n m? Solution. Recall that a surection is a function whose range equals its codomain. The details for this enumeration are very similar to those of the Hat-Check Problem. We know that the total number of unrestricted functions is m n. To count the number of surections, we subtract the number of functions that miss an element in the codomain from the total number of functions. In particular, if we wish to omit i elements in the codomain from the range, then there are ( m i choices of i elements to exclude, and then (m i n functions from the domain to the newly restricted codomain. Applying PIE begets the total number of surections: m n 0 ( m ( 1 i 1 i i=1 (m i n = ( m 0 m ( m = ( 1 i i (m 0 n + m ( m ( 1 i i i=1 (m i n. (m i n Now if n = m, then the surections between the two sets are precisely the biections between the two sets, which are n! in number. We have thus 7
8 stumbled across a combinatorial proof of the following identity: ( ( ( ( ( n n n n n n n (n 1 n + (n 2 n (n n + +( 1 n 1 1 n = n! n 1 4 Examples for the Brave Example 4.1. (1972 USAMO Problem A random number generator randomly generates the integers 1, 2,, 9 with equal probability. Find the probability that after n numbers are generated, the product of the numbers is a multiple of 10. Solution. There are 9 n possible sequences of n randomly generated numbers. For the product to be a multiple of 10, there must be a and an even number among the n numbers generated. So the number of sequences whose product is not a multiple of 10 is 9 n minus the number of sequences having at least one and one even number. The number of sequences without a is 8 n, the number of sequences without an even number is n, and the number of sequences without a nor even numbers is 4 n. Applying PIE yields the following probability: 9 n 8 n n + 4 n 9 n = 1 ( n 8 9 ( n + 9 ( n 4. 9 Example 4.2. (1989 IMO Problem 6 Let a permutation π of {1, 2,..., 2n} have property P if π(i π(i + 1 = n for at least one i {1, 2,..., 2n 1}. Show that, for each n, there are more permutations with property P than without it. Solution. For each k {1, 2,..., n}, let A k be the set of all permutations of {1, 2,..., 2n} such that k and k + n are adacent to each other. Consider an intersection A k1 A k2 A ki of i sets among the A k. To count the number of permutations of {1, 2,..., 2n} lying in this intersection, we treat each of 8
9 the pairings {k 1, k 1 + n}, {k 2, k 2 + n},..., {k + k + n} as a single element and then arrange the of these pairings with the remaining 2n 2 elements of {1, 2,..., 2n}. There are (2n! such arrangements. There are then 2 ways to order each of the pairings. Hence A k1 A k2 A k = (2n!2. It follows from PIE that the number of permutations of {1, 2,..., 2n} with property P equals ( n ( 1 1 (2n!2, =1 whereas the number of permutations of {1, 2,..., 2n} without property P is (2n! ( n ( 1 1 =1 (2n!2 = = ( n (2n! ( n ( 1 =0 ( n ( 1 (2n!2 =1 (2n!2. Now set Q n = n ( 1 ( n (2n!2 and q = ( n (2n!2 for each =0 so that Q n = q 0 q 1 + q 2 q + + ( 1 n q n. Notice that q 0 = (2n! and q 1 = ( n 1 (2n 1! 2 = (2n! = q0 so that Q n = q 2 q + q 4 q + + ( 1 n q n = q 2 + (q 4 q + (q q 6 +. Furthermore, for each {1, 2,..., n 1}, we have ( n q (2n 1!2 +1 = q (2n!2 ( n = 2 2n = 2 2n n! (+1!(n 1! n!!(n!!(n! ( + 1!(n 1! = 2 2n n + 1 < 1, 9
10 and so q +1 < q in general. Hence Q n = q 2 + (q 4 q + (q q 6 + ( n < q 2 = (2n 2!2 2 (2n(2n 2(2n 2! = 2 2 < (2n! 2. This implies that less than half of the permutations of {1, 2,..., n} lack property P. The conclusion now follows. 10
CS100: DISCRETE STRUCTURES. Lecture 8 Counting - CH6
CS100: DISCRETE STRUCTURES Lecture 8 Counting - CH6 Lecture Overview 2 6.1 The Basics of Counting: THE PRODUCT RULE THE SUM RULE THE SUBTRACTION RULE THE DIVISION RULE 6.2 The Pigeonhole Principle. 6.3
More informationChapter 1. Probability
Chapter 1. Probability 1.1 Basic Concepts Scientific method a. For a given problem, we define measures that explains the problem well. b. Data is collected with observation and the measures are calculated.
More informationMA 524 Midterm Solutions October 16, 2018
MA 524 Midterm Solutions October 16, 2018 1. (a) Let a n be the number of ordered tuples (a, b, c, d) of integers satisfying 0 a < b c < d n. Find a closed formula for a n, as well as its ordinary generating
More informationReading 14 : Counting
CS/Math 240: Introduction to Discrete Mathematics Fall 2015 Instructors: Beck Hasti, Gautam Prakriya Reading 14 : Counting In this reading we discuss counting. Often, we are interested in the cardinality
More information8.2 Union, Intersection, and Complement of Events; Odds
8.2 Union, Intersection, and Complement of Events; Odds Since we defined an event as a subset of a sample space it is natural to consider set operations like union, intersection or complement in the context
More informationDyck paths, standard Young tableaux, and pattern avoiding permutations
PU. M. A. Vol. 21 (2010), No.2, pp. 265 284 Dyck paths, standard Young tableaux, and pattern avoiding permutations Hilmar Haukur Gudmundsson The Mathematics Institute Reykjavik University Iceland e-mail:
More informationChapter 2. Permutations and Combinations
2. Permutations and Combinations Chapter 2. Permutations and Combinations In this chapter, we define sets and count the objects in them. Example Let S be the set of students in this classroom today. Find
More informationMath236 Discrete Maths with Applications
Math236 Discrete Maths with Applications P. Ittmann UKZN, Pietermaritzburg Semester 1, 2012 Ittmann (UKZN PMB) Math236 2012 1 / 43 The Multiplication Principle Theorem Let S be a set of k-tuples (s 1,
More informationBlock 1 - Sets and Basic Combinatorics. Main Topics in Block 1:
Block 1 - Sets and Basic Combinatorics Main Topics in Block 1: A short revision of some set theory Sets and subsets. Venn diagrams to represent sets. Describing sets using rules of inclusion. Set operations.
More informationECE313 Summer Problem Set 4. Reading: RVs, mean, variance, and coniditional probability
ECE Summer 0 Problem Set Reading: RVs, mean, variance, and coniditional probability Quiz Date: This Friday Note: It is very important that you solve the problems first and check the solutions afterwards.
More informationChapter 1. Probability
Chapter 1. Probability 1.1 Basic Concepts Scientific method a. For a given problem, we define measures that explains the problem well. b. Data is collected with observation and the measures are calculated.
More informationMAT 243 Final Exam SOLUTIONS, FORM A
MAT 243 Final Exam SOLUTIONS, FORM A 1. [10 points] Michael Cow, a recent graduate of Arizona State, wants to put a path in his front yard. He sets this up as a tiling problem of a 2 n rectangle, where
More informationWith Question/Answer Animations. Chapter 6
With Question/Answer Animations Chapter 6 Chapter Summary The Basics of Counting The Pigeonhole Principle Permutations and Combinations Binomial Coefficients and Identities Generalized Permutations and
More informationIt is important that you show your work. The total value of this test is 220 points.
June 27, 2001 Your name It is important that you show your work. The total value of this test is 220 points. 1. (10 points) Use the Euclidean algorithm to solve the decanting problem for decanters of sizes
More informationChapter 3 PRINCIPLE OF INCLUSION AND EXCLUSION
Chapter 3 PRINCIPLE OF INCLUSION AND EXCLUSION 3.1 The basics Consider a set of N obects and r properties that each obect may or may not have each one of them. Let the properties be a 1,a,..., a r. Let
More informationCompound Probability. Set Theory. Basic Definitions
Compound Probability Set Theory A probability measure P is a function that maps subsets of the state space Ω to numbers in the interval [0, 1]. In order to study these functions, we need to know some basic
More informationCIS 2033 Lecture 6, Spring 2017
CIS 2033 Lecture 6, Spring 2017 Instructor: David Dobor February 2, 2017 In this lecture, we introduce the basic principle of counting, use it to count subsets, permutations, combinations, and partitions,
More informationElementary Combinatorics
184 DISCRETE MATHEMATICAL STRUCTURES 7 Elementary Combinatorics 7.1 INTRODUCTION Combinatorics deals with counting and enumeration of specified objects, patterns or designs. Techniques of counting are
More informationCounting in Algorithms
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 to factor an integer? Counting in Games How many different
More information6.1 Basics of counting
6.1 Basics of counting CSE2023 Discrete Computational Structures Lecture 17 1 Combinatorics: they study of arrangements of objects Enumeration: the counting of objects with certain properties (an important
More informationTopics to be covered
Basic Counting 1 Topics to be covered Sum rule, product rule, generalized product rule Permutations, combinations Binomial coefficients, combinatorial proof Inclusion-exclusion principle Pigeon Hole Principle
More informationCounting and Probability Math 2320
Counting and Probability Math 2320 For a finite set A, the number of elements of A is denoted by A. We have two important rules for counting. 1. Union rule: Let A and B be two finite sets. Then A B = A
More informationCSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability (solutions)
CSE 31: Foundations of Computing II Quiz Section #: Inclusion-Exclusion, Pigeonhole, Introduction to Probability (solutions) Review: Main Theorems and Concepts Binomial Theorem: x, y R, n N: (x + y) n
More informationTheory of Probability - Brett Bernstein
Theory of Probability - Brett Bernstein Lecture 3 Finishing Basic Probability Review Exercises 1. Model flipping two fair coins using a sample space and a probability measure. Compute the probability of
More informationCSCI 2200 Foundations of Computer Science (FoCS) Solutions for Homework 7
CSCI 00 Foundations of Computer Science (FoCS) Solutions for Homework 7 Homework Problems. [0 POINTS] Problem.4(e)-(f) [or F7 Problem.7(e)-(f)]: In each case, count. (e) The number of orders in which a
More informationIntermediate Math Circles November 1, 2017 Probability I
Intermediate Math Circles November 1, 2017 Probability I Probability is the study of uncertain events or outcomes. Games of chance that involve rolling dice or dealing cards are one obvious area of application.
More informationand problem sheet 7
1-18 and 15-151 problem sheet 7 Solutions to the following five exercises and optional bonus problem are to be submitted through gradescope by 11:30PM on Friday nd November 018. Problem 1 Let A N + and
More informationThe probability set-up
CHAPTER 2 The probability set-up 2.1. Introduction and basic theory We will have a sample space, denoted S (sometimes Ω) that consists of all possible outcomes. For example, if we roll two dice, the sample
More informationCSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability
CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability Review: Main Theorems and Concepts Binomial Theorem: Principle of Inclusion-Exclusion
More informationIntroduction to probability
Introduction to probability Suppose an experiment has a finite set X = {x 1,x 2,...,x n } of n possible outcomes. Each time the experiment is performed exactly one on the n outcomes happens. Assign each
More informationWeek 1: Probability models and counting
Week 1: Probability models and counting Part 1: Probability model Probability theory is the mathematical toolbox to describe phenomena or experiments where randomness occur. To have a probability model
More informationIntroductory Probability
Introductory Probability Combinations Nicholas Nguyen nicholas.nguyen@uky.edu Department of Mathematics UK Agenda Assigning Objects to Identical Positions Denitions Committee Card Hands Coin Toss Counts
More information4.1 Sample Spaces and Events
4.1 Sample Spaces and Events An experiment is an activity that has observable results. Examples: Tossing a coin, rolling dice, picking marbles out of a jar, etc. The result of an experiment is called an
More informationSection Summary. Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning
Section 7.1 Section Summary Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning Probability of an Event Pierre-Simon Laplace (1749-1827) We first study Pierre-Simon
More informationSolution: This is sampling without repetition and order matters. Therefore
June 27, 2001 Your name It is important that you show your work. The total value of this test is 220 points. 1. (10 points) Use the Euclidean algorithm to solve the decanting problem for decanters of sizes
More informationPermutation Groups. Definition and Notation
5 Permutation Groups Wigner s discovery about the electron permutation group was just the beginning. He and others found many similar applications and nowadays group theoretical methods especially those
More information2. Nine points are distributed around a circle in such a way that when all ( )
1. How many circles in the plane contain at least three of the points (0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (1, 2), (2, 0), (2, 1), (2, 2)? Solution: There are ( ) 9 3 = 8 three element subsets, all
More informationCSE 21 Mathematics for Algorithm and System Analysis
CSE 21 Mathematics for Algorithm and System Analysis Unit 1: Basic Count and List Section 3: Set CSE21: Lecture 3 1 Reminder Piazza forum address: http://piazza.com/ucsd/summer2013/cse21/hom e Notes on
More informationThe probability set-up
CHAPTER The probability set-up.1. Introduction and basic theory We will have a sample space, denoted S sometimes Ω that consists of all possible outcomes. For example, if we roll two dice, the sample space
More informationCounting integral solutions
Thought exercise 2.2 20 Counting integral solutions Question: How many non-negative integer solutions are there of x 1 +x 2 +x 3 +x 4 = 10? Thought exercise 2.2 20 Counting integral solutions Question:
More informationJong C. Park Computer Science Division, KAIST
Jong C. Park Computer Science Division, KAIST Today s Topics Basic Principles Permutations and Combinations Algorithms for Generating Permutations Generalized Permutations and Combinations Binomial Coefficients
More informationRestricted Permutations Related to Fibonacci Numbers and k-generalized Fibonacci Numbers
Restricted Permutations Related to Fibonacci Numbers and k-generalized Fibonacci Numbers arxiv:math/0109219v1 [math.co] 27 Sep 2001 Eric S. Egge Department of Mathematics Gettysburg College 300 North Washington
More informationCombinatorics and Intuitive Probability
Chapter Combinatorics and Intuitive Probability The simplest probabilistic scenario is perhaps one where the set of possible outcomes is finite and these outcomes are all equally likely. A subset of the
More information7.1 Experiments, Sample Spaces, and Events
7.1 Experiments, Sample Spaces, and Events An experiment is an activity that has observable results. Examples: Tossing a coin, rolling dice, picking marbles out of a jar, etc. The result of an experiment
More informationSTAT Statistics I Midterm Exam One. Good Luck!
STAT 515 - Statistics I Midterm Exam One Name: Instruction: You can use a calculator that has no connection to the Internet. Books, notes, cellphones, and computers are NOT allowed in the test. There are
More informationIn how many ways can we paint 6 rooms, choosing from 15 available colors? What if we want all rooms painted with different colors?
What can we count? In how many ways can we paint 6 rooms, choosing from 15 available colors? What if we want all rooms painted with different colors? In how many different ways 10 books can be arranged
More informationSets. Definition A set is an unordered collection of objects called elements or members of the set.
Sets Definition A set is an unordered collection of objects called elements or members of the set. Sets Definition A set is an unordered collection of objects called elements or members of the set. Examples:
More informationPROOFS OF SOME BINOMIAL IDENTITIES USING THE METHOD OF LAST SQUARES
PROOFS OF SOME BINOMIAL IDENTITIES USING THE METHOD OF LAST SQUARES MARK SHATTUCK AND TAMÁS WALDHAUSER Abstract. We give combinatorial proofs for some identities involving binomial sums that have no closed
More informationMultiple Choice Questions for Review
Review Questions Multiple Choice Questions for Review 1. Suppose there are 12 students, among whom are three students, M, B, C (a Math Major, a Biology Major, a Computer Science Major. We want to send
More informationCounting. Chapter 6. With Question/Answer Animations
. All rights reserved. Authorized only for instructor use in the classroom. No reproduction or further distribution permitted without the prior written consent of McGraw-Hill Education. Counting Chapter
More informationPermutation Groups. Every permutation can be written as a product of disjoint cycles. This factorization is unique up to the order of the factors.
Permutation Groups 5-9-2013 A permutation of a set X is a bijective function σ : X X The set of permutations S X of a set X forms a group under function composition The group of permutations of {1,2,,n}
More informationCOUNTING AND PROBABILITY
CHAPTER 9 COUNTING AND PROBABILITY Copyright Cengage Learning. All rights reserved. SECTION 9.2 Possibility Trees and the Multiplication Rule Copyright Cengage Learning. All rights reserved. Possibility
More informationMathematics Competition Practice Session 6. Hagerstown Community College: STEM Club November 20, :00 pm - 1:00 pm STC-170
2015-2016 Mathematics Competition Practice Session 6 Hagerstown Community College: STEM Club November 20, 2015 12:00 pm - 1:00 pm STC-170 1 Warm-Up (2006 AMC 10B No. 17): Bob and Alice each have a bag
More informationNon-overlapping permutation patterns
PU. M. A. Vol. 22 (2011), No.2, pp. 99 105 Non-overlapping permutation patterns Miklós Bóna Department of Mathematics University of Florida 358 Little Hall, PO Box 118105 Gainesville, FL 326118105 (USA)
More informationStaircase Rook Polynomials and Cayley s Game of Mousetrap
Staircase Rook Polynomials and Cayley s Game of Mousetrap Michael Z. Spivey Department of Mathematics and Computer Science University of Puget Sound Tacoma, Washington 98416-1043 USA mspivey@ups.edu Phone:
More informationWeek 3 Classical Probability, Part I
Week 3 Classical Probability, Part I Week 3 Objectives Proper understanding of common statistical practices such as confidence intervals and hypothesis testing requires some familiarity with probability
More informationMC215: MATHEMATICAL REASONING AND DISCRETE STRUCTURES
MC215: MATHEMATICAL REASONING AND DISCRETE STRUCTURES Thursday, 4/17/14 The Addition Principle The Inclusion-Exclusion Principle The Pigeonhole Principle Reading: [J] 6.1, 6.8 [H] 3.5, 12.3 Exercises:
More informationSolutions to Problem Set 7
Massachusetts Institute of Technology 6.4J/8.6J, Fall 5: Mathematics for Computer Science November 9 Prof. Albert R. Meyer and Prof. Ronitt Rubinfeld revised November 3, 5, 3 minutes Solutions to Problem
More informationMarch 5, What is the area (in square units) of the region in the first quadrant defined by 18 x + y 20?
March 5, 007 1. We randomly select 4 prime numbers without replacement from the first 10 prime numbers. What is the probability that the sum of the four selected numbers is odd? (A) 0.1 (B) 0.30 (C) 0.36
More informationChapter 7. Intro to Counting
Chapter 7. Intro to Counting 7.7 Counting by complement 7.8 Permutations with repetitions 7.9 Counting multisets 7.10 Assignment problems: Balls in bins 7.11 Inclusion-exclusion principle 7.12 Counting
More informationMath 166: Topics in Contemporary Mathematics II
Math 166: Topics in Contemporary Mathematics II Xin Ma Texas A&M University September 30, 2017 Xin Ma (TAMU) Math 166 September 30, 2017 1 / 11 Last Time Factorials For any natural number n, we define
More information1 = 3 2 = 3 ( ) = = = 33( ) 98 = = =
Math 115 Discrete Math Final Exam December 13, 2000 Your name It is important that you show your work. 1. Use the Euclidean algorithm to solve the decanting problem for decanters of sizes 199 and 98. In
More informationCombinatorics. PIE and Binomial Coefficients. Misha Lavrov. ARML Practice 10/20/2013
Combinatorics PIE and Binomial Coefficients Misha Lavrov ARML Practice 10/20/2013 Warm-up Po-Shen Loh, 2013. If the letters of the word DOCUMENT are randomly rearranged, what is the probability that all
More informationCSC/MATA67 Tutorial, Week 12
CSC/MATA67 Tutorial, Week 12 November 23, 2017 1 More counting problems A class consists of 15 students of whom 5 are prefects. Q: How many committees of 8 can be formed if each consists of a) exactly
More informationSection Introduction to Sets
Section 1.1 - Introduction to Sets Definition: A set is a well-defined collection of objects usually denoted by uppercase letters. Definition: The elements, or members, of a set are denoted by lowercase
More informationCSE 312: Foundations of Computing II Quiz Section #2: Combinations, Counting Tricks (solutions)
CSE 312: Foundations of Computing II Quiz Section #2: Combinations, Counting Tricks (solutions Review: Main Theorems and Concepts Combinations (number of ways to choose k objects out of n distinct objects,
More informationSlide 1 Math 1520, Lecture 13
Slide 1 Math 1520, Lecture 13 In chapter 7, we discuss background leading up to probability. Probability is one of the most commonly used pieces of mathematics in the world. Understanding the basic concepts
More informationSolutions to Exercises Chapter 6: Latin squares and SDRs
Solutions to Exercises Chapter 6: Latin squares and SDRs 1 Show that the number of n n Latin squares is 1, 2, 12, 576 for n = 1, 2, 3, 4 respectively. (b) Prove that, up to permutations of the rows, columns,
More informationProbability. The MEnTe Program Math Enrichment through Technology. Title V East Los Angeles College
Probability The MEnTe Program Math Enrichment through Technology Title V East Los Angeles College 2003 East Los Angeles College. All rights reserved. Topics Introduction Empirical Probability Theoretical
More informationNON-OVERLAPPING PERMUTATION PATTERNS. To Doron Zeilberger, for his Sixtieth Birthday
NON-OVERLAPPING PERMUTATION PATTERNS MIKLÓS BÓNA Abstract. We show a way to compute, to a high level of precision, the probability that a randomly selected permutation of length n is nonoverlapping. As
More informationCISC-102 Fall 2017 Week 8
Week 8 Page! of! 34 Playing cards. CISC-02 Fall 207 Week 8 Some of the following examples make use of the standard 52 deck of playing cards as shown below. There are 4 suits (clubs, spades, hearts, diamonds)
More information16 Alternating Groups
16 Alternating Groups In this paragraph, we examine an important subgroup of S n, called the alternating group on n letters. We begin with a definition that will play an important role throughout this
More informationBRITISH COLUMBIA SECONDARY SCHOOL MATHEMATICS CONTEST, 2006 Senior Preliminary Round Problems & Solutions
BRITISH COLUMBIA SECONDARY SCHOOL MATHEMATICS CONTEST, 006 Senior Preliminary Round Problems & Solutions 1. Exactly 57.4574% of the people replied yes when asked if they used BLEU-OUT face cream. The fewest
More informationCombinatorics: The Fine Art of Counting
Combinatorics: The Fine Art of Counting Week 6 Lecture Notes Discrete Probability Note Binomial coefficients are written horizontally. The symbol ~ is used to mean approximately equal. Introduction and
More informationDISCRETE STRUCTURES COUNTING
DISCRETE STRUCTURES COUNTING LECTURE2 The Pigeonhole Principle The generalized pigeonhole principle: If N objects are placed into k boxes, then there is at least one box containing at least N/k of the
More informationSample Spaces, Events, Probability
Sample Spaces, Events, Probability CS 3130/ECE 3530: Probability and Statistics for Engineers August 28, 2014 Sets A set is a collection of unique objects. Sets A set is a collection of unique objects.
More informationMath 3338: Probability (Fall 2006)
Math 3338: Probability (Fall 2006) Jiwen He Section Number: 10853 http://math.uh.edu/ jiwenhe/math3338fall06.html Probability p.1/7 2.3 Counting Techniques (III) - Partitions Probability p.2/7 Partitioned
More informationON SPLITTING UP PILES OF STONES
ON SPLITTING UP PILES OF STONES GREGORY IGUSA Abstract. In this paper, I describe the rules of a game, and give a complete description of when the game can be won, and when it cannot be won. The first
More informationChapter 1. The alternating groups. 1.1 Introduction. 1.2 Permutations
Chapter 1 The alternating groups 1.1 Introduction The most familiar of the finite (non-abelian) simple groups are the alternating groups A n, which are subgroups of index 2 in the symmetric groups S n.
More information3 The multiplication rule/miscellaneous counting problems
Practice for Exam 1 1 Axioms of probability, disjoint and independent events 1 Suppose P (A 0, P (B 05 (a If A and B are independent, what is P (A B? What is P (A B? (b If A and B are disjoint, what is
More informationWeek 6: Advance applications of the PIE. 17 and 19 of October, 2018
(1/22) MA284 : Discrete Mathematics Week 6: Advance applications of the PIE http://www.maths.nuigalway.ie/ niall/ma284 17 and 19 of October, 2018 1 Stars and bars 2 Non-negative integer inequalities 3
More informationEuropean Journal of Combinatorics. Staircase rook polynomials and Cayley s game of Mousetrap
European Journal of Combinatorics 30 (2009) 532 539 Contents lists available at ScienceDirect European Journal of Combinatorics journal homepage: www.elsevier.com/locate/ejc Staircase rook polynomials
More informationn! = n(n 1)(n 2) 3 2 1
A Counting A.1 First principles If the sample space Ω is finite and the outomes are equally likely, then the probability measure is given by P(E) = E / Ω where E denotes the number of outcomes in the event
More informationPermutations. = f 1 f = I A
Permutations. 1. Definition (Permutation). A permutation of a set A is a bijective function f : A A. The set of all permutations of A is denoted by Perm(A). 2. If A has cardinality n, then Perm(A) has
More informationCorners in Tree Like Tableaux
Corners in Tree Like Tableaux Pawe l Hitczenko Department of Mathematics Drexel University Philadelphia, PA, U.S.A. phitczenko@math.drexel.edu Amanda Lohss Department of Mathematics Drexel University Philadelphia,
More informationLESSON 2: THE INCLUSION-EXCLUSION PRINCIPLE
LESSON 2: THE INCLUSION-EXCLUSION PRINCIPLE The inclusion-exclusion principle (also known as the sieve principle) is an extended version of the rule of the sum. It states that, for two (finite) sets, A
More informationFrustration solitaire
arxiv:math/0703900v2 [math.pr] 2 Apr 2009 Frustration solitaire Peter G. Doyle Charles M. Grinstead J. Laurie Snell Version dated 2 April 2009 GNU FDL Abstract In this expository article, we discuss the
More informationProbability. Engr. Jeffrey T. Dellosa.
Probability Engr. Jeffrey T. Dellosa Email: jtdellosa@gmail.com Outline Probability 2.1 Sample Space 2.2 Events 2.3 Counting Sample Points 2.4 Probability of an Event 2.5 Additive Rules 2.6 Conditional
More informationEnumeration of Two Particular Sets of Minimal Permutations
3 47 6 3 Journal of Integer Sequences, Vol. 8 (05), Article 5.0. Enumeration of Two Particular Sets of Minimal Permutations Stefano Bilotta, Elisabetta Grazzini, and Elisa Pergola Dipartimento di Matematica
More informationMat 344F challenge set #2 Solutions
Mat 344F challenge set #2 Solutions. Put two balls into box, one ball into box 2 and three balls into box 3. The remaining 4 balls can now be distributed in any way among the three remaining boxes. This
More informationClass 8 - Sets (Lecture Notes)
Class 8 - Sets (Lecture Notes) What is a Set? A set is a well-defined collection of distinct objects. Example: A = {1, 2, 3, 4, 5} What is an element of a Set? The objects in a set are called its elements.
More informationAn interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g.,
Binary exponentiation An interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g., What are the last two digits of the number 2 284? In the absence
More informationSET THEORY AND VENN DIAGRAMS
Mathematics Revision Guides Set Theory and Venn Diagrams Page 1 of 26 M.K. HOME TUITION Mathematics Revision Guides Level: GCSE Higher Tier SET THEORY AND VENN DIAGRAMS Version: 2.1 Date: 15-10-2015 Mathematics
More informationThe Product Rule The Product Rule: A procedure can be broken down into a sequence of two tasks. There are n ways to do the first task and n
Chapter 5 Chapter Summary 5.1 The Basics of Counting 5.2 The Pigeonhole Principle 5.3 Permutations and Combinations 5.5 Generalized Permutations and Combinations Section 5.1 The Product Rule The Product
More informationSec.on Summary. The Product Rule The Sum Rule The Subtraction Rule (Principle of Inclusion- Exclusion)
Chapter 6 1 Chapter Summary The Basics of Counting The Pigeonhole Principle Permutations and Combinations Binomial Coefficients and Identities Generalized Permutations and Combinations 2 Section 6.1 3
More informationMath 475, Problem Set #3: Solutions
Math 475, Problem Set #3: Solutions A. Section 3.6, problem 1. Also: How many of the four-digit numbers being considered satisfy (a) but not (b)? How many satisfy (b) but not (a)? How many satisfy neither
More informationSymmetric Permutations Avoiding Two Patterns
Symmetric Permutations Avoiding Two Patterns David Lonoff and Jonah Ostroff Carleton College Northfield, MN 55057 USA November 30, 2008 Abstract Symmetric pattern-avoiding permutations are restricted permutations
More informationSection II.9. Orbits, Cycles, and the Alternating Groups
II.9 Orbits, Cycles, Alternating Groups 1 Section II.9. Orbits, Cycles, and the Alternating Groups Note. In this section, we explore permutations more deeply and introduce an important subgroup of S n.
More informationDiscrete Mathematics with Applications MATH236
Discrete Mathematics with Applications MATH236 Dr. Hung P. Tong-Viet School of Mathematics, Statistics and Computer Science University of KwaZulu-Natal Pietermaritzburg Campus Semester 1, 2013 Tong-Viet
More informationWhat is counting? (how many ways of doing things) how many possible ways to choose 4 people from 10?
Chapter 5. Counting 5.1 The Basic of Counting What is counting? (how many ways of doing things) combinations: how many possible ways to choose 4 people from 10? how many license plates that start with
More information