A student has 10 blie pens, 5 red pens, and 7 black pens.1) In how many ways can he select 3 blue pons, 2 red pens, and 1 black pen2) In how many ways can he select 5 pens if only the choice of colors matters.
Q. A student has 10 blie pens, 5 red pens, and 7 black pens.1) In how many ways can he select 3 blue pons, 2 red pens, and 1 black pen2) In how many ways can he select 5 pens if only the choice of colors matters.
Selecting Pens: For the first part, we need to select 3 blue pens out of 10, 2 red pens out of 5, and 1 black pen out of 7. Use combinations: C(n,k)=k!(n−k)!n!. Calculate the combination for blue pens: C(10,3).
Total Ways for First Part: Calculate the combination for red pens: C(5,2).
Choosing Colors for Second Part:2!(5−2)!5!=2!3!5!=2×15×4=10.
Total Ways for Second Part: Calculate the combination for black pens: C(7,1).
Total Ways for Second Part: Calculate the combination for black pens: C(7,1).7!/(1!(7−1)!)=7!/(1!6!)=7/1=7.
Total Ways for Second Part: Calculate the combination for black pens: C(7,1).7!/(1!(7−1)!)=7!/(1!6!)=7/1=7. Multiply the combinations for blue, red, and black pens to get the total number of ways for the first part.120×10×7=8400.
Total Ways for Second Part: Calculate the combination for black pens: C(7,1).7!/(1!(7−1)!)=7!/(1!6!)=7/1=7. Multiply the combinations for blue, red, and black pens to get the total number of ways for the first part.120×10×7=8400. For the second part, since only the choice of colors matters, we have 3 colors to choose from and we need to select 5 pens.This is a combination problem with repetition allowed: C(n+k−1,k).Calculate the combination for choosing 5 pens from 3 colors: C(3+5−1,5).
Total Ways for Second Part: Calculate the combination for black pens: C(7,1).7!/(1!(7−1)!)=7!/(1!6!)=7/1=7. Multiply the combinations for blue, red, and black pens to get the total number of ways for the first part.120×10×7=8400. For the second part, since only the choice of colors matters, we have 3 colors to choose from and we need to select 5 pens.This is a combination problem with repetition allowed: C(n+k−1,k).Calculate the combination for choosing 5 pens from 3 colors: C(3+5−1,5). C(7,5)=7!/(5!(7−5)!)=7!/(5!2!)=(7×6)/(2×1)=21.
Total Ways for Second Part: Calculate the combination for black pens: C(7,1). 7!/(1!(7−1)!)=7!/(1!6!)=7/1=7. Multiply the combinations for blue, red, and black pens to get the total number of ways for the first part.120×10×7=8400. For the second part, since only the choice of colors matters, we have 3 colors to choose from and we need to select 5 pens.This is a combination problem with repetition allowed: C(n+k−1,k).Calculate the combination for choosing 5 pens from 3 colors: C(3+5−1,5). C(7,5)=7!/(5!(7−5)!)=7!/(5!2!)=(7×6)/(2×1)=21. The total number of ways to select 5 pens with only the choice of colors mattering is 7!/(1!(7−1)!)=7!/(1!6!)=7/1=71.