I'm having trouble solving a problem. I've been staring at it for almost an hour now, and have had hardly any progress...
I'm trying to do problems 1 and 4 from here.
Thanks in advance.
Hello, valosn!
Here's #1 . . .
1. A factory produces items in boxes of two.
Over the long run:
. . (A): 92% of the boxes contain 0 defective items,
. . (B): 5% of the boxes contain 1 defective item, and
. . (C): 3% of the boxes contain 2 defective items.
A box is picked at random from production, then an item is picked
at random from that box. Given that the item is defective, what is
the probability that the second item in the box is defective?
We are concerned with two events:
. . : the first item is defective, and
. . : the second item is defective.
We want: . .[1]
The numerator is: , the probability that both are defective ... case (C).
. . We are told that this happens: of the time.
Hence: .
The denominator is: , the probability that the first is defective.
This can happen in two ways:
(i) Case (B) which happens of the time
. . and we pick the defective item, probability .
Thus, this has probability:
(ii) Case (C) which happens of the time
. . and we pick a defective item, probability
Thus, this has probability:
Hence: .
Substitute into [1]: .
Here's 4
recall that we say two events are independent if knowledge that one occurs does not change the probability of the other occurring.
(a) here, there are different numbers of each type of ball in both boxes. however, the numbers are proportional. no matter which box we select, the probability of selecting a black ball from that box is the same, and the probability of selecting a red ball from that box is the same. thus, yes, the color of the ball is independent of which box is chosen. verify this using the formulas for conditional probability and show that you get the same result for selecting, say, a black ball given that you have selected box 1, and then, the probability of selecting a black ball given that you have selected box 2. do this for the red ball also
(b) the events are now dependent. knowledge of which box we've selected changes the probability of a black ball being chosen. verify this using the formulas.