Suppose there are 2 defective among five items

  • Thread starter Thread starter shinkansenfan
  • Start date Start date
shinkansenfan
Messages
9
Reaction score
0
Homework help:

suppose there are 2 defective among five items, you test one item at a time until you identify the second defective. find:

1. you need at most 3 tests.
2.given the second defective item found at the 3rd test, find the Probability that you found the first defective at the 1st test.
 
Physics news on Phys.org
One, I don't think this is the right section for your question.

Unless you mean you expect to only check 3 times I don't think that is right.
Let's say I check one and it's fine, the second one I check is defective and the third one I check is defective. I would need one more test to see which one out of the two left is defective. And that still leaves the question of do I have to check the last one to ensure it's defective for this problem or can we assume that we can use elimination and not have to check the one we know to be defective?
The last part is just a conditional probability, try Bayes Theorem.
 
Hi shinkansenfan. jwatts is right that you should be using the separate forums for homework questions.

But since you're here: If you are asking for the probabilities of the events in your questions, think about all the possible ways that two of five ordered items can be defective.

Consider a simpler example: one of two items is defective. There are two possibilities in this simple case:
A. Item 1 is defective, Item 2 is not.
B. Item 1 is not, Item 2 is defective.

What is the probability Item 1 is defective? Just count! In one of the two cases, Item 1 is defective, so the probability is 0.5.

If two of three items are defective,
A. I1 defective, I2 defective, I3 not.
B. I1 defective, I2 not, I3 defective.
C. I1 not, I2 defective, I3 defective.

What is the probability that Item 1 is defective? 2/3. Can you answer versions of your two questions in this simpler case?
What is the probability you need at most two tests to find the second defective item?
Given that you find the second defective item is Item 3, what is the probability you found Item 1 to be the first defective item?

Use the same logic to solve the full question that you asked, writing out all 10 possibilities if you really have to. (Hint: write 11000 for Items 1 and 2 defective, Items 3-5 not).
 
Last edited:
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Thread 'Detail of Diagonalization Lemma'
The following is more or less taken from page 6 of C. Smorynski's "Self-Reference and Modal Logic". (Springer, 1985) (I couldn't get raised brackets to indicate codification (Gödel numbering), so I use a box. The overline is assigning a name. The detail I would like clarification on is in the second step in the last line, where we have an m-overlined, and we substitute the expression for m. Are we saying that the name of a coded term is the same as the coded term? Thanks in advance.

Similar threads

Replies
17
Views
2K
Replies
2
Views
5K
Replies
3
Views
4K
Replies
7
Views
5K
Replies
1
Views
1K
Replies
1
Views
6K
Replies
3
Views
7K
Replies
7
Views
2K
Back
Top