280 likes | 427 Views
Discrete Structures – CNS2300. Text Discrete Mathematics and Its Applications (5 th Edition) Kenneth H. Rosen Chapter 4 Counting. Section 4.3. Permutations and Combinations. Picture Taking Time. Picture Taking Time. Permutations. Arrangements Order is important I P Y I Y P
E N D
Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications (5th Edition) Kenneth H. Rosen Chapter 4 Counting
Section 4.3 Permutations and Combinations
Permutations • Arrangements • Order is important IPY IYP Same elements, different order (permutation)
How Many Permutations (Arrangements)? IYP This can be solved using the product rule. IPY YIP YPI PIY PYI There are three decisions to be made. For the first decision, three choices For the second decision, two choices For the third decision, one choice Therefore (3)(2)(1)=6 permutations
zvfzvrzfvzfrzrvzrfvfzvfrvrfvrzvzrvzf fvzfvrfrzfrvfzv fzrrvfrvzrfvrfzrzfrzv Have 4, arrange 3 zvfr
Permutations The number of r-permutations of a set with n distinct elements is
Another Choice, Same Committee First Choice
Combinations • Subsets • Order is not important IPY IYP Since order is not important, these are the same subset (combination)
How Many Combinations (Subsets)? If there are three objects and you are choosing three, there is only one subset, since order is not important. IYP IPY YIP YPI PIY PYI
zvfzvrzfvzfrzrvzrfvfzvfrvrfvrzvzrvzf fvzfvrfrzfrvfzv fzrrvfrvzrfvrfzrzfrzv Have 4, choose 3 zvfr
zvfzvrzfrzrvzrfvfrvrfvrzvzr fvrfrzfrvfzrrvfrvzrfvrfzrzfrzv Have 4, choose 3 zvfr
zvfzvrzfrzrvzrfvfrvrfvrzvzr fvrfrzfrvfzrrvfrvzrfvrfzrzfrzv Have 4, choose 3 zvfr
zvfzvrzfrzrfvfrvrf fvrfrzfrvfzrrvfrfvrfzrzf Have 4, choose 3 zvfr
zvfzvrzfrvfrvrffvrfrv rvfrfv Have 4, choose 3 zvfr
zvfzvrzfrvfr Have 4, choose 3 zvfr If you start with a set containing four objects, there are only four subsets that contain 3 objects.
Combinations The number of r-combinations of a set with n elements, where n is a positive integer and r is an integer with equals
Calvin and Hobbes - Watterson You know, I don’t think Math is a Science. I think it’s a religion. A religion?
Calvin and Hobbes - Watterson Yeah. All these equations are like miracles. You take two numbers and when you add them, they magically become one new number! No one can say how it happens. You either believe it or you don’t
Calvin and Hobbes - Watterson This whole book is full of things that have to be accepted on faith! Its a religion
Calvin and Hobbes - Watterson And in the public schools no less. Call a lawyer. As a math atheist, I should be excused from this.