MHB Probability question regarding independence

AI Thread Summary
The discussion revolves around calculating probabilities related to defective screws supplied by a factory. The first part calculates the overall percentage of defective screws, yielding a result of 2.8%. The second part determines the probability that two randomly chosen screws from a box are both defective, resulting in approximately 1.09%. The final part seeks the conditional probability that a box is 100% defective given that both screws chosen are defective. The calculations are verified with a correction noted for a typo in the second part's formula.
Usagi
Messages
38
Reaction score
0
A supplier sends boxes of screws to a factory: 90% of the boxes contain 1% defective, 9% contain 10% defective, and 1% contain 100% defective (eg wrong size).

i) What percentage of screws supplied are defective?

ii) Two screws are chosen from a randomly selected box. What is the probability that both are defective?

iii) Given that both are defective, what is the probability that the box is 100% defective?

I have attempted all 3 parts but I am unsure if my working is correct, would someone be kind enough to verify my working/reasoning? Thank you.

i) Let D be the event that the screws supplied are defective. Let $A_1$ be the event that the box containing 1% defective was sent to the factory. Likewise, let $A_2$ and $A_3$ be the event that the box containing 10% and 100% defective, respectively, that was sent to the factory.

Thus using the total probability theorem we have:

$P(D) = P(A_1)P(D|A_1) + P(A_2)P(D|A_2)+P(A_3)P(D|A_3) = (0.9)(0.01)+0.09(0.1)+0.01(1) = 0.028$

ii) Let Z be the event that two screws are both defective and let $D_i$ be the event that the ith screw is defective from a random box. Thus using the total probability theorem again we have:

$P(Z) = P(A_1)P(Z|A_1)+P(A_2)P(Z|A_2) + P(A_3)P(Z|A_3) = P(A_1)P(D_1 \cap D_2|A_1) + P(A_2)P(D_1 \cap D_2|A_2) + P(A_3)P(D_1 \cap D_2|A_3)$

$= P(A_1)P(D_1|A_1)P(D_2|A_1) + P(A_2)P(D_1|A_2)P(D_2|A_2) + P(A_3)P(D_1|A_3)P(D_2|A_3)$ because we can assume $D_1$ and $D_2$ are conditionally independent of $A_i$'s.

$=0.01(0.01)^2+0.09(0.1)^2+0.01(1)^2 = 0.010901$

iii) We need to find $P(A_3|Z) = \frac{P(A_3)P(Z|A_3)}{P(Z)} = \frac{0.01(1)}{0.010901}$

Any help is greatly appreciated!
 
Mathematics news on Phys.org
Usagi said:
A supplier sends boxes of screws to a factory: 90% of the boxes contain 1% defective, 9% contain 10% defective, and 1% contain 100% defective (eg wrong size).

i) What percentage of screws supplied are defective?

ii) Two screws are chosen from a randomly selected box. What is the probability that both are defective?

iii) Given that both are defective, what is the probability that the box is 100% defective?

I have attempted all 3 parts but I am unsure if my working is correct, would someone be kind enough to verify my working/reasoning? Thank you.

i) Let D be the event that the screws supplied are defective. Let $A_1$ be the event that the box containing 1% defective was sent to the factory. Likewise, let $A_2$ and $A_3$ be the event that the box containing 10% and 100% defective, respectively, that was sent to the factory.

Thus using the total probability theorem we have:

$P(D) = P(A_1)P(D|A_1) + P(A_2)P(D|A_2)+P(A_3)P(D|A_3) = (0.9)(0.01)+0.09(0.1)+0.01(1) = 0.028$

ii) Let Z be the event that two screws are both defective and let $D_i$ be the event that the ith screw is defective from a random box. Thus using the total probability theorem again we have:

$P(Z) = P(A_1)P(Z|A_1)+P(A_2)P(Z|A_2) + P(A_3)P(Z|A_3) = P(A_1)P(D_1 \cap D_2|A_1) + P(A_2)P(D_1 \cap D_2|A_2) + P(A_3)P(D_1 \cap D_2|A_3)$

$= P(A_1)P(D_1|A_1)P(D_2|A_1) + P(A_2)P(D_1|A_2)P(D_2|A_2) + P(A_3)P(D_1|A_3)P(D_2|A_3)$ because we can assume $D_1$ and $D_2$ are conditionally independent of $A_i$'s.

$=0.01(0.01)^2+0.09(0.1)^2+0.01(1)^2 = 0.010901$

iii) We need to find $P(A_3|Z) = \frac{P(A_3)P(Z|A_3)}{P(Z)} = \frac{0.01(1)}{0.010901}$

Any help is greatly appreciated!

For part ii you should have: \(0.9(0.01)^2 + 0.09(0.1)^2+0.01(1)^2\)CB
 
Oh yes, silly me, typo'ed.

Thanks for the confirmation :)
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Is it possible to arrange six pencils such that each one touches the other five? If so, how? This is an adaption of a Martin Gardner puzzle only I changed it from cigarettes to pencils and left out the clues because PF folks don’t need clues. From the book “My Best Mathematical and Logic Puzzles”. Dover, 1994.
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top