93.8k views
2 votes
I have 120 blocks. Each block is one of 2 different materials, 3 different colors, 4 different sizes and 5 different shapes. No two blocks have exactly the same all four properties. I take two blocks at random. What is the probability that these two blocks have exactly two of these four properties the same?

2 Answers

0 votes

Equation: (2-1)((3-1)+(4-1)+(5-1)) + (2)((3)+(4)) + (12) = 35 with a total of 119 possibilities.

answer: 35/119

User Syad
by
7.9k points
3 votes

Answer: 0.54

Step-by-step explanatio;

We would have three in common out of 4 characteristics (4 out of 4 is not possible). There are 4 possible ways to share 3 out of 4 characteristics.

Denoting the characteristics as {M,C,Si,Sh} so P(B2={1,1,1,0}|B1={1,1,1,0}) is the probability that box 2 shares its first three characteristics with box 1 given that box one has characteristics

We now have

P(B2 has 3 elements in common with B1)=P(B2={1,1,1,0}|B1={1,1,1,0})xP(B1={1,1,1,0})+P(B2={1,1,0,1}|B1={1,1,0,1})xP(B1={1,1,0,1})+P(B2={1,0,1,1}|B1={1,0,1,1})xP(B1={1,0,1,1})+P(B2={0,1,1,1}|B1={0,1,1,1})xP(B1={0,1,1,1})

P(B2 has 3 elements in common with B1)=(4x5x24+3x4x30+2x3x40+1x2x60)1120x119= 0.084

which is close enough to the value from the simulation code (modified to count the number of 3-ties)

Now, I use the same reasoning to compute:

P(B2 has 2 or more elements in common with B1)=(19x20x6+11x12x10+9x10x12+14x15x8+7x8x15+5x6x20)1120x119= 0.54

User Hkchakladar
by
8.2k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories