1 / 16

Applied Combinatorics, 4 th Ed. Alan Tucker

Applied Combinatorics, 4 th Ed. Alan Tucker. Section 5.3 Arrangements and Selections With Repetitions. Prepared by: Nathan Rounds and David Miller. Theorem 1.

bcovington
Download Presentation

Applied Combinatorics, 4 th Ed. Alan Tucker

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Applied Combinatorics, 4th Ed.Alan Tucker Section 5.3 Arrangements and Selections With Repetitions Prepared by: Nathan Rounds and David Miller Tucker, Sec. 5.3

  2. Theorem 1 • If there are n objects with r1 of type 1, r2 of type 2, …, and rm of type m, where r1+r2+…+rm= n, then the number of arrangements of these n objects denoted P(n; r1,r2,…,rm) is: Tucker, Sec. 5.3

  3. A _ _ A _ A Places to put the A’s A _ NANA Places to put the N’s ABNANA Places to put the B Example/Proof • How many ways are there to arrange the six letters: B-A-N-A-N-A ? Six places:_ _ _ _ _ _ Tucker, Sec. 5.3

  4. Example/Proof cont’d Total = (2) Combinations Tucker, Sec. 5.3

  5. Alternate Proof • Suppose we add subscripts to each of the ri objects of type i to make each object distinct. • Then there are n! ways to arrange the n distinct objects. • We can account for each of these arrangements by switching the subscripts around in each type of object, as follows with the “banana example”. ba1a2nna3 ba2a1nna3 ba3a1nna2 ba3a2nna1 ba1a3nna2 ba2a3nna1 Tucker, Sec. 5.3

  6. Alternate Proof cont’d ba1a2nna3 ba2a1nna3 ba3a1nna2 ba3a2nna1 ba1a3nna2 ba2a3nna1 • In this example, there are 3! ways to rearrange the as and one will notice that there are 2! ways to rearrange the ns in each of these arrangements. • In general, there are r1!r2! . . . rm! arrangements for a group of m types. This gives us: n!=P(n;r1, r2, . . . rm) r1!r2! . . . rm! P(n;r1, r2, . . . rm)=n!/(r1!r2! . . . rm!) Tucker, Sec. 5.3

  7. Theorem 2 • Selections-With-Repetition • The number of selections with repetition of r objects, chosen from n types of objects is: C(r + n –1, r). Tucker, Sec. 5.3

  8. Example/Proof • How many ways are there to fill a box with a dozen doughnuts chosen from five different varieties with the requirement that at least one doughnut of each variety is picked? • First you would pick one doughnut of each variety to meet the requirement and then pick the seven remaining doughnuts anyway you please. Using Theorem 2 : C(r + n –1, r) Where r is the number of objects picked in any order n is the different types of objects We get: C(7 + 5 –1, 7) = 330 ways to pick a dozen doughnuts Tucker, Sec. 5.3

  9. Example/Proof cont’d • Had the requirement been that we need at least two of each type of doughnut, we would have picked two of each variety and then picked the remaining two however we pleased. Then we get: C(2 + 5 –1, 2) = 15 ways to pick a dozen doughnuts • With this requirement we can easily see that this theorem works, since there are 15 combinations of 2 objects if we are selecting the objects from 5 different types. Tucker, Sec. 5.3

  10. Example 3 • How many different ways are there to select six hot dogs from three different hot dog types? Tucker, Sec. 5.3

  11. Solution • Suppose the three types are chili dogs, foot-longs, and regular hot dogs. • We can show how many of each we choose with the following notation: Foot-LongChiliRegular x x | x x | x x • By placing two vertical lines between the hot dogs (each represented by the letter x) we can say that the hot dogs between the lines are chili dogs, those to the left of both lines are foot-longs, and those to the right of both lines are regular hot dogs. Tucker, Sec. 5.3

  12. Solution cont’d • We can think of the total number of hot dog combinations as the number of ways we can arrange 6 x’s and 2 vertical lines into 8 spots. For example, here is one arrangement. __ __ __ __ __ __ __ __ Foot-Longs Chili Regular • Using Theorem 1 this gives us P(8;6, 2) x x | x x x | x æ 8 ö æ 2 ö = 28 combinations è 6 ø è 2 ø Tucker, Sec. 5.3

  13. Example 4 • This example deals with arrangements with restricted positions. How many ways are there to arrange the letters in B-A-N-A-N-A such that the B is always immediately followed by an A? Tucker, Sec. 5.3

  14. Solution • This amounts to sticking the B and an A together as if they were one letter and finding the number of ways to arrange the five objects: BA, A, A, N, N. • Using Theorem 1 this gives us P(5; 2, 2, 1) = 5!/(1!2!2!) = 30 Arrangements Tucker, Sec. 5.3

  15. Class Exercise Pretend you are a math major who is behind in requirements and you must take 4 math courses next semester. Your favorite professor, Jo Ellis-Monaghan, is teaching 2 courses next semester and therefore you “must” take at least one of them. If there are 4 different math courses (besides those that Jo is teaching) available to you, how many ways are there to take your 4 classes? Tucker, Sec. 5.3

  16. Solution • Let us call the two courses taught by Jo, courses A and B. • Case 1 – You take course A only • In this case, there are 4 ways to choose 3 of the 4 non-Jo courses. • Case 2 – You take course B only • In this case, there are 4 ways to choose 3 of the 4 non-Jo courses. • Case 3 – You take courses A and B • In this case, there are 6 ways to choose 2 of the 4 non-Jo courses. Adding up the choices in each case gives us 4+4+6=14 different ways. Tucker, Sec. 5.3

More Related