Permutations and combinations - Discrete Math
- A bookshelf has space for exactly 10 books. There are 4 identical mathematics books, 3 identical physics books, and 3 identical chemistry books available. In how many ways can the bookshelf be completely filled? Answer: 4,200 We need to select books to fill 10 spots. Let , , be the number of math, physics, and chemistry books used, where , , , . Valid combinations: (4,3,3). Only this works since . For this combination, arrangements = . Choice B uses wrong denominator calculation, C assumes fewer total books, and D miscounts the factorial division.
- A committee of 6 people is to be selected from 8 men and 7 women. In how many ways can this be done if the committee must have more men than women, and among the selected people, the oldest man and oldest woman must both be included? Answer: Since the oldest man and oldest woman must be included, we need to select 4 more people from the remaining 7 men and 6 women. For the total committee to have more men than women, we need either (4 men, 2 women) or (5 men, 1 woman) total. Case 1: Total (4M, 2W) means selecting 3 more men and 1 more woman: . Case 2: Total (5M, 1W) means selecting 4 more men and 0 more women: . However, this gives us only 5 people total, not 6. Let me reconsider: we actually need (4M, 2W) gives us , and (5M, 1W) is impossible with 6 total people. The answer is which simplifies to choice A.
- A school has 20 students: 8 seniors, 7 juniors, and 5 sophomores. A committee of 6 students is formed such that it includes students from exactly 2 of the 3 grade levels. How many such committees are possible? Answer: where terms with invalid binomial coefficients are omitted We need exactly 2 grade levels represented. Case 1: Seniors and Juniors only. We need at least 1 senior and at least 1 junior, totaling 6 students. This is where and , so ranges appropriately. Case 2: Seniors and Sophomores only. Similarly where , so . Case 3: Juniors and Sophomores only. where . Choice B correctly represents this with the caveat about invalid coefficients. Choice A explicitly lists many terms but may have errors. Choice C attempts inclusion-exclusion but incorrectly applies it. Choice D counts committees from pairs of grade levels but doesn't ensure both levels are represented.
- A committee of 5 people must be formed from a group of 8 men and 6 women. If the committee must have at least 2 men and at least 2 women, how many different committees are possible? Answer: 1,386 We need committees with at least 2 men and at least 2 women. The valid compositions are: (2M, 3W), (3M, 2W). For (2M, 3W): . For (3M, 2W): . Total: . Choice B uses incorrect binomial coefficients, C assumes 4M+1W is valid, and D counts total arrangements without restrictions on gender composition.
- A student must select 5 courses from 4 mathematics courses, 3 science courses, and 5 humanities courses. If the selection must include at least 2 mathematics courses and at most 2 science courses, how many different selections are possible? Answer: where We need at least 2 math courses (so 2, 3, or 4) and at most 2 science courses (so 0, 1, or 2). For each valid combination (i math, j science), we need 5-i-j humanities courses. The constraint ensures we don't need negative humanities courses. Also, is automatically satisfied. Valid combinations: (2,0,3), (2,1,2), (2,2,1), (3,0,2), (3,1,1), (3,2,0), (4,0,1), (4,1,0). The summation in choice C captures all these cases. Choice A incorrectly groups science and humanities together. Choice B explicitly lists all cases (which equals choice C) but is unnecessarily verbose. Choice D also incorrectly groups science and humanities courses.
- A password must contain exactly 8 characters chosen from 26 lowercase letters and 10 digits. If the password must start with a letter, end with a digit, and contain at least one of each type of character, how many valid passwords are possible? Answer: When you encounter counting problems with multiple restrictions, use the inclusion-exclusion principle: count all possibilities, then subtract the "bad" cases that violate your constraints. Here, you need passwords with exactly 8 characters where position 1 is a letter, position 8 is a digit, and both character types appear at least once. Start by counting all passwords meeting the positional constraints: (letter first, digit last, any of 36 characters in the middle 6 positions). However, this includes invalid passwords that contain only letters or only digits in positions 2-7. You must subtract these cases. For passwords with only letters in the middle positions: the first position has 26 choices, the last position has 10 choices, and the middle 6 positions each have 25 choices (can't use the same digit that's in position 8, but this reasoning is flawed - actually you need since positions 2-7 have 25 letter choices each, not 26). For passwords with only digits in the middle positions: (first position: 26 letters, positions 2-7: 9 digit choices each since we can't repeat the digit in position 8, last position: 10 digits, but we need to account for position 8 having 10 choices independently, giving us ... wait, this is getting complex). Let me recalculate: passwords with only letters in middle positions: . Passwords with only digits in middle positions: . Choice A incorrectly uses instead of and has the wrong second subtraction term. Choice B uses incorrectly. Choice C has instead of in the final term. Remember: in inclusion-exclusion problems, carefully track which positions have which constraints when calculating each forbidden case.
- In how many ways can the letters of the word STATISTICS be arranged such that the two T's are not adjacent? Answer: 50,400 STATISTICS has 10 letters: S(3), T(2), A(1), I(2), C(1). Total arrangements: . Arrangements with T's adjacent: treat TT as one unit, giving 9 objects with S(3), TT(1), A(1), I(2), C(1). This gives . Non-adjacent T's: . Choice A miscounts total arrangements, C uses wrong factorial division, and D forgets to subtract adjacent cases.
- A license plate consists of 3 letters followed by 3 digits. How many license plates can be formed if no letter or digit can be repeated within the plate, and the plate cannot start with the letter O or end with the digit 0? Answer: First letter: 25 choices (26 letters minus O). Second letter: 24 choices (can't repeat first letter). Third letter: 23 choices (can't repeat first two). First digit: 9 choices (0-9 minus 0 since can't end with 0, but this is wrong reasoning). Let me reconsider: Last digit can't be 0, so 9 choices (1-9). First digit: 9 choices (0-9 minus the last digit). Second digit: 8 choices (0-9 minus first and last digits). Actually: Last digit: 9 choices (1-9). First digit: 9 choices (0-9 except last digit). Middle digit: 8 choices. Total: . Other choices make errors in handling the non-repetition constraint across letters and digits.
- A committee of 8 people must be formed from 12 men and 10 women. If the committee must have at least 3 men and at least 2 women, and exactly one of the men must be designated as chair, how many different committees can be formed? Answer: First, choose 1 man from 12 to be chair (12 ways). Then form the remaining committee of 7 people from the remaining 11 men and 10 women, with constraints. Since the chair is already chosen, we need at least 2 more men and at least 2 women. The valid distributions are: (3M,4W), (4M,3W), (5M,2W), (2M,5W). This gives us . Choice A incorrectly uses 8 instead of 12 for chair selection. Choice C uses invalid combinatorial reasoning. Choice D uses inclusion-exclusion incorrectly.
- A box contains 15 balls: 6 red, 5 blue, and 4 green. In how many ways can 8 balls be selected such that there are at least 2 balls of each color? Answer: where We need at least 2 of each color and exactly 8 balls total. Let r, b, g be the number of red, blue, green balls selected. Constraints: , , . Since , we need , which gives . Valid combinations: (2,2,4), (2,3,3), (2,4,2), (3,2,3), (3,3,2), (4,2,2). Choice D captures this with the summation notation and constraint . Choice A lists some valid cases but misses (2,4,2). Choice B has invalid cases like (2,2,4) written as which suggests 4 green balls. Choice C also has errors in the combinations listed.
- How many ways are there to arrange the letters in BOOKKEEPER such that all K's appear before all E's, and all E's appear before all P's? Answer: BOOKKEEPER has 10 letters: B(1), O(2), K(2), E(3), P(2), R(1). Without restrictions, arrangements = . For the ordering constraint K's before E's before P's: among all arrangements, only satisfy the relative ordering of the 2K's, 3E's, and 2P's. This is because there are ways to arrange these 7 letters among themselves, and only 1 of these arrangements satisfies our constraint. Choice B ignores the ordering constraint. Choice C incorrectly handles the constraint calculation. Choice D uses an irrelevant factor.
- A password consists of 4 distinct letters followed by 3 distinct digits. If the letters must include at least one vowel (A, E, I, O, U) and the digits must include at least one prime digit (2, 3, 5, 7), how many such passwords are possible? Answer: Use inclusion-exclusion principle. Total passwords: . Subtract passwords with no vowels: . Subtract passwords with no prime digits: (non-prime digits: 0,1,4,6,8,9). Add back passwords with neither vowels nor prime digits: . This gives the inclusion-exclusion formula in choice A. Choice B incorrectly uses P(7,3) instead of P(6,3) for non-prime digits. Choice C incorrectly assumes independence of constraints. Choice D uses wrong count of non-prime digits.