The total number of refills is: 55+3+3=61. The probability to get a blue refill is: p1=6155. For red refills we have: p2=613. The joint probability function (probability mass function) f(x,y) is given by: f(x,y)=pX,Y(x,y)=P(X=x∧Y=y). Suppose that we selected 2 refills. There are m=C612=2!(61−2)!61!=260⋅61=30⋅61=1830 ways to do this. Suppose that we selected 2 refills and among them there are x≤2 blue refills and y≤2 red refills. In addition, since 2 refills are selected. x+y≤2 It is possible to do in n=C55xC3yC32−x−y=x!(55−x)!55!y!(3−y)!3!(2−x−y)!(1+x+y)!3! ways. Thus, we get: f(x,y)=pX,Y(x,y)=P(X=x∧Y=y)=mn=C612C55xC3yC32−x−y=1830x!(55−x)!55!y!(3−y)!3!(2−x−y)!(1+x+y)!3!.
The probability p[(x,y)∈A], where A={(x,y):x+y≤1} is: p[(x,y)∈A]=p(X=1,Y=0)+p(X=0,Y=1)=C612C551C30C31+C612C550C31C31=183055⋅3+18303⋅3=1830174≈0.095
Comments