- maaatom5
- Business Statistics-Group 3g
- Anoka_Hennepin_Probability_and_Statistics-4 2013 NEW.pdf
- dets
- Globul-Eucatorul unguresc
- SSLC maths paper
- Permutation&Combination
- Permute
- 18002__735
- Bm Moduleiii
- Topic 2 Combinations
- Combinat or Ics
- 456Ch 07 Permutations Combinations Ncert11
- Hopf Algebras of heap Ordered Trees
- ch4- Counting principle
- 2 2 domain and range pdf for online
- Fettweis_G_IEEE_commun_95
- 687Sample paper_1 for class x
- 2010 1st Semester Final Examination
- genetic algorithm ppt
- Tmp 3008
- 2017 add maths trial spm paper 1
- Cst181-1 Lecture 02
- Algebra Review Topics 2015 16
- CUBIC CONVERGENT MODIFIED NEWTON’S METHOD.
- Maths Methods Exam 1 Units 3&4 Solutions 2011
- CS146hw2
- GCD and LCM of Polynomials
- A Hyper-Heuristic Approach to Evolving Algorithms Dor Bandwidth Reduction Based on Genetic Programing
- Algebraic
- Barrons ISEE Middle Upper Level Sec 4 Math Practice Test KEY
- Barrons ISEE Middle Upper Level Sec 4 Math Practice Test Too Easy
- TopicNote_T2_6
- 2011 NMTC-Paper-2011.pdf
- 8E2012
- TopicNote_T1_6
- IPM Mega Final Standard 5 2008-2016 with answer key.pdf
- 8E2011
- Diagnostic Paper - Printed 2 July 2018
- TopicNote_T3_7
- Maharashtra Talent Search.pdf
- 5th_qp.pdf
- Maharashtra Talent Search
- 8E2013
- TopicNote_T5_5
- Sample Paper1
- TopicNotes - Conclusion_6 to 9
- Diagnostice test sample_paper.pdf
- Grade 6 Sample
- TopicNotes - Multiple Instrucions_6 to 9
- sample_paper5.pdf
- NMO 6th Standard 2017-18
- 2014 English Level 2 Exam
- Trends - 12 Nov
- Sample Paper2
- Sample Paper4
- 2014 Math Level 2 Exam
- Sample Paper3
- 2011 English
- Trends Relationships - Done on 19 Oct 2017

Counting

Wednesday, March 24, 2010

**The addition principle
**

The addition principle, which is really just a formalization of the common-sense idea of what addition

means, says:

If a task can be done using either of two different methods (but not both methods simul-

taneously), the first of which can be done in m ways and the second of which can be done

in n ways, then there are m + n different ways of completing the task.

One application of the addition principle is in counting the number of elements in the union of two

disjoint sets, A and B. The “task” to be performed is to choose an element from the union A ∪ B.

This can be done in either of two different methods: either choose an element of A, or choose an

element of B. If we let m = |A| and n = |B|, then there are m ways to choose an element of A and

n ways to choose an element of B, so the total number of ways to choose an element of A ∪ B (in

other words, the number of elements of A ∪ B) is m + n, or |A| + |B|. So:

If A and B are disjoint sets (that is, A ∩ B = ∅), then

|A ∪ B| = |A| + |B|.

The principle of inclusion–exclusion

If we attempt to use the addition principle to find |A ∪ B| for two sets A and B that are not disjoint,

we will have overcounted. This is because the elements in the intersection A ∩ B will be counted

twice—once for being an element of A and once for being an element of B. To correct for this

overcounting, we need to subtract |A ∩ B|. This gives the following formula, which is often called

the principle of inclusion–exclusion:

If A and B are sets, then

|A ∪ B| = |A| + |B| − |A ∩ B|.

**We can also use this equation to get an expression for |A ∩ B|. Let’s add the quantity |A ∩ B| to
**

both sides; this gives us

|A ∪ B| + |A ∩ B| = |A| + |B|.

Now subtracting |A ∪ B| from both sides produces the desired formula:

|A ∩ B| = |A| + |B| − |A ∪ B|.

Note that this is exactly the same as the formula for |A ∪ B|, except that the symbols ∪ and ∩ have

been switched.

**The multiplication principle
**

Like the addition principle, the multiplication principle is a formalization of common sense. In this

case, we are formalizing the common-sense idea of what multiplication means. The multiplication

principle says:

If a task can be broken up into two steps, the first of which can be done in m ways and

the second of which can be done in n ways (regardless of how the first step is done), then

there are mn different ways of completing the task.

The multiplication principle can easily be extended to tasks that require more than two steps. For

example, if a task can be broken up into three steps, the first of which can be done in m ways, the

second of which can be done in n ways (regardless of how the first step is done), and the third of

which can be done in p ways (regardless of how the first and second steps are done), then there are

mnp different ways of completing the task.

Page 1

when the order of the choices is important. and so on). and 3. 3. where each of the digits can be 0. and so on. or 9 (leading zeroes are allowed). with replacement. this can also be written as nr . 1. 3} are 1. 3. after we choose an element. we again view it as a task to be performed and use the multiplication principle. 2. the permutations of the set {1. is n! n(n − 1)(n − 2) · · · (n − r + 1) = . So there are n different ways to make the first choice. 5. 2. To count the number of permutations of a set of n objects. n − 1 different ways to make the second choice. and the third place winner. making the second choice. (There are good reasons for this. and breaking it up into r steps (making the first choice. For example. 2. we cannot choose it again. which is broken up into r steps: making the first choice. 3. The last factor will be n − r + 1 (not n − r. 2. We can view this as a task to be performed. order important Suppose we have a set of n objects. 1. and we want to repeatedly choose an element of the set. so the same element may be chosen more than once). without replacement (so no element can be chosen twice). 1. Note that 0! is defined to be 1. then. we put it back into the set. r times in all. 2. 1.” and is written with the symbol n Pr or P (n. Since there are n objects in the set. n − 2 different ways to make the third choice. 4.Choosing with replacement. and only 1 way to make the last choice. For example. The task can be broken up into n steps: choosing the first element of the permutation. 1. and so on. just as before when we were counting permutations. (n − r)! This is sometimes called “the number of permutations of n objects taken r at a time. choosing the second element of the permutation. with replacement (meaning that. Suppose also that the order in which the elements are chosen is important. with r factors of n. 3. Note that once we have chosen an element.) Choosing without replacement. n − 1 different ways to make the second choice. 8. perhaps we are choosing a six-digit identification number for a new product. because each element appears only once in the permutation. The difference is that here we are only making r choices in all. Hence: The number of ways to choose r elements from a set of n objects. Therefore: The number of ways to choose r elements from a set of n objects. the second place winner. making the second choice. 3. and so on. Viewing this as a task to be performed. there will be only 2 ways to make the second-to-last choice. so there are only r factors in the multiplication. Therefore: The number of permutations of a set of n objects is n! = n(n − 1)(n − 2) · · · 3 · 2 · 1. Page 2 . without replacement. Suppose also that the order in which we choose the r elements is important (so choosing the element 1 first and the element 2 second should be considered to be different from choosing the element 2 first and the element 1 second). we see that there are n different ways to make the first choice. why?). the number of ways to perform the task is n × n × n × · · · × n. 2. By the multiplication principle. For example. 2. r). 7. 2. order important Suppose we have a set of n objects. 6. is nr . each of these choices can be made in n different ways. 1. when the order of the choices is important. and we want to choose r of them. perhaps we are judging submissions to an essay contest and must choose the first place winner. Permutations A permutation of a set of n objects is a particular rearrangement or ordering of the elements of the set. and so on. 3.

The pigeonhole principle The pigeonhole principle. Therefore. order not important) Suppose. which is read “n choose r. Choosing with replacement. r! r!(n − r)! n This number comes up so frequently that it has a special notation: r . We know that n Pr is the number of ways to do this if order is important. it is essential to know whether replacement is or is not allowed and whether the order in which the elements are chosen is or is not important. However. that we have a set of n objects from which we want to choose r elements without replacement. If we plug in n = 5 and r = 5 into the formula above. is just a formalization of a common-sense idea. we get 0! as part of the denominator. despite its apparent obviousness.Combinations (choosing without replacement. For example. Page 3 . we must divide n Pr by r! to correct for the overcounting.” and is sometimes written with the symbol n Cr .” The formula for nr is. so n Pr will count it r! times. However. This is the number of ways to choose n elements from a set of size n. without replacement. so it is worthwhile to state it explicitly. if we don’t care about the order of the choices. We have covered three of the possibilities above. is n Pr n! = . the last possibility is that the choices are made with replacement and the order is not important. as noted above. The formula for nr provides one good reason for the definition that 0! = 1. perhaps we are dealing a poker player a hand of five cards from a 52-card deck. but this time suppose that the order in which the elements are chosen is not important. the pigeonhole principle is often a very useful tool. when the order of the choices is not important. like the other “principles” described above. r r!(n − r)! This is sometimes called “the number of combinations of n objects taken r at a time. The pigeonhole principle says: If we are placing objects in boxes and there are more objects than boxes. Clearly there is only one way to do this— choose all n elements of the set. each individual subset of size r has r! permutations. order not important We have seen that. then at least one of the boxes must receive at least two objects. when counting the number of ways to make a sequence of choices. So nn should be 1. Or perhaps. we are choosing a subset of size r from a larger set of size n. where the order in which the elements are chosen does not matter. and will be explored in a problem on Homework 6. Consider the expression nn . n n! = . This is somewhat subtler than the other three cases. as above. So: The number of ways to choose r elements from a set of n objects. the only way the formula will give us the “right” answer is if 0! = 1. in more abstract terms.

- maaatom5Uploaded byoviroger
- Business Statistics-Group 3gUploaded byBryan Pacot
- Anoka_Hennepin_Probability_and_Statistics-4 2013 NEW.pdfUploaded byhfarrukhn
- detsUploaded byRose Marie Hao
- Globul-Eucatorul ungurescUploaded bynero20012
- SSLC maths paperUploaded byraghs80
- Permutation&CombinationUploaded byfazlina
- PermuteUploaded bySmita Agrawal
- 18002__735Uploaded byhuevonomar05
- Bm ModuleiiiUploaded bySingh Abhilasha
- Topic 2 CombinationsUploaded byMarc Lambert
- Combinat or IcsUploaded byBeverly Paman
- 456Ch 07 Permutations Combinations Ncert11Uploaded bySJAIN12
- Hopf Algebras of heap Ordered TreesUploaded byDirect55
- ch4- Counting principleUploaded byMohammad Gulam Ahamad
- 2 2 domain and range pdf for onlineUploaded byapi-234934912
- Fettweis_G_IEEE_commun_95Uploaded byapi-19790923
- 687Sample paper_1 for class xUploaded bygr8frnd009
- 2010 1st Semester Final ExaminationUploaded byBernice Thung
- genetic algorithm pptUploaded bysuhas199
- Tmp 3008Uploaded byFrontiers
- 2017 add maths trial spm paper 1Uploaded byzurasgmt
- Cst181-1 Lecture 02Uploaded byMohamed Suhail
- Algebra Review Topics 2015 16Uploaded byFowd91
- CUBIC CONVERGENT MODIFIED NEWTON’S METHOD.Uploaded byIJAR Journal
- Maths Methods Exam 1 Units 3&4 Solutions 2011Uploaded byTilli
- CS146hw2Uploaded byJonathan Adam
- GCD and LCM of PolynomialsUploaded byrayi171984
- A Hyper-Heuristic Approach to Evolving Algorithms Dor Bandwidth Reduction Based on Genetic ProgramingUploaded byChristian Padilla
- AlgebraicUploaded bynamos

- Barrons ISEE Middle Upper Level Sec 4 Math Practice Test KEYUploaded byprasadkvss
- Barrons ISEE Middle Upper Level Sec 4 Math Practice Test Too EasyUploaded byprasadkvss
- TopicNote_T2_6Uploaded byprasadkvss
- 2011 NMTC-Paper-2011.pdfUploaded byprasadkvss
- 8E2012Uploaded byprasadkvss
- TopicNote_T1_6Uploaded byprasadkvss
- IPM Mega Final Standard 5 2008-2016 with answer key.pdfUploaded byprasadkvss
- 8E2011Uploaded byprasadkvss
- Diagnostic Paper - Printed 2 July 2018Uploaded byprasadkvss
- TopicNote_T3_7Uploaded byprasadkvss
- Maharashtra Talent Search.pdfUploaded byprasadkvss
- 5th_qp.pdfUploaded byprasadkvss
- Maharashtra Talent SearchUploaded byprasadkvss
- 8E2013Uploaded byprasadkvss
- TopicNote_T5_5Uploaded byprasadkvss
- Sample Paper1Uploaded byprasadkvss
- TopicNotes - Conclusion_6 to 9Uploaded byprasadkvss
- Diagnostice test sample_paper.pdfUploaded byprasadkvss
- Grade 6 SampleUploaded byprasadkvss
- TopicNotes - Multiple Instrucions_6 to 9Uploaded byprasadkvss
- sample_paper5.pdfUploaded byprasadkvss
- NMO 6th Standard 2017-18Uploaded byprasadkvss
- 2014 English Level 2 ExamUploaded byprasadkvss
- Trends - 12 NovUploaded byprasadkvss
- Sample Paper2Uploaded byprasadkvss
- Sample Paper4Uploaded byprasadkvss
- 2014 Math Level 2 ExamUploaded byprasadkvss
- Sample Paper3Uploaded byprasadkvss
- 2011 EnglishUploaded byprasadkvss
- Trends Relationships - Done on 19 Oct 2017Uploaded byprasadkvss