Dependent theorem and bayes theorem.

AI Thread Summary
The discussion revolves around applying Bayes' theorem to calculate the probability that all eggs in a box are good, given that two randomly selected eggs are good. The initial probabilities provided are that 70% of the eggs are good, with varying probabilities for one or two being bad. The main challenge highlighted is determining the probability of randomly selecting two good eggs, especially when considering dependent events. A suggestion is made to approach the problem by calculating the probabilities step-by-step, focusing on conditional probabilities based on the number of good and bad eggs remaining after each selection. The conversation emphasizes the importance of understanding the relationship between the events to solve the problem effectively.
iTee
Messages
6
Reaction score
0

Homework Statement



One box of eggs has 12 eggs. The probability of all eggs being good is 70%. The probability of one being bad is 20%. The probability of two being bad is 10%. Given that 2 randomly selected eggs are good, what is the probability that all the eggs will be good?

Homework Equations





The Attempt at a Solution



According to bayes theorem,

P(all good | random 2 are good) = ( P(random 2 are good | all good) * P(all good) ) / P(random two are good)


Now, P(random 2 are good | all good) = P(random 2 are good <and> all good) / P(all good)

=> " P(random 2 are good <and> all good) " are dependent events. Can't seem to figure out how to get around this.
 
Physics news on Phys.org
iTee said:

Homework Statement



One box of eggs has 12 eggs. The probability of all eggs being good is 70%. The probability of one being bad is 20%. The probability of two being bad is 10%. Given that 2 randomly selected eggs are good, what is the probability that all the eggs will be good?

Homework Equations





The Attempt at a Solution



According to bayes theorem,

P(all good | random 2 are good) = ( P(random 2 are good | all good) * P(all good) ) / P(random two are good)


Now, P(random 2 are good | all good) = P(random 2 are good <and> all good) / P(all good)

=> " P(random 2 are good <and> all good) " are dependent events. Can't seem to figure out how to get around this.

For b = 0,1,2, what are P(random 2 are good|12-b good and b bad)? So, what is P(random 2 are good)?

RGV
 
I am currently working on a very very similar question on my own. But, the problem I have is finding the P(Random 2 are good).

Needed Information
P(all are good) = 0.7
P(Random 2 are good | all are good) = 1 (since given all are good, any random ones will be guranteed to be good)
P(Random 2 are good) This is where I struggle, how to find this?
 
lovemake1 said:
I am currently working on a very very similar question on my own. But, the problem I have is finding the P(Random 2 are good).

Needed Information
P(all are good) = 0.7
P(Random 2 are good | all are good) = 1 (since given all are good, any random ones will be guranteed to be good)
P(Random 2 are good) This is where I struggle, how to find this?

Read the question immediately above this one. Have you done the two other computations? Until you do that, you will be unable to get anywhere. I will just give one more hint: what is P(both good|1 bad, 19 good in carton)? Well, you are GIVEN that the carton has 19 good eggs in it, and one bad egg. You draw 2 eggs at random, and want the probability that both are good. Surely you must have seen or done such problems before, but if not: (i) what is the probability the first drawn egg is good? (ii) given that the first egg is good, we now are left with 19 eggs (18 good, one bad), so now what is the probability of drawing another good egg?

RGV
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top