Conditional Probability -A Paradox?

In summary: I am not sure what to do with this though.How would you compute P(A1 & A2) with the help of the probabilities P(X=k)?I do not know how to do this. When I try to use the fact that P(X=k) is the probability of the top half having k Aces, the bottom half having 4-k aces, and 26-k non-aces, the bottom half having k non-aces, and the top half having 4-k non-aces, I get a nonsensical answer. I apologize, I don't know what I am
  • #1
Fictionarious
4
0

Homework Statement


We've got a standard deck of 52 cards. We shuffle the deck well, then cut it into two piles of 26 each, a top pile and a bottom pile. We reach in and pull a random card out of the top pile, observing that it is an Ace. We then put it into the bottom pile, shuffle the bottom pile, and reveal a card at random from it. What is the probability that it is an Ace?


Homework Equations



Hyper-geometric Probability (badly formatted but bear with me)

( n C x )( m C b-x) / ( n+m C b)

The Attempt at a Solution



I have found two ways of solving this problem, one of which I think is correct, and one which I believe is oversimplified. I will show the one I believe is oversimplified first.

This is to observe that there is initially a uniform probability distribution of 4/52 for each card being an Ace, but after we reveal one, the probability goes to being 3/51. This applies to every card except the one we KNOW is an ace. Since there are 27 cards total in the bottom pile when you pick one from it,

(3/51)(26/27)+1(1/27) = 43/459 = 0.0936819172

However, another approach is to use choose notation (permutations and combinations):

Consider that there were 4 possibilities. The top half originally contained one of the following number of Aces x={1,2,3,4}, with the bottom half containing y=4-x. Note that the top could NOT have originally contained none, given that the card we observed and then moved was an Ace. We might then wish to express each of these cases' respective probabilities.

[(26C4)(26C0)]/(52C4) , [(26C3)(26C1)]/(52C4) , [(26C2)(26C2)]/(52C4) , [(26C1)(26C3)]/(52C4)

In the first case, there is one Ace in the bottom 27 cards when we select at random from it (the one we just moved there from the top), so we would multiply that term by (1/27). In the second, third, and fourth, we would multiply by (2/27), (3/27), and (4/27), respectively. Then we would sum them. This method yields 0.1008847984


I don't see any explicit error in the second method or the first, but both of them can't be right. My tentative belief currently is that the second one is the correct method. If anyone could prove me right or wrong, and shed further light on this problem, it would be very much appreciated.
 
Physics news on Phys.org
  • #2
We might then wish to express each of these cases' respective probabilities.

[(26C4)(26C0)]/(52C4) , [(26C3)(26C1)]/(52C4) , [(26C2)(26C2)]/(52C4) , [(26C1)(26C3)]/(52C4)
That seems wrong. Shouldn't the four (conditional) probabilities add up to 1?

I don't see anything wrong with the first solution.
 
  • #3
Fictionarious said:

Homework Statement


We've got a standard deck of 52 cards. We shuffle the deck well, then cut it into two piles of 26 each, a top pile and a bottom pile. We reach in and pull a random card out of the top pile, observing that it is an Ace. We then put it into the bottom pile, shuffle the bottom pile, and reveal a card at random from it. What is the probability that it is an Ace?


Homework Equations



Hyper-geometric Probability (badly formatted but bear with me)

( n C x )( m C b-x) / ( n+m C b)

The Attempt at a Solution



I have found two ways of solving this problem, one of which I think is correct, and one which I believe is oversimplified. I will show the one I believe is oversimplified first.

This is to observe that there is initially a uniform probability distribution of 4/52 for each card being an Ace, but after we reveal one, the probability goes to being 3/51. This applies to every card except the one we KNOW is an ace. Since there are 27 cards total in the bottom pile when you pick one from it,

(3/51)(26/27)+1(1/27) = 43/459 = 0.0936819172

However, another approach is to use choose notation (permutations and combinations):

Consider that there were 4 possibilities. The top half originally contained one of the following number of Aces x={1,2,3,4}, with the bottom half containing y=4-x. Note that the top could NOT have originally contained none, given that the card we observed and then moved was an Ace. We might then wish to express each of these cases' respective probabilities.

[(26C4)(26C0)]/(52C4) , [(26C3)(26C1)]/(52C4) , [(26C2)(26C2)]/(52C4) , [(26C1)(26C3)]/(52C4)

In the first case, there is one Ace in the bottom 27 cards when we select at random from it (the one we just moved there from the top), so we would multiply that term by (1/27). In the second, third, and fourth, we would multiply by (2/27), (3/27), and (4/27), respectively. Then we would sum them. This method yields 0.1008847984


I don't see any explicit error in the second method or the first, but both of them can't be right. My tentative belief currently is that the second one is the correct method. If anyone could prove me right or wrong, and shed further light on this problem, it would be very much appreciated.

Let ##A_1##= {first draw is an Ace}, ##A_2##= {second draw is an Ace}. You are asked to compute ##P(A_2|A_1) = P(A_2 \, \& \,A_1)/P(A_1)##.

Let ##X## be the number of Aces in the top deck initially. For ##k = 0,1,2,3,4## what is ##P(X = k)##? How would you compute ##P(A_1 \, \& \, A_2)## with the help of the probabilities ##P(X=k)##? How would you compute ##P(A_1)## using the ##P(X=k)##? If you refrain from computing probabilities too soon, the expression for ##P(A_2|A_1)## simplifies nicely, in terms of properties of ##X##.

I get your first answer, but the route to the answer is very different from yours. I am not convinced by the "logic" of your first analysis.

I cannot understand at all where your "probabilities" come from in your second method.
 
Last edited:
  • #4
Well, I am by no means convinced either. Let me try to answer your questions since you seem to be leading me somewhere with them.

What is P(X=k) for k=0,1,2,3,4 ?

Well, this is where my "probabilities" are coming from in the second method, or so I think.
AlephZero, you are correct that they don't add up to one, this is because I excluded the k=0 case. I'm not confident enough to say whether that was a good call or not, but since it isn't working, I'm leaning toward not.

P(X=k) = (the number of ways to arrange k aces in 26 possible positions) * (the number of ways to arrange the remaining aces in the 26 possible positions of the other half of the deck) / (the number of ways of arranging 4 aces among 52 positions)

When summed from k=0 to k=4, this is indeed 1.

(*goes to work*)

I believe I have fixed it!

[(26C4)(26C0)]/(52C4) * (4/26) represents A1 union k=4
[(26C3)(26C1)]/(52C4) * (3/26) represents A1 union k=3
[(26C2)(26C2)]/(52C4) * (2/26) represents A1 union k=2
[(26C1)(26C3)]/(52C4) * (1/26) represents A1 union k=1
A1 union k=0 is zero.

Summed, these give P(A1) = 1/13

To find P(A1 union A2), we simply augment each of those terms as follows:

(46/833)(4/26)(1/27) + (208/833)(3/26)(2/27) + (325/833)(2/26)(3/27) + (208/833)(1/26)(4/27)

For convenience I simplified the choose notation stuff to simple fractions #/833 in this step.

This is P(A1 union A2) = 43/5967

Then, P(A1 union A2)/P(A1) = 43/459

So, even though my intuition was right in that the k=0 case could be safely ignored, the problem was in my cavalierly eschewing the conditional probability formula. To be fair, the explanation the back of the book gave ignored it as well, giving the abbreviated version (3/51)(26/27)+1(1/27) = 43/459.

Thanks for the help guys, hopefully this fixed version is correct and made more sense (if not I'll have to save face and return to the problem again . . .)
 
  • #5
Fictionarious said:
Well, I am by no means convinced either. Let me try to answer your questions since you seem to be leading me somewhere with them.

What is P(X=k) for k=0,1,2,3,4 ?

Well, this is where my "probabilities" are coming from in the second method, or so I think.
AlephZero, you are correct that they don't add up to one, this is because I excluded the k=0 case. I'm not confident enough to say whether that was a good call or not, but since it isn't working, I'm leaning toward not.

P(X=k) = (the number of ways to arrange k aces in 26 possible positions) * (the number of ways to arrange the remaining aces in the 26 possible positions of the other half of the deck) / (the number of ways of arranging 4 aces among 52 positions)

When summed from k=0 to k=4, this is indeed 1.

(*goes to work*)

I believe I have fixed it!

[(26C4)(26C0)]/(52C4) * (4/26) represents A1 union k=4
[(26C3)(26C1)]/(52C4) * (3/26) represents A1 union k=3
[(26C2)(26C2)]/(52C4) * (2/26) represents A1 union k=2
[(26C1)(26C3)]/(52C4) * (1/26) represents A1 union k=1
A1 union k=0 is zero.

Summed, these give P(A1) = 1/13

To find P(A1 union A2), we simply augment each of those terms as follows:

(46/833)(4/26)(1/27) + (208/833)(3/26)(2/27) + (325/833)(2/26)(3/27) + (208/833)(1/26)(4/27)

For convenience I simplified the choose notation stuff to simple fractions #/833 in this step.

This is P(A1 union A2) = 43/5967

Then, P(A1 union A2)/P(A1) = 43/459

So, even though my intuition was right in that the k=0 case could be safely ignored, the problem was in my cavalierly eschewing the conditional probability formula. To be fair, the explanation the back of the book gave ignored it as well, giving the abbreviated version (3/51)(26/27)+1(1/27) = 43/459.

Thanks for the help guys, hopefully this fixed version is correct and made more sense (if not I'll have to save face and return to the problem again . . .)

The random variable ##X## is the number of Aces in Pile I initially, so has the hypergeometric distribution with parameters ##N_1 = 4 \: (\#\: \text{Aces}), \: N_2 = 48 \:(\#\: \text{non-Aces}), n = 26 \: (\# \: \text{sample size})## and pmf
[tex] P(X=k) = \displaystyle \frac{{4 \choose k} {48 \choose 26-k}}{{52 \choose 26}}, \: k = 0,1,2,3,4 [/tex]
These values of ##P(X=k)## are the same as yours (that is, your expressions without the factors k/26). Your way is just an alternative (but slightly non-standard) way of writing the hypergeometric pmf. BTW: what you have written are not the probabilities of {X=k} union A1, but of {X=k} intersect A1.

Anyway, since ##P(A_1|X = 0) = 0## we have
[tex] P(A_1) = \sum_{k=0}^4 P(A_1 | X=k) P(X=k) =
\sum_{k=1}^4 P(A_1 | X=k) P(X=k) = \sum_k \frac{k}{26} P(X=k) = \frac{1}{26} EX [/tex]
Also, when ##X=k## there will be 4-k+1 = 5-k Aces in the new Pile 2. Thus
[tex] P(A_1 \, \& \, A_2) = \sum_k P(A_1 \, \& \, A_2 | X=k) P(X=k)
= \sum_k \frac{k}{26} \frac{5-k}{27} P(X=k) = \frac{1}{26 \times 27} [5 EX - E(X^2)].[/tex]
Thus
[tex] P(A_2|A_1) = \frac{1}{27} \frac{5 EX - E(X^2)}{E X}[/tex]

There are standard formulas for the mean and variance of the hypergeometric distribution: if the two sub-population sizes are ##N_1, N_2## with total population size ##N = N_1 + N_2##, let ##Y## be the number of type-1 in a sample of size ##n##. If ##p \equiv N_1/N##, then:
[tex] EY = n p\\
\text{Var} (Y) = n p (1-p) \frac{N-n}{N - 1}[/tex]
Just apply these to ##N_1 = 4, N_2 = 48, N = 52, n = 26##, then get ##E(X^2)## from ##E(X^2) = \text{Var}(X) + (E X)^2##.
 
Last edited:
  • Like
Likes 1 person

What is conditional probability?

Conditional probability is the likelihood of an event occurring, given that another event has already occurred. It is calculated by dividing the probability of the two events occurring together by the probability of the first event occurring.

What is the Monty Hall problem?

The Monty Hall problem is a famous paradox in conditional probability. It involves a game show host, Monty Hall, who presents a contestant with three doors. Behind one door is a car and behind the other two are goats. The contestant chooses a door, and then Monty reveals one of the remaining doors that has a goat behind it. The contestant is then given the option to switch their choice to the other unopened door. The paradox lies in the fact that switching doors actually increases the contestant's chances of winning, even though it may seem counterintuitive.

What is the difference between conditional probability and regular probability?

Regular probability is the likelihood of an event occurring without any prior knowledge or condition. Conditional probability takes into account a specific condition or event that has already occurred, and calculates the likelihood of another event occurring based on that condition.

How do you calculate conditional probability?

Conditional probability is calculated by dividing the probability of the two events occurring together by the probability of the first event occurring. This can be represented by the formula P(A|B) = P(A and B) / P(B), where A and B represent two events.

Can conditional probability be applied in real-life situations?

Yes, conditional probability can be applied in various real-life situations, such as in medical diagnoses, weather forecasting, and stock market predictions. It helps in making more accurate and informed decisions by taking into account prior information or conditions that may affect the outcome.

Similar threads

  • Calculus and Beyond Homework Help
Replies
31
Views
3K
  • Calculus and Beyond Homework Help
Replies
12
Views
3K
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
9
Views
5K
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
  • Precalculus Mathematics Homework Help
Replies
2
Views
863
  • Calculus and Beyond Homework Help
Replies
17
Views
3K
  • Set Theory, Logic, Probability, Statistics
Replies
31
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
16K
  • Calculus and Beyond Homework Help
Replies
4
Views
858
Back
Top