Solution (1): The total number of outcomes when pulling a single ball (no matter what) is equal to the sum of all types of balls N1=3+4+5=12. The total number of outcomes when pulling a red ball is the number of red balls nr1=5 . The probability to get red ball first is Pr1=nr1/N1=5/12 . Before the second attempt of pulling out a red ball, the situation has changed according to
N2=3+4+4=11 , nr2=4 . Thus Pr2=nr2/N2=4/11 is a probability to get red ball in a second attempt. The probability of getting a red ball in the third attempt is also calculated Pr3=3/10. The total probability is a product of the probabilities of successful attempts:
P(1)=Pr1⋅Pr2⋅Pr3=12⋅11⋅105⋅4⋅3=1/22
Solution (2): Reasoning similarly to point (1) we get
P(2)=Pb1⋅Pb2⋅Pb3=12⋅11⋅104⋅3⋅2=1/55
Solution (3): The total number of outcomes when pulling three balls out of 12 is equal to number of combinations (312)which is convenient to write here as C123 [1] N=C123=9!⋅3!12!=220
The total number of ways to pull two red balls out of 5 lying in the bag is equal to n2r=C52 . The total number of ways to pull one black ball out of 4 lying in the bag is equal to n1b=C41=1!⋅3!4!=4 It was and just so clear. The probability of a positive result is estimated as a quotient of dividing the number of positive outcomes by the total number of cases
P(3)=Nn1b⋅n2r=C1234⋅C52=12!/(3!⋅9!)4⋅5!/(2!⋅3!)=12!⋅2!⋅3!4⋅5!⋅3!⋅9!=2/11
Solution (4): Using the results of the previous arguments we get n1r=C51=5,n1b=4,n1w=3 and P(4)=Nn1r⋅n1b⋅n1w=12!/(3!⋅9!)5⋅4⋅3=12!5⋅4⋅3⋅3!⋅9!= 3/11
Solution (5): The total number of outcomes when pulling two balls not white is n2rb=C(12−3)2=C92 Thus P(5)=Nn1w⋅n2rb=C1233⋅C92=12!/(3!⋅9!)3⋅9!/(2!⋅7!)=2!⋅7!⋅12!3⋅9!⋅9!⋅3!=27/55
Solution (6): The number of outcomes when there are no white balls in the sample is equal ton3rb=C(12−3)3=C93 . To get the number of outcomes with any number of white balls, you need to subtract the obtained value n3rb from the total number of outcomes N from previous. That is
nw=N−n3rb . Finally we get
P(6)=Nnw=1−Nn3rb=1−C123C93=1−12!/(3!⋅9!)9!/(3!⋅6!)=1−12!⋅6!9!⋅9!=1−21/55=34/55
Answers:
1) 221 ; 2) 551 ; 3) 112 ; 4) 113 ; 5) 5527 ; 6) 5534
Note: P(1)=C123C53;P(2)=C123C43 ; Cnm=(mn)=m!⋅(n−m)!n!
[1] https://en.wikipedia.org/wiki/Combination
Comments