Another Bayes' formula problem

  • Thread starter Thread starter Proggy99
  • Start date Start date
  • Tags Tags
    Formula
Proggy99
Messages
49
Reaction score
0

Homework Statement


There are three identical cards that differ only in color. Both sides of one are black, both sides of the second are red, and one side of the third card is black and its other side is red. These cards are mixed up and one of them is selected at random. If the upper side of this card is red, what is the probability that its other side is black?

Homework Equations


A is upper red, Y is lower black
P(A) = 3/6
P(Y) = 3/6

I did 3/6 because I considered 3 sides are red and 3 are black, but this keeps nagging at me like I am missing something.

The Attempt at a Solution


P(Y|A) = P(A|Y)P(Y) / [P(A|Y)P(Y) + P(A|Yc)P(Yc)] =
1/3 * 3/6 / [1/3 * 3/6 + 1/3 * 3/6] = .5

I believe this is right, but it almost seems to be too easy to get to this without using Bayes' formula at all, but that might just be a coincidence due to the easy numbers being manipulated. Thanks for any help
 
Physics news on Phys.org
I'm not so sure. You give P(A|Y) = 1/3, but: if the front is red, the back could (a priori) be either black or red. I'd say P(A|Y) = 1/2.

Actually I'm going to change notation to B and R 'cause I can't keep A and Y straight.
I learned Bayes' theorem as:

p(B|R) = p(R|B) p(B) / P(R)
where p(B|R) is probability that back is black given that front is red.

The total prob of finding black or red is the same, p(B) = p(R) = 1/2,
and p(R|B) = 1/2 by the reasoning given above.
So p(B|R) = 1/2

As you point out, we didn't need Bayes' theorem to get that. So you got the right answer, maybe the wrong way.
 
Last edited:
and p(R|B) = 1/2 by the reasoning given above.
So p(B|R) = 1/2

This is wrong If you pick a card, and it has red on one side, 2/3s of the time it's going to be the card with two red sides, and 1/3 of the time it's going to be the card with the black side. So the probability of seeing black on the other side given that you've seen red on one side is going to be 1/3.

Considering the symmetry of A and Y, calculating P(Y|A) from P(A|Y) is a bad plan to start with since you know they're the same. Instead let X be the event you got the card with one color on each side, and R the event that you see red on the side you're looking at. Find

P(X|Y) = P(Y and X) / P(Y)

P(Y and X) = 1/6 by considering there are six sides you could see, and exactly one of them is the red side on the multicolored card. P(Y) = 1/2
 
ah, that makes perfect sense. Thank you! I'll apply my earlier comment to myself: right answer but wrong method!
 
ok, that helped a lot, thanks
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...

Similar threads

Replies
4
Views
1K
Replies
12
Views
2K
Replies
3
Views
2K
Replies
16
Views
3K
Replies
6
Views
1K
Replies
13
Views
2K
Replies
10
Views
2K
Back
Top