View Single Post
  #12  
Old 07-27-2007, 08:12 AM
BruceZ BruceZ is offline
Senior Member
 
Join Date: Sep 2002
Posts: 4,078
Default Re: probably a super easy question

I thought I'd rewrite this more succinctly. The notation P(A | B) means the probability that A occurs GIVEN that B occurred. It is equal to P(A and B)/P(B).

CASE A: Choose bag with all reds both times.
P(CASE A) = 1/2 * 1/2 = 1/4.

CASE B: Chose bag with reds and greens both times.
P(CASE B) = 1/2 * 1/2 = 1/4.

CASE C: Chose one of each bag.
P(CASE C) = 1/2 since the probabilities of all possible cases must sum to 1.


We want P(CASE A | both red)

= P(CASE A AND both red) / P(both red)

= P(CASE A AND both red) /
[ P(CASE A AND both red) + P(CASE B AND both red) + P(CASE C AND both red) ]

= P(CASE A)*P(both red | CASE A) /
[ P(CASE A)*P(both red | CASE A) + P(CASE B)*P(both red | CASE B) + P(CASE C)*P(both red | CASE C) ]

= (1/4 * 1) / [ (1/4 * 1) + (1/4 * 5/10 * 4/9) + (1/2 * 1/2 * 1) ]

= 0.45 or 9/20.
Reply With Quote