There are two urns containing colored balls. The first urn contains 50 red balls and 50 blue balls. The second urn contains 30 red balls and 70 blue balls. One of the two urns is randomly chosen (both urns have probability 50% of being chosen) and then a ball is drawn at random from one of the two urns. If a red ball is drawn, what is the probability that it comes from the first urn?
my question is:
so here (1/2) is the red intersection first urn or it`s the p(red|first urn) I need explanation for that point please and if the second one is the right why it p(red|first urn) and not p(first urn| red)
thanks in advance
If we define the following events:
$U1$: Urn $1$ is chosen
$U2$: Urn $2$ is chosen
$R$: a red ball is chosen
then we have:
$P(U1)=P(U2)=P(R|U1)=50$%
The $50$% is not $P(U1 \cap R)$, for we have $P(U1 \cap R) = P(R|U1) \cdot P(U1) = \frac{1}{2}\cdot \frac{1}{2}=0.25$
That is, $P(U1 \cap R)$ is the probability that you choose urn $1$ and pick a red ball, so that mreans you first need to pick urn $1$ ($50$% chance of that), and then you also need to pick a red ball, given that you picked urn $1$, and that is also $50$%, so for both to happen it's $50$% times $50$% is $25$%
Finally, you are asked to find $P(U1|R)$, and for that use Bayes' Law