In: Statistics and Probability
1. Total number of ways to obtain 4 colored balls is
= now of ways of selecting 1 from A * no of ways of selecting 1 from B * no of ways of selecting 2 from c
= 3 * 2 * 6
= 36
2. a) The total number of ways in which 20 stars and 4 bars can be arranged in a straight line is
b) Lets suppose the sum of 20 represents 2o stars. We need to divide these 20 stars into 5 parts(each part non-negative). After separating these 20 stars into 5 parts, we put bars in between those 5 parts. Since there are 5 parts, hence only 4 bars will be needed to separate them. The bars will be placed in between the stars. The 20 stars have 19 spaces between them. So, the total number of ways in which 4 bars can be distributed in those 19 spaces between the 20 stars will give the total number of non-negative solutions to the equation
x1 + x2 + x3 + x4 + x5 = 20
Required number of non-negative solutions is
= Number of ways of distributing 4 bars in 19 spaces
Thank You!! Please Upvote!!