Permutations & Combinations - Finite Mathematics
- A company has 10 software engineers. A team of 4 is to be selected for a new project. Among the engineers, there are 3 senior engineers: Alex, Ben, and Carla. How many teams can be formed if the team must include at least one of these three senior engineers? Answer: 175 This problem is most efficiently solved using the complement rule. First, calculate the total number of 4-person teams that can be formed from 10 engineers, without any restrictions. This is . Total teams = . Next, calculate the number of teams that have none of the specified senior engineers. This means selecting a team of 4 from the other engineers. Teams with no seniors = . The number of teams with at least one senior engineer is the total number of teams minus the number of teams with no senior engineers: .
- A host is seating 8 guests around a circular table. Two of the guests, Alice and Bob, must not be seated next to each other. How many seating arrangements are possible? Answer: 3,600 This problem is best solved using the complement rule. First, find the total number of ways to seat 8 guests around a circular table, which is . Next, find the number of arrangements where Alice and Bob do sit together. Treat Alice and Bob as a single unit. Now we are arranging 7 entities (the Alice-Bob unit and the other 6 guests) in a circle, which can be done in ways. The Alice-Bob unit can be arranged in ways (Alice on the left or Bob on the left). So, there are arrangements where they are together. The number of arrangements where they are not together is the total minus this amount: .
- How many 6-digit numbers can be formed using the digits 1, 2, 3, 4, 5, 6 (without repetition) such that the number is divisible by 5 and the digits are in non-decreasing order? Answer: 0 For a number to be divisible by 5, it must end in 0 or 5. Since we can only use digits 1, 2, 3, 4, 5, 6, the number must end in 5. For the digits to be in non-decreasing order, we need: . Since the last digit must be 5, we need . However, we must use each of the 6 digits exactly once (without repetition). If , then we need to arrange digits 1, 2, 3, 4, 6 in non-decreasing order for the first 5 positions. This would require . But is false since . Therefore, it's impossible to arrange the digits 1, 2, 3, 4, 6 in non-decreasing order when followed by 5. Hence, no such 6-digit numbers exist.
- A bookshelf contains 5 distinct fantasy books, 4 distinct mystery books, and 3 distinct science fiction books. In how many ways can a person choose 4 books to read, if they must select at least one fantasy book and at least one mystery book? Answer: 390 We use the complement rule. The total number of books is . The total number of ways to choose 4 books from 12 is . The forbidden selections are those with no fantasy books OR no mystery books. Let be the set of selections with no fantasy books and be the set of selections with no mystery books. We want to find . (no fantasy): Choose 4 from the 7 non-fantasy books (4 mystery, 3 sci-fi). . (no mystery): Choose 4 from the 8 non-mystery books (5 fantasy, 3 sci-fi). . (no fantasy AND no mystery): Choose 4 from the 3 sci-fi books. . The number of forbidden selections is . The number of valid selections is the total minus the forbidden: .
- A bakery sells 6 different types of donuts. A customer wants to buy a dozen (12) donuts. How many different selections of 12 donuts are possible? Answer: 6,188 This is a problem of combinations with repetition, often solved using the "stars and bars" method. We are choosing items (donuts) from categories (types). The formula for combinations with repetition is or . Using the formula, we have and . The number of possible selections is:
- A company's board of directors consists of 7 men and 5 women. A 4-person subcommittee for a special project is to be formed. How many different subcommittees can be formed if the subcommittee must contain at most 2 men? Answer: 285 The condition "at most 2 men" means the subcommittee can have 0, 1, or 2 men. We calculate the number of ways for each case and sum them. Case 1: 0 men and 4 women. This requires choosing 0 from 7 men and 4 from 5 women: . Case 2: 1 man and 3 women. This requires choosing 1 from 7 men and 3 from 5 women: . Case 3: 2 men and 2 women. This requires choosing 2 from 7 men and 2 from 5 women: . The total number of possible subcommittees is the sum of these cases: .
- A manager needs to assign 5 different projects to 3 employees. Each employee must be assigned at least one project. In how many ways can the projects be assigned? Answer: 150 This is a surjective (onto) function problem. We use the Principle of Inclusion-Exclusion. First, the total number of ways to assign 5 distinct projects to 3 distinct employees without restrictions is . From this, we subtract the assignments where at least one employee gets no projects. Let be the set of assignments where employee gets no project. We want to find . : All 5 projects go to the other 2 employees, so . Similarly, . Sum is . : All 5 projects go to employee 3, so . Similarly, . Sum is . : All projects go to 0 employees, which is 0. By PIE, . The number of valid assignments is .
- A committee of 5 people is to be selected from a group of 6 married couples. What is the total number of committees that can be formed if no married couple is on the committee together? Answer: 192 To form a committee with no married couple, we must select 5 people from 5 different couples. First, choose which 5 of the 6 couples will contribute a member. This can be done in ways. Then, from each of these 5 chosen couples, we must choose one of the two people. This can be done in ways. By the multiplication principle, the total number of committees is .
- In how many ways can 4 different math books and 3 different physics books be arranged on a shelf if no two physics books can be next to each other? Answer: 1,440 This is a spacing problem. First, arrange the 4 distinct math books. This can be done in ways. These books create 5 possible spaces where the physics books can be placed (one at each end and one between each pair of books):
_ M _ M _ M _ M _. To ensure no two physics books are adjacent, we must place each of the 3 physics books in a different space. Since the physics books are distinct, the order in which we place them matters. We need to choose 3 of the 5 spaces and arrange the 3 books in them. This is a permutation: . By the multiplication principle, the total number of arrangements is . - A code consists of 5 symbols. The first 3 symbols must be uppercase letters from the English alphabet (A-Z), and the last 2 symbols must be digits (0-9). The code must satisfy the following conditions: all three letters are distinct, and the two digits are distinct. Additionally, exactly one of the letters must be a vowel (A, E, I, O, U). How many such codes are possible? Answer: 567,000 We calculate the number of possibilities for the letter part and the digit part separately. Letter Part (3 distinct letters, 1 vowel, 2 consonants): 1. Choose which of the 3 positions will contain the vowel: ways. 2. Choose which of the 5 vowels goes in that position: 5 ways. 3. Fill the other two positions with distinct consonants (there are 21 consonants). The first can be chosen in 21 ways, the second in 20 ways. So, ways. Total for letters: ways. Digit Part (2 distinct digits): 1. The first digit can be any of 10 digits: 10 ways. 2. The second digit must be different from the first: 9 ways. Total for digits: ways. Total Codes: Multiply the possibilities for both parts: .
- From a standard 52-card deck, a 5-card hand is dealt. How many distinct hands contain exactly one pair and three other cards of different ranks from each other and from the pair? Answer: 1,098,240 The construction of the hand can be broken into steps: 1. Choose the rank for the pair (e.g., Kings). There are 13 ranks: ways. 2. Choose 2 of the 4 suits for that rank: ways. 3. Choose 3 other ranks for the remaining three cards. These must be different from the pair's rank and from each other. We choose 3 ranks from the remaining 12: ways. 4. For each of these 3 ranks, choose 1 suit. There are 4 suits for each, so ways. By the multiplication principle, the total number of such hands is .
- A robot must travel from point A(0,0) to point B(6,4) on a Cartesian grid. The robot can only move one unit up (U) or one unit right (R) at each step. How many distinct paths are there from A to B that must pass through point P(3,2)? Answer: 100 The problem is broken into two independent parts: the path from A to P, and the path from P to B. 1. Path from A(0,0) to P(3,2): This requires 3 Right moves and 2 Up moves, for a total of 5 moves. The number of distinct paths is the number of ways to arrange these moves: . 2. Path from P(3,2) to B(6,4): This requires Right moves and Up moves, for a total of 5 moves. The number of distinct paths is . By the multiplication principle, the total number of paths from A to B passing through P is the product of the number of paths for each part: .
- How many distinct arrangements of the letters in the word
ENGINEERINGare possible if the threeEs must be kept together?Answer: 15,120 The wordENGINEERINGhas 11 letters: E(3), N(3), G(2), I(2), R(1). To keep the three E's together, we can treatEEEas a single block. Now we are arranging 9 items:(EEE), N, N, N, G, G, I, I, R. The number of permutations of these 9 items, with repetitions of N (3 times), G (2 times), and I (2 times), is given by the multinomial formula: