Download presentation
Presentation is loading. Please wait.
1
An introduction to Combinations
Slideshow 61, Mathematics Mr Richard Sasaki, Room 307
2
Objectives Understand the meaning of a combination
Recall how to calculate combinations without repetition (without replacement) Learn how to calculate combinations with repetition (with replacement)
3
1, 2 1, 3 2, 3 1, 4 2, 4 3, 4 Combinations What is a combination?
A combination is an arrangement of objects (numbers, letters, words etcβ¦) where order doesnβt matter. For example: 1, 2 is the same as 2, 1 Letβs list the possible ways we can pick two numbers from 1, 2, 3 and 4 π=4, π=2 where repetition is not okay. 1, 2 We get 6 results. It isnβt obvious how to make a formula is it? 1, 3 2, 3 1, 4 2, 4 3, 4
4
Combinations without repetition
So weβre picking 2 from 4 π=4, π=2 with no order and no repetition. If order did matter weβd also getβ¦ 1, 2 2, 1 1, 3 2, 3 3, 1 3, 2 1, 4 2, 4 3, 4 4, 1 4, 2 4, 3 C: We get 6 results. P: We get 12 results. Why is the number of combinations half of the number of permutations? Because permutations involve order and there are two ways of ordering a pair (π=2).
5
Combinations without repetition
How many ways are there of ordering a trio (π=3)? 6β¦right? How many ways are there to order r items? r! Formula for permutations without repetition Formula for combinations without repetition π! πβπ ! π! πβπ ! nPr = nCr = π! Again, all we have to do is simple substitution.
6
Combinations without repetition
Letβs try an example. Example There are 5 bears in the park and food is given to them. Only 3 bears are successful in getting food. How many combinations of the bears getting food are there? π=5 π=3 π! π! πβπ ! = 5! 3! 5β3 ! = 5! 3!β2! = β2 5C3 = = 10 combinations
7
6 6 120 56 1 91 23
8
455 210 495 84 715 Because π! π! πβπ ! = π! π! =1 when π=π.
120β119β118 6
9
Combinations with repetition
This is our final challenge for Chapter 6. Unfortunately there isnβt any known good way to prove it, just kind of get the result from patterns. Letβs imagine that we have ice cream in 5 different boxes like soβ¦ And we pick three scoops. (Repetition is okay.) π=5, π=3 Banana Chocolate Lime Strawberry Vanilla The problem is, a robot is taking our order and we need to give him our order in βOβ and βββ symbols where O means choose and β means pass. All orders start at bananaβ¦ and end at vanilla.
10
Combinations with repetition
Banana Chocolate Lime Strawberry Vanilla O means choose and β means pass. (π=5, π=3) If we want chocolate, lime and vanillaβ¦ β O β O β β O If we want a banana and two vanillaβ¦ O β β β β O O If we want three strawberryβ¦ β β β O O O β The point of this is we always do 7 commands. In the general case for π and π weβd always do π+(πβ1) commands (we picked 3 (O) and moved 4 (β)). So we do π+(πβ1) commands and pick π scoops (instead of π choices and π being picked.
11
Combinations with repetition
Lastly, we insert π+πβ1and π scoops into our combinations formula instead of π and π. So instead ofβ¦ π! π! πβπ ! nCr = We getβ¦ (π+πβ1)! π! (π+πβ1)βπ ! = (π+πβ1)! π! πβ1 ! n+r-1Cr = β΄n+rβ1Cr = (π+πβ1)! π! πβ1 !
12
Combinations with repetition
Letβs try an example. Example There are 5 bears in the park and 3 portions of food are given to them. Only up to 3 bears are able to get food but it is possible for a bear to eat 1, 2 or 3 portions. What are the combinations that the bears can eat food? π=5 π=3 (π+πβ1)! π! πβ1 ! = (5+3β1)! 3! 5β1 ! = 7! 3!β4! = β24 5+3-1C3 = = 35
13
10 70 10 231 210
14
35 56 1365 2002 35 a. π=5, π=3 b. π=12, π=4 c. π=10, π=5 1820 a. π=7, π=3 b. π=15, π=4 c. π=14, π=5
15
125 720 210 126
16
125 210 792 He must have eaten at least two of the same type. 210 360
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.