|
Wiki Menu
Home |
COUNTING SUBSETS OF k THINGS OUT OF n THINGS A SET is an unordered collection of things. ASSIGNMENT: PART 1What extra step(s) must you do to convert a. How many k letter subsets can you make from n letters? Fill in exactly 3 rows.
? Correct those entries with a ? Next to your name, put a * to mean redid In the Problem column, list the problem you claim b. Write a rule that counts the subsets of k things taken from n different things. Write a rule where n is any number of letters, and k is the number of letters that you select from the n letters. c. How is your rule similar to the rule for counting arrangements of subsets? d. How does your rule differ from the rule for counting arrangements of subsets? For 3 points, discuss questions a to d in a comment. For 1 point, fill in 3 rows of the table above. Insert extra rows when necessary. At the end of the course, I will grade each of you by how much you contributed to the discusssion. ASSIGNMENT: PART 2Pick one problem from the list below that no one else has picked. For 3 points, copy and answer the question with a comment. Tell us which question you are answering. Show us how you got your answer. Explain why your method works. Don't just plug numbers into a formula. Use only + - * / operators. After all problems have been taken, work the extra problem on the list. Send the answer privately via email. Do not post it here!
HOW MANY WAYS CAN YOU ...
Comments:From wHolt - 12/15/06 5:15 PM BassLady - on this page, the order does not matter. So fix yours accordingly.
From BassLady - 12/15/06 2:52 PM #19. Select 3 outfielders from 9 baseball players? I don't think anyone has chosen this problem yet. To select 3 outfielders from 9 baseball players - 9 * 8 * 7 = 504 different ways From BassLady - 12/13/06 8:39 AM I am not able to edit the page to change my numbers on the table. Those options are not in the right top corner.
From Tiger - 11/28/06 9:54 PM #12 There is only 1 way to eat 12 doughnuts from a box of 12.
From wHolt - 11/27/06 9:41 AM Pac - compute #17 when order does matter. Kathi - you are only choosing 2 letters, not 26. From Kathi - 11/27/06 9:00 AM 26 * 1 was a short way to figure the answer. The last post was trying to answer your next question was this the wrong way to find the answer to the question? From Pac - 11/26/06 12:07 PM From wHolt - 11/20/06 11:02 AM Pac - in part 2, does the order you put the toppings on the pizza matter? From wHolt - 11/24/06 4:22 PM Kathi - you counted how many ways you can arrange 24 out of 26 letters!
Are you making up a problem? I thought you already claimed #1 From Kathi - 11/24/06 8:13 AM How many ways can you choose 2 letters from the alphabet. 26x25x24x23x22x21x20x19x18x17x16x15x14x13x12x11x10x9x8x7x6x5x4x3x2x1=403291461126605635584000000 In order to allow you to find the ways you can choose the two letters without repeating the same letter as the first you need to divide the number of ways you can choose two letters by the number of duplicate ways or 2x1. n(n-1)(n-2)(n-3)...../2*1 This means there are 201645730563302817792000000 ways to choose two letters without repeating the same two.
From CenterField - 11/23/06 4:42 PM Part 1: B. Subsets of K things out of N things: Follow the same pattern as mentioned above, but divide the product by (K)*(K-1)*(K-2)... for K number of positions. C. How is your rule similar to the rule for counting arrangements of subsets? The rule in B is similar to that of A because both of them begin with the same pattern... Part 2: How many ways can you... From wHolt - 11/23/06 11:00 AM OK Pringle - you get your point back. But why did you divide?
Or why did the formula tell you to divide? This is not meant to be a hard question. From Pringle - 11/22/06 9:45 PM a. How many k letter subsets can you make from n letters? n*n-1* n-2*..* n-(n-1)/n-K* n-k-1*n-k-2*..n-k-(k-1)/k*k-1*k-2*..*k-(k-1) b. Write a rule that counts the subsets of k things taken from n different things. count n letters n*(n-1)*(n-2)*(n-(n-1)),which the last number is equal to 1 and then divided by (n-k)(n-k-1)..*(n-k-(k-1))=which this is 1 also., to get the number of arrangements k out of n. and then this has to be divided by k*k-1*k-2*..*k-(k-1) to eliminate duplicated used numbers. c. How is your rule similar to the rule for counting arrangements of subsets? n*n-1* n-2*..* n-(n-1)/n-K* n-k-1*n-k-2*..n-k-(k-1) has to be divided by k*k-1*k-2*..*k-(k-1) again. Assignment 2 I picked # 11 11. Pick 11 players out of 20 for a football team? 20*19*18*17*16*15*14*13*12*11*10*9*8*7*6*5*4*3*2*1/9*8*7*6*5*4*3*2*1 = 6704425728000 / 11*10*9*8*7*6*5*4*3*2*1 = 167960 From wHolt - 11/22/06 1:35 PM Not enough of you are telling me why you are dividing by some number. Write your problem number or I others will steal your claim. JooJoo - Instead of dividing by 8x7x6x5x4x3x2x1 use these numbers to obtain your answer Tiger - this assignment does not count the order Pringle loses a point for using ! Nice diagrams from David. From David - 11/22/06 10:57 AM n=4, k=3 A. 4x3x2x1/3x2x1=4
Since k=3 we can disregard the top row with only four letters on it. Each one of the four groups represents a single "subset of k things out of n things."
B. n*(n-1)*(n-2)*(n-3)...*(n-k)/n-k*(n-k-1)*(n-k-2)...*(n-k-k)/k*(k-1)(k-2)...*(k-k)
D. This is different because in the other excercises, duplicate combinations didn't matter. Assignement part dux 2. Select 2 different weeks in the year for a vacation? Im sure WHolt will want a better explanation but its thanksgiving, turkey is ready. 52*51/2*1=1326 ways to pick two different weeks of the year for vacation. From Pringle - 11/22/06 10:28 AM a. How many k letter subsets can you make from n letters? n!/ (n-K)! / K! b. Write a rule that counts the subsets of k things taken from n different things. count n letters n*(n-1)*(n-2)*(n-(n-1)) and then divided by (n-k) ! and then this has to be divided by k! to eliminate duplicated used numbers. c. How is your rule similar to the rule for counting arrangements of subsets? n!/ (n-k)! has to be divided by k! again. Assignment 2 I picked # 11 11. Pick 11 players out of 20 for a football team? 20*19*18*17*16*15*14*13*12*11*10*9*8*7*6*5*4*3*2*1/9*8*7*6*5*4*3*2*1 = 6704425728000 / 11*10*9*8*7*6*5*4*3*2*1 = 167960 From Zonino - 11/21/06 10:15 PM Part 1 If we take two letters then we could have the following subsets: b - The rule would be to find the total # of arrangements by using the formula n*(n-1)*(n-2)...(n-k+1) to determine the total number of arrangements for k out of n things. To remove the duplications, we would then divide by k(k-1)*(k-2).. Thus if we wanted to pick 2 out of 5 things, we would take 5*4 which is 20 and then divide by 2*1 which is 2 to result in 10 possibilities. c - The rule is similar to the rule of finding arrangements in that we are trying to remove all duplicate arrangements from our count. In this way we do not count the same subset twice. d - The rule is different for counting arrangements because we are only trying to find k number of n arrangements, and not the full number of arrangements. The formula is actually a combination of finding the number of k arrangements of n things and finding the number of distinguishable arrangements of n things. Part 2 Decide which of 13 homes to deliver 3 Looloolo pizzas? We are trying to determine how we can deliver 3 pizzas to 13 homes. We would first find the number of ways to deliver 3 pizzas to 13 homes, which would be 13*12*11 per our formula above. That gives us 1,716 ways. To eliminate the duplicates, we would take 1,716 and divide by 3*2*1 to find the distinguishable arrangements. This leads us to 1,716/6 which is 286 ways. From Draco - 11/21/06 8:19 PM a. How many k letter subsets can you make from n letters? n=6 k=6 6*5*4*3*2*1=720 720/720*1=1 subset b. Write a rule that counts the subsets of k things taken from n different things. Multiply n by each number less than n. Then divide that number by the product of k multiplied by every number less than k, and the product of n-k multiplied by every number less than n-k. In both rules you must divide by n-k. In this rule you must divide by k, and THEN mutiply the quotient by n-k. Choose 10 state capitals in any order to visit? 10272278170000000000 ways to vistit any 10 of the 50 state capitals. n=10*9*8*7*6*5*4*3*2*1=3628800 k=50*49*48*47...*1=3041409320000000000000000000000000000000000000000000000000000000000000000 n-k= 40*39*38*37...*1=815915283300000000000000000000000000000000000000000000000 3041409320000000000000000000000000000000000000000000000000000000000000000/3628800*815915283300000000000000000000000000000000000000000000000= 10272278170000000000
From Tiger - 11/21/06 8:14 PM #12 How many ways can you eat a dozen (12) doughnuts from a box of 12. 12*11*10*9*8*7*6*5*4*3*2*1=479001600 ways to eat 12 doughnuts From JooJoo - 11/21/06 6:05 PM A. How many k letter subsets can you make from n letters? I am also going to use the number from my problem later in the assignment. n=10 and k=8 10x9x8x7x6x5x4x3x2x1/8x7x6x5x4x3x2x1=90 B. if n=10 and k=8 You would do nx(n-1)x(n-2)x(n-3).... and so on until at the end of the problem you have x1 then divide by doing the same with k so.... kx(k-1)x(k-2)x(k-3)... and so on until you get to x1 at the end. then you divide the new n/new k and you get your answer Ex: 10x9x8x7x6x5x4x3x2x1/8x7x6x5x4x3x2x1=90 when n=10 and k=8 Part II #8. How would you shop 8 stores out of 10 in the mall? 10x9x8x7x6x5x4x3x2x1/8x7x6x5x4x3x2x1=90 So there is 90 ways to shop 8 stores out of 10 stores in the mall. From Harkar - 11/21/06 5:44 PM Part 1
a. How many k letter subsets can you make from n letters? N=1, K=1 Arrangements of k things out of n things = 1 Subsets of k things out of n things = 1 b. Write a rule that counts the subsets of k things taken from n different things. Write a rule where n is any number of letters, and k is the number of letters that you select from the n letters. n!/(n-k)!/k! Or, without factorials: n*(n-1) * (n-2) * (n-3)...*(n-k) / n-k*(n-k-1)*(n-k-2)...*(n-k-k)/ k*(k-1)(k-2)...*(k-k) c. How is your rule similar to the rule for counting arrangements of subsets? Part of this rule --n! or n(n-1)...(n-k) – is the rule we used to find the total number of arrangements. d. How does your rule differ from the rule for counting arrangements of subsets? It differs because previously duplicate combinations were also counted. Part 2 #4. Choose 4 linebackers to play any position from 11 football players? 11x10x9x8x7x6x5x4x3x2x1/7x6x5x4x3x2x1=7920 7920/4x3x2x1 = 330 This would mean there are 330 ways to choose 4 linebackers from 11 football players. From wHolt - 11/21/06 12:51 PM Melewen - you do not need to diagram this one.
From Melewen - 11/20/06 4:22 PM a. How many k letter subsets can you make from n letters? You take the number of arrangements of n (n x n-1 x n-2... the number of times that = k) and divide it by k's arrangements (k x k-1 x k-2...). Whatever you get is the number of subsets you can make. b. Write a rule that counts the subsets of k things taken from n different things. The arrangements of n/the arrangements of k = subsets. However, the arrangements of n has to be based on k. For example, if k=3, and n=10, you would do a combination of 3 out of 10, or 10 x 9 x8. You would then divide that by 3 x 2 x 1. If k=6 and n=14, you would calculate n's arrangement as 14 x 13 x 12 x 11 x 10 x 9. Then, k would be calculated as 6 x 5 x 4 x 3 x 2 x 1. You would then divide n's arrangement calculation by k's calculation, in order to remove k's arrangement possibilities from the total arrangement possibilities. c. How is your rule similar to the rule for counting arrangements of subsets? The formula is very similar, but for counting subsets, you have to find the combination of something in relation to k. For instance, if you're trying to make a subset of 4 from 8, then you would find an arrangement like in the anagrams, 8 x 7 x 6 x 5. You do not find the entire arrangement. d. How does your rule differ from the rule for counting arrangements of subsets? The difference is in the extent of finding the arrangement. When counting dupligrams, you just divide the permutated removed letters from the entire arrangement. For instance, if a letter repeated twice in a six letter word, you would find 6 x 5 x 4 x 3 x 2 x 1 first, then divide it by 2 x 1. But for counting subsets, you have to find the combination of something in relation to k. For instance, if you're trying to make a subset of 4 from 8, then you would find an arrangement like in the anagrams, 8 x 7 x 6 x 5. You do not find the entire arrangement.
How many ways can you... 7. Select 7 days in the year for holidays. You find the arrangement of the days in the year in relation to the 7 you want to use for holidays. That would be 365 x 364 x 363 x 362 x 361 x 360 x 359 = 8.145422106e17. Then you take the permutated 7 days for holidays, 7 x 6 x 5 x 4 x 3 x 2 x 1 = 5040. Then you divide the possible arrangement of days and divide it by the permutation: 8.145422106e17/5040 = 1.61615518e14.
From wHolt - 11/20/06 11:02 AM Pac - in part 2, does the order you put the toppings on the pizza matter? 7Iron - I did not see the problem you claimed. Kathi - you have convinced me that multiplying is a short cut for adding, From Houdini - 11/20/06 9:20 AM I'll do number 20 also. And now a word from the Department of Redundancy Department. Instead of writing everything in N's and K's, I'll use my example from the table. n=12, k=4 A. 12x11x10x9x8x7x6x5x4x3x2x1/8x7x6x5x4x3x2x1=11880 This would be the number of ways you could eat four Krystals in a sack of twelve. Now let's say you wanted to find out how many ways you could do this without repeating the same four Krystals. Then you would need to divide your original number by the number of duplicate ways, or 4x3x2x1. This would mean there are 495 ways to eat four Krystals without repeating the same four Krystals. An example of this would be I eat Krystals 1, 2, 3, and 4; or 5, 6, 7, 8; or 9, 10, 11, 12; 1, 2, 3, 5; 6, 7, 11, 12; etc. B. In math terms: n!/(n-k)!/k! In simpler terms:nx(n-1)x(n-2)x(n-3)...x(n-k)/n-kx(n-k-1)x(n-k-2)...x(n-k-k)/kx(k-1)(k-2)...x(k-k) That doesn't look any simpler. C. This is similar because the first two functions, n! or n(n-1)...(n-k), and, /(n-k)! or (n-k)(n-k-1)...(n-k-k), is the same as the amalgam formula. Also n!, or n(n-1)...(n-k) finds the total number of ways to arrange items. D. This is different because in the previous excercises duplicate combonations didn't matter. Part Two: #20: Pick three numbers from the digits 0-9 First, (10x9x8x7x6x5x4x3x2x1)/(7x6x5x4x3x2x1)=720, there are 720 three digit combos, but you don't want to repeat yourself, that would be futile. So, 720/(3x2x1)=120, there are 120 ways to do this without repeating the same numbers. From Kathi - 11/20/06 7:17 AM 26 * 1 was a short way to figure the answer. you have 26 choices and can only choose one of the 26. which in turn means: a or b or c or d or e or ......... or z you can choose a which is one choice or b which would be a 2nd choice or c and so on. 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 = 26 choces or as I first put 26 * 1 = 26 choices From 7Iron - 11/19/06 8:50 PM 3. How many ways can you place 3 X's on a tic-tac-toe grid? You can place 3 X’s on a ttt board assuming that all n objects are different, none of the From Pac - 11/19/06 4:12 PM From wHolt - 11/15/06 2:05 PM Pac- What do you mean with the first and second questions? I don't understand what you're looking for. I'm dividing twice because the first division tells you how many arrangements are possible and then the second division gives you the number of subsets. From wHolt - 11/17/06 2:39 PM Kathi - I read your answer incorrectly. From Kathi - 11/17/06 8:18 AM I may be wrong on this but the way that I read the instructions was this: n = set size and k = subset size if n = 2 then there are 2 sets if k= 1 then there is 1 letter in each subset. if you have n = {A, B} and k = 1 then: subsets can either be: A or B for the subset. AB would be an answer if k = 2 and neither A B or AB would be an aswer if k = 0. Is this a misunderstanding of mine? From wHolt - 11/15/06 2:05 PM Pac- Kathi - assume you have 2 letters A and B. From Kathi - 11/15/06 7:58 AM From Kathi - 11/13/06 4:26 AM part 1 How many subsets can you make from n letters? n = 2 k = 1 P(2,1) = n(n - 1) / (n- 1) = 2 (2-1)/(2-1) = 2 C(2,1) = 2 / k = 2 This is similar to the rule for counting because if we divide n by k in each set we get the combinations. However, in the counting rule the arrangment of items matters where here it does not. From Pac - 11/14/06 5:14 PM Part 1 a. I did n=6, k=4 b. Write a rule. Here are the steps: 1. Find the number of arrangements of k things out of n things with the formula: (n*n-1*n-2*n-3...) / (n-k*n-k-1*n-k-2...) 2. Take that quotient and divide by (k*k-1*k-2*k-3...) 3. That quotient is the answer! c. The rule is similar because that counting of arrangements rule is the first part of this rule. d. This rule has additional steps as detailed in step 2 above.
Part 2 >#17. Select 3 toppings out of 17 top go on your pizza? From wHolt - 11/14/06 12:50 AM Simple ideas are the most difficult to explain. From SuperDuke - 11/13/06 1:27 PM It's hard to explain this one without sounding like your repeating Boki. Of Coarse I'll try! I'll use the Bush Example. BUSH can have 24 possible 3 letter combinations. But 5 out of every 6 will be duplicates. We must rule out these. 4x3x2/3x2x1 gives us our 4 subsets which are not repeated. But why did I divide by K's factorial product (3x2x1)? Hmm? working on that explanation. Ok here's some insight, Mr. holt please correct me if I'm wrong. In order to not repeat our subsets we would first need to know how many combinations of K there were. If K = 3 then we would need K's factorial product which is k(k-1)(k-2) or 3x2x1 in our example. So we now know that each subset would have 6 possible cominations. Example: "BUSH" could contain BUS which is also SUB USB BSU SBU UBS. Like I said pick one and the rest are duplicates. So we find our total combinations which is N(N-1). . . (N-K+1) which is 4x3x2 = 24, then we divide by our possible subset combinations (Duplicates) which is 3x2x1 =6 Now we have an answer which represents one of each of the subsets instead of all six combinations of the letters for each. And we arrive at 4. "ush bsh bus buh"
How many ways can you hire 3 people from 15 applicants? Initially I will be looking at 15 applications, after choosing one I will have 14 left, then after I choose the second one I will be left with 13. 15 choices * 14 choices * 13 Choices = 2730 possible routes to pick 3 people. From Boki - 11/13/06 11:52 AM I divided (52*51*50*49*48) by 5*4*3*2*1 in order to get a total number
From wHolt - 11/13/06 10:32 AM Kathi - how does your answer correspond with your method?
Explain why you multiplied 26*1 Boki - can you explain more clearly why you divided by 5*4*3*2*1 ? I may not know this word permutation... From Boki - 11/13/06 7:15 AM 1.
a. How many k letter subsets can you make from n letters? n=5 k=2 P(5,2)= 5*4*3*2*1/3*2*1=5*2=20 C(5,2)=5*4*3*2*1/2*1*3*2*1=5*2=10 b. Write a rule that counts the subsets of k things taken from n different things. Write a rule where n is any number of letters, and k is the number of letters that you select from the n letters. P(n,k)=n * (n-1) * (n-2) * ... * (n - k + 1 If we divide n * (n-1) * (n-2) * ... * (n - k + 1) with 1* 2*3*…………………*k we will get a rule that counts the subsets of k things taken from n different things, C (n, k) n * (n-1) * (n-2) * ... * (n - k + 1)C(n,k) = -------------------------------------------- = n/k*(n-1)/(k-1)*(n-2)/ (k-2)*………*(n-k+1)/1 k*(k-1)*(k-2)*………* 1c. How is your rule similar to the rule for counting arrangements of subsets? The similarity between my rule (the combinations of n things taken k at a time) and the rule for counting arrangements of subsets (the permutations of n things taken k at a time) is that all we have to do is divide the number of permutations by the number of permutation in each set in order to get combinations. d. How does your rule differ from the rule for counting arrangements of subsets?The difference between my rule (the combinations of n things taken k at a time) and the rule for counting arrangements of subsets (the permutations of n things taken k at a time) is that in my rule the order of events is not important (A, B = B, A), but in the rule for counting arrangements of subsets the order of events is important (A, B ≠ B, A) 2. #5. Deal 5 card hands from a 52 card deck. In order to find how many ways are there to deal 5 card hand from a 52 card deck we will have to multiply k consecutive numbers together, starting with the number "n" as the highest number and divide the product with all possible permutations of the number k.
From Kathi - 11/13/06 4:26 AM #1. Pick 1 letter from the alphabet? 26 letters in the alphabet, only 1 choice to be made. n= {26} k = {1} 26 * 1 = 26 26 ways to chose 1 letter. Last Modified 12/14/06 11:44 AM | Hide Tools |